* {
    /* Variables */
    --main-bg-color: #202020;
    --secondary-bg-color: #171717;
    --accent-color: #017e82;
    --glass-color: rgba(255, 255, 255, 0.9);
    --glass-color-dark: rgba(36, 36, 36, 0.9);
    --text-color: white;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 0.43cm;
}

html {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--accent-color);
    transition: color 0.2s ease-in-out;
}

.wrapper {
    width: 100%;
    margin: auto;
}

.rounded {
    border-radius: 5px;
    overflow: hidden;
}

.boxshadow {
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 4rem;
    padding: 5px;
    text-transform: uppercase;
}

h2 {
    font-size: 3rem;
    padding: 5px;
    text-align: center;
    text-transform: uppercase;
}

h3 {
    padding: 5px;
    text-transform: uppercase;
}

h4 {
    padding: 5px;
    text-transform: uppercase;
}

p {
    padding: 5px;
    text-align: justify;
    /* color: rgb(231, 231, 231); */
}

img {
    max-width: 100%;
}

.textbox {
    padding: 10px;
    margin: 10px;
    background: var(--glass-color);
    width: 100%;
}

ul {
    padding-left: 30px;
}

.nopadding {
    /* padding-left: 0 !important; */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.justifyright {
    justify-self: right;
    text-align: right;
}

.justifyleft {
    justify-self: left;
    text-align: left;
}

.button {
    align-self: end;
    justify-self: center;

    width: max-content;
    border: 2px;
    border-width: 2px;
    border-style: solid;

    border-color: var(--text-color);
    color: var(--text-color);

    text-transform: uppercase;
    font-weight: bold;
    padding: 10px;
    transition: all 0.2s ease-in-out;
}

.button:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);

    transition: all 0.2s ease-in-out;
}

.backgroundblur {
    position: fixed;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
}

img {
    animation-name: fadein;
    animation-duration: 1s;
    animation-timing-function: ease;
    -webkit-animation-timing-function: ease;
}

.background {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    z-index: -1;
    overflow: hidden;

    /* animation-name: fadein;
    animation-duration: 1s;
    animation-delay: 0.5s;
    animation-timing-function: ease;
    -webkit-animation-timing-function: ease;
    animation-fill-mode: forwards; */
}

.fadein1 {
    opacity: 0;
    -webkit-transition: opacity 3s ease-in-out;
    -moz-transition: opacity 3s ease-in-out;
    -ms-transition: opacity 3s ease-in-out;
    -o-transition: opacity 3s ease-in-out;
    opacity: 1;
}

.fadein {
    animation-name: fadein;
    animation-duration: 0.5s;
    animation-timing-function: ease;
    -webkit-animation-timing-function: ease;
}

.fadeindelayed {
    animation-name: fadein;
    animation-duration: 1s;
    animation-delay: 0.5s;
    animation-timing-function: ease;
    -webkit-animation-timing-function: ease;
    animation-fill-mode: forwards;
}

/* .video {
    display: block;
    width: 100%;
    height: 30rem;
    align-self: center;
    margin: 0 auto;
    padding-top: 1cm;
} */

@-webkit-keyframes fadein {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadein {
    from {opacity: 0;}
    to {opacity: 1;}
}

@media (max-width: 1000px) {
    .wrapper {
        width: 90%;
    }
}

body {
    display: grid;
    /* grid-template-columns: 1fr; */
    /* grid-gap: 20px; */
    /* grid-template-rows: 1fr; */
    /* grid-template-rows: min-content auto; */

    min-height: 100vh;
    width: 100%;
    
    background-size: cover;
    background-position: center;
    background: var(--accent-color);
    background: linear-gradient(to bottom left, var(--accent-color), black);
    /* align-content: end; */
}
nav{
    justify-self: center;
    background: red;
}

nav ul {
    width: max-content;
    background: teal;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    /* justify-content: center; */
    /* justify-self: center; */

}

nav li {
    display: inline;
    /* justify-self: center; */
    padding: 0 5px 0 5px;
}

nav a {
    font-weight: bold;
    /* font-size: 1rem; */
    /* text-decoration: none; */
    text-transform: uppercase;
    /* color: var(--accent-color); */
    /* transition: color 0.2s ease-in-out; */
    
}

/* nav a:hover {
    color: white;
    transition: color 0.2s ease-in-out;
} */

section.showcase {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 100%;
    vertical-align: middle;
}

section.showcase a {
    text-decoration: none;
}

.card {
    height: 100%;
    background-position: center;
    background-size: cover;
    width: 100%;
    /* overflow: hidden; */
}


/* Overlay */

section.showcase #overlay {
    display: grid;
    grid-template-columns: 1fr;
    color: var(--text-color);
    height: 100%;
    background: var(--glass-color-dark);
    padding: 10%;
    transition: all 0.2s ease-in-out;    
}

