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

.herosection {
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.774),
      rgba(0, 0, 0, 0.756),
      rgba(0, 0, 0, 0.712)
    ),
    url("image/background.jpg");
  height: 100vh;
  /* width: 100vw; */
  background-repeat: no-repeat;
  background-size: cover;
}

.navbar div img {
  height: 80px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 0 10%;
  padding-top: 10px;
}

.lang {
  padding-top: 10px;
}

.lang1 {
  background-color: black;
  color: white;
  padding: 10px;
  width: 120px;
  margin-right: 5px;
  border-radius: 5px;
}
.Sign {
  background-color: red;
  color: white;
  padding: 10px;
  width: 70px;
  border-radius: 5px;
  border: 2px solid red;
  font-weight: bold;
}

.sub input {
  /* padding: 15px 40px 15px 40px; */
  border-radius: 10px;
  background-color: none;
  font-weight: bold;
}
.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 20px;
}
.content p {
  font-size: 1.1rem;
  font-weight: 400;
  color: white;
  margin-bottom: 1.5rem;
  font-family: Arial, Helvetica, sans-serif;
}
.content h1 {
  font-size: 3.2rem;
  font-weight: 900;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.content h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: Arial, Helvetica, sans-serif;
}
.sub input {
  padding: 20px;
  min-width: 420px;
  border-radius: 4px 4px 4px 4px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  outline: none;
  margin-right: 5px;
}
.sub button {
  padding: 17px 30px;
  background-color: red;
  border-radius: 4px 4px 4px 4px;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
}

.trending {
  /* height: 60vh; */
  /* width: 100vw; */
  background-color: black;
  padding-top: 30px;
}

.content-1 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 20px;
  color: white;
  position: relative;
  padding-bottom: 15px;
  /* left: 10%; */
}
.tr-img {
  width: 80%;
  height: 300px;
  margin: 0 auto;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 20px;
  scrollbar-width: thin;
  box-sizing: border-box;
}

.tr1 img {
  display: block;
  width: 160px;
  height: auto;
  border-radius: 5px;
}

.tr1 {
  flex: 0 0 auto;
}

.tr1:hover {
  transform: scale(1.1);
}

.more {
  height: 45vh;
  /* width: 100vw; */
  background-color: black;
  color: white;
}
.content-2 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 20px;
  color: white;
  padding-bottom: 20px;
  position: relative;
}

.box {
  height: 30vh;
  position: relative;
  margin-left: 150px;
  display: flex;
  /* grid-template-columns: repeat(4, 1fr); */
  flex-wrap: wrap;
  margin: 0 auto;
  gap: 15px;
  /* justify-content: center; */
}
.box1 {
  background-image: linear-gradient(135deg, rgb(46 46 100), rgb(61, 3, 56));
  min-width: 180px;
  width: 200px;
  padding: 16px;
  border-radius: 12px;
  position: relative;
  height: 250px;
  flex-grow: 1;

}
.box1 > h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  padding: 2px;
}

.box1 > p {
  font-family: Arial, Helvetica, sans-serif;
  /* font-weight: bold; */
  padding: 10px 2px;
  color: #dcdcdc;
}
.ques {
  /* height: 100vh; */
  /* width: 100vw; */
  background-color: black;
  color: white;
  padding-top: 70px;
}

.content-3 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 20px;
  color: white;
  padding-bottom: 20px;
}

.qu1 {
  margin-bottom: 10px;
  background-color: rgb(45, 45, 45);
  padding: 25px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.last {
  display: flex;
  justify-content: center;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 60px;
}
.sub1 {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  padding: 15px 40px 15px 40px;
  border-radius: 10px;
  /* background-color: none; */
  font-weight: bold;
  /* margin-left: 70px; */
}
.sub1 input {
  padding: 20px;

  border-radius: 4px 4px 4px 4px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  width: 300px;
  outline: none;
  margin-right: 5px;
}
.sub1 button {
  padding: 15px 15px;
  background-color: red;
  border-radius: 4px 4px 4px 4px;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
}
.foot {
  /* width: 100vw; */
  /* height: 30vw; */
  background-color: black;
  color: gray;
  padding-top: 70px;
  padding-bottom: 80px;
  font-family: Arial, Helvetica, sans-serif;
}
.foot a {
  color: rgb(164, 164, 164);
}

.section {
  display: flex;
  margin-top: 50px;
  flex-wrap: wrap;
  gap: 24px;
}
.foot1 {
  width: 300px;
}

.foot1 p {
  padding: 5px;
}
.drop {
  background-color: black;
  color: white;
  padding: 10px;
  width: 130px;
  margin-top: 40px;
  border-radius: 5px;
}
.ind {
  margin-top: 30px;
}
.ind a {
  color: blue;
}
.para {
  margin-top: 30px;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

.herosection,
.trending,
.more,
.ques,
.foot {
  width: 100%;
}

.content-2,
.box,
.ques,
.foot,
.content-1 {
  padding-left: 7%;
  padding-right: 7%;
  box-sizing: border-box;
}

.sub input,
.sub1 input {
  min-width: 0;
  width: 100%;
  max-width: 520px;
  padding: 14px;
  box-sizing: border-box;
}

.sub {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 0 5%;
}

.sub button,
.sub1 button {
  flex: 0 0 auto;
  padding: 12px 18px;
  white-space: nowrap;
}

/* @media (max-width: 900px) {
  .content h1 {
    font-size: 2.4rem;
  }
  .content h4 {
    font-size: 1.2rem;
  }
} */

/* @media (max-width: 600px) {
  .content {
    padding: 0 5%;
    max-width: none;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .content h1 {
    font-size: 1.8rem;
    line-height: 1.05;
  }
  .content h4 {
    font-size: 1rem;
  }
  .content p {
    font-size: 0.95rem;
  }

  .sub {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .sub button {
    width: 100%;
    padding: 12px;
  }

  .tr1 img {
    width: 120px;
  }

  .box1 {
    flex: 1 1 calc(50% - 15px);
    min-width: 140px;
  }

  .foot1 {
    width: 100%;
  }
  .section {
    margin-top: 30px;
  }
} */

.more,
.box,
.trending,
.ques {
  height: auto !important;
  min-height: 0;
}
.foot,
.section,
.foot1,
.drop,
.ind,
.para {
  height: auto !important;
  min-height: 0;
}

.svg1 {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  body {
    background-color: lightgreen;
  }
}

@media screen and (min-width: 480px) and (max-width: 768px) {
  body {
    background-color: lightgreen;
  }
}

@media screen and (min-width: 120px) and (max-width: 480px) {
  .navbar div img {
    height: 60px;
  }
  .lang1 {
    width: 70px;
  }
  .content h1 {
    font-size: 1.8rem;
  }
  .content {
    width: 90%;
  }
  .sub button {
    width: 150px;
    margin: 0 auto;
  }
  .box {
    display: flex;
    flex-direction: column;
  }
  .box1 {
    width: 100%;
  }
  .sub1 {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    justify-content: left;
  }
  .sub1 input {
    width: 100%;
    margin-bottom: 10px;
  }
  .sub1 button {
    margin: 0;
  }
}
