body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  padding-top: 200px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  display: block;
}

.wrapper-60 {
  width: 60%;
  margin-inline: auto;
}

.wrapper-70 {
  width: 70%;
  margin-inline: auto;
}

.wrapper-100 {
  width: 100%;
  margin-inline: auto;
}

hr {
  border: 1px solid #ffffff;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 section p,
footer p {
  margin: 0;
}

select {
  background: transparent;
  border: none;
  color: #ffffff;

  .option {
    color: #000000;
    border: none;
  }
}

/* Header */
/* Section Contact Info */

.contact-info {
  padding-block: 10px;
  background-color: #2f3133;
  color: #ffffff;
  position: fixed;
  top: 0;
  width: 100%;
}

.contact-info ul {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 0;
}

.contact-info li {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

.contact-info li .icon {
  margin-right: 5px;
}

.main-nav {
  background-color: #f4f4f4;
  padding-block: 30px;
  position: fixed;
  top: 70px;
  width: 100%;

  .wrapper-70 {
    display: flex;
    justify-content: space-between;
    align-items: center;

    h3 {
      color: #87ceeb;
    }

    .main-list {
      display: flex;
      list-style-type: none;
      padding-left: 0;
      text-align: center;

      li {
        margin-right: 15px;
        font-weight: 700;
        display: flex;
        align-items: center;
        padding: 5px 10px;

        &:hover {
          color: #87ceeb;
        }

        &:last-child {
          background-color: #87ceeb;
          border-radius: 5px;
          color: #ffffff;

          &:hover {
            background-color: #f4f4f4;
            color: #87ceeb;
            outline: 1px solid #87ceeb;
          }
        }
        a {
          padding: 5px 10px;
        }
      }
    }
    .hamburger {
      display: none;
      cursor: pointer;

      .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px 0;
        transition: all 0.3s ease;
        background-color: #2f3133;
      }
    }
  }
}

.main-menu {
  background-color: #f4f4f4;
  .wrapper-70 {
    .nav-section {
      display: flex;
      justify-content: space-between;
      align-items: center;

      .logo img {
        width: 100%;
        height: 150px;
      }

      nav {
        flex-basis: 50%;

        ul {
          display: flex;
          padding-left: 0;

          li {
            display: flex;
            margin-inline: auto;

            a {
              color: inherit;
              font-weight: 700;
              transition: 0.3s;
            }

            & a:hover {
              color: #87ceeb;
            }
          }
        }
      }
      .nav-contact {
        display: inline-block;
        border-radius: 5px;
        padding: 10px 40px;
        background-color: #87ceeb;
        transition: 0.3s;

        a {
          color: #ffffff;
          font-weight: 700;
        }
      }

      .nav-contact:hover {
        background-color: #ffffff;
        outline: 1px solid #87ceeb;

        a {
          color: #87ceeb;
          font-weight: 700;
        }
      }
    }
  }
}
.about-us-main {
  padding-block: 50px;

  .wrapper-70 {
    .about-us-wrapper {
      margin-top: 50px;
      width: 100%;

      .about-class-content {
        width: 50%;
        padding-inline: 10px;
        margin-inline: auto;
        text-align: center;
      }
    }
  }
}

.our-fleet {
  padding-block: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;

  h3 {
    font-size: 35px;
  }

  .wrapper-70 {
    .fleet-wrapper {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;

      .fleet-car {
        flex-basis: 33.333%;

        figcaption {
          text-align: center;
          font-size: 12px;
        }
      }
    }
  }
}

/* Footer */

footer {
  background-color: #2f3133;
  padding-block: 50px;

  .wrapper-70 {
    display: flex;
    flex-direction: column;

    .footer-logo {
      display: flex;
      justify-content: center;
      padding-bottom: 50px;

      a {
        color: #ffffff;
      }
    }

    .footer-info {
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: #ffffff;
      border-block: 1px solid #ffffff;
      padding: 50px;

      .footer-head {
        display: flex;
        flex-direction: column;
        flex-basis: 33.333%;

        ul {
          padding-left: 0;

          li {
            display: flex;
          }

          & li :not(:last-child) {
            margin-right: 10px;
            margin-bottom: 20px;
          }
        }
      }

      .footer-social-network {
        flex-basis: 33.333%;
        nav {
          display: flex;
          justify-content: center;

          ul {
            display: flex;
            padding-left: 0;

            li {
              display: flex;
              font-size: 25px;
              a {
                color: #ffffff;
              }
            }

            & li:not(:last-child) {
              margin-right: 10px;
            }
          }
        }
      }

      .footer-body {
        flex-basis: 33.333%;
        display: flex;
        flex-direction: column;

        h3 {
          text-align: end;
        }

        nav {
          display: flex;
          justify-content: end;
          ul {
            display: flex;
            flex-direction: column;
            padding-left: 0;
            li {
              display: flex;
              flex-direction: column;

              &:hover {
                text-decoration: underline;
              }

              &:not(:last-child) {
                margin-bottom: 10px;
              }

              a {
                color: #ffffff;
              }
            }
          }
        }
      }
    }
    .footer-paragraph {
      padding: 20px;
      text-align: center;
      color: #ffffff;
    }
  }
}

@media screen and (max-width: 1280px) {
  .main-nav .wrapper-70 {
    width: 100%;
    justify-content: space-around;
  }
}

@media screen and (max-width: 1143px) {
  .contact-info .wrapper-60 {
    width: 100%;
  }

  .about-us-main {
    .wrapper-70 {
      width: 100%;
      .about-us-wrapper {
        width: 100%;
        .about-class-content {
          width: 80%;
        }
      }
    }
  }
}

@media screen and (max-width: 900px) {
  .main-nav {
    height: 70px;
    display: flex;

    .wrapper-70 {
      .main-list {
        display: block;
      }

      .hamburger {
        display: block;
        background-color: transparent;
        border: none;
      }

      .hamburger.active .bar:nth-child(2) {
        opacity: 0;
      }

      .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
      }

      .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
      }

      .main-list {
        position: fixed;
        height: 100%;
        left: -100%;
        top: 180px;
        gap: 0;
        flex-direction: column;
        background-color: #f4f4f4;
        width: 100%;
        text-align: center;
        transition: 0.3s;
      }

      .main-list.active {
        left: 0;
      }

      .nav-items {
        margin: 16px 0;
      }
    }
  }

  .our-fleet {
    .fleet-wrapper {
      display: flex;
      flex-direction: column;
    }
  }
}

@media screen and (max-width: 768px) {
  .contact-info {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .wrapper-60 {
    width: 100%;
  }

  .contact-info ul {
    font-size: 10px;
  }
  .contact-info li {
    margin-right: 5px;
  }
  .contact-info li .icon {
    margin-right: 2px;
  }
}

@media screen and (max-width: 650px) {
  footer {
    .wrapper-70 {
      .footer-info {
        flex-direction: column;

        .footer-head,
        .footer-social-network {
          margin-bottom: 20px;
        }

        .footer-body {
          width: 100%;

          h3 {
            text-align: left;
          }

          nav {
            ul {
              width: 100%;

              text-align: left;
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 425px) {
  h1,
  h2,
  section p,
  footer p {
    margin: 0;
  }

  .contact-info ul {
    font-size: 8px;
  }
}

@media screen and (max-width: 375px) {
  /* .about-us-main {
    .wrapper-70 {
      h1 {
        font-size: 30px;
      }
    }
  } */
  .contact-info ul {
    font-size: 7px;
  }
}
