﻿﻿@font-face {
    font-family: 'Oswald-Regular';
    src: url('../fonts/Oswald-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Oswald-ExtraLight';
    src: url('../fonts/Oswald-ExtraLight.ttf') format('truetype');
}

@font-face {
    font-family: 'Odin Rounded - Light';
    src: url('../fonts/Odin Rounded - Light.otf') format('opentype');
}

body {
    background-color: black;
    padding-top: 11% !important;
}

.dive_in {
    display: block;
    width: 100%;
    font-size: 45px;
    text-align: center;
    background: #A4161A;
    color: white;
    margin-top: 2%;
}

    .dive_in:hover {
        color: white;
    }

.GameCard {
    width: 100%;
    width: 100vw;
    max-width: 100%;
    height: auto;
    padding: 2%;
    padding-bottom: 5%;
    font-family: Oswald-Regular;
    border-bottom: 5px solid #161A1D;
    border-top: 5px solid #161A1D;
    background-image: url('../imgs/Projects-Page-Imgs/GameCards BG.jpg');
    background-repeat: repeat;
    background-size: contain;
}

.CardInfo {
    height: auto;
    background-color: rgba(0,0,0,0.3);
    color: #d4d4d4;
    padding: 5%;
    text-align: -webkit-auto;
}

    .CardInfo h2 {
        color: yellow;
        font-family: 'Odin Rounded - Light';
        font-size: 3rem;
    }

    .CardInfo h3 {
        font-family: Oswald-ExtraLight;
        font-size: 2rem;
    }

    .CardInfo p {
        font-family: Oswald-ExtraLight;
        font-size: 2rem;
    }

hr {
    border: 1px solid white;
}

#TimeLine {
    display: none;
}

.BTN {
    width: 100%;
    color: #A4161A;
    font-family: 'Odin Rounded - Light';
    font-size: 3rem;
    text-align: center;
    text-decoration: none;
}

    .BTN:hover {
        color: #32383e;
        text-decoration: none;
    }

.Toggler-btns {
    width: 90%;
    max-width: 90%;
    height: auto;
    margin: auto;
}

.BTNS {
    background-color: white;
    border-radius: 45px;
}

.videoContainer {
    width: 50%;
    width: 50vw;
    max-width: 50%;
    height: auto;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    height: auto;
}

    .videoWrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

#TimeLine img {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width:1024px) {

    /*custom body padding top so that navbar doesn't block first element*/
    body {
        padding-top: 19% !important;
    }

    .videoContainer {
        width: 100%;
        width: 100vw;
        max-width: 100%;
        height: auto;
    }
}

@media screen and (max-width:490px) {
    body {
        padding-top: 25% !important;
    }

    .videoContainer {
        width: 100%;
        width: 100vw;
        max-width: 100%;
        height: auto;
    }

    .CardInfo p {
        font-family: Oswald-ExtraLight;
        font-size: 1rem;
    }

    .BTN {
        width: 100%;
        color: #A4161A;
        font-family: 'Odin Rounded - Light';
        font-size: 2rem;
        text-align: center;
    }
}
