*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Jost", sans-serif;
}

.header {
    min-height: 120vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/sauna-59.jpg);
    background-position: center;
    background-size: cover;
}

nav{
    background-color: white;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content:flex-end;
    align-items:center;
}

nav li{
    height: 50px;
}

nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
}

nav a:hover{
    background-color: #f0f0f0;
}

nav li:first-child{
    margin-right:auto;
}

.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.281);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li{
    width: 100%;
    font-size: 20px;
    font-weight: 480;
}

.sidebar a{
    width: 100%;
    color: rgb(3, 0, 26);
}

.menu-button{
    display: none;
}

@media(max-width: 800px){
    .hideOnMobile{
        display: none;
    }
    .menu-button{
        display: block;
    }
}
@media(max-width: 400px){
    .sidebar{
        width: 100%;
    }
}

.text-box {
    width: 85%;
    color: #fff;
    background-color: none;
    position:relative;
    margin: auto;
    text-align: center;
    margin-top: 12%;
}
/* kontaktid */

.contact{
    width: 80%;
    margin: auto;
    padding: 60px 0;
    background-color: none;
}
.contact-vasak h1{
    color: white;
    font-weight: 600;
    margin: 30px 0;
    text-align:center;
    font-size: 40px;
}
.contact-vasak{
    background-color: none;
    flex-basis: 70%;
    text-align: center;
}
.contact-vasak iframe{
    width: 100%;
    padding: 20px;
}

.contact-row{
    display: flex;
    flex-direction: row;
}

.contact-parem{
    background-color: none;
    flex-basis: 70%;
    text-align: center;
    color: white;
}
.contact-parem h3{
    color: white;
    font-weight: 600;
    margin: 30px 0;
    text-align:center;
    font-size: 40px;
}
.contact-parem h4{
    color: white;
    font-weight: 600;
    margin: 30px 0;
    text-align:left;
    font-size: 26px;
}
.contact-parem p{
    color: white;
    font-weight: 600;
    margin: 30px 0;
    text-align: left;
    font-size: 16px;
    margin-top: 5%;
    text-decoration: none;
}

.contact-parem img {
    width: auto;
    height: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.671);
}

@media(max-width:650px){
    .contact-row{
        flex-direction:column;
    }
}

/*avaleht*/

.text-box h1 {
    font-size: 62px;

}

.text-box p {
    margin: 10px 0 40px;
    font-size: 18px;
    color: #fff;
}

.nupp {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 16px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.nupp:hover{
    border: 1px solid #141414;
    background: #141414;
    transition: 0.4s;
    
}

/* footer */

.footer-container {
    background-color: rgba(4,9,30,0.7);
    padding-bottom: 2rem;
}

.footer {
    width: 80%;
    height: 25vh;
    color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: space-evenly;
}

.footer-heading {
    display:flex;
    flex-direction: column;
    margin-left: 1rem;
}

.footer-heading h2{
    margin-bottom: 2rem;
}

.img1{
    width: auto;
    height: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.301);
    display: static;
    position: relative;
    justify-content: flex-start;
    align-items:flex-end;
}
.img2{
    width: auto;
    height: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.301);
    display: static;
    position: relative;
    justify-content: flex-start;
    align-items:flex-end;
}

.insta{
    width: 3rem;
    height: auto;
}

@media screen and (max-width: 800px){
    .footer {
        height:70vh;
        flex-direction:column;
    }
}

@media screen and (max-width: 450px){
    .footer {
        flex-direction:column;
        height: auto;
    }

}

/*galerii*/


.container{
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 8%;
}

.galerii0{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
}
.galerii0 img{
    width: 100%;
}

/* hinnakirja/broneerimis */

.bron{
    width: 80%;
    margin: auto;
    padding: 60px 0;
}
.bron-vasak h1{
    color: white;
    font-weight: 600;
    margin: 30px 0;
    text-align:center;
    font-size: 40px;
}
.bron-vasak{
    background-color: none;
    flex-basis: 70%;
    text-align: center;
}
.bron-vasak p{
    color: white;
    text-align: left;
}

.bron-row{
    display: flex;
    flex-direction: row;
}

.bron-parem{
    background-color: none;
    flex-basis: 70%;
    text-align: center;
    color: white;
}
.bron-parem h1{
    color: white;
    font-weight: 600;
    margin: 30px 0;
    text-align:center;
    font-size: 40px;
}
.bron-parem p {
    text-align: left;
}

.bron-nupp {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 16px;
    background: transparent;
    position: relative;
    cursor: pointer;
    margin-top: 1rem;
}

.bron-nupp:hover{
    border: 1px solid #141414;
    background: #141414;
    transition: 0.4s;
}

@media(max-width:650px){
    .bron-row{
        flex-direction:column;
    }
}

.img2{
    width: auto;
    height: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.301);
    display: static;
    position: relative;
    justify-content: flex-start;
    align-items:flex-end;
    margin-top: 1rem;
}

/* Stiili rippmenüü nupp */
.dropbtn {
        background-color: white;
        color: white;
        padding: 13px;
        font-size: 16px;
        border: none;
        cursor: pointer;
        width: auto;
        height: auto;
    }
    .dropbtn p {
        color: black;
    }
      
    /* Rippmenüü sisu stiil (vaikimisi peidetud) */
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
    }
      
    /* Stiilid lingid rippmenüüs */
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
      
    /* Värvilise lingi muutmine hiirega üle minnes */
    .dropdown-content a:hover {
        background-color: #f1f1f1;
    }
      
    /* Rippmenüü näitamine hiirega peale minnes */
    .dropdown:hover .dropdown-content {
        display: block;
    }
      
    /* Nuppude taustavärvi muutmine, kui rippmenüü sisu on nähtav */
    .dropdown:hover .dropbtn {
        background-color: rgba(0, 0, 0, 0.082);
    }