html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: 100%;
    padding:0;
    margin: 0;
    margin-top: 80px;
    animation: animationcontent 3s ease-in-out;
}
h1, h2, h3, h4, h5, h6, input {
    font-family: "Assistant", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}
p, label {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: calc(13px + 0.3vw);
}

h1 {
    font-size: 3vw;
}
h2 {
    font-size: 2vw;
}
h3 {
    font-size: 1.3vw;
}


#overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: whitesmoke;
    cursor: pointer;
    animation: revealcontent 4s ease-in-out;
    z-index: -1;
}
  
#text{
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

a {
    text-decoration: none;
}

.navbar {
    background-color: black;
    display: flex;
    justify-content: center;
    flex-direction: column;
    top: 0;
    width: 100vw;
    height: calc(20px + 9vh);
    min-height: 50px;
    position: fixed;
    z-index: 5;
    transition: 0.5s;
}


.address {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    color: wheat;
    font-weight: 700;
    max-height: calc(20px + 3vh);
    margin: 0;
    word-wrap: break-word;

    h5 {
        margin-bottom: 0;
        font-size: calc(10px + 2.5vw);
        margin-top: 3vw;
        -webkit-text-stroke: 0.5px springgreen;
    }
}

.top-content {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    align-content: space-evenly;
    font-size: calc(5px + 1vw);
    color:azure;
    max-height: 90px;
  
    .navbar-logo {
        background-color: transparent;
        width: 7vw;
        height: 7vw;
        min-width: 50px;
        min-height: 50px;
        left: calc(20px + 2vw);
    }

    .link-content {
        display: flex;
        justify-content: space-between;
        width: 60vw;
        transition: 0s color;
        max-height: 8vh;
    }

    h3 {
        color: bisque;
        transition: all 0.5s;
        
        &:hover {
            color: green;
            transform: scale(1.4);
        }
    }
}

#header-container {
    position: absolute;
    top: 50%;
    left: 70%;
    font-size: 50px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    z-index: 11;
}

#jalkahoitola {
    opacity: 0;
    animation: showup 5s ease-in-out;
    color:black;
    margin-left: -200px;
    font-weight: 600;
    -webkit-text-stroke: 1px azure;
}

#freshfoot {
    opacity: 0;
    width:0px;
    animation: reveal 5s ease-in-out;
    padding-left: 5px;
    color: green;
    font-size: 8vw;
    font-weight: 900;
}
  
#freshfoot span {
    margin-left:-355px;
    animation: slidein 5s ease-in-out;
    font-size: 6vw;
}

#hero {
    width: 100vw;
    height: 60vh;
    display: block;
    position: relative;
    
        background-image: url(../assets/images/wide_bg_4.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;

        animation: revealhero 5s;
    
}

.motto {
    display: flex;
    overflow-wrap: break-word;
    white-space: normal;
    width: 60vw;
    overflow: hidden; 
    margin: 0 auto; 
    letter-spacing: .10em; 
    font-size: calc(12px + 1vw);
    padding-top: 15px;
    text-align: center;
}

.about-container {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10vw;
    padding-bottom: 10vw;
    width: 60vw;

    img {
        max-width: 400px;
        max-height: 400px;
    }

    .responsibility {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        transition: all 0.6s ease-in-out;
        padding-top: 10vw;

        img {
            border-radius: 25px;
        }

       .responsibility-content {
        display: block;
        flex-direction: column;
        box-sizing: border-box;
        margin: 2%;
       }

    }

    .about {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding-top: 10vw;

        img {
            border-radius: 25px;
        }

       .about-content {
        display: block;
        flex-direction: column;
        box-sizing: border-box;
        margin: 2%;
       }
    }

    .professionalism {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding-top: 10vw;

        img {
            border-radius: 25px;
        }

       .professionalism-content {
        display: block;
        flex-direction: column;
        box-sizing: border-box;
        margin: 2%;
       }
    }

}

#reservation-container{
    text-align: center;
}

#reservation {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
    min-width: 80vw;
}

.content  {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    margin-top: 20vh;
    padding-bottom: 10vh;
    background-color: azure;

    .treatment {
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 90vw;

        .feet-treatment-types {
            display: flex;
            justify-content: space-evenly;
            flex-wrap: wrap;
            & > * {
                padding-left: 5px;
                padding-right: 5px;
                margin-top: 20px;
                background-color: lightgreen;
                border-color: black;
                border-radius: 20px;
                border-width: 5px;
                width: 300px;
                overflow: hidden;
                max-height: calc(300px + 1vh);
            }
            & div:hover {
                max-height:300px;
                background-color:rgb(223, 90, 42);
                color: whitesmoke;
                /*filter: saturate(250%) brightness(85%) contrast(85%) drop-shadow(0 0 0.75rem rgb(18, 200, 109));*/
                transition: 0.4s ease-in-out;
            }
        }

        .others {
            display: flex;
            justify-content: space-evenly;
            flex-wrap: wrap;
            & > * {
                padding-left: 10px;
                padding-right: 10px;
                margin-top: 20px;
                background-color: lightgreen;
                border-color: black;
                border-radius: 20px;
                border-width: 5px;
                width: 400px;
                max-height:calc(400px + vh);
                overflow: hidden;
                transition: max-height 0.7s ease-in;
            }
            & div:hover {
                max-height:400px;
                background-color:rgb(223, 90, 42);
                color: whitesmoke;
                /*filter: saturate(250%) brightness(85%) contrast(85%) drop-shadow(0 0 0.75rem rgb(18, 200, 109));*/
                transition: 0.4s ease-in-out;
            }
        }
        .general {
            padding-top: 10vw;
        }
    }

    .extra-info {
        margin-top: 5vh;
        margin-bottom: 5vh;
    }

    
}

