html{
    background-color: #F3EDE6;
    overflow-x: hidden;
}

body{
    height: 100%;
    width: 100%;
    margin: 0;
    background-color: #F3EDE6;
    overflow-x: hidden;
}

@media (orientation: landscape){
    .uvodna{
        height: 100vh;
        background-size: cover;
        background-position: center;
    }

    #P25, #P24{
        text-align: center;
    }
}

@media (orientation: portrait){
    .uvodna{
        height: 100vh;
        background-size: cover;
        background-position: 60%;
    }
}

button:active{
    transform: scale(0.8);
}

.svg-container-h svg{
    width: auto;
    max-height: 95%;
}

.svg-container-w svg{
    max-width: 95%;
    height: auto;
}

@media (orientation: portrait){
    .pad0r{
        padding-right: 0;
    }

    .pad0l{
        padding-left: 0;
    }
}

.uvodnaLogo{
    margin: auto;
    align-items: center;
}

@media (orientation: landscape){
    .uvodnaLogo img{
        object-fit: contain;
        display: block;
        margin: auto;
        width: 25vw;
        position: relative;
        padding-top: 20px;
    }
}

@media (orientation: portrait){
    .uvodnaLogo img{
        object-fit: contain;
        display: block;
        margin-left: 20px;
        width: 35vw;
        position: relative;
        padding-top: 20px;
    }
}

@media (orientation: landscape){                    /*___________________________________________*/
    .navSep{
        max-width: 50vw;
        border-top: 2px solid #FFF;
        margin: auto;
        margin-top: 30px;
    }    
}

@media (orientation: portrait){
    .navSep{
        max-width: 0vw;
        border-top: 0px solid #FFF;
        margin: auto;
        margin-top: 30px;
    }    
}

