@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0500&display=swap');

*{
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

body{
    background-image: url(../img/uvas1.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

form{
    position: relative;
    width: 410px;
    height: 450px;
    -webkit-backdrop-filter: blur(200px);
    backdrop-filter: blur(200px);
    font-size: 18px;
    color: rgb(7, 7, 7);
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.input-box{
    width: 76%;
    display: flex;
    justify-content: space-between;
    position: relative;
    border-bottom:2px solid white;
    margin: 25px 0;
    padding: 0 4px 10px 4px;
}
.input-box input{
    position: absolute;
    width: 85%;
    color: white;
    font-size: 16px;
    border: none;
    outline: none;
    background: transparent;
}
.input-box label{
    transition: .3s;
    font-size: 17px;  
}

.input-box input:focus ~ label,
.input-box input:valid ~ label{
    transform: translateY(-27px);  
}
.input-box ion-icon{
    font-size: 25px;
}
.checkbox{
    width: 76%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.checkbox h5{
    font-size: 14px;
    font-weight: 100;
    cursor: pointer;
}
.checkbox label{
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    user-select: none;
}

.checkbox input{
    cursor: pointer;
    margin-right: 3px;
}

.checkbox span{
    display: flex;
}
.submit-btn{
    width: 78%;
    height: 38px;
    cursor: pointer;
    border-radius: 6px;
    margin: 15px 0 22px 0;
    border: none;
    font-size: 16px;
    
}
.submit-btn:hover{
    background-color: #3d718d;
}
/*:::Boton-Modal:::*/
.boton-modal{
    padding: 10px 20px;
    background-color: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 70%;
    text-align: center; 
    margin-top: 3px; 
    font-size: 16px; 
    font-weight: 500;
}

.boton-modal:hover{
    background-color: none;
    text-decoration: underline; 
    cursor: pointer; 
}
/*:::Fin Boton-Modal:::*/

/*:::Ventana Modal:::*/
#btn-modal{
    display: none;
}

.container-modal{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 10;
    left: 0;
    background-color: rgba(144, 148, 150, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

#btn-modal:checked ~ .container-modal{
    display: flex;
}

.content-modal{
    width: 80%; 
    max-width: 400px;
    padding: 20px;
    background-color: #fff;
    border-radius: 6px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
}

.content-modal h2{
    margin-bottom: 15px;
    font-size: 20px; 
    color: black;
}

.content-modal p{
    padding: 15px 0px;
    border-top: 1px solid #dbdbdb;
    border-bottom: 1px solid #dbdbdb;
    color: black;
}

.content-modal .btn-cerrar{
    width: 100%;
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}

.content-modal .btn-cerrar label{
    padding: 7px 10px;
    background-color: gray;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease; 
}

.content-modal .btn-cerrar label:hover{
    background-color: #3d718d;
}

.cerrar-modal{
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

@media screen and (max-width:800px) {
    .content-modal{
        width: 90%;
    }
}
/*:::Fin Ventana Modal:::*/