/*
Theme Name: Terra Lacuum
Author: Elīna Madelāne
Author URI: https://elinamadelane.com
Description: 
Version: 1.0

*/



:root{
    --light:#FAF7F0;
    --brown:#142944;
    --dark-brown:#0c182b;
    --light-brown:rgb(249, 217, 171);
}

#map{
    width:100%;
    height:550px;
    border-radius:20px;
}

div.map{
    margin-top:50px;
    margin-bottom:50px;
    width:100%;
    height:100%;
    
}

.cena{
    background-color: var(--light-brown);
    padding:8px 16px 8px;
    border-radius:20px;
    font-size:1rem;
    font-weight:500;
    white-space: nowrap;
}




html {
    box-sizing: border-box;
    font-size:16px;
    font-family:'Montserrat';
    overflow-x:hidden;

}

*, *:before, *:after {
    box-sizing: inherit;
}

.mobile-menu{
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    position:fixed;
    top:-100%;
    height:100vh;
    width:100vw;
    z-index:99;
    background-color: var(--brown);
    color:var(--brown);
    padding:64px 30px 64px;
    transition:top 0.6s ,color 1s;
    
}

.mobile-menu.open{
    top:0;
    color:var(--light-brown);
}



.mob-nav-top{
    padding-top:20px;
    height:60%;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
}

.mob-nav-bottom p{
    font-weight: 500;
}


.mob-nav-bottom{
    display:flex;
    flex-direction: column;
    height:25%;
    justify-content: space-between;
}

.mobile-menu a,.mobile-menu li{
    list-style-type: none;
    text-transform: uppercase;
    font-weight: 500;
}

.mobile-menu a.active,li.current-menu-item{
    color:rgb(243, 220, 185);
}

*.transparent{
    opacity:0;
}

.monogram{
    transition:all 0.8s;
    opacity:1;
    width:200px;
    height:200px;
}

body{
    background-color: var(--light);
    color: var(--brown);
    padding:0;
    margin:0;
}

a{
    color:inherit;
    text-decoration: none;
}

section{
    height:100vh;
    min-height:100vh;
    display:flex;
    max-width:100vw;
}

section#contact-section{
    height:auto;
}

section#hero-section{
    background-color: var(--dark-brown);
    background-size: cover;
    background-position:center;
    position:relative;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height:calc(100vh - 8.875rem);
    max-height:calc(100vh - 11.5rem);
    min-height:calc(100vh - 11.5rem);
    padding-bottom:3%;
}

section#hero-section::after {
    content: "";
    width: 100%;
    opacity: 84%;
    height: 60%; /* Adjust the height as needed */
    background: linear-gradient(to top, #181412, #18141200);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

nav{
    width:100vw;
    display:flex;
    position:static;
    top:0;
    z-index:101;
    background-color: var(--light);
    justify-content: space-between;
    padding:0px 4rem 0px;
    height:4.5rem;
    align-items: center;
}

nav#navbar{
    height:7rem;
}

nav#main-navbar{
    background-color: var(--brown);
    position:sticky;
    justify-content: space-between;
    color:var(--light-brown);
    padding-left:3.375rem;
}

.left-element{
    justify-content: flex-start;
    color:var(--light-brown);
}

.left-element svg{
    height:2.7rem;
    color:rgba(239, 209, 168, 0.82);
    transition:all 0.3s;
}

.left-element svg:hover{
    color:var(--light-brown);
}


.hamburger{
    display:none;
    width:30px;
    height:20px;
    cursor:pointer;
    justify-content: space-between;
    flex-direction: column;
    
}

.hamburger div{
    background-color: var(--light-brown);
    width:100%;
    height:2px;
    transition:all 0.6s;
}

.hamburger.open div.two{
    opacity:0;
}

.hamburger.open div.one{
    transform:rotate(-45deg) translate(-9px,8px);
}

.hamburger.open div.three{
    transform:rotate(45deg) translate(-4px,-4px);
}

