@font-face{
    font-family: "Klarheit Grotesk";
    src:url(klarheitgrotesk.ttf);
}
@font-face{
    font-family: "Stop";
    src:url(stop.ttf);
}

@font-face{
    font-family:"OriginTech";
    src:url(OriginTech.otf);
}

@font-face{
    font-family:"EarthOrbiter";
    src:url(EarthOrbiter.otf);
}

@font-face{
    font-family:"EarthOrbiterLaser";
    src:url(EarthOrbiterLaser.otf);
}


section.gallery1{
    position:relative;
    display:flex;
    flex-wrap: wrap;
    align-items: baseline;;
}


.modal{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;

    /* Center the modal content */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

/* When the modal is targeted via URL hash, make it visible */
.modal:target {
    opacity: 1;
    pointer-events: auto;
}

/* Modal content box */
.modal-content{
    background-image: url(bg.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-blend-mode:soft-light;
    background-color: #01112e;
    padding: 2rem;
    border-radius: 6px;
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}



/* Backdrop close link - covers the entire screen */
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: default;
    z-index: -1; /* Place behind modal content */

}

.modal-close{
    font-family: EarthOrbiterLaser;
    font-size:200%;
    background-color: #b07800;
    width: 200px;
    display:flex;
    justify-content:center;
    text-align: center;
    border:1px solid;
    border-radius: 3%;
    border-color:#b07800;
    color: black;
    text-decoration: none;
}

.modal-trigger{
    font-family: EarthOrbiterLaser;
    font-size:150%;
    background-color:#b07800;
    width: 200px;
    display:flex;
    justify-content:center;
    text-align: center;
    border:1px solid;
    border-radius: 3%;
    border-color:#b07800;
    color: black;
    text-decoration: none;
}

img.grid{
    display:grid;
    align-items: baseline;
    justify-content: center;
    border:1px solid #ccc;
    box-shadow: 1px 1px 6px 2px;
}

p.intro{
    margin-top: -59px;
    max-width:800px;
    margin-bottom: -10px;
}

figure.concept{
    display:flex;
    align-content: center;
    align-items:center;
    
}

.gallery-item:target { 
  display: block;
    
}
.gallery-item:target .modal-content { /* Where 'modal-content' inside of 'modal' is the target, make both visible */
  display: block;
}



div.gallery-item{
    display: block;
    max-width:800px;
}


summary{
    list-style: none;
    cursor: pointer;
}


summary::webkit-details.marker{
    display:none;
}

.clara {
   display: grid;  
}

p.gamedes{
    font-family: EarthOrbiter;
    font-size:200%;
    color:#1469e0;
    margin: 0;
    max-width:fit-content;
}


section.game{
    overflow:hidden;
    display: flexbox;
    margin: 0;
    justify-content: center;
    left:0;
    
}


.bg{
    font-size: 100%;
    color: #1469e0;
    opacity: 0.4;
    position:absolute;
    top: 12%;
    align-content: center;
    right: 54%;
}


h1{ 
    
    background: -webkit-linear-gradient(#e09800,#006aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: EarthOrbiterLaser;
    font-size: 900%;
    text-align: left;
    margin-top: 120px;
}

p{
    max-width: 600px;
    padding-bottom: 20px;
}

.des {
    line-height: 30px;
    display: flex;
    align-items: center;
    text-align: left;
    padding-top: 1%;
    width: 600px;
    border: solid;
    border-radius: 2%;
    padding-left:10px;
    padding-right:10px;
    border-color:#1469e0;   
    margin-bottom: 50px;
}



h2 {
    display:block;
    font-family: Stop;
    font-size: 250%;
    color:#b07800;
    margin-left: 0; 
    padding-bottom: 2%;
}

h3 {
    padding-top:2%;
    padding-bottom: 2%;
    font-family: EarthOrbiterLaser;
    font-size: 317%;
}

div.realbody{
  margin-left:100px;  
    max-width:800px;
}

body {
    color: #8ba8d0;
    display: block;
    background:#030c15;
    background-image: url(background.png);
    background-size:100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-blend-mode: overlay;
    font-family: Klarheit Grotesk;
    max-width:1197px;
   
    
    
}

img{
    margin-right:5%;
    margin-top: 2%;
}

iframe {
  max-width: 600;
}

.audiodes{
    display: flex;
    align-content: flex-end;
    padding-top:50px;
    width: 150%;
}

.next{
    margin-top: 8%;
    color: #b07800;
}

figure {
    margin-left:0;
    display: flex;
    align-items: flex-end;
    
    
    
}

figcaption{
    display: block;
    flex-wrap: nowrap;
    padding:5%;
    justify-content: flex-start;
}
figure.concept {
display: flex;
    
}

figure.character {
    display: flex;
    
}

.redsword {
    display:block;
}

div.poster {
    display: block;
}


/* NAVIGATION*/

:root {
    --menu-width: 37.5em; /* Width of menu */
    --items: 4; /* Number of items you have */
    --item-width: calc(var(--menu-width) / var(--items));
}

nav {
    padding:0;
    margin:0;
    font-family: EarthOrbiterLaser;
    width:100%;
    background-color:rgba(3, 8, 34, 0.85);
    display: flex;
    justify-content: space-evenly;
    transform-style: preserve-3d;
    position: absolute;
    z-index: 2;
    margin-left:0;
    perspective: 2000px;
    flex-wrap: wrap;
    top: 1em;
}



.menu-text{
    padding-top:28px;
    align-items: center;
    padding-left:20px;
    padding-right:20px;
    max-width:100%;
    display:flex;
    justify-content: space-evenly;
    text-align:center; 
}

nav .menu-item {
    align-content: center;
    text-align: center;
    width:252px;
   max-width:100%;
    color: #1469e0;
    font-weight: 600;
    transform-style: preserve-3d;
    justify-content: space-evenly;
    display: flex;
    flex-direction: row;
    padding-top:10px;
    padding-bottom:10px;
    perspective: 200px;
    letter-spacing: 6.4px;
    min-height: 1.9em;
}

nav .menu-text, nav .menu-text a {
    
    font-size: large;
    display: flex;
    justify-content:center;
    align-items:baseline;
  width:159px;
    color: #1469e0;
    text-decoration: none;
    text-shadow: 0 1px 5px rgba(5, 3, 46, 0.58);
    transition: color 0.1s ease-out;
    text-align: center;
}

nav .menu-text a:hover {
    color: #f5a316;
}

#sub-menu-holder {
    pointer-events: none;
    color: #1469e0;
    font-weight: normal;
    padding: 1em;
    position: absolute;
    transition: opacity 2 ease-out;
    transform: rotateX(-25deg) scale(1);
    transform-origin: 50% 7em 0em;
    opacity: 0;
    box-shadow: 0 2px 7px rgba(0,0,0,0.1), 0 2px 20px rgba(0,0,0,0.3);
    box-sizing: border-box;
    top: 3rem;
    border-radius: 10px;
    background: #000000;
    display: block;
    height: 300px;
    width: calc(var(--menu-width) * 1.5);
}

#sub-menu-container {
    position: absolute;
    z-index: -1;
    min-width: 100%;
    top: 2.5em;
    width: 100%;
}

