@font-face {
    font-family: "Neo";
    src: local("Neo"), url("fonts/neo_sans_std_medium-webfont.woff2") format("woff2"),
        url("fonts/neo_sans_std_medium-webfont.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-height: 200vh;
    display: flex;
    flex-direction: column;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    background: #f5f5f5;
    color: #333;
}

.container {
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

h1 {
    color: #255a2e;
    font-family: "Neo", sans-serif;
    font-weight: 700;
    text-align: center;
    font-size: 7vh;
    margin-top: 20vh;
    margin-bottom: 10vh;

}

h2 {
    font-family: "Neo", sans-serif;
    font-size: 4vh;
    margin: 0 0 1rem 0;
    color: #255a2e;
    text-align: center;
    line-height: 4vh;
}

.moving-img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.4s ease-out;
    z-index: 100;
    pointer-events: none;
}

#top-shloub {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    height: 20vh;
}

#fg {
    position: fixed;
    bottom: 0;
    height: 70vh;
}

#fixedContainer {
    position: fixed;
    bottom: 5vh;
    width: 100vw;
    height: 15vh;
    z-index: 30;
    background: #255a2e;
    color: #fff;
    padding-left: 5vw;
    padding-top: 1vh;
    font-size: 2vh;
}

#fixedContainer h2 {
    margin: 0;
    padding: 0;
    text-align: center;
    color: #ffffff7a;
    font-size: 3vh;
}

#fixedContainer p {
    margin: 0;
    padding: 0;
    text-align: center;
    color: #fff;
}

#fixedContainer p a {
    color: #fff;
}


/* CONTENT STYLES */

.content {
    margin: 0;
    padding-bottom: 100vh;
    max-width: 700px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    z-index: 1;
    overflow: hidden;
}

.section {
    padding: 5rem 2rem;
    text-align: center;
    line-height: 1.4rem;
    font-size: 0.8rem;
    position: relative;
}

.section.color1 {
    background: #255a2e;
    color: #fff;
}

.section.color1 h2,
.section.color2 h2 {
    color: #ffffff8f;
}

.section.color2 {
    background: #2E4052;
    color: #fff;
}

.section.color3 p {
    color: #FFC857;
}

.section h2 {
    margin: 0;
}

.section h2.topspace {
    margin: 10vh auto 0 auto;
}


.section p {
    padding: 0 2vw;
}

.image-spacer {
    width: 100%;
    height: 60vh;
    background-image: url('img/cmy_b.jpg');
}

.image-spacer#pos1 {
    background-position: left;
}

.image-spacer#pos2 {
    background-position: center;
}

.image-spacer#pos3 {
    background-position: right;
}

/* Spoilers */

.spoilers_btn {
    background: #255a2e;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 5vw;
    cursor: pointer;
    text-align: center;
    font-size: 2vh;
    margin-bottom: 2vh;
}

.spoilerRow {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    width: 82vw;
    box-sizing: border-box;
}

.spoilerCode {
    background: #f5f5f5;
    border-radius: 5px;
    font-family: monospace;
    font-size: 2vh;
    color: #333;
    font-weight: bold;
    width: 20vw;
    min-width: 80px;
    max-width: 20vw;
    box-sizing: border-box;
    padding: 0.5em 1em;
    text-align: right;
    overflow-x: auto;
}

.spoilerDesc {
    background: #f5f5f5;
    border-radius: 5px;
    font-size: 2vh;
    color: #333;
    width: 80vw;
    max-width: 80vw;
    box-sizing: border-box;
    padding: 0.5em 1em;
    text-align: left;
    overflow-x: auto;
}

#spoilers2_container {
    background: #255a2e46;
    padding: 1rem;
}

#spoilers2_preamble {
    font-weight: 900;
    padding-bottom: 1rem;
}

/* deco images */
.deco_img {
    position: absolute;
    height: auto;
    z-index: 30;
}

#deco_crits {
    top: -15vh;
    left: -14vw;
    width: 36vw;
    max-width: 252px;
}

#deco_crit2 {
    top: -5vh;
    right: 0vw;
    width: 33vw;
}