* {
  margin: 0;
  padding: 0;
}
.head {
  background-color: black;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 150px;
  font-weight: 600;
  position: sticky;
  top: 0px;
}
.nv {
  color: rgb(0, 0, 0);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 150px;
  font-weight: 600;
}
.d1 {
  padding: 20px 200px;
  display: flex;
  justify-content: space-between;
}
.nv ul li {
  color: gray;
  font-size: large;
}
ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}
#signup {
  padding: 10px 15px;
  background-color: white;
  color: black;
  font-size: large;
  border-radius: 30px;
}

li:hover {
  scale: 1.1;
}
#d10 {
  padding-top: 50px;
}
.x {
  width: 80%;
  height: 10%;
  background-color: rgb(157, 157, 157);
  border-radius: 15px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  gap: 15px;
}
#i1 {
  padding-left: 40%;
}
.b {
  padding-top: 20px;
  display: flex;
  gap: 20px;
}
.b1 {
  padding: 10px 20px;
  background-color: black;
  color: white;
  border-radius: 20px;
}
.b2 {
  padding: 10px 20px;
  background-color: rgb(157, 157, 157);
  color: rgb(0, 0, 0);
  border-radius: 20px;
}
.s {
  margin: 0px 200px;
  height: 430px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-between;
}
.s1 {
  width: 350px;
  height: 200px;
  background-color: rgb(157, 157, 157);
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.p {
  margin: 0px 200px;
  height: 450px;
  display: flex;
}
.p1 {
  background-color: rgb(114, 186, 186);
  border-radius: 20px;
  width: 65%;
  padding-left: 20px;
  background-image: url(https://tb-static.uber.com/prod/udam-assets/5152cc71-a5b0-4fbd-aeb8-bee896efcd48.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
}
.p1 p {
  margin: 60px 0px;
}
.p2 {
  width: 35%;
  padding: 20px;
}
.r {
  margin: 100px 200px;
  display: flex;
  justify-content: space-between;
}
.t {
  margin: 100px 200px;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
}
.t1 {
  width: 350px;
  height: 500px;
}
.q {
  margin-bottom: 100px;
  background-color: black;
  color: white;
  width: 100%;
  height: 80%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.q1 {
  margin: 50px 200px;
}
.q2 {
  margin-right: 200px;
}
.f {
  width: 100%;
  height: 110vh;
  background-color: black;
  color: white;
}
.f1 {
  margin: 0px 200px;
  display: flex;
  justify-content: space-between;
}
.f2 a {
  color: white;
  text-decoration: none;
}
.f3 {
  margin: 50px 200px;
  display: flex;
  justify-content: space-between;
}
.f4 {
  margin: 50px 200px;
  display: flex;
  justify-content: space-between;
}
.f4 a {
  color: white;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .head,
  .nv {
    padding: 15px 40px;
  }

  .d1 {
    flex-direction: column;
    padding: 20px 40px;
    gap: 30px;
  }

  #d11 img {
    width: 100%;
    height: auto;
  }

  .s {
    margin: 0px 40px;
    height: auto;
    gap: 20px;
    justify-content: center;
  }

  .s1 {
    width: 45%;
  }

  .p {
    flex-direction: column;
    margin: 0px 40px;
    height: auto;
    gap: 30px;
  }

  .p1,
  .p2 {
    width: 100%;
  }

  .r,
  .t {
    flex-direction: column;
    margin: 50px 40px;
    gap: 30px;
  }

  .t1 {
    width: 100%;
  }

  .q {
    flex-direction: column;
    text-align: center;
    padding: 30px 0;
  }

  .q1,
  .q2 {
    margin: 20px;
  }

  .f1,
  .f3,
  .f4 {
    flex-direction: column;
    gap: 20px;
    margin: 30px 40px;
  }

  .f {
    height: auto;
  }
}

@media (max-width: 768px) {
  .head {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
  }

  .head ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .nv {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
    text-align: center;
  }

  .nv ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .d1 {
    padding: 20px;
  }

  #d10 p {
    font-size: 28px !important;
  }

  .x {
    width: 100%;
    margin-left: 0;
  }

  .b {
    flex-direction: column;
    align-items: center;
  }

  .s1 {
    width: 100%;
  }

  .p {
    margin: 0px 20px;
  }

  .r img {
    width: 100%;
    height: auto;
  }

  .t {
    margin: 50px 20px;
  }

  .t1 img {
    width: 100%;
    height: auto;
  }

  .q {
    padding: 20px;
  }

  .f1 {
    margin: 30px 20px;
  }

  .f3 {
    flex-direction: column;
    gap: 20px;
  }

  .f4 {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
