
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Mono',monospace;
}

header{    
    padding: 3em 3em;
    width: 100%; 
    position: fixed; 
    background-color: whitesmoke; 
    z-index: 9999;      
}
header nav{
    float: right;
}
header nav li{
    display: inline;
    list-style: none;
    padding: 1em 1em;
    margin-left: 1em;
    border: none;
    font-weight: bolder;
    border-radius: .5em;     
}
header nav li:first-child{
   position: absolute;
   left: 0px;
   top: 5px;
   margin: 0;
   border: none;   
   text-shadow:2px 5px 4px black;
   font-size:30px;
   }
header nav li:first-child:hover{
  color: black;
  background-color: transparent;
  border: none;
} 
header li:hover{
  color: white;
  background-color: #4077fff4;
  border: none;
}  
header li:active{
   background-color: #4077ff89;
} 

a{
    text-decoration: none;
    cursor: pointer;
    color: blue;
}
a:active{
    color: white;
}
.back{
    background-image: url('home.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    
}
hr{
    color: white;
}
main{
    margin-top: 7.1em;
    text-align: center;
}
.Home{  
    display: flex;
    flex-direction: row;
    padding: 2em;
    width: 100%;
    height: auto;
    padding-top: 10em;
}
.airpod-image{
    width: 50%;
    height: 550px;
    border: none; 
    border-radius: 1.5em;       
}
.home-content{
    width: 50%;
    border: none;
    height:400px;
    align-content: center;
    align-content: space-around;
    margin-right: 1em;
    text-align: left;
    padding: 1em;
    border-radius: 1.5em;
    
}
.home-content p{
    line-height: 1.5em; 
    margin-top: 2em; 
    font-weight: bolder;  
    font-size: 18px;      
}
.home-content button{
    margin-top: 2em;
    padding: 1em 2em;
    border: none;
    border-radius: 1.5em;
    color: white;
    background-color: #4077fff4;
    box-shadow: 3px 5px 10px whitesmoke;
}
.home-content button:hover{
    background-color: #4077ff10;
    border: 1px solid black;
    color: black;
    box-shadow: 1px 2px 3px black;
}
.airpod-image img
{
    width: 100%;
    height: 100%;
    object-fit: cover;    
    color: black;
}
.shadow{
          filter: drop-shadow(5px 5px 10px  rgba(0,0,0,0.7));
}
.About{
  display: flex;
  width: 100%; 
  height: auto;
  color: white;
  background-image: url('about-back.jpg'); 
  background-repeat: no-repeat;
  background-size: cover;
  padding: 1em;
  padding-top: 5em;
}
.About-image{
   width: 50%; 
   border: none;
   height: 550px;
   margin-right: 2em;
   border-radius: 1.5em;
   overflow: hidden;
}
.About-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}
.About-content{
  width: 50%;   
  height: 600px;
  padding: 1em; 
  animation: autoRotate both;
  animation-timeline:view(70% 5%);
}
.About-content h1{
    font-weight: bolder;
    font-size: 35px;
    
}
.About-content p{
    text-align: left;
    font-size: 20px;
    margin-top: 2em;
    line-height: 1.5em;
    line-break: 1.5em;
}
.About-content button{
    padding: 1.5em 4em;
    margin-top: 2em;
    border: none;
    border-radius: 1.5em;
    color: white;
    background-color: #4077fff4;
    font-weight: bolder;
}
.About-content button:hover{
    background-color: #4077ff82;
}
.product{
    height: 650px;
    background-color: white; 
    padding: 2em;
}
.product h1{
    font-weight: bolder;
    font-size: 35px;
}
.products{
  display: flex;
  flex-direction: row;   
  width: 100%;    
}
.product-image{
  width: 30%;
  height: 400px;
  border: 1px solid black;
  border-radius: 1.5em;
  overflow: hidden;
  margin-top: 3em;
  margin-right: 1.5em;
}
.product-image:hover{
    border: 2px solid green;
}
.product-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product button{
    padding: 1.5em 4em;
    margin-top: 2em;
    border: none;
    border-radius: 1.5em;
    color: white;
    background-color: #4077fff4;
    font-weight: bolder;
}
.product button:hover{
    background-color: #4077ff82;
}
.Testimony{
    height: 650px;
    background-color:gray; 
    color: white;
    padding: 2em;
}

