﻿html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Sprečava skrolovanje ako nije potrebno */
}

.eco-home-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh; /* Celokupan viewport */
    padding: 5px;
    overflow: hidden;
    background: transparent;
    position: relative;
}

.eco-home-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}


#muteButton {
    position: fixed;
    top: 100px;
    right: 10px;
    background-color: transparent;
    color: white;
    font-size: 26px;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    z-index: 100;
}

    #muteButton:hover {
        background-color: rgba(3,35,102, 0.7);
    }

.eco-home-buttons {
    position: fixed;
    bottom: 125px;
    left: 0;
    width: 100%;
    display: flex;
    gap: 5%;
    z-index: 20;
    justify-content: center;
    padding: 20px;
    flex-wrap: nowrap;
}

    .eco-home-buttons button {
        position: relative;
        font-size: 18px;
        max-width: 30%;
        min-width: 20%;
        flex-shrink: 1;
        background: rgba(255, 255, 255, 0.7);
        color: #032366;
        border: none;
        border-radius: 30px;
        padding: 15px 8px;
        letter-spacing: 3px;
        z-index: 0;
        cursor: pointer;
        text-align:center;
    }

        .eco-home-buttons button:hover {
            background: rgb(1,113,187,0.6);
            color: white;
        }

.language-selector {
    color: var(--white);
}

.app-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-modal {
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    max-width: 90%;
    width: 400px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
    font-family: sans-serif;
    color: var(--dark-blue);
}
#countdown-text{
    text-align:right;
    color: var(--dark-blue);
}

.app-modal a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: var(--dark-blue);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}


/* Telefoni */
@media (max-width: 600px) {
    .eco-home-buttons {
        flex-direction: row;
        align-items: center;
        gap: 3%;
        padding-bottom: 80px; /* Ostavlja prostor za footer */
    }

        .eco-home-buttons button {
            font-size: 12px;
            min-width: 15%;
            padding: 10px 5px;
        }
}

/* Tableti */
@media (min-width: 601px) and (max-width: 1024px) {
    .eco-home-buttons {
        margin-bottom: 50px;
    }
}
