@import url("reset.css");

@font-face {
    font-family: "Quarantine";
    src: url("../fonts/quarantine.otf") format("opentype");
}

@font-face {
    font-family: "Berold";
    src: url("../fonts/Berold.otf") format("opentype");
}

@font-face {
    font-family: "Ekaterina";
    src: url("../fonts/Ekaterina.otf") format("opentype");
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: #000;
}

.screen {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: #000;
}

.content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 1.6vw, 20px);
    width: 100%;
    padding: 0 16px;
}

.title {
    font-family: "Quarantine", sans-serif;
    font-size: clamp(92px, 15vw, 200px);
    color: white;
    line-height: 1;
    z-index: 3;
    transform: translateX(-40px);
}

.title h1 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    white-space: nowrap;
    line-height: 1;
}

.title__text {
    display: inline-block;
}

.part-lone {
    position: relative;
    display: inline-block;
    width: 0.78em;
    height: 0.78em;
    margin: 0 0.02em;
    flex: 0 0 auto;
}

.title__image {
    position: absolute;
    width: 1em;
    height: 1em;
    object-fit: contain;

    left: 46%;
    top: 46%;

    transform: translate(-50%, -50%);
    transform-origin: center center;

    animation: snake-spin 10s linear infinite;
}

@keyframes snake-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}
.logo__star {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.30em;
    line-height: 1;
    color: white;
    z-index: 5;
    pointer-events: none;
}

.subtitle {
    font-family: "Berold", serif;
    font-size: clamp(24px, 3.8vw, 50px);
    color: white;
    z-index: 3;
    line-height: 1;
    position: relative;
    transform: translateX(175px);
}

#bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;

    opacity: 1;
    transition: opacity 0.8s ease;
}

.decoration {
    position: absolute;
    z-index: 4;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    pointer-events: none;
}

.decoration img {
    width: clamp(56px, 10vw, 140px);
    height: auto;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .title {
        font-size: clamp(72px, 18vw, 140px);
    }

    .part-lone {
        width: 0.82em;
        height: 0.82em;
        margin: 0 0.020em;
    }

    .title__image {
        width: 1em;
        height: 1em;
        transform: translate(-53%, -55%);
    }

    .logo__star {
        top: 44%;
        font-size: 0.28em;
    }

    .subtitle {
        font-size: clamp(20px, 5.8vw, 34px);
        left: 0.5em;
        transform: translateX(7vw);
    }

    .decoration img {
        width: clamp(44px, 18vw, 90px);
    }
}
/* 2*/

.shapes-screen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;

    display: flex;
    justify-content: center;

    background: linear-gradient(to bottom, #000 0%, #3f3f3f 100%);
}

.shapes-screen__crack {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    z-index: 1;
    pointer-events: none;
}

.shapes-screen__glow {
    position: absolute;
    left: 670px;
    top: 400px;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255,255,255,0.7) 0%,
        rgba(255,255,255,0.25) 30%,
        rgba(255,255,255,0.1) 55%,
        rgba(255,255,255,0) 75%
    );
    filter: blur(26px);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 2;
    pointer-events: none;
}

.shapes-screen__glow.is-active {
    opacity: 1;
}

.shapes-screen__header {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
}

.shapes-screen__accent {
    position: absolute;
    left: 443px;
    top: 45px;
    margin: 0;
    font-family: "Ekaterina", serif;
    font-size: 60px;
    line-height: 1;
    color: #f2eee8;
    white-space: nowrap;
}

.shapes-screen__title {
    position: absolute;
    left: 51px;
    top: 80px;
    margin: 0;
    font-family: "Berold", serif;
    font-size: 80px;
    line-height: 0.9;
    color: #f2eee8;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.center-dropzone {
    position: absolute;
    left: 700px;
    top: 400px;
    width: 220px;
    height: 220px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 4;
}

.shapes-area {
    position: absolute;
    left: 50%;
    top: 50%;

    width: 1440px;
    height: 900px;

    transform: translate(-50%, -50%) translateY(-60px);
}

