﻿@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300&display=swap');

@font-face {
    font-family: 'cooper_blackregular';
    src: url('Fonts/coopbl-webfont.eot');
    src: url('Fonts/coopbl-webfont.eot?#iefix') format('embedded-opentype'), url('Fonts/coopbl-webfont.woff') format('woff'), url('Fonts/coopbl-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
/*
*********************************
Website Name: Personal Website
Website Author: Cole Dennie
Copyright: 2023 - All Rights Reserved

***********************************
=================
Table Of Contents
=================
1. Header Information
2. Nav Information
3. Body Information

***********************************/



/*** 
Header Information
____________________________________________*/
header {
    background: linear-gradient(90deg, rgba(255,66,42,1) 0%, rgba(255,180,127,1) 100%);
    height: 120px;
}

    header > img {
        margin-right: auto;
        margin-left: auto;
        display: block;
        height: 120px;
    }


/*** 
Nav Information
____________________________________________*/

.navBar {
    background-color: black;
}

li {
    display: inline;
}

a {
    padding-left: 20px;
    padding-right: 50px;
    font-family: 'Oswald', sans-serif;
    font-size: 50px;
    font-style: italic;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

    a:hover {
        color: rgb(255, 207, 200);
        font-weight: bolder;
        letter-spacing: 0.1em;
    }

/*** 
Body Information
____________________________________________*/

body {
    background: linear-gradient(270deg, rgba(214,152,104,1) 0%, rgba(157,72,44,1) 100%);
    padding-bottom: 160px;
}


/* Style for the navigation section */
.navSection {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 7%;
}

.navList {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navCategory {
    cursor: pointer;
    margin: 0 10px;
    padding: 8px 15px;
    border-radius: 5px;
    background-color: #E58638;
    font-family: 'Oswald', sans-serif;
    font-size: 200%;
    color: black;
    transition: 0.2s;
}

    .navCategory:hover {
        transform: scaleY(1.4);
        background-color: #ffd6b9;
        font-size: 43px;
        font-weight: bolder;
        letter-spacing: 0.2em;
    }



.active {
    color: white;
    font-weight: bold;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 1), 1px -1px 0 rgba(0, 0, 0, 1), -1px 1px 0 rgba(0, 0, 0, 1), 1px 1px 0 rgba(0, 0, 0, 1);
}


/* Gallery styles */
.imageGallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-gap: 10px;
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

    .imageGallery img {
        width: 100%;
        height: auto;
        transition: 0.1s ease-in-out;
        z-index: 1;
    }





/* Container for each game image and its description */
.imageContainer {
    display: flex;
    align-items: center;
}

    /* Style for the image */
    .imageContainer img {
        width: 200px;
        height: auto;
        margin-right: 20px;
        transition: 0.1s ease-in-out;
    }

        .gameContainer img:hover {
            transform: scale(1.1) rotate(-5deg);
        }


.gameContainer {
    background-image: url("Images/Portfolio/BG_Games.png");
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}
/* Text container styling */
.textContainer {
    display: flex;
    flex-direction: column;
    max-width: 200px;
}

    .textContainer h1 {
        font-size: 1.5em;
        margin: 0.5em 0;
        color: #ffd6b9;
        font-family: 'cooper_blackregular';
        font-weight: bold;
    }

    .textContainer p {
        font-family: 'Oswald', sans-serif;
        font-size: 1em;
        margin: 0.5em 0;
        color: #fff;
    }

.playButton {
    margin-top: 10px;
    padding: 10px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #000; /* Adjust color as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .playButton:hover {
        color: #007BFF; /* Change color on hover */
    }




/* Play button styling */
.playButton {
    margin-top: 10px;
    padding: 8px 15px;
    cursor: pointer;
    background-color: #555;
    color: #fff;
    border: none;
    border-radius: 5px;
    width: 100px;
    transition: background-color 0.3s ease;
}

    .playButton i {
        font-size: 20px; /* Make the icon smaller */
        color: #fff; /* White icon color */
    }

    .playButton:hover {
        background-color: #555; /* Change background on hover */
    }






.imageContainer {
    animation: fadeInScale 0.5s ease-in-out forwards;
    opacity: 0;
    transform: scale(0);
}

.galleryContainer {
    animation: fadeInScale 0.5s ease-in-out forwards;
    opacity: 0;
    transform: scale(0);
}

/*VIDEO PLAYER*/

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}


    .modal.show {
        opacity: 1;
        animation: fadeIn 0.3s ease-out forwards;
    }

    .modal video {
        max-width: 90%;
        max-height: 90%;
        transform: scale(1);
    }

    .modal.show video {
        animation: zoomIn 0.3s ease-out forwards;
    }

.backButton {
    background-image: url("Images/ICO_Back.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #E58638;
    border: none;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
    font-size: 20px;
    color: white;
}

    /* Hover effect */
    .backButton:hover {
        transform: scale(1.4);
        background-color: #ffd6b9;
    }

/*** 
Animations
____________________________________________*/
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
/* Fade-in animation */
@keyframes zoomIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}



@media (max-width: 1140px) {

    .imageGallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: center;
        padding: 0 10px;
    }

    .playButton {
        width: 120px;
        padding: 10px 20px;
        font-size: 1.2em;
    }

        .playButton i {
            font-size: 24px;
        }
}

@media (max-width: 980px) {
    .gameContainer {
        padding: 20px;
        height: auto;
    }

    .imageContainer img {
        width: 250px;
    }

    .textContainer h1 {
        font-size: 2em;
    }
}
