﻿﻿@font-face {
    font-family: 'Oswald-ExtraLight';
    src: url('../fonts/Oswald-ExtraLight.ttf') format('truetype');
}

@font-face {
    font-family: 'Oswald-Regular';
    src: url('../fonts/Oswald-Regular.ttf') format('truetype');
}

/*custom body padding top so that navbar doesn't block first element*/
body {
    padding-top: 8% !important;
}

.GameHermits-Description-section {
    text-align: center;
    background-image: url('../imgs/Home-Page-Imgs/Seamless Red Background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 5%;
}

    .GameHermits-Description-section h1 {
        color: yellow;
        font-family: Oswald-ExtraLight;
        font-size: 2rem;
    }

    .GameHermits-Description-section p {
        color: white;
        font-family: Oswald-ExtraLight;
        font-size: 2rem;
    }

.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%;
    }


.Why-GameHermits-Section {
    background-image: url('../imgs/Home-Page-Imgs/Why Game Hermits BG.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 5%;
    max-width: 100%;
}

    .Why-GameHermits-Section .Why-Section-Element {
        color: white;
        text-align: center;
        margin: auto;
        width: 100%;
        height: auto;
        transition: .5s ease;
    }

        .Why-GameHermits-Section .Why-Section-Element img {
            width: 80%;
            max-width: 80%;
            height: auto;
        }

        .Why-GameHermits-Section .Why-Section-Element h3 {
            font-family: Oswald-ExtraLight;
            font-size: 1.5rem;
        }


.What-Do-We-Offer-Section {
    width: 100%;
    max-width: 100%;
    height: auto;
    position: relative;
    background-color: white;
}

    .What-Do-We-Offer-Section .Offer-Element {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .What-Do-We-Offer-Section .Offer-Description {
        text-align: center;
        justify-content: center;
        position: relative;
    }

        .What-Do-We-Offer-Section .Offer-Description div {
            position: absolute;
            margin: auto;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 30%;
        }

            .What-Do-We-Offer-Section .Offer-Description div h1 {
                font-family: Oswald-Regular;
                text-decoration: dashed;
                font-size: 3rem;
            }

            .What-Do-We-Offer-Section .Offer-Description div p {
                font-family: Oswald-ExtraLight;
                font-size: 2rem;
            }

.Featured-Projects {
    width: 100%;
    max-width: 100%;
    height: auto;
    position: relative;
}

    .Featured-Projects img {
        display: block;
        width: 100%;
        height: auto;
    }

    .Featured-Projects .overlay {
        position: absolute;
        bottom: 100%;
        left: 0;
        right: 0;
        background-color: rgb(129 19 19 / 0.80);
        overflow: hidden;
        width: 100%;
        height: 0;
        transition: .5s ease;
    }

    .Featured-Projects:hover .overlay {
        bottom: 0;
        height: 100%;
    }

    .Featured-Projects a {
        color: white;
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        text-align: center;
        text-decoration: none;
        font-size: 200%;
    }

        .Featured-Projects a:hover {
            color: white;
            text-decoration: none;
            cursor: pointer;
        }


/*Mobile devices*/
@media screen and (max-width: 480px) {

    /*custom body padding top so that navbar doesn't block first element*/
    body {
        padding-top: 19% !important;
    }

    .What-Do-We-Offer-Section .Offer-Description div {
        position: relative;
    }

        .What-Do-We-Offer-Section .Offer-Description div h1 {
            font-family: Oswald-Regular;
            text-decoration: dashed;
            font-size: 2rem;
        }

        .What-Do-We-Offer-Section .Offer-Description div p {
            font-family: Oswald-ExtraLight;
            font-size: 1.5rem;
        }
}


/*tablets devices*/
@media screen and (max-width: 820px) and (min-width:540px) {
    /*custom body padding top so that navbar doesn't block first element*/
    body {
        padding-top: 18% !important;
    }
}
