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

@media not all and (min-resolution: 0.001dpcm) {
    @supports (-webkit-appearance: none) {

        /* CSS específico para Safari */
        body {
            font-family: "Ubuntu", sans-serif;
            background-attachment: scroll;
            -webkit-background-size: cover;
        }
    }
}

body {
    background-color: #193730;
    color: #fff;
    background: url('MontajeBADAJOZ-CIUDAD_02.jpg');
    background-attachment: fixed;
    background-size: cover;
}

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

.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(20 159 128);
    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: #193730;
    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: 110%;
    background-color: #e4bc2f;
    color: #193730;
    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.9);
    text-align: left;
}

.programa-item1 {
/*     margin-top: 1.5em;
	margin-bottom: 0.5em;
	margin-right: 38.5em ;
	margin-left: 38.5em; */
	margin: 1.5em;
    padding: 1em;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

span.nombreponente {
    font-weight: bold;
}

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

.programa p {
    color: #193730;
}

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

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

span.hora {
    color: #149f80;
    /*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: #1e584b !important;
    font-weight: normal;
    margin-left: 60px;
    margin-top: 4px;
    font-size: 90%;
}

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

/* Footer */
.footer {
    background-color: #193730;
    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: #193730;
    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;
    }
}