@font-face {
    font-family: "Exo2";
    src: url("../../assets/fonts/Exo2-SemiBoldItalic.ttf");
    src: url("../../assets/fonts/Exo2-SemiBold.ttf");
}

html, body {
    margin: 0px;
    padding: 0px;
    width: calc(100%);
    height: calc(100%);
    background: black;
}

a {
    color: rgb(255, 180, 30);
    font-family: "Exo2", sans-serif;
    text-decoration: none;
}

a:hover {
    color: rgb(230, 150, 0);
    cursor: pointer;
}

img {
    width: 500px;
    height: 500px;
    border-radius: 22%;
}

#page_container {
    overflow-y: hidden;
    display: grid;
    grid-template-columns: [left] minmax(0, 1fr) [middle] minmax(0, 500px) [right] minmax(0, 1fr);
    grid-template-rows: [content] 1fr [footer] 30px;
    column-gap: 5px;
    row-gap: 0px;
    margin-inline: auto;
    justify-items: stretch;
    align-items: stretch;
    justify-content: space-around;
    align-content: space-around;
    background-image: url("../../assets/graphics/exa_background.svg");
    background-attachment: scroll;
    background-size: cover;
    color: white;
}

#content_left {
    justify-self: stretch;
    align-self: stretch;
    direction: rtl;
    margin: 0px;
    background-color: black;
    border: solid; 
    border-width: 3px;
    border-color: gold;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-color: gold black;
    scrollbar-width: thin;
    display: flex;
    flex-flow: column;
    flex-wrap: nowrap;
    justify-content: safe center;
    align-items: safe center;
    align-content: safe center;
}

#content_left_iso {
    direction: ltr;
}

.content_left_sub {
    padding-right: 30px;
    padding-left: 30px;
    color: gold;
    font-family: "Exo2", sans-serif;
    font-size: 1.45rem;
    text-align: justify;
}

#menu_center {
    display: flex;
    flex-flow: column;
    flex-wrap: nowrap;
    justify-content: safe center;
    align-items: safe center;
    align-content: safe center;
    margin-inline-start: auto;
    contain: layout;
    margin: 0px;
    padding: 0px;
    width: 500px;
    height: 100%;
}

#menu_content {
    display: grid;
    grid-template: 1fr / 1fr;
    place-items: center;
    margin: 0px;
    padding: 0px;
    max-height: fit-content;
}

#menu_content > * {
    grid-column: 1 / 1;
    grid-row: 1 / 1;
}

#menu_button_spacer {
    width: 100%;
    height: calc(100% * (2/3));
}

#menu_button_area {
    overflow-y: auto;
    scrollbar-color: gold black;
    scrollbar-width: thin;
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: safe center;
    align-items: safe center;
    align-content: safe center;
    width: 100%;
    height: calc(100% * (1/3));
}

.menu_button_central {
    width: 9em;
    height: 2em;
    margin: 5px;
    padding: 0px;
    border: solid; 
    border-width: 3px;
    border-color: rgb(255, 180, 30);
    border-radius: 30px;
    box-sizing: border-box;
    background: rgb(0, 0, 0);
    color: rgb(255, 180, 30);
    font-family: "Exo2", sans-serif;
    font-size: 1.23em;
    cursor: pointer;
    opacity: 0;
}

.menu_button_central:hover {
    border-color: rgb(230, 150, 0);
    color: rgb(230, 150, 0);
    background-color: rgb(70, 70, 70);
}

#menu_nav {
    z-index: 1;
    margin: 0px;
    padding: 0px;
    width: 500px;
    height: 500px;
    border: solid; 
    border-width: 3px;
    border-color: rgb(230, 180, 30);
    border-radius: 30px;
    box-sizing: border-box;
}

#menu_inside_ring {
    z-index: 2;
    margin: 0px;
    margin-bottom: 7px;
    padding: 0px;
    width: 500px;
    height: 500px;
    background-image: url("../../assets/graphics/logo_exa_fill.png");
    background-size: cover;
}

#menu_ring{
    z-index: 3;
    margin: 0px;
    padding: 0px;
    width: 500px;
    height: 500px;
    background-image: url("../../assets/graphics/logo_exa_ring.png");
    background-size: cover;
    opacity: 90;
}

#content_right {
    justify-self: stretch;
    align-self: stretch;
    margin: 0px;
    background-color: black;
    border: solid; 
    border-width: 3px;
    border-color: gold;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-color: gold black;
    scrollbar-width: thin;
    display: flex;
    flex-flow: column;
    flex-wrap: nowrap;
    justify-content: safe center;
    align-items: safe center;
    align-content: safe center;
}

.content_right_sub {
    padding-right: 30px;
    padding-left: 30px;
    color: gold;
    font-family: "Exo2", sans-serif;
    font-size: 1.45rem;
    text-align: justify;
}

#filler_bottom_left {
    margin: 0px;
    padding: 0px;
}

#page_legal {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: safe center;
    align-items: safe center;
    align-content: center;
    background-color: black;
    text-align: center;
}

#page_legal > a {
    font-size: large;
}

#filler_bottom_right {
    margin: 0px;
    padding: 0px;
}

.bottom_button {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    border: none;
    background: rgb(0, 0, 0);
    color: rgb(255, 180, 30);
    font-family: "Exo2", sans-serif;
    font-size: 1.23em;
    cursor: pointer;
}

@media (pointer: coarse) {

    #content_left:nth-child(1) {order: 0;}
    #menu_center:nth-child(2) {order: -1;}

    #page_container {
        overflow: auto;
        display: grid;
        grid-template-columns: [center] minmax(0, 1fr);
        grid-template-rows: [top] minmax(0, 500px) [contentdgs] 1fr [content] 1fr [spacer1] 0px [legal] 30px [spacer2] 0px;
        column-gap: 0px;
        row-gap: 5px;
    }
    
    #content_left {
        border-radius: 30px;
        height: 100%;
    }

    #menu_center {
        width: 100%;
        height: 500px;
    }
    #menu_content {
        width: 100%;
        height: 500px;
    }

    #menu_nav {
        width: 100%;
    }

    #menu_inside_ring {
        width: 200px;
        height: 200px;
    }

    #menu_ring {
        width: 200px;
        height: 200px;
    }

    #content_right {
        border-radius: 30px;
        height: 100%;
    }
    
    #menu_nav {
        background-color: black;
    }

}