html{
    scroll-behavior: smooth;
}
body{
    margin:0;
    padding: 0;
    background-color: #000;
}
nav{
    display:flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    height: 40px;
    top:0;
    position:fixed;
    width: 100%;
    z-index:2;
    background: #000;
}

nav h1{
    position: relative;
    z-index:1;
    
    color: #CFFFE2;
    display: inline-block;
}

nav ul{
    display:flex;
    list-style: none;
   
}
nav ul li{
    margin:5px;
    position: relative;
}
a{
    text-decoration: none;
}
nav ul li a{
    margin:5px;
    position:relative;
    color:#F6F6F6;
    transition: .3s;
    font-size:1.1rem;
    padding:5px;
}
nav ul li::before{
    content:" ";
    width: 0;
    background-color: #A2D5C6;
    position:absolute;
    height:100%;
    transition: .5s;
    border-radius: 3px;
    z-index:0;
}
nav ul li:hover::before{
    width:100%;
    
}
.abtn{
    position: relative;
    background-color: #CFFFE2;
    padding: 10px;
    border-radius: 40px;
    box-shadow:
        0 0 5px #CFFFE2,
        0 0 10px #CFFFE2,
        0 0 20px #CFFFE2;
        
        transition: 0.3s;
        color: #000;
        font-weight: 600;
}
.abtn1{
    position: relative;
    background-color: #CFFFE2;
    padding: 10px;
    border-radius: 40px;
    box-shadow:
        0 0 5px #CFFFE2,
        0 0 10px #CFFFE2,
        0 0 20px #CFFFE2;
        
        transition: 0.3s;
        color: #000;
        font-weight: 600;
        margin-top: 10px; 
        width: 10%; 
        text-align: center;
}
.abtn:hover{
     box-shadow: none;
    background-color: #000;
    color:#F6F6F6;
}
.abtn1:hover{
     box-shadow: none;
    background-color: #000;
    color:#F6F6F6;
}
nav ul li:hover a{
    color:#000;
}
#home{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #CFFFE2;
    
    padding: 50px;
    height: 80vh;
    position: relative;
}
#home p{
    font-size: 1.2rem;
}




.btnanim{
    position: relative;
  padding: 5px;
  color: #F6F6F6;
  background-color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
}
.btnanim p{
background: #000;
z-index: 1;
padding: 13px;
margin: 0;
border-radius: 8px;
position: relative;
}
.btnanim::before{
   content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at var(--x, 70%) var(--y, 70%), #cfffe2a8, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  
}
.btnanim:hover::before{
    opacity: 1;
}
#catalog{
    padding: 15px;
    color: #F6F6F6;
    height: 105vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.cardport{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
   
}
.card{
    width: 270px;
    height: 300px;
    border-radius: 10px;
    background-color: #111;
    padding: 20px;
    transition: .2s;
    cursor: pointer;
}
.card img{
    width: 100%;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
}
.card ul{
    color:#cfffe2a6
}
.card:hover{
    transform: scale(1.05);
}

#about{
    padding: 15px;
    background-color: #A2D5C6;
    height:80vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    
}
#about p{
    font-size: 1.2rem;
    width: 40%;
}

.iconpit{
    font-size: 2rem;
    position: absolute;
    transition: .5s;
}
footer{
    color: #F6F6F6;
    padding: 20px;
}
footer ul{
    list-style: none;
}
footer li{
    font-size: 1.4rem;
    margin: 10px;

}
footer li a{
    color: #F6F6F6;
    text-decoration: none;
    transition: .3s;
}
footer li a:hover{
    color: #A2D5C6;
}
footer div{
    display: flex;;
}
.btnmenu{
    display: none;
}

@media screen and (max-width: 768px){
    nav ul{
        display: flex;
        flex-direction: column;
        position: absolute;
        transition: .5s;
        overflow: hidden;
        right: 0;
        top: 70px;
        background-color: #A2D5C6;
        height: 0px;
    }

    nav ul li::before{
        background-color: #000;
    }
    nav ul li:hover a{
        color: #A2D5C6;
    }
    nav ul li a{
        font-size: 1rem;

    }
    
    #home p{
        font-size: 1rem;
    }
    #catalog{
        padding: 10px;
        overflow-y: scroll;
    }
    #about p{
        width: 100%;
        font-size: 1rem;
    }
    .cardport{
        
        align-items: center;
    }
    .card{
        width:90%;
        
        text-align: center;
        margin-bottom: 20px;
        justify-items: center;
        align-items: center;
        overflow: hidden;
    }
    .card .bx{
        display: none;
    }
    .card ul{
        list-style: none;
        display: flex;
        flex-direction: column;
        justify-items: center;
        align-items: center;
    }
    .btnmenu{
        display: block;
        background-color: transparent;
        outline: none;
        border: none;
        color: #F6F6F6;
        font-size: 2.5rem;
    }
    .abtn1{
        width: 47vh;
        text-align: center;
        margin-top: 10px;
    }
    footer{
        padding: 5px;
    }
    footer ul{
        padding:0px;
    }
    footer li{
        margin:10px;
    }
}