.footer {
    background-color: black;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    bottom: 0;

    .contact-content {
        width: 80vw;
    }

  text-align: center;
  color: wheat;

  .contact-content {
    margin: 0;
  }

  p {
    max-width: 80vw;
  }

}
  
@keyframes revealcontent {
    0% {
        display: block;
        z-index: 10;
        overflow: hidden;
    }

    40% {
        display: block;
        z-index: 10;
    }

    60% {
        display: block;
        z-index: 10;
        opacity: 0.8;
    }
    80% {
        display: block;
        z-index: 7;
        opacity: 0.4;
    }

    100% {
        display: none;
        opacity: 0;
    }
}

@keyframes animationcontent {
    0% {
        overflow: visible;
    }
    100% {
        overflow: visible;
    }
}

@keyframes showup {
    0% {opacity:0;}
    20% {opacity:1;}
    70% {opacity:1;}
    100% {opacity:0;}
}

@keyframes slidein {
    0% { margin-left:-800px; }
    20% { margin-left:-800px; }
    35% { margin-left:0px; }
    100% { margin-left:0px; }
}

@keyframes reveal {
    0% {opacity:0;width:0px;}
    20% {opacity:1;width:0px;}
    30% {width:355px;}
    60% {opacity:1;}
    100% {
        opacity:0;
        width:355px;
    }
}

@keyframes revealhero {
    0% {
        content:"";
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        position: relative;
        background-color: aliceblue;
        background-image: url(../assets/images/wide4.svg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        -webkit-transition: opacity 1s ease-in-out;
        -moz-transition: opacity 1s ease-in-out;
        -o-transition: opacity 1s ease-in-out;
        transition: opacity 1s ease-in-out;
        z-index:2;
    }

    75% {
        background-image: url(../assets/images/wide4.svg);
    }

    100% {
        content:"";
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        position: relative;
        background-color: aliceblue;
        background-image: url(../assets/images/wide_bg_4.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        -webkit-transition: opacity 1s ease-in-out;
        -moz-transition: opacity 1s ease-in-out;
        -o-transition: opacity 1s ease-in-out;
        transition: opacity 1s ease-in-out;
        z-index:-1;
    }
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 90vw;

    #googlemaps {
        margin-top: 25px;
        margin-bottom: 25px;
        border-radius: 25px;
        width: 30vw;
        height: 30vw;
        box-sizing: border-box;
    }
    
    #contact-form {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        width: 30vw;
        min-height: 30vw;
        padding: 25px;
        margin-top: 25px;
        margin-bottom: 25px;
        border-radius: 25px;
        background-color: whitesmoke;
        box-sizing: border-box;
    
    
        label {
            text-align: left;
            color: black;
            margin-top: 10px;
        }
    
        input {
            width: 90%;
            height: 3vh;
            padding: 10px;
            border-radius: 25px;
        }
    
        #message-send {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
    
            textarea {
                width: 90%;
                height: 6vh;
                border-radius: 15px;
                padding: 10px;
            }
    
            #submit-input {
                width: 50%;
                height:4vh;
                border-radius: 25px;
                font-size: calc(15px + 1vw);
                text-align: center;
                box-sizing: content-box;
                align-self: self-end;
                background-color:lightcoral;
                color: whitesmoke;
                border: 7px;
                transition: 0.4s ease-in-out;
                margin-bottom: 25px;
                margin-top: 25px;

            }
            #submit-input:hover {
                background-color: rgb(18, 200, 109) ;
                color: black;
            }
        }

        h2 {
            color: black;
            top: 0;
        }
    }
}



