* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.7)),
    url(./image/malik-noman-GYKl2HLVTlQ-unsplash.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.search {
  display: flex;
  margin: 40px 0;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.search input {
  width: 500px;
  height: 60px;
  border-radius: 30px;
  border: solid black 1px;
}

.search input::placeholder {
  font-size: 20px;
  padding-left: 10px;
}

.search input[type="text"] {
  font-size: 20px;
  padding-left: 15px;
}

.search button {
  margin-left: 20px;
  height: 60px;
  width: 60px;
  border-radius: 30px;
  border: solid black 1px;
  cursor: pointer;
}

.search i {
  font-size: 30px;
  color: rgba(10, 10, 10, 0.7)
}

.content {
  display: flex;
  justify-content: space-between;
  margin: 0 80px;
  color: rgb(243, 237, 237);
  line-height: 50px;
}

.content-1 h1 {
  font-size: 60px;
  font-weight: 400;
}

.content-1 h2 {
  font-size: 25px;
  font-weight: lighter;
}

.content-1 img {
  margin-left: -20px;
  margin-top: -20px;
}

.content-1 h2:last-child {
  margin-top: -40px;
}

.content-2 h1 {
  font-size: 130px;
  padding-top: 25px;
  height: 100px;
  font-weight: lighter;
}

.content-2 h2 {
  font-size: 30px;
  font-weight: lighter;
  padding-top: 40px;
}

.description {
  display: flex;
  margin: 20px 80px 10px 80px;
  color: white;
  cursor: pointer;
}

.description p {
  font-size: 20px;
  font-weight: 400;
}

.line {
  margin: 0 80px;
}

.main {
  color: white;
  display: flex;
  justify-content: space-between;
  margin: 15px 80px;
}

.main-1 {
  border: solid whitesmoke 1px;
  border-radius: 10px;
  padding: 5px 12px;
  width: 150px;
}

.main-1 p {
  font-size: 23px;
  font-weight: 500;
}

.main-1 img {
  width: 60px;
  height: 70px;
}

.main-1 h2 {
  font-size: 15px;
  font-weight: lighter;
}

.main-1 h3 {
  font-size: 15px;
  font-weight: lighter;
  margin-top: 5px;
}

@media screen and (max-width: 1024px) {
  body {
    width: 100vw;
    height: 100%;
  }

  .search {
    margin: 60px 0;
  }

  .content {
    margin: 20px 80px 30px 80px;
  }

  .content-1 h1 {
    font-size: 50px;
  }

  .content-1 h3 {
    font-size: 25px;
    font-weight: 400;
    padding: 10px 0;
  }

  .content-1 img {
    padding: 20px 0;
  }

  .content-2 h1 {
    font-size: 100px;
  }

  .description {
    margin: 45px 80px 20px 80px;
  }

  .main-1 {
    width: 140px;
  }

  .main-1 img {
    margin: 20px 0;
    height: 75px;
    width: 65px;
  }

  .main-1 h2 {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .main-1 h3 {
    font-size: 20px;
  }
}

@media screen and (max-width: 915px) {
  body {
    width: 100vw;
    height: 100vh;
  }
  .main {
    margin: 15px 60px;
    width: 85%;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    display: flex;
    justify-content: space-between;
    gap: 15px;
  }
    .main::-webkit-scrollbar {
    display: none;
  }

  .main-1 {
    border: solid whitesmoke 1px;
    border-radius: 10px;
    padding: 5px 12px;
    flex: 0 0 150px;
    width: 150px;
  }
}

@media screen and (max-width: 850px) {
  body {
    overflow: hidden;
    height: 100vh;
  }
  .content {
    margin: 0 60px;
  }

  .content-1 h3 {
    font-size: 22px;
  }

  .content-1 img {
    margin-left: -30px;
    margin-top: -35px;
  }

  .content-2 h1 {
    font-size: 80px;
  }

  .content-2 h2 {
    font-size: 25px;
  }

  .content-1 h2:last-child {
    margin-top: -50px;
  }

  .description {
    margin: 20px 60px 10px 60px;
  }

  .line {
    margin: 0 60px;
  }

  .main {
    margin: 15px 60px;
    width: 85%;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    display: flex;
    justify-content: space-between;
    gap: 15px;
  }

  .main-1 {
    border: solid whitesmoke 1px;
    border-radius: 10px;
    padding: 5px 12px;
    flex: 0 0 150px;
    width: 150px;
  }
}

@media screen and (max-width: 550px) {
  body {
    height: 100vh;
  }
  .search {
    margin: 30px 0;
  }
  .search input {
    width: 250px;
    height: 40px;
    border-radius: 20px;
  }
  .search input::placeholder {
    font-size: 16px;
    padding-left: 0px;
  }
  .search input[type="text"] {
    font-size: 16px;
    padding-left: 15px;
  }
  .search button {
    margin-left: 10px;
    height: 40px;
    width: 40px;
    border-radius: 20px;
  }
  .search i {
    font-size: 20px;
  }

  .content {
    margin: 50px 20px;

    line-height: 20px;
  }
  .content-1 h1 {
    font-size: 25px;
  }
  .content-1 h2 {
    font-size: 20px;
  }
  .content-1 h3 {
    font-size: 15px;
  }

  .content-2 h1 {
    font-size: 50px;

    height: 80px;
  }
  .content-2 h2 {
    font-size: 15px;
    font-weight: lighter;
    padding-top: 10px;
  }
  .content-1 img {
    margin-left: -8px;
    margin-top: -20px;
    margin-bottom: 35px;
    width: 100px;
    height: 150px;
  }
  .description {
    margin: 20px 20px 10px 20px;
  }

  .line {
    margin: 0 20px;
  }
  .main {
    color: white;
    display: flex;
    justify-content: space-between;
    margin: 15px 20px;
  }
  .main-1 {
    border: solid whitesmoke 1px;
    border-radius: 10px;
    padding: 5px 12px;
    width: 80px;
  }
  .main-1 p {
    font-size: 20px;
    font-weight: 500;
  }

  .main-1 img {
    width: 60px;
    height: 70px;
  }

  .main-1 h2 {
    font-size: 15px;
    font-weight: lighter;
  }

  .main-1 h3 {
    font-size: 15px;
    font-weight: lighter;
    margin-top: 5px;
  }
}

@media screen and (max-width: 280px) {
  body {
    height: 100vh;
  }
  .search input {
    width: 150px;
    height: 30px;
    border-radius: 20px;
  }
  .search input::placeholder {
    font-size: 13px;
    padding-left: 0px;
  }
  .search button {
    margin-left: 5px;
    height: 30px;
    width: 30px;
    border-radius: 15px;
  }
  .search i {
    font-size: 12px;
  }
  .search input[type="text"] {
    font-size: 13px;
    padding-left: 15px;
  }
  .content {
    margin: 20px 20px;
  }
  .content-1 h1 {
    font-size: 23px;
  }
  .content-1 h2 {
    font-size: 18px;
  }
  .content-1 h3 {
    font-size: 12px;
  }

  .content-2 h1 {
    font-size: 40px;

    height: 80px;
  }
  .content-2 h2 {
    font-size: 12px;
    padding-top: 8px;
  }
  .content-1 img {
    margin-left: -10px;
    margin-top: -30px;
    margin-bottom: 30px;
    width: 90px;
    height: 140px;
  }
  .description p {
    font-size: 17px;
    font-weight: 400;
  }
  .main {
    margin: 12px 20px;
  }
  .main-1 {
    border: solid whitesmoke 1px;
    border-radius: 10px;
    padding: 5px 12px;
    width: 70px;
  }
}
