/* -------------------------------------------------------- */

body {
    padding: 1% 0%;
    background-color: rgb(170, 187, 204, 0.05);
    color: rgb(52, 58, 64);
    overflow-x: hidden;
}

#outer_container {
    background-color: #afeeee;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
    /* border-radius: 4px; */
    max-width: 1280px;
    position: relative;
}


/* -------------- Header ------------------------------------------ */

#header {
    background-color: #afeeee;
}

#controls a {
    display: inline-block;
    margin-left: 8px;
}

#controls a i {
    color: rgb(52, 58, 64);
}

.icon-style {
    color: rgb(52, 58, 64, 0.7);
    border-radius: 8px;
    padding: 0px 2px;
}

.icon-style:hover {
    color: rgb(52, 58, 64);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    transition: 0.3s;
}


/* -------------- Welcome Alert (popup) ------------------------------------------ */

#x-alert {
    color: rgb(248, 249, 250);
}

#x-alert:hover {
    box-shadow: 0 0 0 0.25rem rgba(208, 227, 253, 0.25);
}

#intro_alert {
    position: absolute;
    top: 16%;
    left: 20%;
    right: 16%;
    width: 80%;
    max-width: 700px;
    z-index: 100;
    color: rgb(248, 249, 250);
    background-color: rgb(144, 51, 251);
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.5);
    border: none;
    outline: none;
}

@media screen and (max-width: 980px) {
    #intro_alert {
        top: 12%;
        left: 8%;
        right: 4%;
    }
}

.x_icon {
    color: rgb(52, 58, 64, 0.7);
    border-radius: 8px;
    padding: 0px 2px;
}

.x_icon:hover {
    color: rgb(52, 58, 64);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    transition: 0.3s;
}


/* -------------- Paper (popup) ------------------------------------------ */

h2 {
    background-color: rgb(247, 202, 172);
    color: rgb(0, 102, 153);
    padding: 20px 0px;
}

h4 {
    background-color: rgb(247, 202, 172);
    padding: 10px 0px;
}

li {
    margin: 8px 0px;
}

#paperModal img {
    /* box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2); */
    /* border-radius: 4px; */
    height: auto;
}

#img1,
#img2,
#img3,
#img4 {
    max-width: 70% !important;
}

#eok {
    max-width: 60% !important;
}

#grafhma {
    max-width: 40% !important;
}

#pin {
    max-width: 35% !important;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 1200px) {
    .flex {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #img1,
    #img2,
    #img3,
    #img4,
    #eok2,
    #grafhma {
        max-width: 70%;
    }

    #pin {
        max-width: 20% !important;
    }
}

.fraction {
    font-size: 24px;
    line-height: 1;
}

.fraction sup {
    font-size: 50%;
}

.number {
    position: relative;
}

.weight {
    position: relative;
    bottom: -0.5em;
    left: 0;
}


/* -------------------------------------------------------- */

.btn-move-down:active {
    transform: translateY(4px);
    transition: 0.3s;
}

.text-just {
    text-align: justify;
}

.text-center {
    text-align: center;
}


/* -------------- Scroll Bars ------------------------------------------ */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: #F5F5F5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: rgb(109, 117, 125, 0.7);
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgb(109, 117, 125, 0.8);
}

::-webkit-scrollbar-thumb:active {
    background-color: rgb(109, 117, 125);
}


/*
.purple {
  color: rgb(99, 19, 201);
}
*/

.ggbTransform {
    margin: auto;
}