/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses

Copyright 2021 Lenny Andreu

*/

/**********
Main Styles
**********/

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body, main {
    height: 100%;
    margin: 0px;
}

body {
    line-height: 1.7em;
    color: #303030;
    font-size: 13px;
    font-family: 'Cinzel', serif;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0px 0px 0.5em;
    font-weight: 400;
    line-height: 1.2;
}
h1 {
    font-size: 2rem;
}
h2 {
    font-size: 1.6rem
}
h3 {
    font-size: 1.4rem
}
h4 {
    font-size: 1.2rem
}

.main-container {
    height: 100%;
    margin: 0px;
}

.secondary-container {
    padding: .5em 5em;
    position: relative;
    z-index: 1;
    background: #ebdcc9;
    background: url('../img/background-noise.svg');
}

.secondary-container p,
.secondary-container a,
.secondary-container h1,
.secondary-container h2,
.secondary-container h3 {
    color: #000;
    opacity: 0.85;
}

.secondary-container a {
    color: #42b3b8;
}

.secondary-container p,
.secondary-container a {
    font-family: Noto, Roboto, Verdana, Helvetica, Sans, sans-serif;
}

.main-img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.button {
    display: inline-block;
}

.button>small {
    font-size: .6em;
    display: block;
    padding: 0;
    margin: auto;
}

.nav-group {
    margin: 0px;
    padding: 0px;
}

.nav-button {
    margin: 0.2rem 0;
    background-image: url('../img/scroll.svg');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    min-width: 165px;
    max-height: 60px;
    text-align: center;
    padding: 0px;
    color: rgba(0, 0, 0, 0.85);
}

.nav-button-logo {
    min-width: 210px;
    min-height: 38px;
}

.nav-button-link {
    color: rgba(0, 0, 0, 0.85);
    text-decoration: none;
    padding: 1em 0.5em;
    display: block;
}

a {
    text-decoration: none;
}

a.button-primary {
    color: #000;
    display: inline-block;
    opacity: 1;
    border-radius: 5px;
    font-size: 1.2rem;
    background: rgb(221, 221, 221) url("../img/button.svg") no-repeat scroll center center / cover;
    min-width: 18.7em;
    padding: 0.5em 2em;
}

.splash-container {
    /*    overflow: hidden;*/
    position: relative;
    opacity: 1;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgb(51, 51, 51);
    min-height: 93%;
    background-size: auto;
}

.splash {

    width: 100%;
    height: 50%;
    margin: auto;
    text-align: center;
    text-transform: uppercase;
}

.in-game-screen {
    z-index: -1;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
}

.in-game-screen>img {
    width: auto;
    min-height: 80%;
    height: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 50px rgba(0, 0, 0, .4);
}

.splash-head {
    font-size: 20px;
    font-weight: bold;
    color: white;

    padding: 0 1.6em;
    font-weight: 100;
    border-radius: 5px;
    line-height: 1em;
    margin: 0px 0px 0.5em;
}

.brief-desc {
    width: 100%;
    color: rgb(255, 255, 255);
    background-color: rgba(0, 0, 0, .4);
    margin: auto;
    padding: 1em 0;
    border-radius: 1px;
    font-weight: 400;
    line-height: 1.2;
}

.brief-desc>p {
    margin: 0;
    opacity: .8;
}

.content-wrapper {
    width: 100%;
    left: 0;
    background: antiquewhite url("../img/navbar.svg") repeat-x scroll left center / contain;
    font-weight: 300;
    padding: 0.2em 0.5em;
}

ul.content-wrapper {
    margin: 0px;
    padding: 0px;
}

.content {
    padding: 1em 2em;
    position: relative;
    margin:auto;
    z-index: 1;
}


.content-left, .content-right {
    flex: 100%;
    display: flex;
    flex-direction: column;
}

.content-right {
    flex-direction: column-reverse;
}

/****************
Responsive Styles
****************/

/* TABLET OR SMALL DESKTOP */
@media (min-width: 768px) {

    body {
        font-size: 16px;
    }

    a.button-primary {
        width: 16em;
    }

    .splash-head {
        font-size: 250%;
    }

    .main-img {
        width: 80%;
    }

    .brief-desc {
        width: 80%
    }
    .content {
        padding: 1.5em 5em;
        max-width: 75rem;
    }
    .content-left, .content-right {
        flex: 50%;
        flex-direction: row;
        justify-content: center;
    }

    .content-right {
        text-align: right;
        flex-flow: row-reverse;
    }
}