.shape {
    position: absolute;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
    cursor: grab;
    transform-origin: center center;
    will-change: left, top, transform;
}

.shape:active {
    cursor: grabbing;
}

.shape.is-over-bowl {
    filter: drop-shadow(0 0 18px rgba(255,255,255,0.27));
}


.shape--triangle {
    width: 100px;
    left: 362px;
    top: 335px;
}

.shape--square {
    width: 240px;
    left: 137px;
    top: 494px;
}

.shape--needle {
    width: 24px;
    left: 137px;
    top: 632px;
}

.shape--open-circle {
    width: 95px;
    left: 951px;
    top: 326px;
}

.shape--spiral {
    width: 100px;
    left: 1103px;
    top: 459px;
}

.shape--ring {
    width: 105px;
    left: 1246px;
    top: 632px;
}


.bowl-wrap {
    position: absolute;
    left: 476px;
    top: 632px;
    width: 420px;
    z-index: 6;
}

.bowl {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.bowl-wrap__accent {
    position: absolute;
    left: -20px;
    top: -29px;
    margin: 0;
    font-family: "Ekaterina", serif;
    font-size: 50px;
    line-height: 1;
    color: #ece7df;
    white-space: nowrap;
}

.bowl-wrap__fact {
    position: absolute;
    left: 300px;
    top: -27px; 
    margin: 0;
    max-width: 180px;
    font-family: "Berold", serif;
    font-size: 20px;
    line-height: 0.95;
    color: #ece7df;
    white-space: nowrap;
    max-width: 104px;
    white-space: normal;
}
@media screen and (max-width: 768px) {
    .shapes-screen {
        width: 100%;
        height: 714px;
        min-height: 714px;
        overflow: hidden;
    }

    .shapes-screen__crack {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.18;
    }

    .shapes-screen__header {
        position: absolute;
        inset: 0;
        z-index: 6;
    }

    .shapes-screen__accent {
        left: 172px;
        top: 40px;
        margin: 0;
        font-size: 22px;
        line-height: 1;
    }

    .shapes-screen__title {
        left: 33px;
        top: 60px;
        margin: 0;
        font-size: 30px;
        line-height: 0.9;
        white-space: nowrap;
    }

    .shapes-area {
        position: absolute;
        width: 402px;
        height: 714px;
        left: 50%;
        top: 50%;
        margin: 0;
        transform: translate(-50%, -50%);
        z-index: 4;
    }

    .shape--triangle {
        width: 92px;
        left: 286px;
        top: 180px;
    }

    .shape--square {
        width: 150px;
        left: 108px;
        top: 300px;
    }

    .shape--needle {
        width: 18px;
        left: 28px;
        top: 168px;
    }

    .shape--open-circle {
        width: 88px;
        left: 20px;
        top: 312px;
        right: auto;
    }

    .shape--spiral {
        width: 84px;
        left: 164px;
        top: 205px;
        right: auto;
    }

    .shape--ring {
        width: 88px;
        left: 280px;
        top: 318px;
        right: auto;
    }

    .bowl-wrap {
        position: absolute;
        left: 72px;
        top: 544px;
        width: 258px;
        transform: none;
    }

    .bowl-wrap__accent {
        left: -23px;
        top: -32px;
        margin: 0;
        font-size: 36px;
        line-height: 1;
    }

    .bowl-wrap__fact {
        left: 198px;
        top: -18px;
        right: auto;
        margin: 0;
        max-width: 120px;
        font-size: 16px;
        line-height: 0.9;
    }

    .center-dropzone {
        left: 230px;
        top: 470px;
        width: 150px;
        height: 150px;
        transform: translate(-50%, -50%);
    }

    .shapes-screen__glow {
        left: 230px;
        top: 470px;
        width: 220px;
        height: 220px;
        transform: translate(-50%, -50%);
    }
}
.material-screen {
    position: relative;
    min-height: 100vh;
    overflow: visible;
    background: linear-gradient(to bottom, #3b3b3b 0%,#5D5C5C 100%);
}

.material-screen__bg,
.hands,
.aluminium {
    position: absolute;
}

.material-screen__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,0.4) 20%,
        rgba(0,0,0,0.8) 45%,
        #000 70%
    );

    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,0.4) 20%,
        rgba(0,0,0,0.8) 45%,
        #000 70%
    );
}

