body{
    margin: 0;
    padding: 0;
    font-size: calc(10px + 0.3vw);
    height: 100vh;
}

.wrapper{
    background-color: #F9F3DF;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-bottom: 2vh ;
    height: auto;
    margin-bottom: 0;
}

#box{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 2vh 0 5vh 0;
    width: 90vw;
    visibility: hidden;
}


nav{
    border:2px solid #D7E9F7;
    background-color: #F9F3DF;
    min-height: 90vh;
    align-self: stretch;
    padding: 2% 0;
    width: 30vw;
    display: flex;
    justify-content: center;
    list-style: none;
    font-size: 20px;
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

header{
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 83.5%;
}

header p{
    text-align: center;
    margin: 1%;
}

.header-box{
    border:2px solid #D7E9F7;
    background-color: #F4D19B;
    width: 100%;
    display: flex;
    align-self: center;
    justify-content: space-evenly;
    margin-top: 2vh;
}

a{
    text-decoration: none;
}

ul{
    list-style-type: none;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding-left: 0;
}

li {
    display: flex;
    border: 2px solid #F9F3DF;
    background-color: #D7E9F7;
    padding: 4vh 5vw;
    justify-content: center;

}

main {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 2%;
    width: 50%;
    min-height: 90vh;
    height: auto;
    border:1px solid #FDFCE5;
    margin: 2%;
    background-color: #D7E9F7;
}

main div{
    background-color: #E3F4F4;
}



footer{
    display: flex;
    justify-content: center;
    width: 83.5vw;
    padding: 2vh 0;
    border:2px solid #D7E9F7;
    background-color: #F4D19B;
}

a:link{
    color: black;
}

a:visited{
    color: black;
}

a:hover{
    color: #FDFCE5;
}

a:active{
    color: black;
}

.age-box{
    margin-left: 10vw;
    width: 20vw;
    padding:2vh 2vw 2vh 6vw;
    border-left:2px solid #D7E9F7;
}
label{
    font-size: calc(10px + 0.3vw);
}

.title{
    align-self: center;
    margin-left: 10%;

}

#age{
    width: 4vw;
    height: 5vh;
    margin-right: 2vw;
    border:1px solid #D7E9F7;
    background-color: #F9F3DF;
    font-size: calc(8px + 0.3vw);
    text-align: center;

}

button {
    height: 6vh;
    width: 7vw;
    align-self: center;
    display: flex;
    align-items: center;
    font-size: calc(10px + 0.2%);
    justify-content: center;
    border:1px solid #D7E9F7;
    background-color: #F9F3DF;
}

button:hover{
    text-decoration: underline;
}

.feature{
    display: flex;
    margin-top: 2vh;
}

@media screen and (max-width: 750px){

    button {
        font-size: calc(7px + 0.2%);
        overflow: hidden;
    }

    .title{
        padding: 3vh 0;
        font-size: calc(15px + 0.3vw);
    }
    nav{
        background-color: #F9F3DF;
        display: flex;
        justify-content: center;
        list-style: none;
        border: none;
        padding-left: 0;
        width: auto;
        min-height: 0;
    }

    header{
        display: flex;
        justify-content: center;
        flex-direction: column;
        width: 60vw;

    }

    header p{
        text-align: center;
        margin: 1%;
    }

    .title{
        text-align: center;
        padding: 3vh 0;
        border:2px solid #D7E9F7;
        background-color: #F4D19B;
        width: 100%;
        align-self: center
    }

    a{
        text-decoration: none;
    }

    ul{
        display: flex;
        flex-direction: row;
        padding-left: 0;
    }

    li {
        border: 2px solid #F9F3DF;
        background-color: #D7E9F7;
        display: inline;
        padding: 0.5vw;

    }

    main {
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 2%;
        width: 50%;
        height: auto;
        margin: 1%;
        border:1px solid #FDFCE5;
        background-color: #D7E9F7;
        min-height: 0;
    }

    main div{
        background-color: #E3F4F4;
    }

    img{
        max-width: 100%;
        height: 50vh;
    }

    footer{
        display: flex;
        justify-content: center;
        width: 60vw;
        padding: 2vh 2vw;
        margin: 1%;
        border:2px solid #D7E9F7;
        background-color: #F4D19B;
    }

    .wrapper{
        background-color: #F9F3DF;
        height: 100%;
    }

    #box {
        display: flex;
        flex-direction: column;
        padding: 0;
    }
}