::selection {
    background: #f7d07e;
}

/*Palette a tester : #012340 #025959 #027333 #03A63C #04D939 */

body {
    width: 100%;
    height: 100%;
    margin: auto;
    font-size: 13pt;
    font-family: monospace;
    color: #025959;
    background-color: black;
    /*background-image: url("/img/euclidian-network.png");*/
    background-repeat: no-repeat;
    background-size: 100vh;
    background-blend-mode: lighten;
    overflow: hidden;
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#headerArea {
    position: absolute;
    top: 10px;
    left: 10px;
}

#footerArea {
    position: absolute;
    bottom: 5px;
}

#sidenav {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0px;
}

#sidenav button {
    background: none;
    color: #03A63C;
    cursor: pointer;
    z-index: 1;
}

#sidenavBtn {
    left: 0px;
    position: fixed;
    border: none;
    font-size: 35px;
}

.navBtnChild {
    border: none;
    top: 110px;
    font-size: 25px;
    transition: 1s;
    text-align: left;
}

#sidenav button:hover {
    color: #442e00;
}

#hexagon {
    /*z-index: 1;
    opacity: 0.2;
    position: absolute;
    top: 10px;*/
    margin: auto;
    width: 500px;
    display: block;
}

#contentsArea {
    display: flex;
    flex-flow: row;
    /*height: 70%;
    width: 100%;*/
}

#articlesArea {
    flex: 4;
    margin-top: 0;
    padding-top: 0;
    position: fixed;
    inset: 0;
    /*text-align: center;
    /*background-image: url("../img/ordi2.png");
    background-size: 1000px;
    background-repeat: no-repeat;
    background-position: top;*/
}

#laptopStage {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 94vw;
    aspect-ratio: 1520 / 920;
    max-height: 94vh;
    height: auto;
    pointer-events: none;
    z-index: 0;
}

@media (min-aspect-ratio: 1520/920) {
    #laptopStage {
        height: 94vh;
        width: auto;
    }
}

#map {
    position: absolute;
    top: 10.5%;
    right: 12%;
    width: clamp(220px, 18vw, 340px);
    height: clamp(220px, 18vw, 340px);
    z-index: 1;
    pointer-events: none;
}

#infosArea {
    display: flex;
    flex: 1;
    flex-direction: column-reverse;

}

#imgInfoArea {
    width: 300px;
}

#termArea {
    position: absolute;
    top: 45.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 79%;
    height: 82.1%;
    font-size: clamp(9px, 0.85vw, 13pt);
    line-height: 1.25;
    /*overflow: auto;*/
    scroll-behavior: smooth;
    scroll-snap-align: end;
    /*box-shadow: 5px 5px 5px #cf442b;*/
    box-shadow: 3px 3px 3px #04D939;
    border: 1px solid #025959;
    /*border: 2px solid #bed46d;*/
    /*padding: 20px;*/
    margin-left: 0;
    /*margin-right:  20px;*/
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 2;
    pointer-events: auto;
}

#input-line {
    clear: both;
    margin-top: 6px;
    display: flex;
    flex-direction: row;
    margin-top: 6px;
    align-items: center;
}

#input-line > div:last-child {
    flex: 1;
    min-width: 0;
}

#output {
    overflow: auto;
    max-height: 92%;
}

#prompt {
    margin-top: 6px;
    margin-left: 4px;
    color: #e09f14;
    font-size: inherit;
}


#cmdline {
    outline: none;
    background-color: transparent;
    margin: 0;
    width: 100%;
    font: inherit;
    font-size: inherit;
    border: none;
    color: inherit;
    margin-top: 6px;
}

#ordi {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    z-index: 0;
}

@-webkit-keyframes zoomInDown {
    from {
        opacity: 0;
        -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
        transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
        -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    60% {
        opacity: 1;
        -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
        transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
        -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    }
}

/* SIDE NAV */
/*
#sidenavBtn {
    position: absolute !important;
    padding: 5px !important;
    top: 0 !important;
    right: 3px !important;
    font-size: 35px !important;
}

#sidenav img {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100px;
    transition: 0.3s;
    opacity: 0;
}

#sidenav img:focus {
    outline: none;
}
*/
/*
#sidenav button {
    padding: 8px 8px 8px 32px;
    cursor: pointer;
    text-decoration: none;
    font-size: 15pt;
    color: white;
    display: block;
    transition: 0.3s;
    background:none !important;
    border:none;
}

#sidenav button:hover {
    color: #442e00;
}
*/