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

html {
    scroll-behavior: smooth;
}

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

nav ul {
    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;
    font-family: "Titillium Web", Arial, Helvetica, sans-serif;
    font-weight: 500;
}

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

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;

}



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

.container {
    width: 100%;
    align-content: center;
    min-height: 100vh;
    padding: 50px;

    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}


#home {
    background-image: url(../images/background001.jpg);
}

#about {
    background-image: url(../images/background002.jpg);
}

#tournaments {
    background-image: url(../images/background005.jpg);
}

#donate {
    background-image: url(../images/background008.jpg);
}

#contact {
    background-image: url(../images/background003.jpg);
}

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

.logo {
    min-height: 2em;
    max-height: 15em;
    border-radius: 50%;
}

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

.logo_runitstraight_headline {
    max-width: 100%;
    min-height: 2rem;
    display: flex;
    margin: auto;
}

.link_tournaments {

    color: #efe9e9;

    /* a:link {
        color: rgb(255, 255, 255);
        background-color: transparent;
        text-decoration: underline;
    }

    a:visited {
        color: rgb(255, 255, 255);
        background-color: transparent;
        text-decoration: underline;
    }

    a:hover {
        color: rgb(255, 255, 255);
        background-color: transparent;
        text-decoration: underline;
    }

    a:active {
        color: rgb(255, 255, 255);
        background-color: transparent;
        text-decoration: underline;
    } */
}




@media (max-width: 768px) {


    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 */
    }



    #home {
        background-image: none;
    }

    #about {
        background-image: none;
    }

    #tournaments {
        background-image: none;
    }

    #donate {
        background-image: none;
    }

    #contact {
        background-image: none;
    }

    nav ul {
        display: none;
    }

    .container {
        display: grid;
        place-items: center;
        min-height: 100vh;
        padding: 10px;
    }

    h2 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

}