
:root {
    --nav-h: 64px;
}

.event-section #event-output {
    color: #000000;
    font-weight: bold;
    transition: color 0.3s;
}

.weather-section #weather-output {
    color: #000000;
    font-weight: bold;
    transition: color 0.3s;
}

.currency-section #currency-output {
    color: #000000;
    font-weight: bold;
    transition: color 0.3s;
}

body {
    background: url('../Images/presentbackground.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    height: 100vh;
    padding-bottom: var(--nav-h); 
}

body::before {
    content: "";
    position:fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(27, 25, 25, 0.1);
    z-index: -1;
}

h1 {
    color: rgb(177, 130, 13);
    font-family: 'Almendra SC', serif;
    margin: 0;
}

h1 {
    font-size: 4rem;
    letter-spacing: 2px
}

.content {
        display: flex;
        flex-direction: wrap;
        align-items: flex-start;
        gap: 2rem;
        margin-top: 2rem;
        padding-bottom: 1rem;
        width: 100%;
        box-sizing: border-box;
}


.main-left {
    flex: 2 1 460px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.main-right {
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.2rem;
    margin-top: 0.5rem;
}


.side-img {
        width: 18vw;
        min-width: 320px;
        max-width: 250px;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.10);
        object-fit: cover;
        transition: width 0.2s;
}

@media (max-width: 900px) {
    .side-img {
        width: 22vw;
        min-width: 50px;
        max-width: 110px;
    }
}

@media (max-width: 600px) {
    .side-img {
        width: 32vw;
        min-width: 40px;
        max-width: 80px;
    }
}

@media (max-width: 900px) {
    .content {
        flex-direction: column;
    }
    .main-right {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    }

    .side-img {
        width: 80px;
        margin: 0 0.3rem;
    }
}

.event-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-left: 0;
    margin-right: auto;
    width: 100%;
}
.weather-section {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    margin-right: 0;
    margin-left: auto;
    width: 100%;
}
.currency-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-left: 0;
    margin-right: auto;
    width: 100%;
}

.output-box {
    background: #c2bbb4;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(121, 58, 58, 0.08);
    padding: 1.2rem 1.5rem;
    margin-top: 0.5rem;
    min-width: 260px;
    min-height: 48px;
    max-width: 400px;
    word-break: break-word;
}
.output-box {
    font-family: 'Almendra SC', serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

#load-event, #load-weather, #load-currency {
    background: rgb(177, 130, 13);
    color: #f5f0f0;
    font-family: 'Almendra SC', serif;
    font-size: 2.5rem;
    padding: 1rem 2rem;
    border: red;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(99, 52, 8, 0.08);
    transition: background 0.2s, transform 0.2s;
}
#load-event:hover, #load-weather:hover, #load-currency:hover {
    background: #03101f;
    transform: translateY(-2px) scale(1.04);
}

.navigation {
    position: fixed;
    left: 0;
    bottom: 0;
        width: 100%;
        height: var(--nav-h);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        background: transparent;
        padding: 1rem 0;
        z-index: 100;
        flex-wrap: wrap;
        box-sizing: border-box;

}

@media (max-width: 600px) {
    :root {
        --nav-h: 56px;
    }
    .navigation {
        flex-direction: column;

        gap: 0.5rem;
        padding: 0.5rem 0;
    }
    .nav-btn {
        width: 90vw;
        font-size: 1rem;
        padding: 0.75rem 0;
    }
    #load-event, #load-weather, #load-currency {
        font-size: 1.1rem;
        padding: 0.5rem 0.85rem;
    }
}



.nav-btn {
    font-size: 1.1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    border: none;
    background: #b1820d;
    color: #070707;
    cursor: pointer;
    transition: background 0.2s;
}
.nav-btn:hover {
    background: #8a650a;
}

.side-img { 
    height: auto; 
    object-fit: cover; 
}