@media (orientation: landscape){                    
    .title h2{
        display: block;
        color: #FFF;
        font-family: 'Montserrat';
        font-size: 4vw;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        margin-top: 0;
    }

    .title h3{
        display: block;
        color: #FFF;
        font-family: 'Montserrat';
        font-size: 1.5vw;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        text-transform: capitalize;
    }

    .title{
        position: absolute;
        top: 50%;
    }

    .booknow{
        position: absolute;
        top: calc(50% + 15vw);
        margin: auto;
        align-content: center;
    }

    .booknow button{
        text-align:center;
        font-family: 'Montserrat';
        background-color: transparent;
        color:white;
        font-size: 24px;
        border-radius: 10px;
        border: 3.5px solid #DAC6AD;
        width: 208px;
        height: 59.512px;
        flex-shrink: 0;
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (orientation: portrait){
    .title h2{
        padding-top: 0;
        display: block;
        color: #FFF;
        font-family: 'Montserrat';
        font-size: 12vw;
        font-style: normal;
        font-weight: 800;
        line-height: normal;
    }

    .title h3{
        color: #FFF;
        font-family: 'Montserrat';
        font-size: 4.5vw;
        font-style: normal;
        width: 70%;
        font-weight: 600;
        line-height: normal;
        text-transform: capitalize;
        margin: auto;
    }

    .title h2{
        padding-top: 0;
        display: block;
        color: #FFF;
        font-family: 'Montserrat';
        font-size: 12vw;
        font-style: normal;
        font-weight: 800;
        line-height: normal;
    }

    .title{
        position: absolute;
        bottom: calc(100px + 16.5vw);
    }

    .booknow{
        position: absolute;
        bottom: 5%;
        margin: auto;
        align-content: center;
    }

    .booknow button{
        background: none;
        border-radius: 10px;
        border: 3.5px solid #DAC6AD;
        font-size: 24px;
        font-weight: 700;
        font-family: 'Montserrat';
        color: #FFF;
        padding: 10px 30px 10px 30px;
        position: relative;
        bottom: 50px;
    }
}

@media (orientation: portrait){
    .topnav{
        display: none;
    }
}

@media (orientation: landscape){
    .topnav{                                                /*O nama        Villa Madomi        Doživi Pag      Kontakt*/
        width: 100%;
        position: relative;
        margin: auto;
        margin-top: 15px;
    }

    .topnav a{
        display: inline;
        position: relative;
        list-style-type: none;
        margin-left: 20px;
        margin-right: 20px;
        padding: 3vw;
        color: #FFF;
        font-family: 'Montserrat';
        font-size: 1vw;
        font-style: normal;
        font-weight: 40;
        line-height: normal;
        text-align: center;
        text-decoration: none;
    }
    
    .topnav a:hover{
        color: #d9c6ad;
    }
}

@media (orientation: portrait){
    .topnavFixed{
        display: none;
    }
}

@media (orientation : landscape){
    .hambi a{
        display: none;
    }
}

@media (orientation : portrait){
    .hambi a{
        font-size: 8vw;
        display: block;
        width: 4vw;
    }

    .hambi{
        position: absolute;
        right: 10vw;
        top: 1.2vh;
        color: #DAC6AD;
    }
}

@media(orientation: landscape){
    .topnavFixed{
        display: none;
        position: fixed;
        top: 0;
        width: 100%;
        height: 3vw;
        background: #F1F1F1;
        z-index: 3;
    }

    .topnavFixed a{
        height: 100%;
        text-decoration: none;
        font-family: Montserrat;
        font-size: 0.8vw;
        color: #DAC6AD;
        margin: auto;
        padding: 1vw;
    }

    .topnavUnhide{
        margin: auto;
        display: none;
        margin-top: 1.3vh;
        border-top: #DAC6AD solid 2px;
        width: 35vw;
    }

    .topnavFixed h2{
        position: absolute;
        display: inline-block;
        margin: auto;
        color: #DAC6AD;
        font-size: 1.5vw;
        left: 1vw;
        top: 0.3vw;
    }

    .topnavFixed img{
        margin-top: 0.3vw;
        height: 90%;
    }
}

.sideNav{
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 3;
    top: 0;
    right: 0;
    background-color: #f3ede6;
    color: #719FB6;
    font-weight: 300;
    overflow-x: hidden;
    transition: 0.2s;
}

.sideNav a{
    text-align: center;
    display: block;
    padding: 2.5vh;
    z-index: 3;
    color: #719FB6;
    font-family: Montserrat;
    font-size: 32px; 
    font-weight: 700;
    text-decoration: none;
    list-style-type: none;
    font-style: normal;
}

.sideNavLogo img{
    width: 65vw;
    position: absolute;
    top: 15vh;
    left: calc(50% - 30vw);     
}

.socials{
    position: absolute;
    bottom: 10wh;
    width: 100%;
    height: 7vh;
}

.socials a{
    height: 0;
}

@media (orientation: landscape) {
    .downArrow{
        position: absolute;
        top: 80%;
        width: 6vw;
        left: calc(50% - 3vw);
    }
}

@media (orientation: portrait) {
    .downArrow{
        position: absolute;
        top: 87%;
        width: 25vw;
        left: calc(50% - 12.5vw);
    }
}

@media (orientation: landscape){
    .valici{
        position: absolute;
        /* bottom: 0px; */
        bottom: 0;
        width: 100%;
    }
}

@media (orientation: portrait){   
    .valici{
        display: none;
    }
}

@media(orientation: landscape){
    .separator{
        margin: 15vh auto 15vh auto; 
        width: 90%; height: 1.5vh;
        border-radius: 4.1vh; 
        background-color: #7b9eb5;
    }
}

@media(orientation: portrait){
    .separator{
        margin: 5vh auto 5vh auto; 
        width: 90%; height: 2vw;
        border-radius: 4.1vh; 
        background-color: #7b9eb5;
    }
}

@media (orientation: landscape){

    .langsel{
        background-color: transparent;
        border: #FFF solid 2px;
        border-radius: 10px;
        width: 3.5vw;
        height: 2.5vw;
        position: absolute;
        top: 5vh;
        right: 5vw;
        display: block;
        z-index: 3;
    }
    
    .langsel-content{    
        display: none;
        border: #FFF solid 2px;
        border-radius: 10px;
        height: 5vw;
        width: 3.5vw;
        position: absolute;
        top: calc(2.5vw - 2px);
        left: -2px;
        margin: 0;
    }

    .langsel:hover .langsel-content{
        display: block;
    }
    
    .lsel{
        border: #FFF none 2px;
        border-radius: 10px;
        display: block;
        width: calc(3.5vw - 4px);
        height: calc(2.5vw - 2px);
    }
    
    .lsel:hover{
        background-color: gray;
    }
    
    .langsel img{
        object-fit: contain;
        display: block;
        padding: 0.0vw 0.2vw 0 0.5vw;
        margin: 0;
        width: 3vw;
    }
}

@media(orientation: portrait){
    .langsel{
        background-color: transparent;
        border: #FFF solid 2px;
        border-radius: 10px;
        width: 18vw;
        height: 12vw;
        position: absolute;
        top: 10vw;
        left: 5vw;
        display: none;
        z-index: 3;
    }
    
    .langsel-content{    
        display: none;
        border: #FFF solid 2px;
        border-radius: 10px;
        height: 24vw;
        width: 18vw;
        position: absolute;
        top: calc(12vw - 2px);
        left: -2px;
        margin: 0;
    }
    
    .langsel:hover .langsel-content{
        display: block;
    }
    
    .lsel{
        border: #FFF none 2px;
        border-radius: 10px;
        display: block;
        width: calc(18vw - 4px);
        height: calc(12vw - 2px);
    }
    
    .lsel:hover{
        background-color: gray;
    }
    
    .langsel img{
        object-fit: contain;
        display: block;
        padding: 0.6vw 0 0 3.6vw;
        margin: 0;
        width: 13.5vw;
    }
}

@media (orientation: landscape) {

    .footerD{
        display: block;
    }
    .footerM{
        display: none;
    }

    .footerD p, .footerD a{
        margin-top: 1rem;
        margin-bottom: 1rem;
        text-decoration: none;
        color: #FFF;
        font-size: 0.8vw ;
        margin: auto;
    }

    .footerD svg{
        margin-top: 0.5rem;
        margin: auto;
        max-height: 1.5rem;
        width: auto;
    }

    .footerD{
        background-color: #7b9eb5;
        margin: auto;
        font-family: Montserrat;
        padding-top: 1.5vw;
        padding-bottom: 1.5vw;
        font-size: 12px;
        margin-top: 10vh;
    }

    .footerD svg{
        margin: 0;
        padding: 0;
        height: auto;
        width: 25%;
        margin: auto;
    }
}

@media (orientation: portrait) {

    .footerM{
        display: block;
    }

    .footerD{
        display: none;
    }

    .footerM a{
        text-decoration: none;
        color: #FFF;
        font-size: 3vw ;
        margin: 2vw auto 0 auto;
        width: auto;
    }

    .footerM p{
        text-decoration: none;
        color: #FFF;
        font-size: 2vw ;
        margin: 2vw auto 0 auto;
        width: auto;
    }

    .footerM{
        background-color: #7b9eb5;
        margin: auto;
        font-family: Montserrat;
        padding-top: 1.5vw;
        padding-bottom: 1.5vw;
        font-size: 12px;
        margin-top: 10vh;
    }

    .footerM svg{
        margin: 0;
        padding: 0;
        height: auto;
        width: 25%;
        margin: 4vw auto;
    }
}

@media (orientation: landscape){
    .cookie{
        display: none;
        width: 100%;
        /* height: 10vw; */
        background-color: #d9c6ad;
        position: fixed;
        bottom: 0;
        padding-left: 2vw;
        z-index: 4;
        border: 1px solid #000000;
    }
    
    .cookie2 {
        display: none;
        width: 100%;
        background-color: #d9c6ad;
        position: fixed;
        bottom: 0;
        padding-left: 2vw;
        z-index: 3; 
        border: 1px solid #000000;
    }

    .cookie p{
        font-family: Karla;
        font-size: 1vw;
        margin: 0;
        color: #29434E;
        margin-left: 1vw;
        width: 60%;
        text-align: left;
        line-height: normal;
        font-weight: normal;
    }

    .cookie h3{
        font-family: Montserrat;
        font-size: 2vw;
        margin: 1.5vw 0;
        color: #29434E;
        text-align: left;
        font-weight: normal;
    }

    .cookie div{
        position: absolute;
        right: 0;
        top: 0;
        width: 10vw;
        height: 100%;
    }

    .cookie2 #saveBtn{
        display: inline-block;
        right: 2vw;
        width: 10%;
        height: 2.8vw;
        border: 1px;
        border-radius: 2vw;
        font-size: 1vw;
        font-family: Karla;
        line-height: normal;
        margin: 1vw;
        float: right;
    }

    .cookie button{
        display: inline-block;
        right: 2vw;
        width: 10%;
        height: 2.8vw;
        border: 1px;
        border-radius: 2vw;
        font-size: 1vw;
        font-family: Karla;
        line-height: normal;
        margin: 1vw;
        float: right;
    }

    /* cookie2 section: */
    .cookie2-banner {
        background-color: #004B8D;
        padding: 20px;
        width: 100%;
        position: fixed;
        bottom: 0;
        z-index: 10;
        color: white;
        font-family: Arial, sans-serif;
    }
    
    .cookie2-section {
        margin-bottom: 10px;
    }
    
    .collapsible {
        background-color: white;
        color: black;
        cursor: pointer;
        padding: 10px;
        width: 100%;
        border: none;
        text-align: center;
        outline: none;
        font-size: 15px;
        border-radius: 5px;
    }
    
    .content {
        padding: 0 10px;
        display: none;
        overflow: hidden;
        background-color: white;
        color: black;
        border-radius: 0 0 5px 5px;
        text-align: center;
    }
    
    .switch {
        position: relative;
        display: inline-block;
        width: 34px;
        height: 20px;
    }
    
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }
    
    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        transition: 0.4s;
        border-radius: 34px;
    }
    
    .slider:before {
        position: absolute;
        content: "";
        height: 12px;
        width: 12px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: 0.4s;
        border-radius: 50%;
    }
    
    input:checked + .slider {
        background-color: #004B8D;
    }
    
    input:checked + .slider:before {
        transform: translateX(14px);
    }

}

