.first_img {
    margin-bottom: 0;
    height: 535px;
}

.first_img img {
    width: 500px;
    height: auto;
    margin: auto;
    transform: translateX(-100px);
    animation: ani_left 2s forwards;
    margin-top: 55px;
}

.center_50 {
    width: 50vw;
    margin-left: 25.5%;
}

.center_70 {
    width: 70vw;
    margin: auto;
}

.text-center {
    text-align: center;
}

.blue_text {
    color: var(--turquoise);
}

.upper_text {
    text-transform: uppercase;
    color: var(--text-turquoise);
}

.marg_bot10 {
    margin-bottom: 10px;
}

.two-layer-picture {
    width: 30vw;
    min-width: 200px;
    display: grid;
}

.two-layer-picture .front-image,
.two-layer-picture .back-image {
    height: auto;
    grid-column: 1;
    grid-row: 1;
}

.two-layer-picture .front-image {
    position: relative;
    width: 19vw;
    min-width: 126.66px;
}

.two-layer-picture .back-image {
    width: 100%;
}

.front-image {
    z-index: 0;
}

@keyframes ani {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.back-image {
    padding-top: max(23.33px, 3.5vw);
    z-index: -1;
}

#front-image_1 {
    top: max(5.33px, 0.8vw);
    left: max(50px, 7vw);
    opacity: 0;
}

#front-image_2 {
    bottom: max(5.53px, 0.83vw);
    left: max(12px, 2vw);
    opacity: 0;
}

@keyframes ani_left {
    0% {
        transform: translateX(-100px);
    }
    100% {
        transform: translateX(0);
    }
}

.max_width400 {
    max-width: 400px;
}

.g1 {
    grid-column: 1/2;
}

.g2 {
    grid-column: 5/6;
}

.g3 {
    grid-column: 7/8;
}

.g4 {
    grid-column: 1/2;
}

.g5 {
    grid-column: 3/4;
}

.g6 {
    grid-column: 7/8;
}

.entrant_doc-item {
    height: clamp(240px, 20.5vw, 295px);
    width: clamp(240px, 20.5vw, 295px);
    margin-bottom: 20px;
}

.background_ornament {
    position: absolute;
    left: 0;
    top: 53%;
    width: 100vw;
    height: 300px;
    background: url("../img/orn_2.svg") -80px repeat-x;
    z-index: -1;
}

.flflf-bf svg {
    flex-shrink: 0;
}

.indent {
    margin-left: 25.5%;
}

h2.curve_indent {
    text-indent: 15.5%;
    padding-left: 120px;
}

.display_flex {
    display: flex;
    gap: 10px;
}

.image_scale {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.form_lern_flex {
    gap: 10px;
}

@media only screen and (min-width: 1240px) {
    .center_50 {
        width: 620px;
    }

    .center_70 {
        width: 868px;
    }

    .two-layer-picture {
        width: 384px;
    }

    .two-layer-picture .back-image {
        width: 384px;
        padding-top: 44px;
    }

    #front-image_1 {
        width: 243px;
        left: 90px;
        top: 10px;
    }

    #front-image_2 {
        width: 243px;
        left: 25px;
        bottom: 10px;
    }
}

@media only screen and (max-width: 1150px) {
    .entrant_doc {
        width: 100%;
        height: auto;
        margin-top: 70px;
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        column-gap: 10px;
    }

    .entrant_doc a {
        width: 100%;
        height: 100%;
    }
}

@media only screen and (max-width: 950px) {
    .indent {
        margin-left: 0;
    }

    h2.indent {
        font-size: clamp(26px, 1rem, 36px);
    }
}

@media only screen and (max-width: 765px) {
    .flflf-bf a {
        height: 100px;
        width: 100%;
        margin-left: 0%;
    }

    .form_lern_flex {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .display_flex {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media only screen and (max-width: 560px) {
    .flflf-bf a {
        height: 150px;
    }
}

@media screen and (max-width: 550px) {
    .first_img img {
        width: 80vw;
        min-width: 250px;
    }

    .center_50 {
        width: 100%;
        margin: 0;
    }

    h2.curve_indent {
        padding-left: 20px;
    }
}

@media (prefers-color-scheme: dark) {
    .background_ornament {
        background: url("../img/dark_orn_2.svg") repeat-x;
    }
}

@media only screen and (min-width: 1900px) {
    .first_img {
        height: calc(535px * var(--scale));
        background-position: calc(-35px * var(--scale))
            calc(360px * var(--scale));
        background-size: calc(200px * var(--scale)) calc(300px * var(--scale));
    }

    .first_img img {
        width: calc(530px * var(--scale));
        margin-top: calc(55px * var(--scale));
    }

    .blue_text {
        font-size: calc(16px * var(--scale));
        line-height: calc(23px * var(--scale));
    }

    .center_50 {
        width: calc(620px * var(--scale));
    }

    .center_70 {
        width: calc(868px * var(--scale));
    }

    .marg_bot10 {
        margin-bottom: calc(10px * var(--scale));
    }

    .max_width400 {
        max-width: calc(400px * var(--scale));
    }

    .two-layer-picture {
        width: calc(384px * var(--scale));
    }

    .two-layer-picture .back-image {
        width: calc(384px * var(--scale));
        padding-top: calc(44px * var(--scale));
    }

    #front-image_1 {
        width: calc(243px * var(--scale));
        left: calc(90px * var(--scale));
        top: calc(10px * var(--scale));
    }

    #front-image_2 {
        width: calc(243px * var(--scale));
        left: calc(25px * var(--scale));
        bottom: calc(10px * var(--scale));
    }

    .form_lern_flex {
        gap: calc(10px * var(--scale));
    }

    .image_scale {
        margin-bottom: calc(20px * var(--scale));
    }
}