.Card
{
  display: flex;
  flex-direction: row;   
  width: 100%;   
}
.Card:hover> :not(:hover){
   filter: blur(5px);
   opacity: 0.4;
   
}
.Testimony-card{
  width: 35%;
  height: 470px;
  border: 1px solid black;
  border-radius: 1.5em;  
  margin-top: 3em;
  margin-right: 1.5em;
  padding: 1em;
}
.Testimony-card{
    display: flex;
    flex-direction: column;    
}

.card-header{
   border:none;   
   margin: 0 auto;
   overflow: hidden;
   height: 30%;
   width: 45%;
   border-radius: 200px;
   margin-bottom: 1.5em;
}
.card-header img{
    width: 100%;    
    object-fit: cover;
}
.card-body{
    border: none;
    height: 70%;
    
    
}
.card-body p{
    padding: 0;
    padding-top: .5em;
    line-height: 1.5em;
    font-weight: bolder; 
    weight: 100%;
    text-align: left;
}
.Contact{
    padding: 2em;
    height: 350px;
    width: 100%;
    
}
.Contact input{
    padding: 1.5em 4em;
    margin-top: 2em;
    border-radius: 1.5em;
    border: 1px solid black;
}
.Contact button{
    padding: 1em 3em;
    margin-top: 2em;
    border: none;
    border-radius: 1.5em;
    color: white;
    background-color: #4077fff4;
    font-weight: bolder;
}
.Content button:hover{
    background-color: #4077ff82;
}
footer{
    width: 100%;
    height: 300px;
    padding: 2em;    
    background-color:whitesmoke ;
    
}
footer ul {
   list-style: none;
   display: flex;
    flex-direction: row;
    }
footer ul li{
    padding: 2em;
   
}
footer p{
    margin-top: 2em;
    text-align: center;
}
footer ul li:hover
{
    color: blue;
}
.menu-toggle{
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 35px;
    display: none;
    
}
.active{
    display: none;
}
#red{
    background-color: #c71121;
}
@keyframes autoRotate {
    from{
        
        opacity: 0;
        animation-delay: 5s;
    }
    to{
        
        opacity: 1;
        animation-delay: 5s;
    }
}

    

@media(max-width:900px){
 
    header{
        display: none;
        
    }
    main{
        margin-top: 0;
    }
    .Home h1{
        position: absolute;
        top: 15px;
        font-size: 37px;
        text-shadow:2px 5px 4px black;
       
    }
    .Home p{
        font-size: 15px;
        margin-bottom: 1em;
    }
   
    .Home{
        flex-direction: column;
         width: 100%;
         height: auto;
        
    }
    .airpod-image{
        width: 100%;
        height: 50%;
    }
    .home-content{
        width: 100%;
        height: 50%;
    }
    .About
    {
        flex-direction: column;
        height:auto;
        overflow: hidden;
    }
    .About-image{
        width: 100%;
        height: 50%;
    }
    .About-content{
        width: 100%;
        height: 50%;
    }
    .About-content p{
        font-size: 15px;
         
    }
    .product{
        height: auto;
        overflow: hidden;
    }
    .products{
        flex-direction: column;
        width: 100%;
    }
   .product-image{
       width: 100%;
       height: 350px;
   }
   .Testimony-card{
     width: 100%;
     height: 450px;  
   }
   .Card
   {
       flex-direction: column;
       width: 100%;
       
   }
   .Card:hover> :not(:hover){
    filter: blur(0px);
    opacity: 1;
   
      }
    .Testimony{
        height: auto;
        overflow: hidden;
    }
    footer{
        height: auto;
        text-align: center;
    }
    footer ul{
        flex-direction: column;
    }
    footer ul li{
        padding: 1em;
    }
    
    .active{
        display: none;
        background-color: rgba(128,128,128,0.9);
        z-index: 999;
        
    }
   
    .header{
         text-align: center; 
         width: 100%;        
         display: block;
         position: fixed;
    }
    .header nav ul li
    {
        padding: 1em;
        list-style: none;
    }
    .header li:hover{
        background-color: whitesmoke;
        color: blue;
    }
    .header li:first-child:hover{
        background-color: transparent;
    }
    .menu-toggle{
        display: block;
        z-index: 99999;
        position: fixed;
    }
}
