@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

@font-face {
    font-family: 'eternal';
    src: url(Eternal.ttf);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-size: 16px;
    line-height: 1.3;
    font-family: 'Bebas Neue', cursive;
    background: #fff;
    overflow-x: hidden;
}

.wrapper {
    width: 400%;
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
}

.logo {
    font-family: 'eternal';
    font-size: 7rem;
    position: fixed;
    z-index: 10;
    top: 15%;
    left: 4rem;
    line-height: 0.9;
}

.line {
    background-color: red;
    height: 1rem;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

section.character::before {
    content: '';
    width: 2rem;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
}

.block {
    width: 50%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    transform: translateX(-100%);
}

.sung::before, .sung .block {
    background-color: #040f64;
}

.igris::before, .igris .block {
    background-color: #ae1111;
}

.iron::before, .iron .block {
    background-color: #4a90e2;
}

.caption {
    position: absolute;
    bottom: 4rem;
    left: 4rem;
    width: 30%;
    font-weight: 400;
    color: #444;
    font-family: monospace;
    transform: translate(100%, 100%);
}

.character img {
    position: relative;
    z-index: 10;
    height: 90vh;
    width: auto;
    transform: translateY(-100%);
}

.huge-text {
    font-size: 25rem;
    width: 100%;
    text-align: center;
    color: #f52b2b;
    position: absolute;
    top: 20%;
    left: 0;
    transform: translateY(100%);
    font-weight: 700;
}

.nickname {
    position: absolute;
    top: 4rem;
    right: 4rem;
    font-size: 3rem;
    text-align: right;
    transform: translateY(-200%);
}

.nickname span {
    display: block;
    font-size: 70%;
    color: #fff;
}

.quote {
    position: absolute;
    bottom: 4rem;
    right: 4rem;
    font-size: 3rem;
    width: 30%;
    text-align: right;
    transform: translateY(200%);
}

.quote::before, .quote::after {
    content: '';
    color: #fff;
}

/* ========== TABLET (portrait & landscape) ========== */
@media (max-width: 1024px) {
    .wrapper {
        width: 100%;
        flex-direction: column;
        height: auto;
    }
    .logo {
        position: static;
        font-size: 4rem;
        text-align: center;
        margin: 2rem 0 1rem 0;
    }
    section {
        width: 100%;
        height: auto;
        min-height: 60vh;
        flex-direction: column;
        padding: 2rem 1rem;
    }
    section.character::before, .block {
        display: none;
    }
    .character img {
        height: 40vw;
        max-height: 60vh;
        width: auto;
        max-width: 90vw;
        margin: 0 auto 1rem auto;
        display: block;
        transform: none;
    }
    .huge-text {
        font-size: 6rem;
        position: static;
        margin: 1rem 0;
        transform: none;
    }
    .caption, .nickname, .quote {
        position: static;
        width: 100%;
        left: auto;
        right: auto;
        bottom: auto;
        top: auto;
        transform: none;
        text-align: center;
        margin: 1rem 0;
        font-size: 1.1rem;
    }
    .nickname span {
        font-size: 1em;
    }
    .line {
        height: 0.5rem;
        width: 80%;
        margin: 1rem auto;
        position: static;
        transform: none;
    }
}

/* ========== SMARTPHONES ========== */
@media (max-width: 600px) {
    .logo {
        font-size: 2.2rem;
        margin: 1.2rem 0 0.5rem 0;
    }
    .huge-text {
        font-size: 2.2rem;
    }
    .character img {
        height: 40vw;
        max-height: 40vh;
    }
    .caption, .nickname, .quote {
        font-size: 0.95rem;
    }
    .line {
        height: 0.3rem;
    }
}

html, body {
    overflow-x: hidden;
}