nav .menu-item:hover ~ #sub-menu-container #sub-menu-holder {
    animation: clipPath 0.25s ease-out 1 forwards;        
    transition: clip-path 0.25s ease-out, left 0.15s ease-out, height 0.15s ease-out;
    opacity: 1;
    right: auto;
}
nav .menu-item:nth-of-type(1):hover ~ #sub-menu-container #sub-menu-holder,
nav .menu-item:nth-of-type(4):hover ~ #sub-menu-container #sub-menu-holder {
    clip-path: inset(0 28.75em 0 0 round 10px);
    height: 14em;
}

nav .menu-item:nth-of-type(2):hover ~ #sub-menu-container #sub-menu-holder,
nav .menu-item:nth-of-type(3):hover ~ #sub-menu-container #sub-menu-holder {
    clip-path: inset(0 15em 0 0 round 10px);
}

nav .menu-item:nth-of-type(1):hover ~ #sub-menu-container #sub-menu-holder {
    left: calc(-9em + -1px);
}
nav .menu-item:nth-of-type(2):hover ~ #sub-menu-container #sub-menu-holder {
    left: calc(-6.5em + -1px);
    height: 18.75em;
}
nav .menu-item:nth-of-type(3):hover ~ #sub-menu-container #sub-menu-holder {
    left: calc(2.75em + 1px);
    height: 24.5em;
}
nav .menu-item:nth-of-type(4):hover ~ #sub-menu-container #sub-menu-holder {
    left: calc(19em + 1px);
}

.menu-item .sub-menu {
    background-color:rgba(2, 6, 26, 0.88);
    position: absolute;
    top: 7em;
    color: rgb(255, 255, 255);
    border-radius: 10px;
    min-width: 27.5em;
    pointer-events: none;
    box-sizing: border-box;
    z-index: 999;
    margin-left: -5em;
    clip-path: inset(0 10em 10em 15em);
    opacity: 0;
    font-weight: initial;
    padding: 1.5em;
    transition: all 0.25s ease-out, opacity 0.25s ease-in, margin-left 0.25s ease-out, clip-path 0.15s ease-out;
}

.menu-item .sub-menu.double {
    min-width: 41.25em;
    height: 18.75em;
    display: grid;
    grid-template-columns: 54% 50%;
}
.menu-item .sub-menu.triple {
    min-width: 41.25em;
    height: 25em;
    display: grid;
    padding: 1.5em 2.5em;
    grid-template-columns: 55% 45%;
}
.menu-item:hover .sub-menu {
    pointer-events: all;
    clip-path: inset(0 0 0 0);
}

