/* universal rules, applies to all,
border-box makes it so padding and border are included
in the content size */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* images,
makes images responsive */
img {
    max-width: 100%;
    height: auto;
}

/* paragraphs, gives a font to paragraphs */
p {
    font-family: "Jersey 20", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* nav, moves navigation to right,
hides content if it doesn't fit */
nav {
    margin-top: 10px;
    padding: 5px;
    float: right;
    overflow: hidden;
}

/* The sidepanel menu, w3schools */
.sidepanel {
    height: 400px;
    /* Specify a height */
    width: 0;
    /* 0 width - change this with JavaScript */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Stay on top */
    top: 0;
    right: 0;
    background-color: #f1e8c4;
    overflow-x: hidden;
    /* Disable horizontal scroll */
    padding-top: 60px;
    /* Place content 60px from the top */
    transition: 0.5s;
    /* 0.5 second transition effect to slide in the sidepanel */
}

/* The sidepanel links */
.sidepanel a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 1.5em;
    color: #171616;
    display: block;
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidepanel a:hover {
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidepanel .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 2em;
    margin-left: 50px;
}

/* Style the button that is used to open the sidepanel */
.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
}

.openbtn:hover {
    background-color: #444;
}

/* navigation links are done as a list,
this makes them float on the left side of
the navigation box, give them a font */
li {
    display: block;
    float: left;
    text-decoration: none;
    padding: 10px;
    text-align: center;
    font-family: "Jersey 20", sans-serif;
    font-weight: 400;
    font-style: normal;
}

li a {
    text-decoration: none;
    color: #face3d;
}

/* when hovered the links colors change */
li a:hover {
    background-color: #f1c73b;
    color: antiquewhite;
}

/* when a link is active (pressed) it's colors change */
li a:active {
    background-color: #c28b25;
    color: antiquewhite;
}

/* logo, sets position in relation to the header (header has position: relative)
makes logo stay on top with the z-index */
#logo {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 25px;
    left: 25px;
    z-index: 100;
}

/* header, puts 3 gradients on the header to make the effect
of the background image fading in and out, middle gradient has 0 opacity,
makes the background image centered and not repeated */
header {
    background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url("pics/game_ss_2.png");
    background-color: #cccccc;
    height: 800px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;

}

/* div over header, position relative to header, centered from top and left,
kept centered when changing screensize by transform */
.header_wrapper {
    width: 350px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header_wrapper .title {
    height: 200px;
    width: auto;
    margin-bottom: 60px;
}

/* display set as flex makes the "children" of the tag shown 
beside each other instead of in a row, flex-start to have
the element on the left */
.header_wrapper .img_left {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
    margin-left: 50px;
}

#header_title {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
    padding-left: 15px;
    font-size: 2em;
    color: #171616;
    
}

.light_duty_icon {
    width: 80px;
    height: 80px;
}

#header_motto {
    margin-top: 30px;
    text-align: center;
}

#download {
    margin-top: 30px;
    height: auto;
    width: auto;
    padding: 5px;
    font-family: "Jersey 10", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5em;
    background-color: #f1c73b;
    border:5px solid #c28b25;
}
#download:hover{
    background-color: #f1e8c4;
}
#download:active{
    background-color: #f1e8c4;
}

/* content */
h3 {
    margin-top: 50px;
    margin-bottom: 20px;
    font-family: "Jersey 10", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5em;
}

.text_right {
    margin-top: 40px;
}

.content_wrapper {
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 20px;
}

/* aligned to center, margins on auto to center the element */
.about_game {
    width: 300px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 10px;
}

.game_ss {
    padding: 10px;
}

/* about the team */
#team_wrapper {
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
}

.team {
    margin-top: 40px;
}

.text_bottom {
    padding-bottom: 40px;
}

.img_top {
    margin-bottom: 20px;
}

h4 {
    margin-bottom: 5px;
    font-family: "Jersey 10", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5em;
}

/* collaboration */
#collabs {
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
}

.collab_logo img {
    height: 150px;
    width: auto;
}

/* footer */
.collab_wrapper {
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
}

.collab_logo {
    margin-top: 40px; 
    padding: 10px;
    margin-bottom: 40px;
    text-align: center;
}

#copyright {
    text-align: center;
}

#law_stuff{
    text-align: center;
    padding: 10px;
    font-family: "Jersey 20", sans-serif;
    font-weight: 400;
    font-style: normal;
}

#law_stuff a{
    padding: 10px;
}

/* responsive, when the screen size is minimum of 800px these
rules are set */

@media screen and (min-width: 800px) {
    #logo {
        width: 100px;
        height: 100px;
    }

    iframe {
        width: 560px;
        height: 315px;
    }

    .game_ss {
        height: 315px;
        width: auto;
    }

    #team_wrapper {
        display: flex;
        justify-content: space-evenly;
    }

    .team {
        padding: 10px;
    }

    .img_top {
        height: auto;
    }

    #collab_wrapper {
        display: flex;
        justify-content: space-evenly;
    }

}