@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

*{
    
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

:root{
    --green-water:rgb(156, 249, 217);
    --black: #000;
    --maggenta: #ff86ed;
    --white: #ffffff;
    --title: 35px;
    --text: 19px;
}

body{


    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #ffffff;
    min-height: 100vh;

}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/*******************************************************Menu de navegacion********************************************************/

.inicio{
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;

}

.menu{
    position: fixed;
    width: 100%;
    height: 75px;
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    flex-wrap: wrap;
    box-shadow: 5px 5px 10px rgb(77, 77, 77);
}

.menu .logo{
    margin-left: 0px;
}

.logo > img{
    width: 160px;
    height: 70px;
}

.menu .lista-nav {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu .lista-nav ul{
    display: flex;
    justify-content: center;
    gap: 20px;
}

.menu .lista-nav ul li{
    list-style: none;
}

.menu .lista-nav ul li a{
    text-decoration: none;
    margin: 0px 10px;
    font-size: 1.2em;
    color: #000000;
    padding: 8px;
    border-radius: 3px;
    transition: 0.3s;
}

.menu .user img{
    width: 60px;
    margin-right: 15px;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    margin-right: 8px;
    cursor: pointer;
}

.nav-toggle .nav-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #000;
    margin: 5px 0;
    transition: transform 0.2s ease;
}

.menu .lista-nav ul li a:hover{
    background-color: rgb(236, 196, 255);
}

.menu .lista-nav ul li a.activo{
    background-color: var(--maggenta);
}

@media (max-width:991px){


    .logo > img{
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .menu {
        align-items: flex-start;
        height: auto;
    }

    .menu .lista-nav {
        width: 100%;
    }

    .menu .lista-nav ul {
        display: none;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        padding: 10px 12px 14px;
        background: #fff;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    }

    .menu.is-open .lista-nav ul {
        display: flex;
    }
}

/******************************************************** FORMULARIO ***********************************************/


.cont-form{
    
    box-sizing: border-box;

}

.form{
    margin: 200px auto 0px;

    width: 580px;
    box-shadow: 3px 3px 20px rgb(77, 77, 77);
    padding: 50px 35px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form h2{
    font-size: 35px;
    color: #000;
}

.form p{
    font-size: 18px;
    color: grey;
    margin-bottom: 5px;
}

.input-wrapper{
    position: relative;
    width: 360px;
    
}

.cont-form .row{
display: flex;
margin: 20px auto;
flex-direction: row;
}

.cont-form .row input{
    margin: 8px 5px 0px 0px;

}

.cont-form .row p{
    margin: 5px 0px 0px 5px;
    font-size: 18px;


}

input{
    color: #000;
    padding: 20px 10px 10px 60px;
    width: 100%;
    margin-top: 20px;
    border-radius: 25px;
    border: 0;
    box-shadow: 0 0 20px rgba(192, 203, 251, 0.7);
    outline: none;
    font-size: 16px;
}

select {
    color: #000;
    padding: 20px 10px 10px 60px;
    width: 100%;
    margin-top: 20px;
    border-radius: 25px;
    border: 0;
    box-shadow: 0 0 20px rgba(192, 203, 251, 0.7);
    outline: none;
    font-size: 16px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 40px;
}

select:hover {
    box-shadow: 0 0 25px rgba(192, 203, 251, 0.9);
}

select:focus {
    box-shadow: 0 0 30px rgba(240, 152, 255, 1);
}

select option {
    color: #000;
    background-color: #fff;
    padding: 10px;
}

input::placeholder {
    font-size: 18px;
    color: var(--maggenta)
}

.input-icon {
    width: 30px;
    height: 30px;
    position: absolute;
    margin: 30px 0 0 15px;

}

.input-btn{
margin: auto;
width: 60%;
}

.btn{
    margin: auto;
    padding: 15px;
    background: linear-gradient(rgb(240, 152, 255) 10%, 30%, rgb(210, 132, 255) 90%);
    box-shadow: 0 0 20px rgba(192, 203, 251, 0.7);
    color: #ffffff;
    text-transform: uppercase;
    font-size: 16px;
    cursor: pointer;

}

.btn:hover{
    background: linear-gradient(rgb(169, 109, 204)  10%, 30%, rgb(169, 109, 204) 90%);
    color: #ffffff;
}

.enlace-users{
    width: 100%;
    margin: 50px auto;
    text-align: center;
    font-size: 20px;

}

.success{
    position: absolute;
    top: 50px;
    color: darkseagreen;
    font-size: 18px;
}

.error{
    position: absolute;
    top: 50px;
    color: red;
    font-size: 18px;
}

@media (max-width:991px){

    .form{
        padding: 20px;
        width: 90%;
        margin: 100px auto;
    }


}



/*******************************************************PIE DE PAGINA********************************************************/


.pie-pagina{
    width: 100%;
    margin-top: 200px;
    background-color: #e5b8ff;
}
.pie-pagina .grupo-1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap:50px;
    padding: 45px 0px;
}
.pie-pagina .grupo-1 .box figure{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pie-pagina .grupo-1 .box figure img{
    width: 250px;
}
.pie-pagina .grupo-1 .box h2{
    color: #fff;
    margin-bottom: 25px;
    font-size: 20px;
}
.pie-pagina .grupo-1 .box p{
    color: #efefef;
    margin-bottom: 10px;
}
.pie-pagina .grupo-1 .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: #fff;
    margin-right: 10px;
    background-color: #0d2033;
    text-align: center;
    transition: all 300ms ease;
}
.pie-pagina .grupo-1 .red-social a:hover{
    color: aqua;
}
.pie-pagina .grupo-2{
    background-color: #000000;
    padding: 15px 10px;
    text-align: center;
    color: #fff;
}
.pie-pagina .grupo-2 small{
    font-size: 15px;
}
@media screen and (max-width:800px){
    .pie-pagina .grupo-1{
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap:30px;
        padding: 35px 0px;
    }
}

@media (max-width: 1024px) {
    .menu {
        height: auto;
        padding: 10px 12px;
        gap: 8px;
    }

    .menu .lista-nav {
        width: 100%;
    }

    .menu .lista-nav ul {
        flex-wrap: wrap;
    }

    .menu .user img {
        width: 44px;
        margin-right: 10px;
    }
}

@media (max-width: 768px) {
    .form {
        width: 100%;
        margin: 130px auto 0;
        padding: 24px 16px;
    }

    .form h2{
        font-size: 26px;
    }

    .form p{
        font-size: 16px;
        text-align: center;
    }

    .input-wrapper {
        width: 100%;
    }

    input,
    select {
        padding-left: 48px;
    }

    .input-icon {
        width: 24px;
        height: 24px;
        margin: 28px 0 0 12px;
    }

    .cont-form .row {
        flex-direction: column;
        align-items: flex-start;
    }

    .enlace-users {
        padding: 0 16px;
        font-size: 16px;
    }
}

/* Estilos para página de resultado de registro */
.contenedor-resultado {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 75px);
    padding: 20px;
    margin-top: 75px;
}

.resultado-box {
    width: 100%;
    max-width: 600px;
}

.error-message {
    color: #d32f2f;
    padding: 20px;
    margin: 20px;
    border: 1px solid #d32f2f;
    border-radius: 5px;
    text-align: center;
    background-color: #ffebee;
}

.error-message h2 {
    margin-bottom: 15px;
    font-size: 24px;
}

.error-message p {
    margin: 10px 0;
}

.error-message a {
    color: #1976d2;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.error-message a:hover {
    color: #1565c0;
    text-decoration: underline;
}

.success-message {
    color: #388e3c;
    padding: 20px;
    margin: 20px;
    border: 1px solid #388e3c;
    border-radius: 5px;
    text-align: center;
    background-color: #f1f8e9;
}

.success-message h2 {
    margin-bottom: 15px;
    font-size: 24px;
}

.success-message p {
    margin: 10px 0;
}

.success-message a {
    color: #1976d2;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.success-message a:hover {
    color: #1565c0;
    text-decoration: underline;
}

@media screen and (max-width: 600px) {
    .error-message,
    .success-message {
        margin: 10px;
        padding: 15px;
    }
    
    .error-message h2,
    .success-message h2 {
        font-size: 20px;
    }
}
