* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Leelawadee', 'Ubuntu';
    src: local('Leelawadee'), url('leelawad.woff') format('woff');
}

body {
    background-color: #1f3243;
    color: #fff;
    background: url('Fondo-web-20nov_100ppp.jpg') no-repeat center center fixed;
    background-attachment: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    /**/
}


body:after {
    content: "";
    position: fixed;
    /* stretch a fixed position to the whole screen */
    top: 0;
    height: 100vh;
    /* fix for mobile browser address bar appearing disappearing */
    left: 0;
    right: 0;
    z-index: -1;
    /* needed to keep in the background */
    background: url('Fondo-web-20nov_100ppp.jpg') center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}


/* Header */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1em;
    padding-bottom: 0px;
    background: #1f3243;
}

.header-image img {
    max-width: 100%;
    height: auto;
    align-self: flex-start;
}

.header-content {
    max-width: 800px;
    margin: 1em 0;
}

.header h1 {
    font-size: 2em;
    color: white;
}

.header h2 {
    font-weight: normal;
    color: rgb(145 211 255);
    font-size: 1.8em !important;
    /*word-spacing: 8px;*/
}

.header p {
    font-size: 1.2em;
}

section {
    padding: 1em;
    background: rgba(255, 255, 255, 0.2);
}

.enlacemapa {
    color: #d1a300;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    background: white;
    padding: 10px 20px;
    border-radius: 100px;
    border: 2px solid #d1a300;

}

/* Navbar */
.navbar {
    display: flex;
    justify-content: center;
    gap: 1em;
    padding: 4px;
    background-color: white;
}

.navbar a {
    color: #1f3243;
    text-decoration: none;
    font-weight: bold;
}

.navbar a:hover {
    /*text-decoration: underline;*/
    color: #d1a300;
}

/* Evento y secciones */
.evento,
.inscripcion,
.programa,
.footer {
    padding: 2em 1em;
    text-align: center;
}

.map-container iframe {
    max-width: 100%;
    margin-top: 1em;
    border-radius: 10px;
}

#evento {
    border-bottom: 1px solid white;
}

#programa {
    padding-top: 15px;
}

/* Inscripción */
.inscripcion-btn {
    font-size: 1.5em;
    background-color: #e4bc2f;
    color: #1f3243;
    padding: 0.7em 1.5em;
    text-decoration: none;
    border-radius: 14px;
    font-weight: bold;
    border: 2px solid white;
}

/* Programa */
.programa-item {
    margin: 0.5em;
    padding: 1em;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: left;
}

span.nombreponente {
    font-weight: bold;
}

.programa h2 {
    font-size: 1.4em;
    color: #1f3243;
    text-shadow: 2px 2px 6px white;
    padding: 0.1em;
    border-radius: 5px;
}

.programa p {
    color: #1f3243;
}

.horario {
    color: #1f3243 !important;
    font-weight: bold;
    margin-bottom: 0.5em;
    font-size: 1em !important;
    line-height: 1em;
}

p.horario {
    padding-left: 60px;
}

span.hora {
    color: #42afe5;
    /*display:inline-block;*/
    /*vertical-align: top;*/
    position: absolute;
    left: 50px;
    font-size: 1em !important;
    line-height: 1em;
}

span.titulo {
    display: inline-block;
    max-width: 90%;
    padding-left: 10px;
}

.moderador {
    color: #1f628b !important;
    font-weight: normal;
    margin-left: 60px;
    margin-top: 4px;
    font-size: 90%;
}

.ponente {
    color: #fff;
    margin-left: 60px;
}

/* Footer */
.footer {
    background-color: #1f3243;
    padding: 0.5em;
}

.footer img {
    height: 45px;
}



/* Scroll to Top button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 0.5em;
    font-size: 1.2em;
    color: #1f3243;
    background-color: #e4bc2f;
    border: none;
    cursor: pointer;
    border-radius: 50%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .header-content h1 {
        font-size: 2em;
    }

    .header-content h2 {
        font-size: 1.6em;
    }

    .header-content p {
        font-size: 1em;
    }

    .inscripcion-btn {
        font-size: 1.2em;
        padding: 0.5em 1em;
    }
}