.material-screen__title,
.material-screen__info {
    position: absolute;
    z-index: 5;
    color: #f2eee8;
    font-family: "Berold", serif;
}

.material-screen__title {
    top: 30px;
    left: 48px;
    margin: 0;
    font-size: 80px;
    line-height: 0.9;
}

.material-screen__info {
    top: 120px;
    left: 885px;
}

.material-screen__name {
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 60px;
    line-height: 0.9;
}

.material-screen__arrow {
    width: 110px;
    display: block;
}

.material-screen__fact {
    margin: 0;
    font-size: 32px;
    line-height: 0.95;
}

.hands {
    left: 0px;
    top: 210px;
    width: 1440px;
    z-index: 3;
    pointer-events: none;
}

.aluminium {
    left: 1px;
    top: 160px;
    width: 1440px;
    z-index: 4;
    pointer-events: none;

}
/* 4*/

.pressure-screen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    background: linear-gradient(to bottom, #5c5b5b 0%, #c8c8c8 100%);
}

.pressure-screen__content {
    position: absolute;
    inset: 0;
    transform: translate(-100px, -30px);
}

.pressure-screen__heart {
    position: absolute;
    left: 0;
    top: 279px;
    width: 260px;
    height: auto;
    display: block;
}

.pressure-screen__title {
    position: absolute;
    left: 570px;
    top: 67px;
    margin: 0;
    font-family: "Berold", serif;
    font-size: 33px;
    line-height: 1.1;
    text-align: center;
    color: #f2eee8;
}

