body{
  margin: 20px 150px 30px 150px;
}
::selection{
  background-color: red;
  color: white;
}
header{
  margin: -20px -150px 0px -150px;
  padding: 0px 150px 0px 150px;
  display: flex;
  justify-content: space-between;
  
  align-items: center;
  background-color: #f8f8f8;
  height: 40px;
}
.headertextleft{
  text-decoration: none;
  color: #777777;
  font-family: 'Karla', sans-serif;
  font-size: 12px;
}
.headertextcenter{
  text-decoration: none;
  color: green;
  font-weight: bold;
  font-family: 'Karla', sans-serif;
  font-size: 12px;
}
.headertextright{
  text-decoration: none;
  color: #777777;
  font-family: 'Karla', sans-serif;
  font-size: 12px;
}
.upperpart{
  position: relative;
  margin: 30px 0px 30px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo{
  height: 20%;
  width: 20vw;
}
.cartbtn{
  height: 40px;
  width: 100%;
  font-family: 'Karla', sans-serif;
  color: white;
  border-radius: 10px;
  border: none;
  background-color: black;
  font-size: 80%;
  transition: all .5s ease;
}
.cartbtn:hover{
  background-color: red;
  border-bottom: 3px solid white;
  height: 45px;
  width: 100%;
  font-size: 16px;
  box-shadow: 0 12px 16px 0 rgba(255, 0, 0, 0.311);
}
.navbar{
  height: 50px;
  margin: 20px 0px 20px 0px;
  background-color: red;
  display: flex;
  align-items: center;
  position: relative;
}
.navbar li{
  list-style: none;
 
}
.homebtn{
  padding: 15px 20px 15px 20px;
  color: white;
  font-size: 20px;
  background-color: black;
  transition: all .5s ease-in-out;
}
.navtext{
  padding: 17px 13px 17px 13px;
  color: white;
  font-family: 'Karla', sans-serif;
  font-weight: bold;
  text-decoration: none;
  transition: all .5s ease-in-out;
  font-size: 1rem;
}
.navtext:hover,
li:hover > .navtext{
  background-color: #f8f8f8;
  color: black;
  font-size: 18px;
}

.homebtn:hover{
  padding: 13.5px 20px 13.5px 20px;
  background-color: red;
  font-size: 23px;
}
.dropdown{
  display: none;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top ;
  transition: transfrom 1.5s ease, opacity 1s ease;
}
li:hover .dropdown{ 
  border-radius: 10px;
  margin-top: 50px;
  position: absolute;
  height: 80px;
  margin: 16px 0px 16px 0px;
  background-color: white;
  display: flex;
  align-items: center;
  padding: 0px 10px 0px 10px;
  cursor: pointer;
  opacity: 1;
  transform: scaleY(1);
  z-index: 10;
  box-shadow: 0 12px 16px 0 rgba(255, 0, 0, 0.311);
}
.dropdown li{
  list-style: none;
}
.dropdownnavtext{
  /* padding: 17px 30px 17px 30px; */
  margin: 0px 25px 0px 25px;
  color: black;
  font-family: 'Karla', sans-serif;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all .3s ease-in-out;
}
.dropdownnavtext:hover{
  background-color: grey;
  color: white;
  font-size: 17px;
  border-radius: 10px;
  padding: 10px 10px 10px 10px;
  border-bottom: 2px solid red;
  box-shadow: 0px 6px 15px 0px black;
}
.dropdownnavtext:active{
  background-color: red;
  color: white;
  font-size: 17px;
  border-radius: 10px;
  padding: 10px 10px 10px 10px;
  border-bottom: 2px solid red;
  box-shadow: 0px 6px 15px 0px black;
}

.contact-page {
  display: flex;
  align-content: row;
  justify-content: space-evenly;
  box-shadow: 0 2px 5px rgba(108, 107, 107, 0.1);
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  height: 35%;
}
.line {
  height: 60vh;
  width: 2px;
}
.contact-info {
  padding: 20px;
  background-color: #f4f4f4;
  border-right: 1px solid #929090;
  width: 60vh;
  height: 60vh;
}

.contact-page header {
  margin-bottom: 20px;
  color: #929090;
}

.info-block h4 {
  margin-bottom: 20px;
}

.info-block p {
  margin: 10px 0;
  font-size: 14px;
}

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

.contact-form {
  flex: 1;
  padding: 20px;
  height: 60vh;
}

.contact-form h4 {
  margin-bottom: 20px;
  color: #929090;
}
#subject {
  color: #929090;
}
.contact-form label {
  display: block;
  margin: 10px 0 5px;
  font-size: 14px;
}
#email {
  color: #929090;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 80%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}