/* -- DESKTOP  -- */
@media (min-width: 1366px) {

    .brief-desc {
        width: 50%
    }

    .splash-head {
        font-size: 300%;
    }

    .main-img {
        width: auto;
        min-width: 70%;
    }

    .in-game-screen>img {
        width: auto;
        max-width: 100%;
        height: auto;
    }
}

.separator {
    width: 100%;
    background: antiquewhite url("../img/navbar.svg") repeat-x scroll left center / contain;
    left: 0px;
    min-height: 4.5em;
    bottom: 4.5em;
    position: relative;
}


.content p, .content a, .content h1, .content h2, .content h3 {
    color: rgb(0, 0, 0);
    opacity: 0.85;
}

.content p, .content a {
    font-family: Noto, Roboto, Verdana, Helvetica, Sans, sans-serif;
}

.content p, .content a, .content h1, .content h2, .content h3 {
    color: rgb(0, 0, 0);
    opacity: 0.85;

}

.content h2 {
    font-size: 1.5rem;
}
.content h3 {
    font-size: 1.4rem;
}

.content a {
    color: #574610
}


/**
* NEWS CARD
*/
.news-card--container {
    display: flex;
    flex-wrap: wrap;
}

.news--content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2.4rem;
    background-color: #f5f5f5;
    box-shadow: 1px 1px 10px 2px rgba(0, 0, 0, 0.2);
    margin: 1rem;
    flex: 1 600px;
}

.news--content:nth-of-type(1) {
    flex: 1 max-content;
}

.news--author {
    font-family: 'Cinzel', Sans;
    font-size: 1rem !important;
    margin-bottom: 1rem;
}

.news--title-primary {
    font-family: 'Cinzel', Sans;
    font-size: 1.6rem !important;
}

.news--title-secondary {
    font-family: 'Cinzel', Sans;
    font-size: 1.13rem;
}

.news--content p {
    margin: 0 0 14px 0;
}

.news--content p,
.news--content li,
.news--content a {
    font-family: 'Accanthis', Sans;
    font-size: large;
}
.news--content p {
    text-align: justify;
}
.news--content a {
    font-weight: bold;
}

.news--date {
    text-align: right;
    align-self: end;
    margin-top: auto;
}

/**
* Download item
*/
.download--content h2, h4, h3, details {
    text-align: center;
}

.download--content h2::before {
    width: 3rem;
    height: 3rem;
    background-clip: border-box;
    padding: 1rem;
    margin: auto;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    content:"";
    background-image: url("/img/download-square-outline.svg");
}
.download--content ul {
    list-style-type: none;
    padding:0 .8rem;
}

.download--content li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #f5f5f5;
    box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.2);
    transition-property: box-shadow;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
    margin: 1rem auto;
    flex: 1 600px;
    max-width: 650px;
    position: relative;
    height: 7rem;
    justify-content: center;
}

.download--content li:hover {
    box-shadow: 1px 1px 8px 2px rgba(0, 0, 0, 0.2);
}
.download--content li:active, .download--content li:focus {
    box-shadow: 1px 1px 12px 2px rgba(0, 0, 0, 0.2);
}

.download--content li em, 
.download--content li a {
    width: 100%;
    text-align: left;
    padding-left: 10rem;
}

.download--content li a::before {
    content: "";
    display: inline-block;
    width: 5rem;
    height: 5rem;
    background-clip: border-box;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 2.4rem;
    top: 1rem;
}
.download--content li:first-child a::before {
    background-image: url("/img/windows.svg");
}

.download--content li:nth-of-type(2) a::before  {
    background-image: url("/img/code.svg");
}

.download--content li:nth-of-type(3) a::before {
    background-image: url("/img/music-1.svg");
}

.download--content li:nth-of-type(4) a::before {
    background-image: url("/img/music-1.svg");
}
.download--content li:nth-of-type(5) a::before {
    background-image: url("/img/book.svg");
}

/* summary {
    border-radius: 50%;
    border-width: .2rem;
    border-style: solid;
    width: 4rem;
}
summary::marker{
    content: "";
}
summary::after{
    content: "";
    background-image: url("/img/nav-arrow-down.svg");
    display: inline-block;
    width: 3rem;
    height: 3rem;
    background-size: contain;
    background-repeat: no-repeat;
} */