.pressure-screen__top {
    position: absolute;
    left: 520px;
    top: 170px;
    width: 565px;
    height: 198px;
    background: rgba(92, 92, 92, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.pressure-screen__top-inner {
    width: 500px;
    height: 140px;
    background: #ededed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pressure-screen__value {
    font-family: "Ekaterina", serif;
    font-size: 136px;
    line-height: 1;
    color: #000;
}

.pressure-screen__unit {
    font-family: "Berold", serif;
    font-size: 28px;
    line-height: 1;
    color: #000;
}

.pressure-screen__lower {
    position: absolute;
    left: 520px;
    top: 550px;
    width: 565px;
    height: 200px;
    background: linear-gradient(
        to bottom,
        rgba(110, 110, 110, 0.8) 0%,
        rgba(235, 235, 235, 0) 100%
    );
    z-index: 5;
}

.pressure-screen__material {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    margin: 0;
    font-family: "Berold", serif;
    font-size: 44px;
    line-height: 1;
    color: #f2eee8;
    white-space: nowrap;
}

.pressure-screen__arrow {
    position: absolute;
    width: 50px;
    height: auto;
    display: block;
    z-index: 10;
}

.pressure-screen__arrow--left {
    left: 205px;
    top: 135px;
}

.pressure-screen__arrow--right {
    left: 288px;
    top: 135px;
}

.pressure-screen__flower {
    position: absolute;
    right: 650px;
    top: 370px;
    height: 150px;
    width: auto;
    object-fit: contain;
    transform: translateX(6%);
    z-index: 2;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.18s ease;
    transform-origin: center bottom;
}

.pressure-screen__flower.is-falling {
    transform: translateX(6%) translateY(2px) scaleY(0.96);
}

.pressure-screen__flower.is-squashed {
    transform: translateX(6%) translateY(3px) scaleX(1.08) scaleY(0.82);
}
/* 5*/

.system-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: visible;
    background: linear-gradient(to bottom, #c8c8c8 0%, #2f2f2f 100%);
}

.system-screen__content {
    position: relative;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    overflow: visible;
}

.system-screen__top-links {
    position: absolute;
    left: 47px;
    top: 20px;
    width: 1240px;
    height: 30px;
    z-index: 6;
    font-family: "Berold", serif;
    font-size: 22px;
    line-height: 1;
    color: #4c4c4c;
}

.system-screen__link {
    position: absolute;
    white-space: nowrap;
}

.system-screen__link--balance {
    left: 0;
    top: 0;
}

.system-screen__link--frame {
    left: 300px;
    top: 0;
}

.system-screen__link--energy {
    left: 750px;
    top: 0;
}

.system-screen__link--plastic {
    left: 1240px;
    top: 0;
}


.system-screen__heart {
    position: absolute;
    left: 1243px;
    top: 114px;
    width: 300px;
    height: auto;
    display: block;
    z-index: 2;
    opacity: 0.65;
}

.system-screen__rose {
    position: absolute;
    left: 0px;
    top: 300px;
    width: 220px;
    height: auto;
    display: block;
    z-index: 2;
    opacity: 0.65;
}

.system-screen__snake {
    position: absolute;
    left: 450px;
    top: 15px;
    width: 500px;
    height: auto;
    display: block;
    z-index: 10;
    pointer-events: none;
}

.system-screen__title {
    position: absolute;
    margin: 0;
    font-family: "Berold", serif;
    font-size: 100px;
    line-height: 0.9;
    color: #f2eee8;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
    z-index: 5;
    white-space: nowrap;
}

.system-screen__title--top {
    left: 202px;
    top: 259px;
}

.system-screen__title--bottom {
    left: 839px;
    top: 395px;
}

.system-screen__text {
    position: absolute;
    left: 50px;
    top: 620px;
    margin: 0;
    font-family: "Berold", serif;
    font-size: 26px;
    line-height: 1.15;
    color: #f2eee8;
    z-index: 5;
}

.system-screen__ring {
    position: absolute;
    left: 700px;
    top: 0;
    width: 100px;
    height: auto;
    display: block;
    z-index: 11;
    cursor: pointer;
    transition: top 1.2s ease-in, transform 1.2s ease-in;
}

.system-screen__ring.is-falling {
    top: 760px;
    transform: rotate(25deg);
}
.system-screen__path-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.system-screen__path-svg path {
    fill: none;
    stroke: none;
}

.system-screen__ring {
    position: absolute;
    width: 180px;
    z-index: 11;
    cursor: pointer;
    transform: translate(-50%, -50%);
    display: none;
}

#ring1 {
    display: block;
}

.silver-screen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;

    background: linear-gradient(to bottom, #2b2b2b 0%, #000000 100%);
}

.silver-screen__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    opacity: 1;
    z-index: 1;
}

.silver-screen__title {
    margin: 50px 900px 0 50px;

    font-family: "Berold", serif;
    font-size: clamp(40px, 8vw, 100px);
    line-height: 1;
    color: #f2eee8;
}

.silver-screen__roses {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 1200px;
    margin-top: 20px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 6vw, 120px);
}

.silver-screen__rose {
    display: block;
    height: auto;
}

.silver-screen__rose--left,
.silver-screen__rose--right {
    width: clamp(120px, 12vw, 220px);
}

.silver-screen__rose--center {
    width: clamp(220px, 28vw, 470px);
}

.silver-screen__slider {
    position: relative;
    z-index: 3;

    margin-top: auto;
    margin-bottom: 80px;

    width: min(1000px, 85vw);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* track */
.silver-screen__track {
    position: relative;
    width: 100%;
    height: 110px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.silver-screen__line {
    width: 100%;
    height: 10px;
    background: #f2eee8;
    border-radius: 999px;
}

.silver-screen__circle {
    position: absolute;
    left: 0;
    top: 50%;
    width: clamp(60px, 8vw, 110px);
    height: auto;
    transform: translateY(-50%);
    z-index: 4;
}

/* labels */
.silver-screen__labels {
    width: 100%;

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

    font-family: "Berold", serif;
    font-size: clamp(18px, 2vw, 30px);
    line-height: 1;
    color: #f2eee8;
}

.silver-screen__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin-top: 8px;
}

.silver-screen__arrow {
    width: clamp(36px, 5vw, 56px);
    height: auto;
    display: block;
    cursor: pointer;
}
