* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*border: 1px solid red;*/

}

html {
    scroll-behavior: smooth;
    background-image: url(../images/background001.jpg);
    background-size: cover;
    background-repeat: repeat-y;
    background-attachment: fixed;
    background-position: center;
}

.header {
    /* position: sticky; */
    top: 0;
}

nav {
    background-color: hsl(0, 0%, 100%);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav ul li {
    height: 50px;
}

nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
}

nav li:first-child {
    margin-right: auto;
}

h1 {
    text-align: center;
    color: #efe9e9;
    font-family: "Titillium Web", Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 4rem;
    overflow: hidden;
}

h2 {
    text-align: center;
    color: #efe9e9;
    font-family: "Titillium Web", Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 3rem;
    overflow: hidden;
}


p {
    text-align: center;
    color: #efe9e9;
    font-family: "Titillium Web", Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 2rem;
    padding: 20px;
}

.sportstrust {

    font-size: 3em;

}

.container {
    width: 100%;
    align-content: center;
    padding: 50px;
}

.sub_container {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    align-content: center;
    padding: 50px;
}

.sub_container_light {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.569);
    border-radius: 20px;
    align-content: center;
    padding: 10px;
    padding-top: 50px;
}


.img_circle {
    max-height: 80vh;
    display: block;
    height: auto;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 100px;
}

.fixtures {
    width: 100%;
    /* display: fixed; */
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* background-image: url(../images/fixtures.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: move;
    background-position: center; */
}

.img_fixtures {
    max-width: 100%;
    display: block;
    height: auto;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 100px;
}

.img_circle {
    max-width: 80%;
    display: block;
    height: auto;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 100px;
}

.logo {
    width: 200px;
    height: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
}

.logo_container {
    align-content: center;
    justify-content: center;
    margin: 10px;
    display: flex;
    padding: 3em;
}

.logo_container_sponsors {
    align-content: center;
    justify-content: center;
    /* margin: 2px; */
    display: flex;
    padding: 1em;
}

.logo_date_location {
    height: 8em;
    display: block;
    margin: auto;
    border-radius: 10%;
}

.logo_runitstraight {
    height: 2rem;
    display: flex;
}

.logo_runitstraight_body {
    height: 5em;
    display: block;
    margin: auto;
}

.logo_skyblues {
    height: 16em;
    display: block;
    margin: auto;
    border-radius: 10%;
}

.logo_sponsors {
    width: 100%;
    display: block;
    margin: auto;
}

.logo_donate {
    height: 5em;
    display: block;
    margin: auto;
    border-radius: 50%;
}

.logo_facebook {
    height: 5em;
    background-color: #efe9e9;
    border-radius: 10%;
}

@media (orientation: portrait) {
    body {
        margin: 0;
        padding: 0;
        height: 100vh;
        overflow-x: hidden;
    }

    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-image: url(../images/background001.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1;
        /* Ensures it stays in the background */
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav li:first-child {
        margin-right: 0;
    }

    nav ul li a {
        padding: 10px 0;
    }

    .container {
        padding: 10px;
        min-height: auto;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .sub_container {
        width: 100%;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        align-content: center;
        padding: 10px;
    }
}