html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

* {
    font-family: 'Nunito Sans', sans-serif;
}

a {
    color: #ea0700;
    text-decoration: none;
}

div#check {
    position: absolute;
    width: 1px;
    height: 1px;
    z-index: -1;
    visibility: hidden;
}

div#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;

    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    z-index: 1001;
}

div.menu-item {
    position: fixed;
    top: -100px;
    width: 50%;
    margin: 0 25%;
    padding: 20px;
    font-size: 1.5rem;
    font-weight: 700;
    background-color: #fff;
    border: 1px solid #333;
    border-radius: 3px;
    text-align: center;
    z-index: 1001;
    transition: 0.7s;
}

div#menu1 {
    top: -100px;
}

div#menu2 {
    top: -150px;
}

div#menu3 {
    top: -200px;
}

div#menu4 {
    top: -250px;
}

div#menu5 {
    top: -300px;
}

div.menu-item a {
    color: 000;
    text-decoration: none;
}

img.tl-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 80px;
    height: 80px;
    z-index: 1000;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    padding-top: 20px;
}

header img.logo {
    width: 170px;
    height: 170px;
    margin-left: calc(50% - 85px);
    transition: 0.7s;
}

div#menu-icon {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 40px;
    z-index: 1002;
}

#nav-icon {
    width: 100%;
    height: 100%;
    position: relative;
    margin: auto;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

#nav-icon span {
    display: block;
    position: absolute;
    height: 15%;
    width: 100%;
    background: #000;
    border-radius: 10px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#nav-icon span:nth-child(1) {
    top: 0px;
}

#nav-icon span:nth-child(2),
#nav-icon span:nth-child(3) {
    top: 40%;
}

#nav-icon span:nth-child(4) {
    top: 80%;
}

#nav-icon.open span:nth-child(1) {
    top: 40%;
    width: 0%;
    left: 50%;
}

#nav-icon.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(4) {
    top: 40%;
    width: 0%;
    left: 50%;
}

main {
    width: 900px;
    max-width: calc(100% - 50px);
    margin: 240px auto auto auto;
    padding-bottom: 30px;
}

main h1 {
    font-size: 2.1rem;
    font-weight: 700;
}

main h2 {
    font-size: 1.8rem;
    font-weight: 700;
}

main p,
main li {
    font-size: 1.2rem;
}

/* Small devices such as large phones (640px and up) */
@media only screen and (max-width: 40em) {
    div#check {
        visibility: visible;
    }

    div.menu-item {
        width: calc(80% - 40px);
        margin: 0 10%;
        padding: 10px 20px;
        font-size: 1.5rem;
    }

    header {
        padding-bottom: 10px;
        background-color: #fff;
    }

    div#menu-icon {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 35px;
    }

    main {
        /*padding: 40px;*/
    }

    main h1 {
        font-size: 2rem;
    }

    main h2 {
        font-size: 1.5rem;
    }

    main p,
    main li {
        font-size: 1.1rem;
    }
}

/* Medium devices such as tablets (768px and up) */
@media only screen and (max-width: 48em) {}

/* Large devices such as laptops (1024px and up) */
@media only screen and (max-width: 64em) {}

/* Largest devices such as desktops (1280px and up) */
@media only screen and (max-width: 80em) {}