div.article div.line{
    margin-bottom:30px;
}



.center-elements{
    display:flex;
    justify-content: center;
    flex-grow:1;
}

.center-elements li{
    list-style-type: none;
}

nav#navbar a,nav#navbar div{
    color:var(--blue);
}


nav#main-navbar a,.center-elements li{
    padding:0px 1.5% 0px;
    letter-spacing: 1.3px;
    font-size:0.813rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s;
    text-wrap: nowrap;
}

div.center{
    width:100%;
    display:flex;
    justify-content: center;
}

div.productpic{
width:100%;
aspect-ratio: 1/1;
margin-bottom:30px;
}

section.height.raksti.preces{
    padding-left:25%;
    padding-right:25%;
}

div.productpic img{
    width:100%;
    height:100%;
    object-fit: cover;
}

nav#main-navbar a:hover, nav#main-navbar a.current-menu-item, li.current-menu-item a,li.current-menu-item{
    color:var(--light-brown);
    text-decoration:underline;
}

div.dropdown a{
    cursor:pointer;
}

nav a{
    cursor:pointer;
}


div.dropdown{
    width:auto;
    height:auto;
    display:flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    position:relative;
    background-color: var(--brown);
    padding-left:1.5%;
    padding-right:1.5%;
}

div.dropdown .content{
    width:auto;
    position:absolute;
    display:none;
    margin-top:0px;
    align-items: center;
    width:7.5rem;
    padding-bottom:1.875rem;
    padding-top:1.564rem;
    border-radius: 1.564rem;
    background-color: var(--brown);
    flex-direction: column;
    top:0;
}

.dropbtn{
    z-index:101;
}

div.dropdown:hover .content{
    display:flex;
}

div.dropdown .content li{
    margin-top:1.25rem;
    cursor:pointer;
}



#main-logo{
    text-align:center;
    flex-grow:1;
    display:inline-block;
    display:flex;
    justify-content: center;
    height:100%;
    width:100%;
    padding:10px;
    margin:0;
}


nav div, nav div.socials{
    display:flex;
    justify-content: flex-end;
    width:21.875rem;
}

nav div.socials{
    justify-content: flex-start;
}

div.socials{
    display:flex;
    align-items: center;
}

div.socials a{
    margin-right:1.25rem;
    display:flex;
    align-items: center;
}

.nav-contact{
    display:flex;
    margin-right:1.25rem;
    font-weight: 500;
}

.nav-contact svg{
    margin-right:0.5rem;
}


section div.text, section div.image{
    width:50%;
    max-width:50vw;
    position:relative;
}

img.slideshow{
    opacity:1;
    position:absolute;
    transition:all 0.7s;
}

img.slideshow.hidden{
    opacity:0;
}

img{
    height:100%;
    width:100%;
    object-fit:cover;
}

input, textarea{
    all:unset;
    width:95%;
    border-style:solid;
    border-width:1px;
    margin-bottom:1.25rem;
    padding:0.625rem 1.25rem 0.625rem;
    border-radius:1.25rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}

textarea{
    flex-grow:1;
    margin-bottom:3.125rem;
}

input[type='submit']{
    width:auto;
    text-align: center;
    padding:10px 64px 10px;
    color:var(--light);
    background-color: var(--brown);
    cursor:pointer;
    transition:all 0.3s;
    text-wrap: nowrap;
    border-style:none;
    
}

div.article div.line{
    flex-wrap: wrap;

}

div.article-footer div.line{
    flex-wrap: wrap;
}

div.article h1{
    margin-bottom:0;
}

input[type='submit']:hover{
    background-color: var(--dark-brown);
    color:var(--light-brown);

}



/* headings */

h1,h2,h3,h4{
    font-family:'Tinos';
}


h2,h1{
    font-size:3.2rem;
    font-weight:400;
}

h3{
    font-size:1.7rem;
    font-weight: 400;
}