@media (orientation: portrait){
    .cookie{
        display: none;
        width: 100%;
        /* height: 10vw; */
        background-color: #d9c6ad;
        position: fixed;
        bottom: 0;
        padding-left: 2vw;
        z-index: 4  ;
    }

    .cookie2{
        display: none; 
        width: 100%;
        /* height: 10vw; */
        background-color: #d9c6ad;
        position: fixed;
        bottom: 0;
        padding-left: 2vw;
        z-index: 4  ;
    }

    .cookie p{
        font-family: Karla;
        font-size: 4vw;
        margin-left: 1vw;
        text-align: left;
        margin: 0;
        color: #29434E;
        line-height: normal;
        font-weight: normal;
    }

    .cookie h3{
        font-family: Montserrat;
        font-size: 6vw;
        margin: 1.5vw 0;
        font-weight: normal;
        color: #29434E;
        text-align: left;
    }

    .cookie button{
        display: inline-block;
        padding: 2vw;
        /* width: 20%; */
        /* height: 10vw; */
        border: 1px;
        border-radius: 2vw;
        font-size: 4vw;
        font-family: Karla;
        line-height: normal;
        margin: 1vw;
        margin-bottom: 2vw;
    }

    .cookie2 #saveBtn{
        display: inline-block;
        padding: 2vw;
        /* width: 20%; */
        /* height: 10vw; */
        border: 1px;
        border-radius: 2vw;
        font-size: 4vw;
        font-family: Karla;
        line-height: normal;
        margin: 1vw;
        margin-bottom: 2vw;
        float: right;
    }

    .cookie2-banner {
        background-color: #004B8D;
        padding: 20px;
        width: 100%;
        position: fixed;
        bottom: 0;
        z-index: 10;
        color: white;
        font-family: Arial, sans-serif;
    }
    
    .cookie2-section {
        margin-bottom: 10px;
    }
    
    .collapsible {
        background-color: white;
        color: black;
        cursor: pointer;
        padding: 10px;
        width: 100%;
        border: none;
        text-align: center;
        outline: none;
        font-size: 15px;
        border-radius: 5px;
    }
    
    .content {
        padding: 0 10px;
        display: none;
        overflow: hidden;
        background-color: white;
        color: black;
        border-radius: 0 0 5px 5px;
        text-align: center;
    }
    
    .switch {
        position: relative;
        display: inline-block;
        width: 34px;
        height: 20px;
    }
    
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }
    
    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        transition: 0.4s;
        border-radius: 34px;
    }
    
    .slider:before {
        position: absolute;
        content: "";
        height: 12px;
        width: 12px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: 0.4s;
        border-radius: 50%;
    }
    
    input:checked + .slider {
        background-color: #004B8D;
    }
    
    input:checked + .slider:before {
        transform: translateX(14px);
    }

}