section.showcase #overlay:hover {
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
    backdrop-filter: blur(2px);
}


section.showcase #title {
    padding: 10px;
    align-self: center;
    font-size: 1.9rem;
    max-width: 100%;
    text-transform: uppercase;
}

section.showcase #description {
    display: grid;

    height: min-content;
    margin-top: auto;
    margin-bottom: auto;
    /* overflow: hidden; */
}

section.showcase p {
    height: 7cm;
    text-align: center;
    overflow: hidden;
}

section.showcase #logo {
    width: auto;
    height: 3cm;
    justify-self: center;
    /* max-width: 5cm; */
    /* height: auto; */
}

section.showcase #button {
    align-self: end;
    justify-self: center;

    /* width: 100%; */
    border: 2px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--text-color);
    color: var(--text-color);

    text-transform: uppercase;
    font-weight: bold;
    padding: 10px;
    transition: all 0.2s ease-in-out;
}

section.showcase #button:hover {
    background: var(--accent-color);
    transition: all 0.2s ease-in-out;
}

@media (max-width: 1081px) {
    section.showcase {
        grid-template-columns: 1fr;
        padding-top: 80px;
    }

    section.showcase p {
        height: inherit;
    }
}
.game {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100%;
}

.game #overlay {
    background: var(--glass-color-dark);
    height: 100%;
}

.game #content {
    width: 20cm;
    height: 100%;
    color: var(--text-color);
    /* padding: 50px; */
    padding-top: 80px;
    margin: auto;
    
}

/* .game ul {
    padding-left: 30px;
} */

.game #title {
    text-align: center;
    margin-bottom: 30px;
    margin: auto;
}

.game #title li {
    /* display: inline; */
    /* padding-left: 1rem;
    padding-right: 1rem; */
    /* display: block; */
    padding-left: 0;
}

.game h1 {
    font-size: 4em;
    text-align: center;
}

.game table {
    table-layout: fixed;
    justify-self: center;
    padding-top: 10px;
    margin: auto;
    text-align: left;
    width: 100% !important;
    /* font-size: 120%; */
}

.game td {
    padding: 3px;
}

.game h3 {
    padding-bottom: 0;
}

.game h4 {
    padding-top: 0;
}

.game .button {
    width: 100px;
}

.game b {
    /* color: var(--accent-color); */
    font-size: 1.1rem;
}

/* Collapsible */
.wrap-collabsible {
    /* margin-bottom: 1.2rem 0; */
    /* padding-bottom: 1rem; */
    grid-column: 1 / span 2;
}
  
input[type='checkbox'] {
    display: none;
}
  
.lbl-toggle {
    display: block;
  
    /* margin-bottom: 1.2rem 0;
    padding-bottom: 1rem; */

    font-weight: bold;
    font-family: monospace;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-align: center;
  
    padding: 0.5rem;
  
    color: var(--glass-color);
    background: var(--glass-color-dark);
  
    cursor: pointer;
  
    border-radius: 3px;
    transition: all 0.25s ease-out;
}
  
.lbl-toggle:hover {
    color: var(--accent-color);
}
  
.lbl-toggle::before {
    content: ' ';
    display: inline-block;
  
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid currentColor;
    vertical-align: middle;
    margin-right: .7rem;
    transform: translateY(-2px);
  
    transition: transform .2s ease-out;
}
  
.toggle:checked + .lbl-toggle::before {
    transform: rotate(90deg) translateX(-3px);
}
  
.collapsible-content {
    max-height: 0px;
    overflow: hidden;
    transition: max-height .25s ease-in-out;
    line-height: initial;
    /* width: inherit !important; */
    /* word-wrap: break-word;
    overflow-wrap: break-word;
    text-overflow: ellipsis; */
}
  
.toggle:checked + .lbl-toggle + .collapsible-content {
    max-height: 200rem;
    /* height: fit-content; */
}
  
