*{
    margin: 0;
    padding: 0;
}

/* defaults */


body{
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
    font-size: 19px;
}

nav{
    width: 100%;
    height: 100%;
    background-color: rgb(0, 174, 255);
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #000000c7;
    position: fixed;
    height: 6%;
    overflow: auto;
    z-index: 10;
}


nav ul li{
    display: inline-block;
    color:rgb(255, 255, 255);
    font-size: 160%;
    width: 15%;
    height: 90%;
    text-align: center;
    transition: 0.3s;
    transform: skew(25deg);
}
nav ul li a{
    transform: skew(-25deg);
    padding-top: 5px;
}

nav ul li:hover{
    color: #001aff;
    background-color: #061170;
    margin-left: 10px;
}

nav ul li:active{
    background-color: #777;
    transition: 0.2s;
}

nav ul li a, a:active a:visited{
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    color: #ffffff;
}

h1{
    font-weight: 400;
    font-size: 210%;
}

p{
    padding: 20px 5vw
}

h2{
    font-size: 200%;
    padding-bottom: 10px;
}

main{
    background-image: linear-gradient(25deg, #131822, #17213b, #182f62, #173f85);
    min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 80px;

}

main > article{
    width: 100%;
}




/* index */

#logo{
    animation-name: logoanim;
    animation-duration: 3s;
    animation-timing-function: linear;
}

.topheader{
    display: flex;
    flex: 1;
    background-size: cover;
    position: relative;
    background-color: #000000;
    
}

#tf2trailer{
    z-index: .8;
    display: flex;
    width: 100%;

    left: 0;
    right: 0;
}

#indexh1{
    color: white;
    position: absolute;
    top:100%;
    left:50%;
    transform: translateX(-50%);
}

h1 > img{
    width: 500px;

}

.idksection{
    text-align: center;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 100px;
    margin-bottom: 50px;
    padding: 0px 2vw;
    background-color: #00000091;
    justify-items: center;
    align-items: center;
}

.idksection > img{
    transform: skew(0deg);
}

.idksection > article{
    width: 40vw;
}

#animlogo{
    padding-left: 25vw;
    width: 100%;
}

#gamedetails{
    display: grid;
    background: url(../img/frontier.webp) center;
    grid-template-columns: 1fr;
    justify-items: stretch;
    padding: 0px 30vw;
    position: relative;
    


}

#gamedetails > article > h3{
    text-shadow: 0 -1px 4px #FFF, 0 -2px 10px rgb(0, 251, 255), 0 -10px 20px #007bff, 0 -18px 40px rgb(0, 51, 255);
    display: grid;
    padding: 20px 0px;
    font-size: xx-large;
}


.doublegrid{
    grid-template-columns: 1fr 1fr;
}

.bordered{
    border-bottom: whitesmoke;
    border-right: rgb(53, 53, 192);
    border-top: transparent;
    border-left: transparent;
    border-style: solid;
    box-shadow: 5px 4px #000000;
    transition: .3s;
}

.bordered:hover{
    transform: scale(1.2);
    z-index: 7;
}


.actionshot{
    width: 30vw;
    display: grid;
    margin: 30px 5vw;
    transform: skew(25deg);
}

.roweven{
    background-color: #00000041;
    transform: skew(-25deg);
    overflow: hidden;
    padding: 0;
}

.roweven > p, .roweven > h3{
    transform: skew(25deg);
    padding: 20px 70px;
}


.rowuneven{
    background-color: #00000041;
    transform: skew(25deg);
}

.rowuneven > p,  .rowuneven > h2{
    transform: skew(-25deg);
}

.wideshot{
    width: 70vw;
}




/* Northstar */

#northstarlogo{
    top: 0px;
    height: 300px;
    width: auto;
}

.northstar{
    height: 50vh;
    background: url(../img/northstarbg.png) top center no-repeat;
}

.topheader2{
    align-items: center;
    justify-content: center;
    padding-left: 50px;
    background-color: #000000;
}

.topheader2 > img{
    padding-left: 32vw;
}

.northstarbg{
    width: 100vw;
}

#northstarh1{
    color: white;
    position: absolute;
    top:15%;
    left:50%;
    transform: translateX(-50%);
}

.overlay{
    z-index: .9;
    position:absolute;
    width: 100%;
    background-color: black;
    opacity: 40%;
}



/* Content */


.notidksection{
    display: grid;
    grid-template-columns: 1fr;
}



.dropdownsection{
    grid-template-columns: 1fr 1fr 1fr;
    margin: 5px 0px;
    display: none;
    width: 100%;
    transition: .5s;
}

.itemcard{
    margin-left: 25px;
    transition: .5s;
    color: #000000;
    width: 90%;
    background-color: #ffffff;
    height: 100%;
    margin-right: 0px;
    background-image: url(../img/weaponbg.jpg);
}

.itemcard > h2{
    color: white;
}

.itemcard:hover{
    cursor:pointer;
    transform: scale(1.01);
    opacity: 100%;
}

.right{
    transform: scale(0.9);
    opacity: 50%;
}

.left{
    transform: scale(0.9);
    opacity: 50%;
}

.unfocused{
    transform: scale(0.9);
    opacity: 50%;
}


.cardimg{
    width: 100%;
    height: 100%;

}

.weaponimg{
    margin-top: 50px;
    width: 90%;

    
}

.out{
    display: none;
}

.dropdownsection.active{
    display: grid;
}

.card:hover{
    cursor: pointer;
    transform: scale(1.01);
}

.card > header{
    color: rgb(0, 0, 0);
    height: 20%;
    padding-right: 20px;
    text-align: right;
    background-color: rgba(255, 255, 255, 0.548);
}