h1.hero{
    font-size:5.4rem;
    font-weight: 500;
    letter-spacing: 0.3rem;
    color:var(--light-brown);
    margin-bottom:1.25rem;
    text-align:center;
    text-transform: uppercase;

}

#hero-section button{
    z-index:10;
    opacity:60%;
    text-wrap:nowrap;
    display:flex;
    padding:0.625rem 1.875rem 0.625rem;
    width:10rem;
    color:var(--light-brown);
    justify-content: space-between;
    transition:all 0.3s;
    cursor:pointer;

}


#hero-section button:hover{
    opacity:100%;

}

button p{
    margin:0;
}

.button-box{
    display:flex;
    justify-content: center;
    align-items: center;
    margin-top:4.375rem;
    flex-direction: column;
    margin-bottom:6rem;
}

.button-box p.text{
    font-size:1.4rem;
    font-weight: 500;
}

.head{
    height:auto;
    display:flex;
    flex-direction: column;
    justify-content: center;
    height:40%;
}

.head p{
    text-align:center;
    color:var(--light-brown);
}


button{
    all:unset;
    width:auto;
    border-style: solid;
    border-width:1px;
    padding:0.625rem 5rem 0.625rem;
    border-radius:1.25rem;
    text-wrap: nowrap;
    cursor:pointer;
}

a.outline{
    all:unset;
    width:auto;
    border-style: solid;
    border-width:1px;
    padding:0.625rem 5rem 0.625rem;
    border-radius:1.25rem;
    text-wrap: nowrap;
    cursor:pointer;
    transition:all 0.3s;
    margin-bottom:20px;
}

.small-logo{
    display:none;
}

div.bottom{
    height:auto;
    display:flex;
    flex-wrap: wrap;
}

a.outline:hover{
    background-color: var(--brown);
    color:var(--light-brown);
    border-color:var(--dark-brown);
}

button.fill{
    background-color: var(--brown);
    color:var(--light);
    font-weight: 500;
    border-color:var(--brown);
    padding:0.625rem 6.25rem 0.625rem;
    transition:all 0.3s;
    height:20px;
}



button.fill:hover{
    background-color: var(--dark-brown);
    color:var(--light-brown);
}

.textbox{
    margin-top:15%;
    height:20%;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    padding:0 64px 0;
}

.textbox .top p{
    width:70%;
    line-height:2.4rem;
}

.textbox .top{
    margin-bottom:10%;
}

.bottom a{
    margin-right:1%;
}


.contact{
    width:50%;
    height:100%;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--brown);
    color:var(--light-brown);
    padding:6% 4rem 2%;
    min-height:100vh;
}

.contact .top{
    display:flex;
}

.contact .top-left{
    width:50%;
}

.contact .top-right{
    margin-top:6.3rem;
}

.contact a{
    text-decoration: underline;
}

.contact .item{
    margin-top:3.75rem;
}

p.adrese{
    line-height:2rem;
}
.rezervet{
    width:50%;
    padding:6% 4rem 2%;
    height:100%;
    display:flex;
    flex-direction: column;
}

.logo-bottom{
    width:auto;
    height:auto;
    display:flex;
    margin-top:2rem;
    margin-left:2rem;
}

.logo-bottom img{
    width:12rem;
}

.rezervet form{
    margin-top:2.5rem;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    width:100%;
    height:100%;
    align-items: center;
}

section.height{
    min-height:100vh;
    display:flex;
    flex-direction: column;
    height:auto;
    max-height:none;
    padding:1px 4rem 4rem;
}


.prices-parent{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(31.25rem,3fr));
    grid-column-gap: 1.25rem;
    grid-row-gap: 1.25rem;
    width:auto;
    height:100%;
    justify-content: space-between;
    
}

.gallery {
    column-count: 4; /* For browsers that support column layout */
    gap:1em;
    display: grid; /* Fallback to grid layout */
    grid-template-columns: repeat(4, 1fr);
}

