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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

::selection{
    background: #000;
    color: #fff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
}

a {
  text-decoration: none;
}

/* top_container */
.top_container {
  width: 100%;
  height: 100vh;
  background-image: url("./images/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;

  & nav {
    width: 100%;
    padding: 1rem 2rem;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.189);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 999;

    & a .logo {
      max-width: 150px;
      width: 100%;
      height: auto;
    }
  }

  & nav ul {
    display: flex;
    position: absolute;
    /* gap: 20px; */
    left: 50%;
    transform: translateX(-50%);
  }

  & nav ul li {
    display: inline-block;
    margin: 0 21px;

    & a {
      font-size: 22px;
      color: #000000ba;
    }

    & a:hover {
      color: #000;
    }
  }

  & .nav_right {
    display: flex;
    align-items: center;
    gap: 1rem;
    

    & button {
      font-family: "Inter", sans-serif;
      padding: 0.6rem 1.5rem;
      border: none;
      outline: none;
      border-radius: 30px;
      font-size: 1.1rem;
      color: #000;
      background: #ededed;
      transition: background 0.3s ease;
      cursor: pointer;
    }

    & button:hover {
      background: #ddd;
    }

    & button:nth-child(2) {
      background: #000;
      color: #fff;
    }
  }

  & .nav_right a {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
  }

  & .nav_right a .language {
    max-width: 30px;
    width: 100%;
    height: auto;
  }

  & .nav_right a:hover {
    background: #ddd;
  }
}

/* middle_content */
.middle_content {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  text-align: center;

  & .content_box {
    max-width: 72.5rem;
    width: 100%;
    height: 21.5;
    background: #fff;
    border: 1px solid #000;
    border-radius: 10px;
    padding: 3.5rem 4rem;

    & .title {
      font-size: 2.813rem;
      font-weight: 500;
      line-height: 3.404rem;
      margin-bottom: 3rem;
    }

    & .content_group .select_boxes {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-gap: 1rem;
      margin-bottom: 2rem;
    }

    & .content_group .select_boxes .box select {
      appearance: none;
      width: 100%;
      height: 50px;
      padding: 0.6rem 1rem;
      border: none;
      outline: none;
      border-radius: 5px;
      font-size: 1.375rem;
      background: #ececec;
      font-weight: 500;
      cursor: pointer;
    }

    & .content_group .input_field {
      width: 100%;
      display: flex;
      align-items: center;
      column-gap: 1rem;
    }

    & .content_group .input_field input {
      flex-grow: 1;
      text-align: center;
      padding: 0.6rem 1rem;
      border: none;
      outline: none;
      border-radius: 5px;
      font-size: 1.375rem;
      background: #ececec;
      font-weight: 500;
    }

    & .content_group .input_field input::placeholder {
      color: #000;
    }

    & .content_group .input_field button {
      width: 222px;
      padding: 0.6rem 1.75rem;
      border: none;
      outline: none;
      border-radius: 30px;
      background: #00ebc7;
      color: #000;
      font-size: 1.375rem;
      font-weight: 600;
      cursor: pointer;
    }
  }
}

.btm_btn {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btm_btn a {
  color: #fff;
  font-weight: 500;
  padding: 11px 28px;
  border: 1px solid #fff;
  border-radius: 30px;
  font-size: 22px;
  text-decoration: underline;
  transition: background 0.3s ease;
}

.btm_btn a:hover {
  background: #fff;
  color: #000;
  text-decoration: none;
}

/* brands */
.brands {
  width: 100%;
  height: 370px;
  padding: 5rem 2rem;
  text-align: center;
  background: #fde24f;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #000;

  & h1 {
    font-size: 34px;
    font-weight: 500;
  }

  & img {
    max-width: 75rem;
    width: 100%;
    margin: 0 auto;
  }
}

/* features */
.features {
  width: 100%;
  padding: 5rem;
  border-bottom: 1px solid #000;

  & h3 {
    font-size: 34px;
    font-weight: 500;
  }

  & .feature_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 1rem;
    max-width: 1180px;
    margin: 2rem auto 2rem auto;
  }

  & .feature_container .feature_box {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    line-height: 1.5;
    text-align: center;

    & img {
      width: 80px;
      margin: 0 auto;
    }

    & span {
      font-size: 24px;
      font-weight: 500;
      margin: 0.5rem 0;

      &.line {
        position: relative;

        &::after {
          position: absolute;
          content: "";
          width: 80px;
          height: 2px;
          background: rgba(0, 0, 0, 0.454);
          top: 50%;
          left: 110%;
          transform: translateX(-50%);
        }
      }
    }

    & p {
      font-size: 20px;
      color: gray;
      margin-bottom: 2rem;
    }

    & a {
      font-size: 1rem;
      font-weight: 600;
      color: #000;
      text-decoration: underline;
      transition: 0.3s ease;

      &:hover {
        transform: scaleX(0.966);
      }
    }
  }

  & .feature_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;

    & button {
      font-family: "Inter", sans-serif;
      padding: 11px 28px;
      font-size: 22px;
      border: 1.5px solid #000;
      outline: none;
      border-radius: 30px;
      background: transparent;
      color: #000;
      cursor: pointer;
      transition: background 0.3s ease;

      &:hover {
        background: #ddd;
      }
    }
  }
}

/* buy sell */
.buy_sell{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  /* justify-content: center; */

  & .column{
    padding: 4rem;

    &:first-child{
      border-right: 1px solid #000;
    }

    & .title{
      font-size: 34px;
      font-weight: 500;
    }

    & .product{
      margin: 3rem 0;

      & .single{
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        gap: 1rem;
        padding: 1rem;
        border: 1.5px solid #000;
        border-radius: 15px;
        margin-bottom: 2rem;

        & img{
          width: 74px;
          height: auto;
        }

        & span{
          font-size: 20px;
          font-weight: 500;
        }
      }
    }

    & .btn{
      width: 100%;
      margin: 0 auto;
      text-align: center;

      & button{
        padding: 11px 28px;
        border: none;
        outline: none;
        border-radius: 15px;
        font-size: 22px;
        font-weight: 500;
        vertical-align: middle;
        background: #000;
        color: #fff;
        cursor: pointer;
        transition: background 0.3s ease;

        &:hover{
          background: #000000dd;
        }
      }
    }
  }
}

/* signup */
.signup{
  position: relative;
  width: 100%;
  height: 600px;
  border-top: 1px solid #000;
  padding: 2rem;
  background: #CFBAFF;
  text-align: center;

  & .signup_content{
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  & h4{
    font-size: 75px;
    font-weight: 500;
  }

  & button{
    font-family: "Inter", sans-serif;
    margin-top: 5rem;
    padding: 15px 45px;
    border: none;
    outline: none;
    border-radius: 30px;
    background: #000;
    color: #fff;
    font-size: 32px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;

    &:hover{
      background: #000000dd;
    }
  }
}

/* footer */
footer{
  width: 100%;
  padding: 3rem 1rem;
  background: #000;
  color: #fff;

  & .footer_container{
    padding: 5vw 8vw 2vw 8vw;
    display: flex;
    gap: 8rem;

    & .footer_logo img{
      width: 137.51px;
      height: auto;
    }

    & .links span{
      font-size: 28px;
      font-weight: 600;
    }

    & .links ul{
      margin-top: 2rem;

      & li a{
        color: #fff;
        font-size: 20px;
        font-weight: 600;
        line-height: 2;
      }
    }
  }

  & hr{
    width: 100%;
    margin: 2rem 0;
  }

  & .copywrite_text{
    padding: 0 3vw;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
  }
}