.menu-text:after {
    transition: bottom 0.25s ease-out, opacity 0.01s ease-out 0.01s;
    opacity: 0;
    content: '';
    position: absolute;
    pointer-events: none;
    bottom: -5em;
    left: calc(50% - 10px);
    border-color: transparent transparent white transparent;
    border-width: 10px;
    border-style: solid;
}
.menu-item:hover .menu-text:after {
    bottom: 0.5em;
    opacity: 1;
    transition: bottom 0.25s ease-out, opacity 0.01s ease-out 0.15s;
}
.menu-item:hover .sub-menu {
    opacity: 1;
    margin-left: 0;
}

.menu-item:hover ~ #sub-menu-container #sub-menu-holder  {
    transition: transform 0.25s ease-out, opacity 0.25s ease-out, clip-path 0.25s ease-out;
}

@keyframes clipPath {
    0% {
        opacity: 0;
    }
    100% {
        transform: rotateX(0deg) scale(1);
        top: 4.5em;
        opacity: 1;        
    }
}

/* Menu specific */
.menu-item .title {
    font-weight: 500;
    color: rgb(44 70 86);
    margin: 0 0 0.25em 0;
}

.menu-item .icon-box * {
    transition: all 0.1s ease-out;
    position: relative;
}
.menu-item .icon-box.space {
    margin-bottom: 1.25em;
}
.menu-item .icon-box.flat {height: 1.5em;margin-bottom: 0.5em;}
.menu-item .icon, .menu-item .text {
    float: left;
    color: #9ea9af;
}

.menu-item .icon {
    color: rgb(44 70 86);
    font-size: 1.25em;
    margin: 0 1em 0 0;
}
.menu-item .icon-box {
    cursor: pointer;
}
.menu-item .icon-box {
    float: left;
    width: 100%;
    margin: 0;
    height: 4em;
    row-gap: 0;
    line-height: 1em;
}

.menu-item .icon-box .text i {
    clip-path: inset(0 100% 0 0);
    font-size: 0.75em;
    position: relative;
    top: -1px;
}

/* Base Icon Style */
.icon-box.gb .icon i:before {
    background: linear-gradient(45deg, #0c86ef, #0cef9b);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    padding-left: 1px;
}


.menu-item .icon-box:hover .text i {
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.1s ease-out;
}

.menu-item .icon-box:hover .icon, .menu-item .icon-box:hover .title, .menu-item .icon-box:hover .sub-text {
    color: rgb(89 110 123);
}

#sub-menu-bottom {
    background: #d4e3ea70;
    position: absolute;
    bottom: 0;
    opacity: 0;
    transition: all 0.25s ease-out, height 0.1s ease-out;
    left: 0;
    width: 100%;
    height: 5em;
}
nav .menu-item:nth-of-type(3).highlight:hover ~ #sub-menu-container #sub-menu-holder #sub-menu-bottom {
    height: 7.5em;
}
.bottom-container {
    grid-area: 4 / -3 / 4 / 3;
    padding-top: 1.5em;
    color: #3a5260;
    font-weight: 500;
}

.top-container {
    grid-area: 1 / -3 / 1 / 3;
    margin: 0 0 2em 0;
}

.bottom-container a {
    float: right;
    background: linear-gradient(90deg, #8ea4b166, #a3b5bf6b);
    padding: 0.5em 1em;
    border-radius: 100px;
    position: absolute;
    color: #2c4655bf;
    font-weight: bold;
    text-decoration: none;
    right: 1.5em;
    bottom: 1.5em;
}

.bottom-container a:hover {
    background: linear-gradient(90deg, #8ea4b136, #a3b5bf33);
}

.sub-menu h3 {
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgb(44 70 86 / 68%);
    margin: 0.75em 0;
}

.sub-menu .box a {
    width: 100%;
    float: left;
    font-size: 1em;
    line-height: 1.75em;
    color: #7a8a94;
    text-decoration: none;
}

.sub-menu .box a:hover {
    color: rgb(44 70 86);
}

.box {
    margin: 0 0 3em 0;
}

.icon.big i {
    font-size: 1.25em;
    top: 0.2em;
}
nav .menu-item.highlight:hover ~ #sub-menu-container #sub-menu-holder #sub-menu-bottom { opacity: 1; }

#info-box {
    position: absolute;
    bottom: 2em;
    right: 2em;
}

#info-box ul {
    list-style: none;
}
#info-box a {
    color: white;
    text-decoration: none;
    text-align: right;
    padding: 0.5em 0;
    transition: all 0.1s ease-out;
    display: block;
    text-transform: uppercase;
    font-size: 1.25em;
    font-weight: 900;
    letter-spacing: 1px;
}
#info-box a:hover {
    color: rgba(255,255,255,0.5);
}




