@font-face {
    font-family: 'FuturaBook';
    src: url('../font/futura_eot.eot');
    src: url('../font/futura_eot.eot?#iefix') format('embedded-opentype'),
         url('../font/futura_woff2.woff2') format('woff2'),
         url('../font/futura_woff.woff') format('woff'),
         url('../font/futura_tt.ttf') format('truetype'),
         url('../font/futura_ot.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body{
    font-family: "FuturaBook", Verdana, Geneva, Tahoma, sans-serif;
    margin: 0;
    overflow-x: hidden;
}

*{
    scroll-behavior: smooth; /* Nicer anchor transition */
    box-sizing: border-box;
}

#goToTop{
    display: none;
    position: fixed;
    height: 50px;
    width: 50px;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #8F7444;
    border: 2px solid white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
    color: white;
    fill: white;
}

.main{
    height: 100vh;
    width: 100%;
    background-image: url("../main.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.inner-main{
    background-color: rgba(0,0,0, 0.6);
    background-blend-mode: screen;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.button-grid-wrapper{
    width: 100%;
    display: inline-block;
    text-align: center;
}

#title{
    margin: 0;
    text-align: center;
    font-size: 56px;
    color: white;

}
.button-grid{
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    column-gap: 50px;
    text-align: center;
}
.button-grid a{
    text-decoration: none;
    color: white;
    cursor: pointer;
}


.button-grid-item{
    padding: 8px 16px;
    border: 2px solid white;
    border-radius: 5px;
    background-color: #4a4130;
}
.button-grid-item:hover{
    background-color: #8F7444;
}

#treatments{
    margin: 0 auto;
    padding: 10px;
    background-color: #d5d3a7;
}

#treatments h1{
    text-align: center;
}

.treatment-section h2{
    text-align: center;
}

.treatment-item{
    width: 100%;
}
.treatment-divider{
    height: 100%;
    background-color: black;
    width: 2px;
    margin: 0 20px;
}
.treatment-grid{
    display: inline-grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    grid-template-rows: 1fr;
    column-gap: 5px;
}

#about-me{
    padding: 10px;
    background-color: #d5d3a7;
}

#about-me h1{
    text-align: center;
    margin: 10px;
}
#about-me p{
    text-align: justify;
}

#booking{
    padding: 10px;
    background-color: #d5d3a7;
}

#booking h1{
    text-align: center;
}

.contact-form-wrapper{
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding-bottom: 50px;
    column-gap: 20px;
}

form{
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, auto);
    column-gap: 10px;
    row-gap: 16px;
}

form p{
    margin: 0;
}

form label{
    display: block;
    margin-bottom: 10px;
}

.required{
    display: inline-block;
    color: red;
}

.form-full{
    grid-column: span 2;
}

.form-full input{
    width: 100%;
}

.form-center{
    display: inline-block;
    text-align: center;
    grid-column: span 2;
}

form textarea{
    width: 100%;
    height: 100px;
    max-height: 400px;
    min-height: 100px;
    resize: none;
}


input[type = text], input[type = tel], input[type = email], form textarea{
    font: 400 13.3333px Arial;
    padding: 6px 10px;
    border-width: 2px;
    border-radius: 5px;
    border-style: solid;
}

input[type = submit]{
    cursor: pointer;
    box-shadow: none;
    color: white;
    background-color: #4a4130;
    border: 2px solid white;
    font-size: inherit;
    padding: 8px 28px;
    border-radius: 5px;
}

input[type = submit]:hover{
    background-color: #8F7444;
}

#thanks{
    height: 301px;
    width: 396px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer{
    padding: 20px 10px;
}

footer, footer p{
    background-color: #4a4130;
}

footer p{
    margin: 0;
    color: white;
    font-size: 12px;
    margin-left: 20px;
}

@media screen and (max-width: 800px) {
    .button-grid{
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-columns: 1fr;
        row-gap: 20px; 
    }
    .treatment-grid{
        grid-template-rows: auto auto auto auto auto;
        grid-template-columns: 1fr;
        row-gap: 5px
    }
    .treatment-divider{
        width: 100%;
        height: 2px;
        margin: 20px 0;
    }
    .contact-form-wrapper{
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 500px) {
    .form-half{
        grid-column: span 2
    }
    .form-half input{
        width: 100%;
    }
}