/* Definición de variables de color */
:root {
    --primary-green: #075931;
    --secondary-green: #06C263;
    --text-dark: #003333;
    --text-light: #ABABAB;
	--input-color: #001F1F;
    --background-light: #E5E5E5;
    --background-lighter: #EAEAEA;
    --background-fafafa: #FAFAFA;
    --scrollbar-track: #f1f1f1;
    --scrollbar-thumb: #888;
    --scrollbar-thumb-hover: #555;
    --button-hover: #075931;
    --button-active: #003333;
    --white: #FFF;
    --shadow-dark: rgba(0, 0, 0, 0.5);
}

/* Estilos globales */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    width: 5px;
}

body::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

body::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
}

body::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

/* Sección de inscripción */
#inscripcion {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 100%;
}

.insc-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    padding: 2rem 5rem;
}

.insc-info h5 {
    font-weight: 700;
    font-size: 2.25rem;
    line-height: 1.375rem;
    color: var(--primary-green);
    margin: 0.625rem 0;
	margin-bottom: 2rem;
}

.insc-info h2 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 5rem;
    line-height: 100%;
    color: var(--text-dark);
    border-bottom: 2px solid var(--secondary-green);
    padding-bottom: 1.5625rem;
    margin: 0.625rem 0;
}

.insc-info h2 span {
    color: var(--secondary-green);
}

.insc-info p {
    font-weight: 500;
    font-size: 2.75rem;
    line-height: 120%;
    color: var(--text-dark);
    margin-top: 1rem;
}

.insc-info p.icon,
.insc-date-hour {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 1.75rem;
	margin: 1.25rem 0;
}

.insc-info p.icon img.marker {
    margin-left: 0.625rem;
    margin-right: 0.5rem;
}

.insc-date-hour p {
    width: 50%;
    justify-content: flex-start;
}

/* Oradores */
.oradores {
	display: flex;
	justify-content: flex-start;
	margin: 3rem 0;
	align-items: flex-start;
	gap: 50px;
}

.orador {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 0.625rem;
}

.orador h3 {
	font-family: "Roboto Slab", serif;
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 120%;
    color: var(--secondary-green);
    margin-bottom: 0;
}

.orador p {
	font-weight: 600;
    font-size: 1.25rem;
    line-height: 120%;
    color: var(--text-dark);
    margin-top: 0.3125rem;
}

/* Formulario de inscripción */
.insc-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 50%;
    padding: 2rem 5rem;
    background: var(--text-dark) url('images/line.png') no-repeat right bottom;
}

#logo {
    position: absolute;
    top: 1rem;
    right: 7rem;
}

#logo2 {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

#muchas-gracias #logo2 {
    left: 2rem;
}

.insc-form form {
    padding: 0 1.5625rem;
}

.insc-form form h3 {
	margin-top: -3.125rem;
    font-weight: 500;
    font-size: 2.2rem;
    line-height: 120%;
    color: var(--white);
}

.input-form,
.input-form:active,
.input-form:focus {
	width: 100%;
    height: 5rem;
    padding: 0.3125rem 1.5rem;
    background: var(--input-color);
    border: 0;
    color: var(--white);
    margin: 1rem 0;
    outline: 0;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
}

.input-form::placeholder {
    color: var(--white);
    opacity: 1;
}

#reservar,
#showPopUp {
	width: 100%;
    height: 5rem;
    padding: 0.3125rem 1.5rem;
    background: var(--secondary-green);
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    color: var(--white);
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    transition: background 300ms;
    line-height: 4rem;
}

#reservar:hover,
#showPopUp:hover {
    background: var(--button-hover);
}

#reservar:active,
#showPopUp:active {
    background: var(--button-active);
}

/* Muchas gracias */
#muchas-gracias {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: var(--white) url('images/line-mg.png') no-repeat right bottom;
}

#muchas-gracias h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 3.125rem;
    font-weight: 600;
    line-height: 3.625rem;
    text-align: center;
    color: var(--text-dark);
}

/* Legales */
#legales {
    position: absolute;
    width: 90%;
    left: 5%;
    font-size: 1rem;
    bottom: 1.25rem;
}

/* Alerta completo */
#alert-completo {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--shadow-dark);
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

#alert-completo.on {
    display: flex;
}

.alert-completo {
    position: relative;
    padding: 2rem;
    background: var(--background-fafafa);
    border-radius: 16px;
    max-width: 30%;
}

.alert-completo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0.9375rem;
    background: var(--shadow-dark);
    left: 0;
    bottom: 0;
}

.alert-completo a {
    float: right;
    font-size: 1.5625rem;
    font-weight: bold;
    font-family: monospace;
    color: var(--text-dark);
    margin-top: -1.25rem;
    text-decoration: none;
}

.alert-completo h3 {
	font-weight: 700;
    font-size: 2rem;
    color: var(--primary-green);
    text-align: center;
}

.alert-completo p {
	font-size: 1.5rem;
    color: var(--text-dark);
    text-align: center;
    margin-top: 1.25rem;
    line-height: 120%;
}

/* Media Queries */
@media only screen and (max-width: 992px) {
    #inscripcion {
        flex-direction: column;
    }

    .insc-info,
    .insc-form {
        width: 100%;
        padding: 2rem;
    }

    .insc-info {
        padding-top: 6rem;
    }

    .insc-form {
        position: static;
        padding-bottom: 10rem;
    }

    #logo {
        top: 0.625rem;
        width: 100%;
        text-align: center;
        right: 0;
    }

    #logo2 {
        top: 0.9375rem;
        left: 1.25rem;
    }

    #logo2 img {
        max-width: 8.75rem;
    }

    .insc-form form h3 {
        margin-top: 0;
    }

    .insc-date-hour,
    .oradores {
        flex-direction: column;
    }

    .orador {
        width: 100%;
        margin-bottom: 1.5625rem;
    }

    .insc-info h2 {
        font-size: 2.1875rem;
        line-height: 2.375rem;
    }

    .insc-date-hour p {
        width: 100%;
    }

    .insc-info p.icon,
    .insc-date-hour {
        justify-content: flex-start;
    }

    #legales {
        position: static;
        margin-top: 3.125rem;
    }

    .alert-completo {
        max-width: 90%;
    }
}