@charset "utf-8";
*
{
    box-sizing: border-box;
    padding: 0;
    margin: 0;

}
header img
{
    width: 100%;
    display: block;
}
body
{
    margin: 0;
}
main
{
    display: block;
    width: 100%;
    background-color: lightgray;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: brown;
}
main h1
{
    font-size: 40px;
    font-family: Arial, Helvetica, sans-serif;
    color: black;
}
main p
{
    margin: 0;
}
nav ol
{
    list-style: none;
    margin: 0;
    padding: 0;
}
nav li
{
    display: block;
    width: 33.333%;
    float: left;
}
nav a
{
    display: block;
    background-color: white;
    line-height: 40px;
    text-decoration: none;
    text-align: center;
    color: black;
}
nav a:hover
{
    background-color: white;
    color: black;
    font-size: 1.2em;
    transition: background-color 0.1s ease-in 0.1s,
                color 0.1s ease-in 0.1s,
                font-size 0.1s ease;
}
footer
{
    display: block;
    width: 100%;
    background-color: black;
    color: white;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}
footer p
{
    margin: 0;
}
a#navicon
{
    display: none;
}

/*Specific to the page*/

form
{
    width: 100%;
}
fieldset
{
    width: 100%;
    margin-bottom: 10px;
}
label
{
    display: block;
    position: relative;
    padding: 10px;
    width: 100%;
    text-align: center;
}
input, select
{
    display: block;
    position: relative;
    padding: 5px;
    height: auto;
    width: 100%;
    align-items: center;
}
input[type="submit"], input[type="reset"]
{
    display: block;
    float: left;
    left: 0;
    text-align: center;
    width: 50%;
    margin-bottom: 15px;
    margin-top: 15px;
}

/*mobile*/

@media only screen and (max-width: 768px)
{
    a#navicon
    {
        display: block;
    }
    a#navicon img
    {
        width: 35px;
        height: 35px;
    }
    nav ol
    {
        display: none;
    }
    a#navicon:hover+ol, nav ol:hover
    {
        display: block;
    }
}