/*
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;
    width: 100%;
    overflow-x: hidden;
}

body{
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

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: 1000;
    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;
    }
    #default{
        padding-top: 200px;
    }
}
/* 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;
    background-position: center center;
    min-height: 100vh;
    padding-top: 120px;
    width: 100%;
    margin: 0;
}
#games{
    width: 100%;
    background-color: black;
}
#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;
    padding: 0 20px;
}
#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: 0;
    width: 100%;
    padding: 40px 0;
}
#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;
    width: 100%;
}
#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;
    width: 100%;
    margin: 0;
                
    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;
    }
}

/* YouTube Playlist Section */

.youtube-section {
    padding: 80px 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    margin: 40px 0;
}

.youtube-section h2.title {
    color: white;
    font-size: 42px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.youtube-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(33, 150, 243, 0.4);
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.youtube-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@media(max-width: 1000px) {
    .youtube-section h2.title {
        font-size: 32px;
    }
    
    .youtube-description {
        font-size: 16px;
        padding: 0 20px;
    }
}

@media(max-width: 600px) {
    .youtube-section {
        padding: 60px 10px;
    }
    
    .youtube-section h2.title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .youtube-description {
        font-size: 14px;
    }
}

/* 3D Rotating Carousel Sections */

.carousel-section {
    padding: 80px 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    margin: 40px 0;
}

.carousel-section h2.title {
    color: white;
    font-size: 42px;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.carousel-container {
    perspective: 1500px;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 250px;
    height: 350px;
    transform-style: preserve-3d;
    transition: transform 0.05s linear;
}

.carousel-item {
    position: absolute;
    width: 250px;
    height: 350px;
    left: 0;
    top: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.carousel-item:hover {
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.6);
    transform: scale(1.05);
}

/* Responsive adjustments */
@media(max-width: 1000px) {
    .carousel-container {
        height: 350px;
        perspective: 1200px;
    }
    
    .carousel {
        width: 200px;
        height: 280px;
    }
    
    .carousel-item {
        width: 200px;
        height: 280px;
    }
    
    .carousel-section h2.title {
        font-size: 32px;
    }
}

@media(max-width: 600px) {
    .carousel-container {
        height: 300px;
        perspective: 1000px;
    }
    
    .carousel {
        width: 150px;
        height: 220px;
    }
    
    .carousel-item {
        width: 150px;
        height: 220px;
    }
    
    .carousel-section {
        padding: 60px 10px;
    }
    
    .carousel-section h2.title {
        font-size: 28px;
    }
}