/* Webfonts: include webfonts here using @font-face */
@font-face {
    font-family: "League";
    src: url("../fonts/league.ttf") format("truetype-variations");
    /* Add more src declarations for other font formats if needed */
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: "League", Arial, Helvetica, sans-serif;
    box-sizing: content-box !important;

}

html, body {
    margin: 0;
    padding: 0;
    background-color: lightgray;
    font-size: 100%;
    line-height: 135%;
}

#page {
    position: relative;
    display: block;
    background-color: whitesmoke;
    width: 100%;
    min-width: 320px;
    max-width: 960px;
    margin: 0 auto;
}


header {
    position: sticky;
    display: block;
    z-index: 10;
    top: 0;
    width: calc(100% - 2em);
    box-sizing: border-box;
    background-color: black;
    color: whitesmoke;
    padding: 1em;
    height: 1.5rem;
    text-wrap: nowrap;
}



header ul {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
}

header ul li {
    position: relative;
    display: inline-block;
    margin-right: 0.5rem;
}

header :is(a, a:link, a:visited, a:hover, a:active) {
    color: whitesmoke;
    text-transform: uppercase;
    font-size: 0.75em;
}

a, a:link, a:visited, a:hover, a:active {
    color: red;
}

#logo {
    position: relative;
    display: inline-block;
    margin: -1rem 1rem -1.5rem -1rem;
    padding: 0;
    height: 3.55rem;
    width: 3.51rem;
    box-sizing: border-box;
    overflow: hidden;
}

main {
    position: relative;
    display: block;
}

main>section {
    position: relative;
    display: block;
    width: calc(100% - 2em);
    padding: 1em;

}

#hero {
    position: relative;
    display: block;
    margin-top: -7.5rem;
}

h1 {
    text-align: center;
}

#cta-btn, .cta-btn {
    position: relative;
    display: block;
    width: 50%;
    min-width: 240px;
    margin: 0 auto;
    padding: 1em;
    border: 1px solid black;
    border-radius: 0.5em;
    text-align: center;

}

footer {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: calc(100% - 2em);
    padding: 1em;
    background-color: black;
    color: whitesmoke;
}

footer img {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    width: 30%;
    min-width: 150px;
    max-width: 250px;
    max-height: 3rem;
    margin-bottom: 1rem;
}

.margin5 {
    max-height: calc(3rem - 0.75em);
    max-width: calc(250px - 1em);
}