.card > section{
    height: 80%;
    padding-left: 0;
    padding-top: 0;
}

.card{
    margin: 0 5vw;
    margin-top: 20px;
    flex: auto;
    height: 350px;
    background-color: #ffffff;
    box-shadow: 0 5px 5px 0 black;
    background-size: cover;
    display: inline-block;
    flex-direction: column-reverse;
}

footer{
     display: grid;
     grid-template-columns:1fr 1fr;
     padding: 10px;
     grid-column-gap: 80px;
     background-color: #252525;
}

 footer > h2{
    grid-column-start: 2;
    font-weight: 400;
    font-size: 110%;
}

footer > a{
    color: #000000;
}

#weaponscard{
    background-image: url(../img/featuredweaponsbg.png);
    max-width: 1500px;
    margin-bottom: 20px;
    
}



/* Store */

#checkout{
    width: 200px;
    margin: 0px 10px;
    height: 60px;
    margin: 10px 10px;
}

#checkoutsection{
    display: none;
    grid-template-columns: 1fr 1fr;
    justify-self: center;
    background-color: white;
    width: 80vw;
    height: 60vh;
    position: fixed;
    z-index: 11;
    border-radius: 20px;
    border-color: black;
    border-style: solid;
    align-items: center;
}


#checkoutoverlay{
    position: fixed;
    z-index: 10;
    width: 100vw;
    height: 100vh;
    background-color: #0000008d;
    display: none;
}

form{
    margin: 10px 30px;
    width: 30%;
}

.store{
    background-image: url(../img/weaponbg.jpg);
    justify-content: center;
}

#storelogo{
    margin-top: 60px;
}

.filterbutton.active{
    background-color: rgba(255, 255, 255, 0.338);
}

#filters{
    padding: 30px 5vw;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.filterbutton{
    width: 200px;
    height: 60px;

    margin: 10px 10px;
    border-style: solid;
    color: white;
    border-color: white;
    border-radius: 3px;
    background: transparent;
    font-size: large;


}

.filterbutton:hover{
    cursor: pointer;
}

#storeitems{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0px 17vw;
    justify-items: center;

}

.shopcard{
    background-color: white;
    display: flex;
    flex: auto;
    width: 20vw;
    height: 300px;
    margin: 30px 30px;
    border-radius: 2px;
    box-shadow: 0 5px 5px 0 black;
    justify-content: flex-end;
    transition: .2s;
    max-width: 400px;
}

.shopcard > p{
    align-self: flex-start;
    color: #000000;
    z-index: 1;
    padding:0;
    height: fit-content;
    width: 100%;
    border-style: solid;
    border-radius: 3px;
    border-top: transparent;
    border-left: transparent;
    background-color: #ffffff;
}

.shopcard > img{
    width: inherit;
    height: inherit;
    position: absolute;
    max-width: 400px;
}

.shopcard > button{
    align-self: flex-end;
    z-index: 1;
    background-color: white;
    width: 7vw;
    height: 15%;
    border-radius: 5px;
    border-right: transparent;
    border-bottom: transparent;
    transition: .2s;
}

.shopcard > button:hover{
    cursor: pointer;
    background-color: rgba(0, 140, 255, 0.534);
}

.shopcard:hover{
    transform: scale(1.05);
}
/* Scrollbar */

body::-webkit-scrollbar{
     width: 10px;
}

body::-webkit-scrollbar-track {
    background: rgb(0, 0, 0);
}

body::-webkit-scrollbar-thumb {
    background-color: rgb(255, 255, 255);
    border-radius: 20px;
    border: 3px solid rgb(0, 0, 0);
}

.sourcelinks{
    padding-top: 10vh;
}

@media (max-width: 1250px){

    .doublegrid{
        grid-template-columns: 1fr;
    }

    #storeitems{
        grid-template-columns: 1fr 1fr;
        
    }

    .shopcard{
        width: 30vw;
    }

    .idksection > article{
        width: 100%;
    }

    .rowuneven, .roweven{
        width: 60%;
        transform: skew(0deg);
    }

    .roweven > p, .roweven > h3, .rowuneven > p, .rowuneven > h2{
        transform: skew(0);
    }
}

 @media (max-width: 1150px){

 }

 @media (max-width: 1000px){
     #storeitems{
         grid-template-columns: 1fr;
         
     }

     .shopcard{
        width: 60vw;
    }

   
 }

 @media(max-width:900px){
    .dropdownsection{
        grid-template-columns: 1fr;
    }

    .itemcard{
        width: 75vw;
        margin-left: 12.5vw;
    }

    nav{
        font-size: medium;
    }

    nav ul li{
        width: 20vw;
    }
}

 @media (max-width: 650px){

    h2{
        font-size: xx-large;
    }


    h1 > img{
        width: 350px;
    }

    .topheader{
        height: 90vw;
    }

    nav{
        font-size: small;
    }

    .rowuneven > p{
        padding: 0px 0px;
    }

    .roweven > p, .roweven > h3 {
        padding: 10px 0px;
    }

    #checkoutsection{
        grid-template-columns: 1fr;

    }

 }

 @media(max-width: 500px){
     .filterbutton, #checkout{
         width: 35vw;
     }
 }

 @media (max-width: 1500px){
    #filters{
        grid-template-columns: 1fr 1fr;
        justify-items: center;
    }
 }

 @media (min-width: 2500px){

    #weaponscard{
        margin: 10px 20vw
    }
 }

@keyframes logoanim{
    10%{height: 10px;}
    100%{height: 91px;}
}
