*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1{
    margin-top: 1em;
}
p{
    padding: 0.2em;
    line-height: 1.4em;
}
ul{
    margin-left: 2em;
}
li{
    padding: 4ps;
}

.header{
    background-color: black;
    box-shadow: 1px 1px 5px 0px grey;
    position: sticky;
    top: 0;
    width: 100%;
}
.nav{
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: white;
    overflow: hidden;
    top: 69px;
}
.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}
.menu li{
    padding: 1em;
    display: block;
}
.header::after{
    clear: both;
}
.hamb{
    cursor: pointer;
    float: right;
    padding: 40px 20px;
}

.hamb-line {
    background: #313131;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;

} /* Style span tag */

.hamb-line::before,
.hamb-line::after{
    background: #313131;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}
.hamb-line::before{
    top: 5px;
}
.hamb-line::after{
    top: -5px;
}

.side-menu {
    display: none;
}
.side-menu:checked ~ nav{
    max-height: 100%;
}
.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}
.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;
}
.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}


.contact-form{
    margin: 1em;
}
.contact-form .mb-3{
    margin: 14px 4px;
    text-align: center;
}

.contact-form label{
    display: inline-block;
    vertical-align: middle;
    font-weight: bold;
    width: 12em;
    text-align: right;
    padding-right: 1em;
}
.contact-form input, 
.contact-form textarea, 
.contact-form select{
    padding: 8px;
    display: inline-block;
    width: 90%;
    font-family: 'helvetica neue','HelveticaNeue','Helvetica-Neue',Helvetica,Arial,sans-serif;
    font-size: 1em;
    color: #525050;
    border-radius: 6px;
    border: solid 1px #525050;
}
.contact-form textarea{
    height : 8em;
    vertical-align: middle;
}
.contact-form .btn{
    margin-top: 1em;
    padding: 12px 18px;
    background-color: green;
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.contact-form .btn:hover{
    font-weight: bold;
}
.invalid-feedback{
    color: red;
}
.return-message{
    border: solid 2px green;
    padding: 8px 24px;
}
.form__required-fields{
    margin-top: 1em;
}
.form__required-fields span{
    color: red;
}
.contact-form label.required:after {
    content: '*';
    color: red;
    padding-left: 4px;
}


@media (min-width: 768px) {
    .nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
    }
    .menu li{
        float: left;
        padding: 1.5em 1em;
        display: block;
        border-bottom: solid 2px transparent;
    }
    .menu li.menu_active{
        border-bottom-width: 2px;
    }
    .menu li:hover{
        border-bottom-width: 2px;
    }

    .hamb{
        display: none;
    }

    .contact-form input, 
    .contact-form textarea, 
    .contact-form select{
        width: 60%;
    }
}