@charset "UTF-8";

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Regular.woff2");
}

html,
body,
* {
    margin: 0;
    padding: 0;
    line-height: 0;
    font-family: 'Roboto';
}

body {
    background-color: transparent;
    font-size: 16px;
    font-weight: SemiBold 600;
    letter-spacing: 0.5px;
    word-spacing: 1px;
    min-width: 370px;
}

div.wrap {
    display: flex;
    flex-wrap: wrap;
    align-self: flex-start;
    min-width: 350px;
    max-width: 900px;
    width: 90%;
    height: 100%;
    margin: 0 auto;
}

header {
    display: flex;
    width: 100%;
    height: 100px;
    flex-direction: column;
}

h1 {
    font-size: 24px;
    margin-top: 35px;
    text-transform: capitalize;
}

header > nav {
    position: relative;
    z-index: 99;
    width: fit-content;
    height: fit-content;
    top: 0;
    margin-left: auto;
    line-height: 100%;
}

header > nav > ul {
    list-style: none;
}


span.mobile_nav {
    position: relative;
    display: none;
    cursor: pointer;
    color: black;
}

ul.mobile_nav {
    display: none;
}

@media only screen and (max-width: 850px) {
    span.mobile_nav {
        display: block;
        margin-left: auto;
        cursor: pointer;
        margin: -10px 5px -10px 0;
        font-size: xx-large;
    }

    ul.mobile_nav {
        position: absolute;
        z-index: 99;
        width: fit-content;
        height: fit-content;
        cursor: pointer;
        background-color: white;
        border: rgb(230, 230, 230) solid thin;
        padding: 20px;
        margin: 20px 0 0 -130px;
    }

    ul.mobile_nav > li {
        width: fit-content;
        height: fit-content;
        margin-top: 20px;
        padding: 10px;
    }

    ul.mobile_nav > li:first-child {
        margin-top: 0;
        padding: 10px;
    }

    header > nav > ul:first-of-type {
        display: none;
    }
}

header > nav > ul > li {
    width: fit-content;
    display: inline-block;
    padding-right: 20px;
}

header > nav > ul > li:last-child {
    width: fit-content;
    display: inline-block;
    padding-right: 0;
}

header > nav > ul > li > a {
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
}

header > nav > ul > li > a:hover {
    text-decoration: underline;
}

h2 {
    margin-top: 20px;
    width: fit-content;
    min-width: 200px;
    height: fit-content;
    line-height: 100%;
    text-transform: uppercase;
    font-size: large;
    letter-spacing: 1px;
}

main {
    width: 100%;
    height: auto;
    min-height: calc(100% - 220px);

}

button {
    animation: pulse 1s infinite;
    text-transform: uppercase;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

footer {
    display: flex;
    width: 100%;
    height: 60px;
    padding-bottom: 28px;
}

footer > p {
    text-align: center;
    margin: auto;
    color: black;
    font-size: 0.9rem;
    line-height: 1.4rem;
    padding-top: 1.2rem;
    display: list-item;
    list-style: none;
}

h1.main_site {
    cursor: pointer;
}