.listing-parent{
    margin-top:25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(6.25rem, 22vw));
    grid-column-gap: 1.25rem;
    grid-row-gap: 1.25rem;
    width:100%;
    height:100%;  
    margin-bottom:64px;  
}

.video-gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(31.25rem,3fr));
    grid-column-gap: 1.25rem;
    grid-row-gap: 1.25rem;
    width:auto;
    height:100%;
}

.gallery-item{
    aspect-ratio: 1/1;
    margin-bottom:1em;
    position:relative
}


.gallery-item:hover .overlay{
    opacity:1;
    background-color:#14294482;

}

/* Ensures the height is consistent in Firefox */
.gallery-item::before {
    content: "";
    display: block;
    padding-top: 100%; /* Aspect ratio 1:1 */
}

.gallery-item div.overlay,.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery-item h2{
    width:100%;
    height:auto;
    position:absolute;
    bottom:0;
    margin:0;
    z-index:50;
    background-color: var(--light);
    padding-top:10px;
    padding-left:3px;
    font-size:18px;
    font-family: "Montserrat";
    font-weight:600;
    cursor:pointer;
}

.gallery-item:hover h2{
    text-decoration: underline;
}


.lightbox{
    position:fixed;
    display:none;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:1000;
    background-color:#faf7f0f8;
    flex-direction: column;
    justify-content: center;
    padding:4rem;
    padding-bottom:10rem;
}

img .mainlogo{
    width:100%;
}

.lightbox.open{
    display:flex;
}

.lightbox-image{
    max-height:90vh;
    max-width:80vw;

    height:90vh;
}

.lightbox button{
    border-style:none;
}

.lightbox-content{
    display:flex;
    justify-content: space-between;
    width:100%;
    height:90%;
    align-items: center;
}

.lightbox .line{
    display:flex;
    justify-content: flex-end;
}


.link{
    margin-top:42px;
    font-weight: 500;
    text-decoration: underline;
}

.gallery-heading{
    margin-top:10px;
    margin-bottom:20px;
}

.overlay{
    position:absolute;
    height:100%;
    width:100%;
    opacity:0;
    background-color:#7a624800;
    justify-content: center;
    align-items: center;
    display:flex;
    cursor:pointer;
    transition:all 0.3s;
    z-index:50;
    
}


.overlay p{
    color:var(--light);
    font-weight: 500;
    padding-bottom:50px;
    font-size:18px;
}

.overlay svg{
    height:15%;
}


.height.listings{
    padding:1.25rem 15% 1.25rem;
}

.listing{
    width:100%;
    border-style:solid;
    border-color:var(--brown);
    border-width:1px;
    border-radius:1.25rem;
    padding:1.25rem 1.875rem 1.25rem;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 1/1;
}

.listing .line{
    display:flex;
    width:100%;
    justify-content: space-between;
    align-items: baseline;
}

.listing-image{
    width:100%;
    aspect-ratio: 1/1;
}

.listing h2{
    font-size:1.5rem;
    margin-top:0.938rem;
    margin-bottom:0;
}

.video-item video{
    aspect-ratio: 16/9;
    background-color:black;
}

.video-item p{
    margin-top:20px;
}

.price-category{
    width:93%;
    padding-bottom:2rem;
    height:auto;
}

.price-category h2{
    font-family:'Montserrat';
    text-transform: uppercase;
    font-size:1rem;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom:1.875rem;
}

.price-category .line{
    display:flex;
    width:100%;
    height:auto;
    justify-content: space-between;
}

.line div{
    display:flex;
    align-items: flex-end;

}

.price{
    background-color: rgba(210, 178, 131, 0.58);
    padding:0.313rem 0.938rem 0.313rem;
    font-weight: 500;
    margin-right:0.2rem;
    border-radius: 1.25rem;
    display:flex;
    flex-wrap:nowrap;
    width:auto;
    

}

