@media (orientation: landscape){
    .uvodnaOnama{
        height: 100vh;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%), url("/img/heroOnama.png"), lightgray 50% / cover no-repeat;
        background-position: center;
        background-size: cover;
    }
}

@media (orientation: portrait){
    .uvodnaOnama{
        position: relative;
        height: 100vh;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%), url("/img/onamaMobile.jpg"), lightgray 50% / cover no-repeat;
        background-position: center;
        background-size: cover;
    }
}

@media (orientation: portrait){
    .langsel{
        background-color: transparent;
        border: #FFF solid 2px;
        border-radius: 10px;
        width: 6vh;
        height: 4vh;
        position: absolute;
        top: 5vh;
        left: 5vw;
        display: none;
        z-index: 1;
    }
}

@media (orientation: landscape){
    .langsel{
        background-color: transparent;
        border: #FFF solid 2px;
        border-radius: 10px;
        width: 6vh;
        height: 4vh;
        position: absolute;
        top: 5vh;
        right: 5vw;
        display: block;
        z-index: 1;
    }
}

@media (orientation: landscape){
    
    h3{
        color: #2A444F;
        font-family: Montserrat;
        font-size: 3vw;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        margin-bottom: 4vh;
        text-align: center; 
    }
    
    p{
        color: #2A444F;
        font-family: Karla;
        font-size: 1.7vw;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        word-wrap: break-word;
        margin: 0 3vw;
        text-align: justify;
    }
}

@media (orientation: portrait){

    h3{
        color: #2A444F;
        font-family: Montserrat;
        font-size: 3vw;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        margin: 0 10vw;
        margin-bottom: 4vh;
        text-align: center;
    }
    
    p{
        color: #2A444F;
        font-family: Karla;
        font-size: 1.7vw;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        word-wrap: break-word;
        margin: 0 5vw;
        text-align: center;
    }
}

@media (orientation: landscape){

    h3{
        color: #2A444F;
        font-family: Montserrat;
        font-size: 3vw;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        margin-bottom: 4vh;
        text-align: center;
    }
    
    p{
        color: #2A444F;
        font-family: Karla;
        font-size: 1.7vw;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        word-wrap: break-word;
        margin: 0 3vw;
        text-align: justify;
    }

    .about{
        margin-bottom: 10vh;
        margin-top: 5vh;
    }

    .about ul{
        color: #2A444F;
        font-family: Karla;
        font-size: 1.7vw;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        word-wrap: break-word;
        margin: 2vw 0 2vw 3vw;
        padding: 0;
        text-indent: 0;
        text-align: left;
        list-style-type: none;
    }

    .about h3{
        width: 70%;
        text-align: center;
        margin: 4vh auto;
    }

    .about li::before{
        content: '✔';
        margin-right: 1vw;
    }

    .about img{
        width: 100%; 
        height: auto;
        padding: 0 !important;
    }

    .galerija{
        position: relative;
        width: 100%;
        height: 53vw;
        background-color: #7b9eb5;
        margin-top: 10vh;
    }

    .galerija h3{
        color: #FFF;
        font-family: Montserrat;
        font-size: 5vw;
        font-style: normal;
        font-weight: 400;
        line-height: normal; 
        padding-top: 2.5vw;
    }

    .track{
        display: flex;
        flex-direction: row;
        gap: 10vw;
        width: 710vw;
        position: absolute;
        left: 25vw;
        height: 35vw;

    }

    .track img{
        width: 50vw;
        height: 33.33vw;
        object-fit: cover;
        object-position: center;
    }

    .sliderSS{
        position: absolute;
        top: 48vw;
        left: 40vw;
        width: 20vw;
        height: 1vw;
        margin: auto;
        background-color: #FFF;
        border-radius: 0.5vw;
    }

    .sliderSS div{
        position: absolute;
        top: 0;
        left: 0vw;
        width: 3vw;
        height: 1vw;
        background-color: #707070;
        border-radius: 0.5vw;
        z-index: 1;
    }

    .onamabutton{
        width: 18vw;
        height: 6vw;
        margin: auto;
    }

    .onamabutton button {
        position: relative;
        margin-top: 5vh;
        width: 18vw;
        height: 6vw;
        background-color: #dcc4a9;
        border-radius: 70px;
        border: 3px solid;
        border-color: #29434e;
        font-family: "Montserrat-Medium", Helvetica;
        font-weight: 500;
        color: #29434e;
        font-size: 1.5vw;
        padding: 0 1vw;
    }

    .onamabutton:active{
        transform: scale(0.95);
    }

    .visual{
        display: none;
        position: fixed;
        top: 7%;
        left: 35%;
        height: 90%;
        width: 30%;
    }

    .visual div{
        contain: content;
        width: 100%;
        height: 100%;
        overflow-x: scroll;
    }

    .visual img{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
    }

    .visual h3{
        position: absolute;
        top: 0;
        left: 20px;
        color: #FFF;
        z-index: 2;
    }
}

