html {
    scroll-behavior: smooth;
}

body {
    background-color: #ebebeb;
    font-family: Poppins, Helvetica, Arial;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: 'header' 'main' 'footer';
    height: 100vh;
}

@media (min-width:630px) and (max-width:1365px) {
    header {
        background: rgb(0,165,215);
        background: -moz-linear-gradient(180deg, rgba(0,165,215,1) 51%, rgba(235,235,235,1) 51%);
        background: -webkit-linear-gradient(180deg, rgba(0,165,215,1) 51%, rgba(235,235,235,1) 51%);
        background: linear-gradient(180deg, rgba(0,165,215,1) 51%, rgba(235,235,235,1) 51%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00a5d7",endColorstr="#ebebeb",GradientType=1);
        display: grid;
        grid-template-columns: 10% 400px 10px auto 10%;
        grid-template-rows: 110px 110px;
        grid-template-areas: '. logo . nav .' '. logo . announcement .';
        grid-area: header;
    }
}

@media (max-width:629px) {
    header {
        background: rgb(0,165,215);
        background: -moz-linear-gradient(180deg, rgba(0,165,215,1) 51%, rgba(235,235,235,1) 51%);
        background: -webkit-linear-gradient(180deg, rgba(0,165,215,1) 51%, rgba(235,235,235,1) 51%);
        background: linear-gradient(180deg, rgba(0,165,215,1) 51%, rgba(235,235,235,1) 51%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00a5d7",endColorstr="#ebebeb",GradientType=1);
        display: grid;
        grid-template-columns: 10% 300PX 10%;
        grid-template-rows: 20px 20px;
        grid-template-areas: '. logo .' '. logo .';
        grid-area: header;
        justify-content: center;
    }
}

@media (min-width:1366px) and (max-width:1920px) {
    header {
        background: rgb(0,165,215);
        background: -moz-linear-gradient(180deg, rgba(0,165,215,1) 51%, rgba(235,235,235,1) 51%);
        background: -webkit-linear-gradient(180deg, rgba(0,165,215,1) 51%, rgba(235,235,235,1) 51%);
        background: linear-gradient(180deg, rgba(0,165,215,1) 51%, rgba(235,235,235,1) 51%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00a5d7",endColorstr="#ebebeb",GradientType=1);
        display: grid;
        grid-template-columns: 10% 400px 10px auto 10%;
        grid-template-rows: 110px 110px;
        grid-template-areas: '. logo . nav .' '. logo . announcement .';
        grid-area: header;
    }
}

@media (min-width:1921px) {
    header {
        background: rgb(0,165,215);
        background: -moz-linear-gradient(180deg, rgba(0,165,215,1) 51%, rgba(235,235,235,1) 51%);
        background: -webkit-linear-gradient(180deg, rgba(0,165,215,1) 51%, rgba(235,235,235,1) 51%);
        background: linear-gradient(180deg, rgba(0,165,215,1) 51%, rgba(235,235,235,1) 51%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00a5d7",endColorstr="#ebebeb",GradientType=1);
        display: grid;
        grid-template-columns: 20% 400px 10px auto 20%;
        grid-template-rows: 110px 110px;
        grid-template-areas: '. logo . nav .' '. logo . announcement .';
        grid-area: header;
    }
}

.logo {
    grid-area: logo;
    width: 100%;
    height: 200px;
    padding-top: 0px;
}

@media (max-width:629px) {
	.logo {
	    grid-area: logo;
	    width: 100%;
	    height: 100px;
	    padding-top: 0px;
	}
}


@media (min-width:630px) {
    .nav {
        justify-self: right;
        align-self: center;
        grid-area: nav;
        font-size: min(2vw, 26px);
        font-weight: 400;
    }
}

@media (max-width:629px) {
    .nav {
        display: none;
    }
}

.nav ul {
    list-style-type: none;
}

.nav li {
    padding-left: 25px;
    display: inline;
}

.nav a {
    color: #ECECEC;
    text-decoration: none;
    transition: color 0.15s linear;
}

.nav a:hover {
    color: rgba(255, 255, 255, 0.5);
}

@media (min-width:1366px) and (max-width:1920px) {
    .index-main {
        display: grid;
        grid-template-columns: 10% 1fr 1fr 10%;
        grid-template-rows: auto auto 50px auto auto;
        grid-template-areas: '. . . .' '. games games .' '. . . .' '. news about .' '. news contact .';
        color: #4a4a4a;
        grid-row-gap: 20px;
        grid-column-gap: 20px;
        grid-area: main;
    }
}

@media (min-width:1921px) {
    .index-main {
        display: grid;
        grid-template-columns: 20% 1fr 1fr 20%;
        grid-template-rows: auto auto 50px auto auto;
        grid-template-areas: '. . . .' '. games games .' '. . . .' '. news about .' '. news contact .';
        color: #4a4a4a;
        grid-row-gap: 20px;
        grid-column-gap: 20px;
        grid-area: main;
    }
}

@media (min-width:630px) and (max-width:1365px) {
    .index-main {
        display: grid;
        grid-template-columns: 5% 1fr 5%;
        grid-template-rows: auto auto auto auto auto;
        grid-template-areas: '. . .' '. games .' '. news .' '. about .' '. contact .';
        color: #4a4a4a;
        grid-row-gap: 50px;
        grid-area: main;
    }
}

@media (max-width:629px) {
    .index-main {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
        grid-template-areas: '.' 'games' 'news' 'about' 'contact';
        color: #4a4a4a;
        grid-row-gap: 100px;
        grid-area: main;
    }
}

@media (max-width:629px) {
    .section-title {
        font-size: 35px;
        color: #00a5d7;
        font-weight: normal;
        text-align-last: center;
    }
}

@media (min-width:630px) {
    .section-title {
        font-size: 35px;
        color: #00a5d7;
        font-weight: normal;
        text-align-last: center;
        border-bottom: 1px solid #00a6d7;
    }
}

@media (min-width:630px) {
    .announcement {
        grid-area: announcement;
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-template-rows: 1fr;
        grid-template-areas: '. announcement';
        padding-top: 50px;
    }
}

@media (max-width:629px) {
    .announcement {
        grid-area: announcement;
        display: none;
        grid-template-columns: 1fr 2fr;
        grid-template-rows: 1fr;
        grid-template-areas: '. announcement';
    }
}

.announcement-img {
    width: 100%;
    height: auto;
    max-width: 80px;
    grid-area: announcement;
    opacity: .2;
    justify-self: right;
}

.announcement-text {
    grid-area: announcement;
    text-align: left;
    justify-self: right;
}

.games {
    grid-area: games;
}

@media (min-width:630px) and (max-width:1365px) {
    .games-grid {
        grid-area: games;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
        grid-row-gap: 100px;
        grid-column-gap: 20px;
        grid-auto-rows: 1fr;
    }
}

@media (min-width:1366px) {
    .games-grid {
        grid-area: games;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
        grid-row-gap: 100px;
        grid-column-gap: 20px;
        grid-auto-rows: auto;
    }
}

@media (max-width:629px) {
    .games-grid {
        grid-area: games;
        grid-row-gap: 100px;
        display: grid;
        grid-auto-rows: 1fr;
        grid-template-columns: auto;
    }
}

@media (min-width:630px) {
    .game {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto 200px auto;
        grid-template-areas: 'trailer' 'info' 'store-badges';
    }
}

@media (max-width:629px) {
    .game {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto 200px auto;
        grid-template-areas: 'trailer' 'info' 'store-badges';
    }
}

.game-trailer-section {
    grid-area: trailer;
    padding-top: 56.25%;
    position: relative;
}

.game-trailer-yt {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #000000;
}

/* CREATED BY JS */
.game-trailer-yt-thumb {
    width: 100%;
    height: 100%;
    opacity: 0.25;
}

.game-trailer-play-btn {
    position: absolute;
    width: 30%;
    height: 30%;
    left: 37.5%;
    top: 37.5%;
    z-index: 1;
    transition: width 0.1s, height 0.1s, left 0.1s, top 0.1s;
}

.game-trailer-play-btn:hover {
    width: 35%;
    height: 35%;
    left: 35%;
    top: 35%;
}

/* CREATED BY JS */
.game-trailer-yt iframe {
    height: 100%;
    width: 100%;
}

.game-title {
    font-weight: 400;
    font-size: 30px;
    line-height: .75em;
    text-align: center;
    margin-top: 15px;
    grid-area: info;
    padding-top: 15px;
}

.game-genre {
    font-size: 12px;
    font-weight: 400;
    line-height: 0.75em;
    margin-top: 5.5em;
    grid-area: info;
    text-align: center;
}

.game-release-status {
    font-size: 12px;
    font-weight: 400;
    line-height: 0.75em;
    grid-area: info;
    margin-top: 7em;
    text-align: center;
}

.game-description {
    font-size: 12pt;
    font-weight: 400;
    grid-area: info;
    margin: 8em 1em;
    text-align: center;
    /* width: 80%; */
    /* margin: 0 auto; */
}

@media (max-width:1150px) {
	.store-badges-grid {
	    grid-area: store-badges;
	    width: 100%;
    	display: grid;
	    grid-template-columns: repeat(auto-fit, 50%);
	    grid-gap: 10px;
	    justify-content: center;
	}
}

@media (min-width:1151px) {
	.store-badges-grid {
	    grid-area: store-badges;
	    width: 100%;
    	display: grid;
	    grid-template-columns: repeat(auto-fit, 30%);
	    grid-gap: 10px;
	    justify-content: center;
	}
}

.badge {
    width: 100%;
    height: 100%;
}

.badge:hover {
 	opacity: 0.75;
	filter: brightness(150%);
}


.badge-disabled {
    opacity: .2;
}

.in-development-label {
    grid-area: store-badges;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    background-color: rgba(74, 74, 74, 0.5);
    z-index: 1;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-container {
    grid-area: news;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(auto-fill, minmax(100px, 1fr));
}

.news-title {
    color: #00a6d7;
}

.news-article {
    width: 80%;
    margin: 0 auto;
    text-indent: 1em;
}

.news-date {
    color: #00a6d7;
    font-weight: normal;
    font-size: 20px;
}

.about-us {
    grid-area: about;
}

.about-us-text {
    width: 80%;
    margin: 0 auto;
    text-indent: 1em;
}

.contact-container {
    grid-area: contact;
}

.contact-form {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto 10em 4em;
    grid-gap: 14px;
}

.contact-form-field {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    resize: none;
    font-size: 18px;
    background-color: #f5f5f5;
    border: 0 solid;
    padding: 8px;
    font-family: Poppins, Helvetica, Arial;
}

.contact-form-send {
    font-size: 24px;
    font-weight: 600;
    width: 50%;
    height: 55px;
    margin-left: auto;
    margin-right: auto;
    background-color: #00a6d7;
    color: #ffffff;
    border: 0 solid;
    cursor: pointer;
}

.footer {
    background-color: #00a5d7;
    color: #ffffff;
    grid-area: footer;
    margin-top: 50px;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
}

/* ----------- 404 ----------- */
.page-not-found-title {
    text-align: center;
    font-size: 64px;
}

.page-not-found-subtitle {
    text-align: center;
    font-size: 24px;
    margin-top: -79px;
    color: #999999;
}

.page-not-found-error-message {
    text-align: center;
    width: 80%;
    margin: auto;
}

.page-not-found-return-link {
    text-align: center;
}

.privacypolicylink {
    text-indent: 1em;
    display: inline-block;
}


/* ----------- PRIVACY POLICY ----------- */

.privacypolicy-title {
    text-align: center;
    font-size: 1.5em;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.privacypolicy-datetime {
    text-align: center;
    margin-top: -25px;
}

.privacypolicy-paragraph {
    width: 80%;
    margin: auto;
}

/* ----------- PRESS KIT ----------- */

.presskit-title {
    text-align: center;
    font-size: 1.5em;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.presskit-smaller-title {
    font-size: 1.2em;
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
}

.presskit-banner {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.presskit-description {
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
}

.presskit-trailer {
    display: block;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}