section.height.raksti{
    padding:1.25rem 20% 4rem;
}

/*raksti*/

.grid-container {
    column-count: 2;
    column-gap: 2em;
  }
  
.grid-item {
    -webkit-column-break-inside: avoid;
    break-inside: avoid;
    page-break-inside: avoid;
    border-style:solid;
    border-width:1px;
    border-color: var(--brown);
    border-radius:1.25rem;
    margin-bottom:2em;
    padding:1.25rem 2.5rem 1.25rem;
}

.grid-item h2{
    font-size:2rem;
    margin-top:0px;
}

.grid-item .line, .article .line{
    display:flex;
    width:100%;
    justify-content: space-between;
    align-items: baseline;
}

.article-footer{
    margin-top:3.375rem;
    margin-bottom:4rem;
}

.article-footer .line{
    display:flex;
}

.article-footer .line p{
    margin-bottom:0.625rem;
    margin-right:0.938rem;
}

.article a{
    font-weight: 500;
}

.article-image{
    margin-top:3.125rem;
    width:100%;
}

.article-footer .line a{
    margin-right:1.25rem;
    font-weight:400;
}

.grid-item a{
    text-align: center;
    width:100%;
    margin-top:2.5rem;
    display:flex;
    justify-content: center;
    text-decoration: underline;
    cursor:pointer;
    font-weight: 500;
}

p.bold{
    font-weight: 500;
    margin-right:1.25rem;
}

.grid-item .image{
    width:100%;
    margin-bottom:1.875rem;
}

.date{
    font-weight: 500;
}

.article p{
    line-height:1.7rem;
}

.article{
    padding-top:2.5rem;
}

.article a{
    text-decoration: underline;
}


.listing a{
    width:100%;
    text-decoration: underline;
    text-align: center;
    display: flex;
    justify-content: center;
    cursor:pointer;
    font-weight: 500;
    margin-top:1.25rem;
}



/* placeholder color*/

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #14294482;;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #14294482;;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #14294482;;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #14294482;;
}
::-ms-input-placeholder { /* Microsoft Edge */
   color:    #14294482;;
}

::placeholder { /* Most modern browsers support this now. */
   color:    #14294482;;
}

.logos{
    display:flex;
    justify-content: center;
}

@media(max-width:1426px){
    section.height.raksti{
        padding:1.25rem 10% 4rem;
    }
}

@media(max-width:1396px){
    .listing-parent{
        margin-top:25px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(10rem, 34vw));
        grid-column-gap: 1.25rem;
        grid-row-gap: 1.25rem;
        width:100%;
        height:100%;  
        
    }

    section.height.raksti.preces{
        padding-left:25%;
        padding-right:25%;
    }

    section#contact-section{
        height:200vh;
        flex-direction: column-reverse;
        justify-content: flex-start;
    }

    div.contact{
        width:100%;
    }

    div.rezervet{
        width:100%;
    }

}


@media (max-width:1254px){
    #main-logo{
        display:none;
    }

    section.height.raksti.preces{
        padding-left:25%;
        padding-right:25%;
    }

    .small-logo{
        display:block;
    }

    .small-logo svg{
        height:40px;
    }

    .center-elements{
        width:auto;
    }

    #main-navbar a{
        padding:0px 5% 0px;
    }




}

@media (max-width:1136px){
    div.price-category{
        padding:0;
        padding-top:20px;
    }

    section.height.raksti.preces{
        padding-left:22%;
        padding-right:22%;
    }




}