.toggle:checked + .lbl-toggle {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
  
.collapsible-content .content-inner {
    background: var(--glass-color-dark);
    border-bottom: 1px solid var(--accent-color);
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    padding: .5rem 1rem;
}

.game pre {
    white-space: pre-wrap;
}

.game #horizontalGrid2 {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: auto;
    grid-gap: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: justify;
    padding: 3rem 0rem;

}

.game #horizontalGrid3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: auto;
    grid-gap: .5cm;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.game #horizontalGrid2 h1 {
    font-size: 2rem;
    text-align: left;
    padding: 0;
}

.game #horizontalGrid2 p {
    align-self: center;
    padding: 0;
}

.game ul {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.game video {
    width: 100%;
    margin: auto;
    border-radius: .2rem;
    overflow: hidden;
    object-fit: cover;
    object-position: center;
}

.game .video {
    width: 100%;
    height: 100%;
    border-radius: .2rem;
    overflow: hidden;
    object-fit: cover;
    object-position: center;
}

.gamedemo {
    padding-top: 2rem;
    padding-bottom: 2rem;
    height: 800px !important;
    /* zoom: 1; -moz-transform: scale(1); -moz-transform-origin: 0 0; */
}

.game #horizontalGrid2 img {
    width: 100%;
    border-radius: .2rem;
    object-fit: cover;
    object-position: center;
    height: 100%;
}

.game #horizontalGrid3 img {
    width: 100%;
    border-radius: .2rem;
    height: 15rem;
    object-fit: cover;
    object-position: center;
}

.game li {
    font-size: 1.2rem;
}

@media (max-width: 1081px) {
    .game #content {
        width: 100%;
    }

    .game #title {
        width: 100%;
    }

    .game table {
        width: 100%;
    }

    .game #horizontalGrid2 {
        grid-template-columns: 1fr;
        overflow: hidden;
    }

    .game #horizontalGrid3 {
        grid-template-columns: 1fr;
    }
}

header {
    position: fixed;
    background: var(--glass-color-dark); 
    width: 100vw;
    padding: 5px;
    z-index: 1;
    align-self: start;
    
    height: min-content;
    overflow: hidden;
    /* background: rgba(255, 255, 255, 0.05); */
}

header h1{
    font-size: 1.4rem;
}

header a {
    /* color: rgb(10, 10, 10);
    color: white; */
    /* -webkit-text-stroke: 1px black; */
    color: white;
    --stroke-color: var(--glass-color-dark);
    text-shadow:
        -1px -1px 0 var(--stroke-color),  
        1px -1px 0 var(--stroke-color),
        -1px 1px 0 var(--stroke-color),
        1px 1px 0 var(--stroke-color);
}

.sticky {
    background: red;
}

header #branding {
    display: grid;
    grid-template-areas: 'name logo title';
    grid-template-columns: 1fr auto 1fr;
    grid-gap: 10px;
    align-items: center;
    /* border-radius: 3px; */
    width: max-content;
    margin: auto;
}

header #logo {
    height: 50px;
    width: auto;
    grid-area: logo;
}

header #name {
    justify-self: end;
    text-align: right;
    grid-area: name;
}

header #title {
    justify-self: start;
    grid-area: title;
}

@media (max-width: 1081px) {
    header #branding {
        display: grid;
        grid-template-areas: 
        'logo name'
        'logo title';
        grid-gap: 0px;
        /*align-items: left; */
        /* border-radius: 3px; */
        /* width: max-content; */
        /* margin: auto; */
        width: 100%;
        /*background: red;*/
    }

    header #name {
        justify-self: right;
        text-align: right;
        padding: 0px;
    }

    header #title {
        justify-self: right;
        text-align: right;
        padding: 0px;        
    }
}
footer {
    align-self: end;
    height: fit-content;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
}

footer ul {
    margin-top: auto;
    margin-bottom: auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    width: inherit;
    grid-gap: 0;
}

footer li {
    display: inline;
    justify-self: center;
    margin-top: auto;
    margin-bottom: auto;
}

footer nav{
    justify-self: center;
    grid-gap: 20px;
}

footer nav a {
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--accent-color);
    transition: color 0.2s ease-in-out;
    
}

footer a:hover {
    color: white;
    transition: color 0.2s ease-in-out;
}

@media (max-width: 1000px){
    footer ul {
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }
}
content {
    height: auto;
}