@media only screen and (max-width: 1200px) {
    h1 {
        font-size: x-large;
    }
    h2 {
        font-size: large;
    }
    h3 {
        font-size: larger;
    }
    
    .navbar {
        .top-content {
            .link-content {
                display: none;
            }
        }
       
    }

    #header-container {
        position: absolute;
        top: 50%;
        left: 70%;
        font-size: 40px;
        color: white;
        transform: translate(-50%,-70%);
        -ms-transform: translate(-50%,-70%);
        z-index: 11;
    }
    
    #jalkahoitola {
        opacity: 0;
        animation: showup 3s ease-in-out;
        color: black;
        margin-left: 50px;
    }
    
    #freshfoot span {
        margin-left:-355px;
        animation: slidein 5s ease-in-out;
        font-size: 50px;
    }

    .about-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 90vw;
        text-align: center;

        img {
            max-width: 70vw;
            max-height: 70vw;
            margin-bottom: 10vh;
        }
    
        p {
            width: 70vw;
            font-size: 1vm;
            font-weight: 500;
           
        }

        .responsibility {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding-top: 10vw;
            align-items: center;
    
            img {
                border-radius: 25px;
            }
    
           .responsibility-content {
            display: block;
            flex-direction: column;
            box-sizing: border-box;
           }
    
        }
    
        .about {
            display: flex;
            flex-direction: column-reverse;
            justify-content: space-between;
            padding-top: 10vw;
            align-items: center;
    
            img {
                border-radius: 25px;
            }
    
           .about-content {
            display: block;
            flex-direction: column;
            box-sizing: border-box;
           }
        }
    
        .professionalism {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding-top: 10vw;
            align-items: center;
    
            img {
                border-radius: 25px;
            }
    
           .professionalism-content {
            display: block;
            flex-direction: column;
            box-sizing: border-box;
           }
        }
    }

    .footer-content {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        align-items: center;
        width: 90vw;
        margin-top: 20px;
        margin-bottom: 20px;

        #googlemaps {
            height: 90vw;
            width: 90vw;
            margin-top: 25px;
            margin-bottom: 25px;
            border-radius: 25px;
        }

        #contact-form {
            display: flex;
            justify-content: space-evenly;
            align-items: center;
            text-align: center;
            width: 90vw;
            min-height: 30vh;
            margin: 0;
            padding: 0;

            input {
                width: 70vw;
            }

            #message-send {
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                align-items: center;

                textarea {
                    width: 80vw;
                    margin-bottom: 15px;
                }

                #submit-input {
                    align-self: center;
                }
            }
        }
    }

    #reservation {
        min-width: 100%;
    }
    
}

@media only screen and (max-width: 400px) {
.address {
  h5 {
     font-size: 4vw;
  }
}

    .about-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 90vw;
        text-align: center;

        img {
            max-width: 70vw;
            max-height: 70vw;
        }
    
        p {
            width: 70vw;
            font-size: 1vm;
            font-weight: 500;
           
        }

        .responsibility {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding-top: 10vw;
            align-items: center;
    
            img {
                border-radius: 25px;
            }
    
           .responsibility-content {
            display: block;
            flex-direction: column;
            box-sizing: border-box;
           }
    
        }
    
        .about {
            display: flex;
            flex-direction: column-reverse;
            justify-content: space-between;
            padding-top: 10vw;
            align-items: center;
    
            img {
                border-radius: 25px;
            }
    
           .about-content {
            display: block;
            flex-direction: column;
            box-sizing: border-box;
           }
        }
    
        .professionalism {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding-top: 10vw;
            align-items: center;
    
            img {
                border-radius: 25px;
            }
    
           .professionalism-content {
            display: block;
            flex-direction: column;
            box-sizing: border-box;
           }
        }
    }

    .top-content {
        display: flex;
        justify-content: space-around;
        align-items: center;
        align-content: space-around;
        font-size: calc(10px);
        color:azure;
        height: 15vh;
      
        .navbar-logo {
            background-color: transparent;
            width: 15vw;
            height: 15vw;
            left: calc(20px + 2vw);
            top: 1vw;
            margin-bottom: 10px;
        }
    
        .link-content {
            display: flex;
            flex-direction: column;
            width: 60vw;
            transition: 0s color;
        }
    
        h3 {
            color: bisque;
            transition: all 0.5s;
            margin: 0;
            
            &:hover {
                color: green;
                transform: scale(1.4);
                padding-left: 50px;
            }
        }
    }

    .footer {
        .logo-container {
            display: flex;
            justify-content: space-around;
            width: 80%;
    
            img {
                width: 10vw;
            }
        }
    
    }

    .motto {
        white-space: initial;
        text-align: center;

    }

    #header-container {
        position: absolute;
        top: 50%;
        left: 70%;
        font-size: 30px;
        color: white;
        transform: translate(-50%,-70%);
        -ms-transform: translate(-50%,-70%);
        z-index: 11;
    }
    
    #jalkahoitola {
        opacity: 0;
        animation: showup 3s ease-in-out;
        color: black;
        margin-left: 50px;
    }
    
    #freshfoot span {
        margin-left:-355px;
        animation: slidein 5s ease-in-out;
        font-size: 40px;
    }

    #googlemaps {
        height: 50vh;
        width: 90vw;
        margin-top: 25px;
        margin-bottom: 25px;
        border-radius: 25px;
    }
}