@media (max-width:1111px){
    #navbar{
        display:none;
    }

    .listing-parent{
        display:flex;
        flex-direction: column;
        align-items: center;

        
    }

    .listing{
        width:100%;
    }

    section.height.raksti.preces{
        padding-left:40px;
        padding-right:40px;
    }

    

    .grid-item div.line{
        flex-direction: column;
    }

    p.date{
        margin:0;
        margin-bottom:10px;
    }

    .grid-item h2{
        margin-bottom:10px;
    }

    .gallery {
        column-count: 3; /* For browsers that support column layout */
        gap:1em;
        display: grid; /* Fallback to grid layout */
        grid-template-columns: repeat(3, 1fr);
    }

    #main-navbar{
        position:fixed;
        justify-content: flex-start;

    }

    .left-element{
        width:auto;
    }

    .right-element{
        display:none;
    }

    section#hero-section{
        max-height:calc(100vh - 72px);
        min-height:calc(100vh - 72px);
    }

    #monogram{
        opacity:1;
    }

    .bottom a,.bottom button{
        width:100%;
        display:flex;
        justify-content: center;
        text-align: center;
    }

    section.height.raksti{
        padding:1.25rem 40px 4rem;
    }

}

@media (max-width:900px){
    .center-elements{
        display:none;
    }

    .grid-item{
        padding:20px;
    }
    section.height{
        padding-left:40px;
        padding-right:40px;
    }

    .grid-container {
        column-count: 1;
        column-gap: 2em;
    }

    .grid-item .image{
        width:100%;
        min-width:100%;
    }





    .gallery {
        column-count: 2; /* For browsers that support column layout */
        gap:1em;
        display: grid; /* Fallback to grid layout */
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:hover .overlay{
        opacity:0;

    
    }

    section#hero-section{
        max-height:calc(100vh - 52px);
        min-height:calc(100vh - 52px);
    }

    nav#main-navbar{
        height:auto;
        padding: 10px 40px 10px 30px;
    }

    .right-element{
        display:flex;
    }

    .hamburger{
        display:flex;
    }

    #hero-section h1{
        font-size:4.8rem;
    }

    .bottom button.fill, a.outline{
        width:100%;
        padding-left:0;
        padding-right:0;
    }

    body{
        font-size:14px;
    }


    .head{
        height:40%;
    }

    #hero-section button{
        margin-bottom:5%;
    }

    .textbox .top p{
        width:auto;
    }

    h2{
        font-size:2.2rem;
    }

    div.rezervet{
        padding-left:40px;
        padding-right:40px;
    }
    
    div.contact{
        padding-left:40px;
    }
}

@media(max-width:724px){


}

@media(max-width:700px){
    .gallery {
        column-count: 1; /* For browsers that support column layout */
        gap:10px;
        display: grid; /* Fallback to grid layout */
        grid-template-columns: repeat(1, 1fr);
    }



    
}

@media(max-width:600px){
    section.height.listings{
        padding-left:40px;
        padding-right:40px;
    }

    .video-gallery{
        display: flex;
        flex-direction: column;
    }

    .contact .top{
        flex-direction:column;
    }

    .contact .top-left{
        width:100%;
    }

    .contact .top-right{
        margin:0;
        width:100%;
    }

    .logo-bottom img{
        display:none;
    }
}

