*{
    background-color: #2E3944;
    text-decoration: none;
    scroll-behavior: smooth;

}
#icon {
    display: none;
}
.header{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #2E3944;
       height: 100px;
    position: fixed;
    width: 100%;
    z-index: 1;
    top: 0;
    padding: 0;
    border-bottom: #d3d9d4 solid;
}

.logo img{
    height: 90px;
    /* width: 50%; */
}
.navbar{
    background-color: #2E3944;
    width: 50%;
}
.navbar a{
    justify-content: space-around;
    font-size: x-large;
    color:#d3d9d4 ;
    background-color: #2E3944;
    margin-left: 50px;
}
section{
   padding: 10rem 9% 2rem;
   /* min-height: 100vh; */
}

.content{
   margin-top: 150px;
   font-size: larger;
   color: #d3d9d4; 
   z-index: 1;
}
.home-img p {
    color: #d3d9d4;
}
.home-img img{
    
    height: auto;
    width: 100%;
    border-radius: 10px;
    animation: flex 4s ease-in-out infinite;
    }
    @keyframes flex {
        0%{
          transform: translateY(0);
        }
        50%{
            transform: translateY(-3rem);
        }
        100%{
            transform: translateY(0);
        }
    }
    .about h1{
        text-align: center;
        font-size: 4rem;
        color: #d3d9d4;
    }
    .about1{
        display: flex;
        justify-content: space-around;
        align-items: center;
        color: #d3d9d4;
        line-height: 1.5rem;
    }
    .about1-img img{
        border-radius: 50px;
        margin-right: 50px;
        height: 300px;
        width: 500px;
        animation: flip 4s ease-in-out infinite;
    }
    @keyframes flip {
        0%{
            transform: translateX(0) ;
        }
        50%{
            transform: translateX(2rem);
        }
        100%{
            transform: translateX(0);
        }
    }
    .about2{
        display: flex;
        justify-content: space-around;
        align-items: center;
        color: #d3d9d4;
        line-height: 1.5rem;
    }
    .about2-img img{
        border-radius: 50px;
        margin-left: 50px;
        height: 300px;
        width: 500px;
        animation: flip 4s ease-in-out infinite;
    }
    @keyframes flip {
        0%{
            transform: translateX(0) ;
        }
        50%{
            transform: translateX(2rem);
        }
        100%{
            transform: translateX(0);
        }
    }
    .about-content h2{
        text-align: center;
        color: #d3d9d4;
        font-size: xx-large;
    }
    .about-content{
        margin-left: 100px;
        line-height: 2rem;
        font-size: larger;
        color: #d3d9d4;
    }
    i {
        color: #d3d9d4;
        margin-right: 10px;
    }
    .products h1{
        text-align: center;
        font-size: 60px;
        color: #d3d9d4;
    }
    .products h3{
        font-size: 40px;
        color: #d3d9d4;
    }
    .products p{
        color: #d3d9d4;
        font-size: larger;
    }
    .cards{
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-top: 60px;
        
    }
    .cards img{
        height: 200px;
        width: 200px;
    }
    .cards h2{
        font-size: 15px;
        color: #748d92;
    }
    .cards div {
        border: #748d92 solid;
        padding: 20px;
        margin-right: 10px;
        margin-left: 10px;
         }
         /* .cards div h2:hover {
            color: #d3d9d4;
            font-size: 25px;
         } */
         .btn{
            background-color: #2E3944;
            border: #748d92 solid;
            border-radius: 20px;
            color: #d3d9d4;
            font-size: large;
         }
         .btn:hover{
            background-color: #d3d9d4;
            color: #2E3944;
         }
         .more{
            align-items: center;
         }
         .more h2{
            color: #d3d9d4;
            margin-right: 50px;
         }
         .contact h1{
            text-align: center;
            font-size: 60px;
            color: #d3d9d4;
         }

         .contact-contents{
            color: #748d92;
            text-align: center;
            font-size: 30px;
         }
       .contact-contents input, textarea{
        border: #748d92 solid;
        border-radius: 20px;
        font-size: 20px;
        padding: 10px;
        width: 500px;
        
       }
       ::-webkit-scrollbar  {
        background-color: #2E3944;
        
       }
       ::-webkit-scrollbar-corner {
        background-color: #2E3944;
        
       }
       ::-webkit-scrollbar-thumb{
        background-color: #748d92;
        border-radius: 20px;
       }
       .btn-1{
        margin-top: 50px;
        margin-left: 500px;
        margin-bottom: 50px;
       }
       .btn-1 input{

        border: #748d92 solid;
        border-radius: 20px;
        text-align: center;
        margin-left: 30px;
        font-size: x-large;
        color: #748d92;
       }
       .btn-1 input:hover{
        color: #2E3944;
        background-color: #d3d9d4;
       }
      .details{
        display: flex;
        align-items: center;
      }
      .details p{
        color: #748d92;
        margin-right: 10px;
      }
      .dir{
        text-decoration: underline;
        color: #748d92;
        display: flex;
        align-items: center;
      }
      .dir p:hover{
        color: #d3d9d4;
      }
      .p {
        color: #748d92;

      }
      .p a{
        font-size: large;
        color: #748d92;
        margin-right: 20px;
      }
      html {
        overflow-x: hidden;
      }
      
/* Responsive Styles for Mobile */
@media (max-width: 768px) {
 header {
    flex-direction: column;
    padding: 10px;
    position: fixed;
    align-items: center;
  }
  .home div {
    margin-bottom: 50px;
    padding-bottom: 10px;
  }
  
  #icon {
    display: block;
    position: fixed;
    right: 20px;
    top: 20px;
    cursor: pointer;
    color: #d3d9d4;
    font-size: 40px;
  }
  .about h1 , .products h1, .contact h1{
    font-size: 2rem;
  }
 .about-content h2 {
    font-size: 1.5rem;
  }
 .products h3 {
    font-size: 1.5rem;
  }

  .navbar {
    display: none;
    flex-direction: column;
    background-color: #2E3944;
    width: 100%;
    padding: 20px 0;
    border-left:2px solid #d3d9d4;
    border-top:2px solid #d3d9d4 ;
  }

  .navbar.active {
    display: flex;
  }

 .navbar a {
    margin: 10px 0;
    font-size: 30px;
    opacity: 1;
    text-align: center;
    border-bottom:2px solid #d3d9d4 ;
    padding-bottom: 10px;
  }

  .about1, .about2 {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .about1-img img, .about2-img img {
    width: 90%;
    height: auto;
    animation: none;
    align-self: center;
    /* margin: 1rem 0; */
  }

  .about-content {
    margin-left: 0;
    /* font-size: 0.5rem; */
    padding: 10px;
  }

  .cards {
    flex-direction: column;
    padding: 1rem;
  }

  .cards div {
    margin: 1rem 0;
  }

  .contact-contents input, textarea {
    width: 90%;
    font-size: 1rem;
  }

  .btn-1 {
    margin: 2rem auto;
    text-align: center;
  }

  .btn-1 input {
    margin: 1rem;
    font-size: 1.2rem;
  }

  .details {
    flex-direction: column;
    text-align: center;
  }
 .products p {
    font-size: 1rem;
 }
 .contact-contents label {
    text-align: center;
 }
 .contact-contents input {
    width: 100%;
    height: auto;
    
 }
 .contact-contents textarea {
     width: 100%;
    height: auto;
 }
  .dir {
    justify-content: center;
    flex-direction: column;
  }

  .p {
    text-align: center;
    margin-top: 1rem;
  }

  .home-img img {
    width: 100%;
    height: auto;
  }
  html {
    overflow-x: hidden;
  }

}


