*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    font-family: 'poppins', sans-serif;
}
nav{
    display: flex;
    background:black;
    height: 80px;
    width: 100%;
    align-items: center;
    justify-content: space-between;   
}
input[type="checkbox"]{
    appearance: none;
    -webkit-appearance: none;
}
label{
    display: none;
    cursor: pointer;
}


nav ul{
    float: right;
    margin-right: 20px;
    

}
nav ul li{
    display: inline-block;
    line-height: 80px;              /*gap from above */
    margin: 0 5px;                 /*gap in between */
    
}

nav ul li a{
    color: white;
    font-size:17px;
    text-decoration: none;
    padding: 6px 20px;
    transition: .5s;
    position: relative;
    
    
}
nav a:hover{
    color: aqua;
    
}
nav a span{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    
    border-bottom: 2px solid aqua;
    border: radius 15px; 
    transform: scale(0) translateY(50px);
    transition: .5s;
    opacity: 0;
}
nav a:hover span{
    transform: scale(1) translateY(2px);
    opacity: 1;
}
@media screen and (max-width:600px) {
    label{
        display: block;
    }
    ul{
        font-size: 1.2 em;
        position: absolute;
        left: -100%;
        flex-direction: column;
        align-items: center;
        background-color: black;
        gap: 2em;
        top: 60px;
        width: 100%;
        height: calc(100vh-50px);
        transition: 0.5s;

    }
    input[type="checkbox"]:checked~ ul{
        left: 0;

    }
    
} 
.flex-container{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;

}
.flex-box1{
    width: 400px;
    height: 400px;
    background:linear-gradient(120deg,rgb(0, 55, 255),rgb(209, 9, 192));
    border-radius:20px;
    margin: 20px;


}
.flex-box2{
    display: flex;
    justify-content: space-around;
    width: 400px;
    height: 400px;
    border-radius:20px;
    border-style: solid ;
    margin: 20px;
    
}
.flex-box3{
    border-radius:20px;
    margin: 20px;
    outline: 2px solid ;
    display: grid;
    grid-gap: 15px;
    grid-template-columns:auto auto auto ;
    grid-template-rows:auto auto auto ;
    background-color: rgb(228, 226, 226);

}
.flex-box2 img{
    flex-wrap: wrap;
    width: 600px;
    height: 390px;
    margin: 0;
}
.flex-box3 div{
    
    background-color:rgb(5, 5, 120) ;
    border-radius: 30px;
    display: grid;
    place-items: center ;
    box-shadow: 17px 17px 17px grey;
    margin: 10px;
    
}
.cell {
    width: 100px;
    height: 100px;
    cursor: pointer;
    border-radius: 30px;
}

.cell.clicked {
    background-color: rgb(143, 29, 29); /* Change this to the desired clicked color */
}