@media(max-width:565px){
    div.price-category{
        width:auto;
    }
    div.price-category div.line{
        flex-direction: column;
        padding-bottom:20px;
        border-width:1px;
        border-bottom-style:solid;

    
    }

    .listing{
        padding:20px;
    }

    .listing .listing-image{
        height:50vh;
        min-height:100vw;
    }




    div.price-category{
        width:auto;
        max-width:auto;
        min-width:0;
    }

    .prices-parent {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width:731px){
    section#izjades-section,section#glempings-section{
        display:flex;
        flex-direction: column;
    }

    section#izjades-section{
        padding-top:40px;
    }

    section{
        max-height:none;
    }

    div.text div.textbox{
        max-height:none;
        margin:0;
        height:auto;
        
    }

    div.text{
        flex-shrink:1;
        max-height:none;
        height:auto;
        padding-bottom:20px;
    }

    div.image{
        height:100%;
        width:100%;
        min-height:50%;
        flex-grow:1;
    }

    img.slideshow{
        width:100%;
        height:100%;
    }


    section#hero{
        padding-left:40px;
        padding-right:40px;
    }

    section#hero-section h1{
        font-size:4rem;
    }

    section#sausana-section{
        display:flex;
        flex-direction: column-reverse;
        max-height:none;
        height:auto;
        min-height:100vh;
    }

    section{
        height:auto;
        max-height:none;
    }



    .rezervet{
        width:100%;
        height:100vh;
        padding-top:60px;
        padding-left:20px;
        padding-right:20px;
        min-height:100vh;
        height:auto;
    }


    div.contact{
        width:100%;
        height:100vh;
        padding-top:40px;
        padding-left:32px;
        height:auto;
        min-height:100vh;
    }



    div.text{
        height:50%;
        width:100%;
        min-width:100%;
        max-height:50%;
    }

    div.textbox{
        width:100%;
        margin-top:10px;
        padding:0px 40px 0px;
    }

   
    section div.text div.textbox{
        width:100%;
        max-height:none;
        min-height:auto;
        height:auto;
        flex-grow:1;
    }

    section div.image{
        height:50%;
        max-height:50%;
        min-width:100%;
        width:100vw;
    }





    section#contact-section{
        max-height:none;
        min-height:200vh;
        height:auto;
    }
}

@media (max-width:628px){
    section#hero-section h1{
        font-size: 3rem;
        padding:0px 40px 0px;
    }
}

@media (max-width:429px){

    section.height.raksti.preces{
        padding-left:20px;
        padding-right:20px;
    }

    section.height.listings{
        padding-left:20px;
        padding-right:20px;
    
    }

    nav#main-navbar{
        padding-left:20px;
        padding-right:20px;
    }

    section.height.raksti{
        padding-left:20px;
        padding-right:20px;
    }

    .grid-item{
        margin-bottom:20px;
    }

    section#hero-section h1{
        padding:0px 20px 0px;
    }

    section.height{
        padding-left:20px;
        padding-right:20px;
    }

    div.button-box button.fill{
        width:100%;
        display:flex;
        justify-content: center;
        align-items: center;
        max-width:auto;
        min-width:none;
        padding:10px 0px 10px;


    }

    div.button-box{
        width:auto;
        max-width:100%;
    }

    .head p{
        padding:0px 20px 0px;
    }

    div.textbox{
        padding-left:20px;
        padding-right:20px;
    }

    #hero-section button{
        width:60%;
        
    }


}

@media(max-width: 354px){
    section#hero-section h1{
        padding:0px 10px 0px;
    }

    section.height.raksti{
        padding-left:10px;
        padding-right:10px;
    }

    section.height.raksti.preces{
        padding-left:10px;
        padding-right:10px;
    }

    .grid-item{
        padding:15px;
    }

    section.height.listings{
        padding-left:10px;
        padding-right:10px;
    
    }

    .listing{
        padding:15px;
    }

    section.height.gallery{
        padding:0px 10px 0px;
    }

    nav#main-navbar{
        padding-left:8px;
        padding-right:10px;
    }


    div.textbox{
        padding-left:10px;
        padding-right:10px;
    }

    div.contact{
        padding-left:10px;
        padding-right:10px;
    }

    div.rezervet{
        padding-right:10px;
        padding-left:10px;
        padding-top:0px;
    }

    form{
        padding-left:10px;
        padding-right:10px;
    }
}

@media(max-width: 284px){
    section#hero-section h1{
        font-size:2rem;
    }

    nav#main-navbar{
        padding-left:10px;
        padding-right:10px;
    }

    .head{
        margin-top:20px;
    }

    input[type='submit']{
        width:100%;
        padding:10px 10px;
    }

    #cena{
        font-size:1rem;
    }
}

@supports (-webkit-touch-callout: none) {

    .mobile-menu{
        height:100dvh;
        min-height:100dvh;
        max-height:100dvh;
    }
}