@media (orientation: landscape){
    .langsel{
        background-color: transparent;
        border: #FFF solid 2px;
        border-radius: 10px;
        width: 6vh;
        height: 4vh;
        position: absolute;
        top: 5vh;
        right: 5vw;
        display: block;
        z-index: 1;
    }
}

@media (orientation: portrait){

    h3{
        color: #2A444F;
        font-family: Montserrat;
        font-size: 4vw;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        margin: 0 10vw;
        margin-bottom: 4vw;
        text-align: center;
    }
    
    p{
        color: #2A444F;
        font-family: Karla;
        font-size: 3vw;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        word-wrap: break-word;
        margin: 0 2.5vw;
        text-align: center;
    }

    .about{
        margin-top: 3vh;
    }

    .about ul{
        color: #2A444F;
        font-family: Karla;
        font-size: 3vw;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        word-wrap: break-word;
        margin: 1vw 0 1vw 4vw;
        padding: 0;
        text-indent: 0;
        text-align: left;
        list-style-type: none;
    }

    .about li::before{
        content: '✔';
        margin-right: 1vw;
    }

    .about img{
        width: 100%; 
        height: auto;
        padding: 0 !important;
    }

    .galerija{
        position: relative;
        width: 100%;
        height: 53vw;
        background-color: #7b9eb5;
        margin-top: 10vh;
    }

    .galerija h3{
        color: #FFF;
        font-family: Montserrat;
        font-size: 5vw;
        font-style: normal;
        font-weight: 400;
        line-height: normal; 
        padding-top: 2.5vw;
        margin-bottom: 2.5vw;
    }

    .track{
        display: flex;
        flex-direction: row;
        gap: 10vw;
        width: 710vw;
        position: absolute;
        left: 25vw;
        height: 35vw;

    }

    .track img{
        width: 50vw;
        height: 33.33vw;
        object-fit: cover;
        object-position: center;
    }

    .sliderSS{
        position: absolute;
        top: 48vw;
        left: 40vw;
        width: 20vw;
        height: 1vw;
        margin: auto;
        background-color: #FFF;
        border-radius: 0.5vw;
    }

    .sliderSS div{
        position: absolute;
        top: 0;
        left: 0vw;
        width: 3vw;
        height: 1vw;
        background-color: #707070;
        border-radius: 0.5vw;
        z-index: 1;
    }

    .onamabutton{
        width: 292px;
        height: 98px;
        margin: auto;
    }

    .onamabutton button {
        position: absolute;
        left: 30%;
        margin-top: 5vh;
        width: 40vw;
        height: 15vw;
        background-color: #dcc4a9;
        border-radius: 70px;
        border: 3px solid;
        border-color: #29434e;
        font-family: "Montserrat-Medium", Helvetica;
        font-weight: 500;
        color: #29434e;
        font-size: 3.5vw;
        line-height: normal;
    }

    .onamabutton button:active{
        transform: scale(0.95);
    }

    .visual{
        display: none;
        position: fixed;
        top: 2%;
        left: 5%;
        height: 90%;
        width: 90%;
    }

    .visual div{
        contain: content;
        width: 100%;
        height: 100%;
        overflow-x: scroll;
    }

    .visual img{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
    }

    .visual h3{
        position: absolute;
        top: 0;
        left: -20px;
        color: #FFF;
        z-index: 2;
        font-size: 15vw;
    }
}
