/*
font-family: 'Oswald', sans-serif;
font-family: 'Raleway', sans-serif;
font-family: 'Satisfy', cursive;
font-family: 'Acme', sans-serif;
*/

*{
    
    margin: 0;
    padding 0;
    box-sizing: border-box;
    
}

html{
    font-family: 'Satisfy', cursive;
    font-size: 16px;
    color: whitesmoke;
    
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Acme', sans-serif;
}

a {
    color: white;
}
ul {
    list-style: none;
}
h3.title{
    color: white;
    text-transform: capitalize;
    font-size: 32px;
    font-style: italic;
    margin-bottom: 35px;
    margin-top: 35px;
    text-align: center;
}
hr{
    width: 250px;
    height: 2px;
    background-color: white;
    border: 0;
    margin: 40px auto;
}

/* Main Page Header Navigation */ 

header{
    background-color: rgba(0,0,0,.7);
    position:fixed;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    color: white;
    padding: 35px 100px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
header a{
    text-decoration: none;
    color: white;
    opacity: .6;
    cursor: pointer;
}
header a:hover{
    opacity: 1;
}
header nav ul{
    font-size: 14px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    font-weight: bold;
}
header nav li{
    margin: 0 10px;
}
header nav li:first-child{
    margin-left: 0;
}
header nav li:last-child{
    margin-right: 0;
}
@media(max-width: 1000px){
    header{
        text-align: center;
        flex-direction:column;
        padding: 20px 50px;
    }
    header img{
        width: 75%;
    }
    header nav{
        justify-content: space-around;
    }
    header h2{
        margin-bottom: 15px;
    }
}
/* Main Page Button and Background Image */ 
#default{
    background: black;
    color: white;
    text-align: center;
    /*
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    */
    background-image: url(./img/blackbackground.png);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;         
}
#games h3{
    margin-top: 200px;
}
#games h1{
    font-size: 60px;
    margin-bottom: 15px;
}
#games ul.grid{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}
#games p{
    margin-bottom: 40px;
}
#games ul.grid li{
    flex-basis: 30%;
    padding: 0 20px;
    margin-bottom:  40px;
}
#game_dev a.btn{
    color: white;
    background-color: #000;
    text-decoration:none;
    padding: 4px 46px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    opacity: 1;
    border: 2px solid white;
    align-content: center;
}
#game_dev a.btn:hover{
    background-color: #2196f3;
}
@media(max-width: 800px){
    #games{
        min-height: 600px;
    }
    #games h1{
        font-size: 36px;
    }
    #games h3{
        font-size: 18px;
    }
    #game_dev a.btn{
        padding: 15px 40px;
    }
}

/* App Section of Main Page */ 

#apps{
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 60px;
}
#apps ul.grid{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}
#apps p{
    margin-bottom: 20px;
}
#apps ul.grid li{
    flex-basis: 30%;
    padding: 0 20px;
    margin-bottom:  40px;    
}
.android{
    font-size: 40px;
    color: greenyellow;
    margin-bottom: 20px;
}
.apple{
    font-size: 40px;
    color: white;
    margin-bottom: 20px;
}
.windows{
    font-size: 40px;
    color: deepskyblue;
    margin-bottom: 20px;
}
#apps ul.grid li h4{
    color: darkseagreen;
    font-size: 20px;
    margin-bottom: 10px;
}
#apps ul.grid li h5{
    color: floralwhite;
    font-size: 20px;
    margin-bottom: 10px;
}
#apps ul.grid li h6{
    color: skyblue;
    font-size: 20px;
    margin-bottom: 10px;
}
#apps ul.grid li p{
    text-align: center;
    padding-bottom: 8px;
    margin: 0;
}
#app_dev a.btn{
    color: white;
    background-color: #000;
    text-decoration:none;
    padding: 4px 46px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    opacity: 1;
    border: 2px solid white;
    align-content: center;
}
#app_dev a.btn:hover{
    background-color: #2196f3;
}
@media(max-width: 1000px){
    #apps{
        padding: 0 40px;
    }
    #apps ul.grid li{
        flex-basis: 70%;
        margin-bottom: 65px;
    }
    #apps ul.grid li p{
        text-align: center;
    }
    #app_dev a.btn{
        padding: 4px 46px;
    }
}

/* Gallery Section of Main Page */ 

#gallery{
    background-color: black;
    margin-top: 60px;
}
#gallery .grid li{
    padding: 20px;
    height: 350px;
    border-radius: 3px;
    background-clip: content-box;
    background-size: cover;
    background-position: center;
    background-color: black;
}
#gallery ul.grid{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#gallery .grid li.small{
    flex-basis:  40%;
}
#gallery .grid li.large{
    flex-basis:  60%;
}
#gallery p{
    max-width: 800px;
    text-align: center;
    margin: 0 auto 35px;
    padding: 0 20px;
    line-height: 2;
}
@media(max-width: 1000px){
    #gallery .grid li.small,
    #gallery .grid li.large{
        flex-basis:  100%;
    }
}

/* About Section of Main Page */ 

#about{
    padding: 10px;
    background-color: dimgray;
    margin-bottom: 20px;
}
#about h1, #about h3{
    font-size: 38px;
    text-shadow: 2px 2px #000;
    margin-bottom: 40px;
}
#bios{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.about-bio{
    width: 65%;
    max-width: 800px;
    line-height: 2;
    margin-left: 20px;
    margin-top: 20px;
    line-height: 1.5;
    text-align: left;
}
@media(max-width: 600px){
    #about, #bios{
        flex-direction: column;
    }
}

/* Main Page Footer Style */ 

footer {
    background-color: #131622;
    color: white;
    text-align: center;
    background: linear-gradient(to bottom, #284e7a, #000 100%);
    padding: 60px 0px;
                
    display: flex;
    flex-direction:column;
    align-items: center;
}
            
footer p{
    text-transform: uppercase;
    font-size: 14px;
    color: rgba(255,255,255,.6);
    margin-bottom: 10px;
}
            
footer ul{
    margin-bottom: 25px;
    display: flex;
    flex-direction: row;
    margin-right: 39px;
}
            
footer ul li{
    margin: 0 8px;
}
            
footer ul li a{
    font-size: 36px;
    cursor: pointer;
}
            
@media(max-width:800px){
    #games h1{
        font-size: 36px;
    }
    #games h1{
        font-size: 18px;
    }
    #contact-form{
        display: flex;
    }
}