@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body{
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    font-family: Poppins ;
}
*{
    margin: 0%;
    padding: 0%;
}
.main{

}
.modal{
    color: aliceblue;
    height: 100vh;
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.129);
    backdrop-filter: blur(4px);
    margin: 0%;
    padding: 0%;
    position: fixed;
    top: 0;
    display: none;
}
.btn{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#modal-btn{
    cursor: pointer;
    position: relative !important;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 500;
    background: #000;
    color: tomato;
}
#toggle{
    position: absolute !important;
    display: none;
}
.modal-content{
    background-color: rgba(0, 0, 0, 1);
    border: 2px solid rgba(128, 128, 128, 0.223);
    width: 500px;
    height: 300px;
    position: relative;
    border-radius: 18px;
    margin: 0%;
    padding: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .35s ease-in-out ;

}
.close{
    position: absolute;
    cursor: pointer;
    right: 6px;
    top: 6px;
}
#link{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    width: fit-content;
    padding: 4px 38px;
    border-radius: 6px;
    cursor: pointer;
    background: #000;
    color: #fff;
    transition: all .2s;
}
#link:hover{
    background: #fff;
    color: #000;
}

#toggle:checked ~ .modal{
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width:700px){
    .modal-content{
        width: 100%;
    }
}