@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  box-sizing: border-box;
}

:root {
  --woodsmoke500: #1e1e1e;
  --woodsmoke400: #8c8c8c;
  --woodsmoke50: #f6f6f6;
  --background: #ffffff;
  --sunshade950: #4a2c09;
  --sunshade700: #c17317;
  --sunshade500: #f89e35;
  --sunshade400: #f9af59;
  --sunshade300: #fac07d;
}

body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
}

.typo-body {
  font-family: "Montserrat";
  line-height: 1.5rem;
  font-size: 1rem;
  font-weight: 400;
}

.typo-h1 {
  line-height: 4rem;
  font-size: 4rem;
  letter-spacing: -0.7px;
  font-weight: 400;
}

.typo-h2 {
  font-size: 2.2rem;
  font-weight: 400;
}

.typo-h5 {
  line-height: 2rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.typo-caption {
  font-size: 0.9rem;
  font-weight: 700;
}

.typo-footer {
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 24px;
}

.backdrop {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.container {
  margin: 0 auto;
  width: 100%;
  max-width: 85rem;
}

.main-header {
  display: flex;
  align-items: center;
  width: 100%;
  top: 0;
  left: 0;
  background: var(--woodsmoke500);
  padding: 0.5rem 1rem;
  height: 6rem;
}

.main-header-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-header-info {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  height: 100%;
}

.main-header_name {
  display: flex;
  flex-direction: column;
  text-wrap: nowrap;
}

.main-header_name_first {
  color: var(--sunshade500);
  font-weight: bold;
  margin-right: 4.4rem;
}

.main-header_name_second {
  color: var(--sunshade300);
  font-weight: bold;
}

.mobile-nav {
  display: block;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  background: var(--woodsmoke500);
  width: 65%;
  height: 100%;
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out;
}

.open {
  display: block;
}

.transition {
  transform: translateX(0);
}

.mobile-nav_items {
  width: 90%;
  height: 100%;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-nav_item {
  color: var(--background);
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  width: 100%;
}

.main-nav_items {
  display: flex;
  gap: 3rem;
  list-style: none;
  padding: 0;
  align-items: center;
}

.main-nav_item {
  color: var(--background);
  font-weight: bold;
}

.main-nav_item:hover {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.main-nav_facebook {
  margin-left: auto;
  align-items: center;
}

.main-nav_icon {
  width: 2rem;
  height: 2rem;
  color: var(--background);
}

.main-nav_icon:hover {
  cursor: pointer;
}

.toggle-button {
  display: none;
  width: 3rem;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  padding-top: 0;
  padding-bottom: 0;
  vertical-align: middle;
}

.toggle-button:focus {
  outline: none;
}

.mobile-btn-icon {
  width: 3rem;
  height: 3rem;
  color: var(--sunshade500);
}

.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  margin: 8rem 0;
  padding: 0 1rem;
  height: 100%;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-info {
  display: flex;
  flex-direction: column;
  width: 55%;
  font-family: "Montserrat";
}

.hero-info-container {
  display: flex;
  gap: 1.5rem;
  flex-direction: column;
}

.hero-info_header {
  margin: 0;
  font-weight: bold;
  max-width: 65%;
  text-wrap: wrap;
}

.hero-info_second-header {
  margin: 0;
  margin-top: 0.5rem;
  color: var(--woodsmoke400);
}

.hero-info-p {
  margin: 0;
  max-width: 85%;
}

.hero-button {
  font-weight: bold;
  color: var(--woodsmoke500);
  background: var(--sunshade400);
  padding: 0;
  border-radius: 0.5rem;
  border: 0;
  cursor: pointer;
  height: 2.8rem;
  width: 14rem;
}

.hero-button:hover {
  background: var(--sunshade500);
}

.hero-right {
  text-wrap: nowrap;
  width: 45%;
  max-width: 45%;
  display: flex;
  position: relative;
  flex-direction: row-reverse;
}

.hero-background {
  border-radius: 1.5rem;
  width: 430px;
  height: 430px;
  background: var(--sunshade300);
  position: absolute;
  margin-left: 1.25rem;
}

.hero-image {
  position: relative;
  margin-top: 2.5rem;
  margin-right: 2rem;
  border-radius: 1.5rem;
  object-fit: cover;
  width: 430px;
  height: 430px;
}

.features {
  background: var(--woodsmoke50);
  display: flex;
  padding: 0 1rem;
}

.features-container {
  display: flex;
  margin: auto;
  width: 100%;
  gap: 1rem;
  padding: 2.5rem 0;
}

.features-box {
  display: flex;
  flex-direction: row;
  width: 33%;
  align-items: flex-start;
}

.features-box_image {
  margin-right: 1.5rem;
}

.features-box-desc {
  font-family: "Montserrat";
  display: flex;
  flex-direction: column;
}

.features-box-desc_head {
  margin: 0;
  margin-bottom: 0.75rem;
}

.features-box-desc_desc {
  margin: 0;
}

.info-section {
  display: flex;
  justify-content: center;
  width: 100%;
}

.info-storage {
  width: 100%;
  background: var(--sunshade300);
  padding: 0 1rem;
  margin-bottom: 6.75rem;
}

.info-storage_main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-head {
  font-size: 3rem;
  margin: 0;
  margin-bottom: 1.5rem;
  margin-top: 5rem;
  font-weight: bold;
}

.info-desc-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-desc_first {
  margin: 0;
}

.info-desc_second {
  margin: 0;
  margin-bottom: 5rem;
}

.flota {
  display: flex;
  font-family: "Montserrat";
  flex-direction: column;
  padding: 0 1rem;
}

.flota-section {
  display: flex;
  font-family: "Montserrat";
  flex-direction: column;
}

.flota-main {
  display: flex;
  flex-direction: column;
}

.flota-desc {
  display: flex;
  flex-direction: column;
}

.flota-desc_head {
  font-weight: bold;
  color: var(--sunshade500);
  margin-bottom: 1.5rem;
}

.flota-desc_desc {
  width: 45%;
  margin-bottom: 8rem;
}

.flota-info {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.flota-info_type {
  color: var(--sunshade950);
  display: flex;
  background: var(--sunshade400);
  border-radius: 0.25rem;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  height: 1.5rem;
  width: 6rem;
  justify-content: center;
  align-items: center;
}

.flota-info_main {
  width: 100%;
  align-items: flex-end;
  margin-left: 3.4rem;
}

.flota-info_header {
  margin: 0;
  margin-top: 0.5rem;
  font-weight: bold;
  width: 80%;
  padding: 0;
}

.flota-info_second-header {
  margin: 0;
  width: 80%;
  color: var(--woodsmoke400);
}

.flota-info-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.flota-info-p_first {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.flota-info-p_second,
.flota-info-p_second_second {
  margin: 0;
}

.flota-images {
  max-width: 50%;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: max-content 1fr;
  grid-template-areas:
    "main main main"
    "side_first side_second side_third";
}

.flota-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
}

.flota-image:first-of-type img {
  aspect-ratio: 1/0.7;
}

.flota-image:not(:first-of-type) img {
  aspect-ratio: 1/0.6;
}

.flota-image:nth-of-type(1) {
  grid-area: main;
}

.flota-image:nth-of-type(2) {
  grid-area: side_first;
}

.flota-image:nth-of-type(3) {
  grid-area: side_second;
}

.flota-image:nth-of-type(4) {
  grid-area: side_third;
}

.flota-info-second {
  display: flex;
  flex-direction: row;
  margin: 9.5rem 0;
  width: 100%;
}

.flota-info_main_second {
  width: 100%;
  align-items: flex-start;
  margin-right: 3.4rem;
}

.contact {
  display: flex;
  width: 100%;
}

.contact-main {
  display: flex;
  background: var(--sunshade300);
  width: 100%;
  padding: 0 1rem;
}

.contact-container {
  display: flex;
  flex-direction: row;
  padding: 4rem 0;
  gap: 6.5rem;
}

.contact-info-main {
  display: flex;
  flex-direction: column;
}

.contact-info_head {
  line-height: 6rem;
  font-size: 3rem;
  font-family: "Montserrat";
  font-weight: bold;
  margin: 0;
}

.contact-info-info_desc {
  color: var(--woodsmoke500);
  text-decoration: none;
}

.contact-info-info_desc:hover {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.contact-info_info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.contact-info_time_head {
  margin: 0;
}

.contact-info_time {
  margin: 1.5rem 0;
}

.contact-span {
  color: var(--sunshade700);
}

.contact-span_head {
  color: var(--sunshade500);
}

.contact-info_time_p {
  margin: 0;
}

.contact-info_element {
  display: flex;
  gap: 1.5rem;
}

.contact-form {
  width: 60%;
}

.contact-form-main {
  display: flex;
  gap: 1.5rem;
  flex-direction: column;
  max-height: 100%;
}

.contact-form-main_el {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form-main_el_desc {
  font-weight: bold;
}

.contact-form-input_name,
.contact-form-input_email,
.contact-form-input_message {
  overflow: hidden;
  resize: none;
  height: 2.5rem;
  box-sizing: border-box;
  border: 1px solid;
  border-color: #b9b9b9;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  box-shadow: 0px 1px 2px rgba(10, 13, 18, 0.05);
}

textarea:focus {
  outline: none;
  border: 1px solid var(--woodsmoke500);
}

textarea::placeholder {
  line-height: 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  color: #b9b9b9;
}

.error-message {
  font-size: 0.8rem;
  color: red;
}

.error-message-btn,
.success-message-btn {
  display: none;
  font-size: 0.8rem;
}

.error-message-btn-shown,
.success-message-btn-shown {
  display: block;
  font-size: 0.8rem;
}

.error-message-btn-shown {
  color: red;
}

.contact-form-footer {
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-form-input_message {
  height: 7.5rem;
}

.contact-form-btn {
  border-radius: 0.5rem;
  width: 100%;
  color: var(--background);
  background: var(--woodsmoke500);
  box-shadow: 0 1px 2px 0 #0a0d12, inset 0 0 1px #0a0d12;
  padding: 0.75rem;
  border: 2px solid transparent;
  border-image: linear-gradient(
    to top,
    #ffffff 0%,
    #ffffff 12%,
    transparent 12%,
    transparent 100%
  );
}

.contact-form-btn:hover {
  cursor: pointer;
}

.footer {
  width: 100%;
  padding: 0 1rem;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.footer-main_creator {
  text-decoration: none;
}

.footer-main_creator:hover {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

@media (max-width: 60rem) {
  .hero {
    margin: 4rem 0;
  }

  .hero-info {
    width: 100%;
  }

  .hero-container {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-info_header {
    font-size: 3rem;
    line-height: 3.5rem;
  }

  .hero-info-p {
    width: 100%;
    max-width: 100%;
  }

  .hero-right {
    width: 100%;
    display: none;
  }

  .features-container {
    flex-direction: column;
  }

  .features-box {
    width: 100%;
  }

  .info-storage {
    margin-bottom: 4rem;
  }

  .flota-images {
    max-width: none;
  }

  .flota-info {
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .flota-info-second {
    display: flex;
    gap: 2rem;
    flex-direction: column;
  }

  .flota-desc_desc {
    margin-bottom: 4rem;
    width: 80%;
  }

  .flota-info_main,
  .flota-info_main_second {
    margin: 0;
  }

  .flota-info_header {
    padding: 0.25rem 0;
    width: 100%;
  }
  .flota-info_second-header {
    width: 100%;
  }
  .flota-info-second {
    margin: 4rem 0;
  }

  .contact-container {
    gap: 2.5rem;
  }
  .contact-form {
    width: 100%;
  }
}

@media (max-width: 44rem) {
  .main-nav {
    display: none;
  }

  .toggle-button {
    display: block;
  }

  .main-header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .hero-button {
    width: 100%;
  }

  .info-head {
    margin-bottom: 1.5rem;
    margin-top: 3rem;
  }

  .info-desc_second {
    margin-bottom: 4rem;
  }
}

@media (max-width: 40rem) {
  .contact-container {
    flex-direction: column;
    gap: 4rem;
  }

  .contact-form {
    width: 100%;
  }
}

@media (max-width: 31rem) {
  .footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .main-header_name {
    display: none;
  }
}
