* {
    box-sizing: border-box;
    font-family: 'GFS Didot', serif;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #e9d8a6 0%, #e2c275 50%, #c2b280 100%);
    color: #5c4326;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}


/*Header*/
.header {
    background-image: url('../img/header.jpg');
    background-size: cover;
    background-attachment: fixed;
    padding: 15% 20px;
    text-align: center;
    font-size: 3vw;
    color: #f9f6f2;
    text-shadow: 2px 2px 8px #a67c52;
}

.header img {
    width: 60%;
    height: auto;
}


/*countdown*/

.countdownContainer {
    background: #f3e9d2;
    border: 1px solid #bfa76f;
    color: #7c5c2e;
    box-shadow: 0 0 5px 3px #e2c275;
}

.info {
    font-size: 80px;
}


/*columns*/

.one-column {
    float: left;
    width: 100%;
    padding: 20px;
    text-align: justify;
}

.one-column iframe {
    width: 100%;
}

.one-column img {
    width: 350px;
    height: 300px;
}

.one-column h1 {
    font-size: 3vw;
}

.two-column {
    padding: 20px;
    float: left;
    width: 50%;
}

.two-column h1 {
    font-size: 3vw;
}

.two-column p {
    font-size: 1vw;
    text-align: justify;
}

.two-column img {
    width: 100%;
}

.two-column iframe {
    width: 100%;
}


/*tables*/

table {
    border-collapse: collapse;
}

th,
tr,
td {
    border: 1px solid #bfa76f;
    background-color: #f9f6f2;
    color: #5c4326;
}

th {
    background-color: #c2b280;
    color: #fff;
}
tr:nth-child(odd) td {
    background-color: #f3e9d2;
}


/*iframe*/

#iframe {
    padding: 2.5% 2.5%;
}


/*Carousel*/

.carousel {
    overflow: hidden;
    max-width: 600px;
    position: relative;
}

.countdownContainer {
    background: #f3e9d2;
    border: 1px solid #bfa76f;
    color: #7c5c2e;
    box-shadow: 0 0 5px 3px #e2c275;
    font-size: 2rem;         /* Increased font size */
    padding: 1.5rem 2rem;    /* More padding for emphasis */
    text-align: center;
}

.countdownContainer td {
    padding: 0.5rem 1.2rem;  /* Larger cells for numbers */
    font-weight: bold;
}

.carousel .carousel__item,
.carousel .carousel__item--hidden {
    display: none;
}

.carousel .carousel__item img {
    width: 100%;
    max-width: 600px;
    height: auto;
}

.carousel .carousel__item--visible {
    display: block;
    animation: fadeVisibility 0.5s;
}

.carousel .carousel__actions {
    display: flex;
    width: 100%;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

button, .carousel .carousel__actions button {
    background: #e2c275;
    color: #5c4326;
    border: 2px solid #bfa76f;
    transition: background 0.2s, color 0.2s;
}
button:hover, .carousel .carousel__actions button:hover {
    background: #bfa76f;
    color: #fff;
}

.carousel .carousel__actions button#carousel__button--prev {
    margin-left: 20px;
}

.carousel .carousel__actions button#carousel__button--next {
    margin-right: 20px;
}


/*section-3*/

#section-3 h1 {
    width: 100%;
    padding: 10px;
    color: black;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


/*section-5*/

#section-5 div {
    width: 100%;
    padding: 10px;
    color: black;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


/* section-6*/

#section-6 div {
    width: 100%;
    padding: 10px;
    color: black;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


/*section-7*/

#section-7 button {
    width: 100%;
    border: 3px solid black;
    padding: 10px;
    color: black;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


/*footer*/

#footer {
    background-color: #c2b280;
    color: #5c4326;
}

#footer p {
    font-size: 20px;
    text-align: left;
    width: 100%;
    padding: 10px;
    color: black;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


/* Responsive layout */

@media screen and (max-width: 800px) {
    .header,
    .one-column,
    .two-column {
        width: 100%;
    }
    .header {
        padding: 25% 20px;
        font-size: 6vw;
    }
    .one-column h1 {
        font-size: 6vw;
    }
    .two-column h1 {
        font-size: 6vw;
    }
    .two-column p {
        font-size: 4vw;
    }
    .info {
        font-size: 5vw;
    }
    h1,
    p {
        width: 100%;
        padding: 10px;
        color: black;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .countdownContainer {
        font-size: 1.2rem;
        padding: 1rem;
    }
    .countdownContainer td {
        padding: 0.3rem 0.5rem;
    }
}

/* Legibilidad y adaptación a pantallas (2026) */
body {
    font-size: 1.05rem;
    line-height: 1.6;
}

.header {
    background-image: linear-gradient(rgba(20, 12, 4, .5), rgba(20, 12, 4, .3)), url('../img/header.jpg');
    background-position: center;
    font-size: clamp(1.1rem, 3vw, 2.4rem);
    text-shadow: 0 2px 12px rgba(0, 0, 0, .75);
}

.header h1 {
    font-size: clamp(2.2rem, 7vw, 5rem);
    margin: 0 0 .3em;
}

.one-column h1,
.two-column h1 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.one-column p,
.two-column p {
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    line-height: 1.6;
    text-align: left;
}

.one-column img {
    width: min(100%, 350px);
    height: auto;
}

.info {
    font-size: clamp(2rem, 6vw, 80px);
}

.countdownContainer {
    width: 100%;
    max-width: 560px;
    font-size: clamp(1rem, 2.4vw, 2rem);
}

table {
    max-width: 100%;
}

@media screen and (max-width: 800px) {
    .header {
        background-attachment: scroll;
    }

    h1,
    p {
        color: inherit;
    }

    .header h1,
    .header p {
        color: #f9f6f2;
    }
}
