*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway';
}

.texto{
    margin: 30px auto;
    width: 80%;
}

.texto p{
    margin-bottom: 30px;
}

.texto p{
    font-size: 20px;
}


/* VENTANA MODAL */

.pop-up{
    background: rgba(48, 48, 48, 0.5);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    border-top-left-radius: 15px; 
    border-top-right-radius: 15px; 
    z-index: 1500;
}

.pop-up-wrap {
    flex-direction: column;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 550px;
    transform: scale(0.6);
    opacity: 0;
    transition: .3s ease all;
    height: 557px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}


.subcription::before{
    content: '';
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.3);
    z-index: -1;
    
}
.pop-up-title{
    flex-basis: 0;
    flex-grow:1;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-image: url('../img/office.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;    
    border-top-left-radius: 15px; 
    border-top-right-radius: 15px;
    
}

.pop-up-title::after{
    content: '';
    position: absolute;
    /* background: rgba(103, 58, 241, 0.75); */
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-top-left-radius: 15px; 
    border-top-right-radius: 15px;
    
}

.pop-up-title::before{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.3);
    z-index: -1;
    border-top-left-radius: 15px; 
    border-top-right-radius: 15px;
    
} 

.pop-up-title p{
    z-index: 10;
    color: #030303;
}

.pop-up-title p{
    font-size: 20px;
    font-weight: 300;
}


.subcription {
    background-color: #f7f7f7;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    flex-basis: 0;
    flex-grow: 1;
    height: 100%;
    width: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    text-align: center;
    border-bottom-right-radius: 15px; 
    border-bottom-left-radius: 15px;
}

.sub-content{
    width: 75%;
    height: 97%;
}


.sub-content p{
    font-weight: 500;
    color: #070707;
    margin-bottom: 5px;
    text-align: left;
}

.subs-email{
    
    padding: 15px;
    border: none;
    background: #e6e4e4;
    margin-bottom: 15px;
    border-radius: 10px;
}

.subs-send{
    
    padding: 10px;
    border: none;
    background: #117ef4;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: .25s ease background;
    border-radius: 5px;
}

.subs-send:hover{
    background: #479ffe;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8em; /* Tamaño del icono */
    color: white; /* COLOR BLANCO PARA EL ICONO */
    cursor: pointer;
    z-index: 10; /* Asegura que esté por encima de la imagen */
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 5px; /* Área clickable */
    text-shadow: 0 0 3px rgba(0,0,0,0.5); /* Sombra de texto para mejorar visibilidad en fondos claros */
    }

    .modal-close-btn:hover {
    color: #ccc; /* Un gris claro al pasar el cursor para indicar interactividad */
     transform: rotate(90deg); /* Pequeña rotación al pasar el cursor */
    }

 /* Estilos para los grupos de formulario (etiqueta e input) */
    .form-group {
    position: relative;
    }

    .form-group label {
    display: block; /* La leyenda encima del input */
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.5s ease; /* Transición para la leyenda */
    }

    .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    outline: none; /* Elimina el borde azul al enfocar */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Asegura que padding y border estén dentro del ancho */
    }



/* #close{
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 25px;
    color: #f8f9f5;
    cursor: pointer;
    z-index: 10; */ /* Asegura que el botón esté por encima de la imagen */
    
/* } */

.pop-up.show{
    visibility: visible;
}

.pop-up-wrap.show{
    transform: scale(1);
    opacity: 1;
}


@media only screen and (max-width: 200px){
    .pop-up-title{
        display: none;
    }
    
}

@media only screen and (max-width: 320px){
    .sub-content p{
        font-size: 30px;
    }
}