body {
    margin: 0;
    padding: 0;
    background-color: #000;
    overflow-x: hidden;
  }

  body::-webkit-scrollbar {
    display: none;
  }
  h2 {
    text-transform: uppercase;
    letter-spacing: 3px;
  }

/* ===== Header ===== */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    transition: all 0.4s ease;;
}

*{
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}
body{
  font-family: montserrat;
}
nav{
background-color: #000000;
  height: 80px;
  width: 100%;
}
label.logo{
  color: white;
  font-size: 30px;
  line-height: 80px;
  padding: 0 10px;
  margin-left: 30px;
  font-weight: bold;
}
nav ul{
  float: right;
  margin-right: 30px;
}
nav ul li{
  display: inline-block;
  line-height: 80px;
  margin: 0 5px;
}
nav ul li a{
  color: white;
  font-size: 17px;
  padding: 7px 13px;
  border-radius: 3px;
  text-transform: uppercase;
}

nav ul li a:hover{
  color: yellow;
}
a.active,a:hover{
  background: #000000;
  transition: .5s;
  color: yellow;
}
.checkbtn{
  font-size: 30px;
  color: white;
  float: right;
  line-height: 80px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}
#check{
  display: none;
}
@media (max-width: 952px){
  label.logo{
    font-size: 30px;
    padding-left: 50px;
  }
  nav ul li a{
    font-size: 16px;
  }
}
@media (max-width: 858px){
  .checkbtn{
    display: block;
  }
  .nav {
    background-color: #000;
  }
  ul{
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all .5s;
    z-index: 3;
  }
  nav ul li{
    display: block;
    margin: 50px 0;
    line-height: 5px;

  }
  nav ul li a{
    font-size: 20px;
  }
  nav ul li a:hover{
    color: yellow;
  }
  a:hover,a.active{
    background: none;
    color: yellow;
  }
  #check:checked ~ ul{
    left: 0;
  }
}









/* ===== Home ===== */

.home {
  height: 90vh; ;
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  
}

.home h1 {
  margin-left: 30px;
  margin-right: 30px;
  font-size: 46px
}
.home p {
  margin-left: 30px;
  margin-right: 30px;
  font-size: 20px;
}

.home images {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.home img {
  width: 24%;
}

/* Style for animated images */
.animated-image {
  position: relative;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

.right-to-center {
  animation-name: slideRight;
  animation-direction: normal;
}

.left-to-center {
  animation-name: slideLeft;
  animation-direction: normal;
}

/* Keyframes for animation */
@keyframes slideRight {
  0% {
      transform: translateX(200%);
  }
  100% {
      transform: translateX(0);
  }
}

@keyframes slideLeft {
  0% {
      transform: translateX(-200%);
  }
  100% {
      transform: translateX(0);
  }
}
@media (max-width: 768px) {
  .home h1 {
    text-align: center;
    font-size: 40px
  }
  .home p {
    text-align: center;
    font-size: 20px;
  }
}

/* ===== about us ===== */
.about {
  padding: 50px 0;
  color: white;
  
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.about-content {
  flex: 1;
  padding-right: 20px;
  text-align: center;
}


.about-image {
  flex: 1;
  text-align: center;
  margin-top: 20px;
}

.about-image img {
  max-width: 80%;
  height: auto;
}

.about-content h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 768px) {
  .container {
      flex-direction: column;
  }
  .about-content p {
    margin-inline: 40px;
  }
  .about-content,
  .about-image {
      width: 100%;
      text-align: center;
  }

  .about-content {
      padding-right: 0;
      margin-bottom: 20px;
  }
}

/* Products */

main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 30px;
  font-family: "Roboto", sans-serif;
}
#Products-container {
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
}
.card {
  position: relative;
  width: 31rem;
  height: 31rem;
  margin: 15px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card .card-content {
  position: absolute;
  bottom: -35%;
  left: 0;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.489);
  color: #fff;
  transition: bottom 0.3s ease-in-out;
}

.card:hover .card-content {
  bottom: 0;
}

.card h2 {
  margin: 0;
  font-size: 24px;
  color: #fff;
}

.card p,
.card a {
  margin: 0;
  color: #fff;
  transition: opacity 0.3s ease-out;
}

.card:hover p,
.card:hover a {
  opacity: 1;
}

.card p {
  margin-top: 10px;
  font-size: 15px;
}

.card a {
  font-size: 12px;
  margin-top: 10px;
  color: inherit;
  text-decoration: none;
}
@media (max-width: 768px) {
  .card .card-content {
    bottom: 0;
  }
}









/* slideshow */

.offers h2 {
font-size: 24px;
color: white;
padding: 30px;
text-align: center;
}

.slideshow-container {
  position: relative;
  width: 70%;
  margin: auto;
}

.slideshow-container img {
  width: 100%;
  height: auto;
  display: none;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  padding: 16px;
  background-color: rgba(255, 255, 255, 0.105);
  color: white;
  font-weight: bold;
  font-size: 18px;
  z-index: 1;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}






/* ///// inputs /////*/

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  gap: 20px;
}


input,
textarea {
  padding: 20px;
  border: 1;
  width: 80%;
  font-size: 1.2rem;
  background-color: #000000;
  color: white;
  border-color: #fff;
  border-radius: 20px ;
}



.btnsubmit {
  background-color: aqua;
  color: #000;
  font-size: large;
  font-weight: bold;
  width: 80%;
  border-radius: 20px;
  padding: 10px;
}

@media (min-width: 768px) {
  input,
  textarea,
  .btnsubmit {
    width: 60%;
  }
  
}






footer {
  background-color: #000000;
  color: #fff;
  padding: 20px 0;
}
.footer-container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}
.footer-details {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: center;
}
.footer-item {
  flex: 1 1 30%;
  margin: 10px 0;
}

.footer-item i {
  margin-right: 10px;
}

.footer-item h2 {
  font-size: 20px;
}

.social-icons {
  text-align: center;
  padding: 20px 10px;
}
.social-icons a {
  color: #fff;
  margin: 0 10px;
  font-size: 24px;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: yellow;
}
.footer-bottom {
  text-align: center;
  padding: 10px 0;
  border-top: 1px solid #495057;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .footer-details {
      flex-direction: column;
  }
}