#message {
  color: #929090;
}
.contact-form button {
  background-color: #000;
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.contact-form button:hover {
  background-color: #444;
}
#Butt {
  margin-top: 50px;
}
footer{
  margin: 0px -150px -30px -150px;
  padding: 10px 150px 0px 150px;

  background-image: url(../homepageimages/footer.jpg);
  margin-top: 50px;
}
.foot{
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.5px;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-content{
  width: 17%;
  font-family: 'Karla', sans-serif;
  font-size: 13px;
  
} 
.foot hr{
  border: 0.1px solid;
  color: #777777;
}
.foot-content h3{
  color: white;
}
.foot ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot-content li{
  width: fit-content;
  margin: 10px 0px 0px 0px;
  color: #777777;
}
.foot-content a{
  text-decoration: none;
  color: #777777;
}
.foot-content span{
  font-size: 13px;
  color: #777777;
  transition: margin-right .5s ease, padding-left .5s ease, color .5s ease .2s;
  margin-right: 10px;
}
.foot-content li:hover a{
  color: red;
}
.foot-content li:hover span{
  color: red;
  margin-right: 5px;
  padding-left: 5px;
}
.facebook:hover{
  color: blue;
}
.twitter:hover{
  color: rgb(71, 157, 211);
}
.instagram:hover{
  color: transparent;
  background: radial-gradient(circle, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);
  background-clip: text;
}
.youtube:hover{
  color: red;
}
.facebook, .twitter, .instagram, .youtube{
  color: white;
  font-size: 22px;
  margin: 10px 15px 20px 0px;
  text-align: center;
}
.newsinput{
  margin: 10px 0px 0px 0px;
  border: 1px solid rgba(232, 232, 232, 0.788);
  display: flex;
  justify-content: center;
  height: 40px;
  align-items: center;
  background-color: black;
}
#email{
  height: 30px;
  width: 70%;
  border: none;
  outline: none;
  font-family: 'Karla', sans-serif;
  color: #777777;
  font-weight: bold;
  padding-left: 15px;
  background-color: transparent;
}
.mailicon{
  font-size: 16px;
  padding: 10px 14px 10px 15px; 
  transition: all .3s ease;
  background-color: transparent;
  color: #777777;
  border: none;
  cursor: pointer;
}
.mailicon:hover{
  color: red;
  background-color: #777777b0;
}
.error {
  font-size: 12px;
  padding-top: 5px;
  border-radius: 5px;
  margin-top: 5px;
}
.newsinput:focus-within{
  box-shadow: 0px 0px 15px 5px rgba(255, 158, 158, 0.671);
  transition: all .3s ease-in-out;
}
.foot-content p{
  color: #777777;
  opacity: 0.8;
}
.endfoot{
  display: flex;
  width: 100%;
  padding: 80px 0px 10px 0px;
}
.endfoot p{
  width: 50%;
}
.inendfoot{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 1024px) and (max-width: 1440px) {
  body{
      margin: 15px 10px 15px 10px;
      padding: 0;
  }
  header, footer{
      margin-right: -10px;
      padding-right: 10px;
  }
  
}
@media (min-width: 784px) and (max-width: 1024px) {
  body{
      margin: 15px 10px 15px 10px;
      padding: 0;
  }
  header, footer{
      margin-right: -10px;
      padding-right: 10px;
  }
  .navtext{
      padding: 17px 13px 17px 13px;
  }
  .navbar a{
      font-size: 15px;
  }
  
}
/* mobile tablet query for some same things */
@media (max-width: 784px) {
  body{
      margin: 15px 10px 15px 10px;
      padding: 0;
  }
  header{
      margin: -20px -10px 0px -10px;
      padding: 5px 10px 5px 10px;
      flex-direction: column;
      height: 30%;
      gap: 2px;
  }
  .logo{
      width: 30vw;
      height: 15vh;
  }
  .navbar{
      height: fit-content;
      flex-direction: column;
      gap: 10px;
  }
  .homebtn{
      margin-top: 5px;
      padding: 0;
      background-color: transparent;
  }
  .mainlist{
      padding: 5px 0px 10px 0px;
      text-align: center;
      width: 100%;
      border-bottom: 1px solid black;
  }
  
  footer{
      margin: 20px -10px -20px -10px;
      padding: 5px 10px 5px 10px;
  }
  .foot{
      flex-direction: column;
      
  }
  .foot-content{
      width: 100%;
  }
  .inendfoot{
      flex-direction: column;
      font-size: 12px;
  }
  .inendfoot p{
      width: 100%;
      text-align: center;
  }
  .inendfoot img{
      width: 100%;
  }
}
/* mobile and tablet query for different things */
@media (max-width: 784px) {

  .headerimagesmain{
      height: 200px;
    
  }
  .headerimages{
      height: 200px;
      
  }
  .majjor{
      gap: 15px;
  }
  .prevImage, .nextImage{
      top: 70px;
      font-size: 20px;
      width: 40px;
      height: 40px;
  }
  .point{
      display: none;
  }
  .availabetext{
      font-size: 25px;
  }
  .majjor{
      flex-direction: column;
  }
  .minnor{
      width: 60%;
  }
}
#scrollUpBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  opacity: 0.9;
  cursor: pointer;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

#scrollUpBtn:hover {
  background-color: #0056b3;
}