:root {
    --border: rgba(9, 30, 59, 0.699);
    --navbar_back: rgb(0, 0, 255);
    --navbar_bord: rgb(18, 73, 26);
    --navbar_text: white;
    --popup_back: rgb(49, 159, 209);
    --popup_bord: rgba(0, 81, 255, 0.621);
}

* {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body {
    max-width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;

}

#layer_dark {
    background-color: rgba(0, 0, 0, 0.613);
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 11;
    display: none;
}


#info,
#instruction {
    display: none;
    overflow-y: auto;
}

#info_button {
    position: fixed;
    z-index: 12;
    bottom: 2%;
    right: 1%;
}

#instruction_button {
    position: fixed;
    z-index: 12;
    bottom: 2%;
    right: 5%;
}

#output {
    position: fixed;
    z-index: 12;
    bottom: 2%;
    right: 13%;
}

.popup {
    position: fixed;
    z-index: 12;
    /* border: solid var(--popup_bord) 5px; */
    width: 50%;
    height: 50%;
    left: 25%;
    top: 25%;
    background-color: var(--popup_back);
    padding: 2%;
}

#close_all {
    /* border: solid 1px var(--popup_bord); */
    position: fixed;
    right: 17%;
    top: 25%;
    z-index: 12;
    display: none;
}


#navbar {
    height: 35%;
    width: 25%;
    background-color: var(--navbar_back);
    /* border: solid 3px var(--navbar_bord); */
    position: fixed;
    padding: 1%;
    /* padding-top: 3%; */
    display: none;
    bottom: 0;
    border-top-right-radius: 3%;
    /* border-bottom-right-radius: 10%; */
    filter: drop-shadow(5px);
    overflow-y: scroll;
    font-size: 8pt;
    color: var(--navbar_text);

    border-top: 6mm black solid;
    z-index: 100;

}



#navbar div button {
    position: absolute;
    top: 4%;
    right: 2%;
    background-color: rgba(255, 115, 0, 0.938);
    border-radius: 100%;
    border: solid .4px red;
}

#navbar a {
    color: white
}

#nav_button {
    position: fixed;
    top: 1%;
    left: 1%;
    z-index: 60;
}

#custom_button {
    position: fixed;
    top: 5%;
    left: 1%;
        z-index: 100;
    /* display: none; */
}






.container{
    width: 75%;
    height: 100%;
    border: solid black 1px;
    border-right: solid black 2px;
}

.container img{
    padding-bottom: .5em;
}


.selector2print {
    position: relative;
    top: 12%;
    /* height: 20%; */
    left: 3.5%;
}

.sliderLayout {
    position: relative;
top: 50%;
    right: 6%;
    transform: rotate(90deg);
}


.box {
    width: 80%;
    height: 80%;
    margin-left: 10%;
    margin-top: 5%;
    box-shadow: 10px 11px 29px -9px var(--border);
    -webkit-box-shadow: 10px 11px 29px -9px var(--border);
    -moz-box-shadow: 10px 11px 29px -9px var(--border);
    overflow-y: scroll;
    z-index: 20;
}

.title {
    margin-top: 1%;
    margin-left: 10%;
}

.showbar {
    width: 22.5%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    display: none;
    overflow-y: scroll;
    padding: 1%;
    display: none;
}

#customizer {
    display: none;
    /* border: solid; */
    position: fixed;
    bottom: 1%;
    left: 35%;
    z-index: 100;
}




img {
    width: 100%;
}



.slider {
    position: fixed;
    z-index: 50;
    width: 100%;
    height: 5%;
    top: 2%;
    right: -.5%;
}

.slider input {
    background: none;
    width: 100%;
    margin-top: 25%;
    right: 0;
    cursor: ew-resize;
    /* -webkit-transform: rotate(90deg); */
}

input[type='range'] {
    -webkit-appearance: none !important;
    /* background: red; */
    height: 7px;
}

input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    /* background: blue; */
    height: 10px;
    width: 0px;
}

button, input{
    background: rgba(179, 172, 172, 0.599);
    border-radius: 12px;
    color: white;
}



/* LAYOUTS */

.containers1 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* height: 100vh; */
    flex-wrap: wrap;
}

.containers1>* {
    /* font-size: 5vw */
    margin: 10px;
    border-radius: 3px;
    /* background: yellowgreen; */
    border: 5px solid black;
    object-fit: cover;

}

.containers1>*:nth-child(odd) {
    width: 10%;
}

.containers1>*:nth-child(even) {
    width: 20%;
}

.containers1>*:nth-child(2),
.containers1>*:nth-child(4),
.containers1>*:nth-child(9) {
    width: 60%;
}


.containers2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
    grid-gap: 10px;
    align-items: start;
    justify-items: center;
    margin: auto;
    /* width: 540px; */
}

.containers2 img {
    border: 1px solid rgba(0, 0, 0, 0.3);
    /* box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.3); */
    max-width: 100%;
    /* max-height: auto; */
    object-fit: cover;
}

.containers2 img:nth-child(4) {
    grid-column: 3 span;
}


.containers3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10em, 1fr));
    grid-gap: 10px;
    align-items: start;
    justify-items: center;
    margin: auto;
}

.containers3 img {
    border: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    /* max-height: 75%; */
    object-fit: cover;
}

.containers3 img:nth-child(2) {
    grid-column: span 3;
    grid-row: span 2;
}