:root {
    --color1-: #faefe6;
}

@font-face {
    font-family: 'SamsungOne';
    src: url('fonts/SamsungOne-400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SamsungOne';
    src: url('fonts/SamsungOne-700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'SamsungSharpSans';
    src: url('fonts/SamsungSharpSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    margin: 0;
    background-color: var(--color1-);
    font-family: "Noto Serif", serif;
}

main {
    padding-bottom: 1%;
}

.section-1 {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background-color: black;
}

.container {
    position: relative;
    margin: 0 auto;
    text-align: center;
}

.banner {
    position: relative;
}

.container .top-img img:first-child,
.container .top-img img:last-child {
    max-width: 100%;
    object-fit: cover;
    opacity: 0;
    filter: blur(8px);
    transform: scale(1.05);
    animation: fadeInScale 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.container .top-img img:first-child {
    display: block;

}

.container .top-img img:last-child {
    display: none;
}

.container .bottom-img img {
    max-width: 100%;
    object-fit: cover;
    opacity: 0;
    filter: blur(8px);
    transform: scale(1.05);
    animation: fadeInScale 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 1.3s;
}


.headline,
.line {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpText 1s ease forwards;
    font-family: 'SamsungSharpSans', sans-serif;
    font-weight: 700;

}

.headline {
    position: absolute;
    max-width: 100%;
    top: 7%;
    left: 50%;
    z-index: 2;
    white-space: nowrap;
    font-size: clamp(1.5rem, 13vw, 220px);
    line-height: 1;
    color: var(--color1-);
    text-align: center;
    animation-delay: 0.8s;
}

.subline {
    display: block;
    font-size: clamp(1.5rem, 13vw, 220px);
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
}

.line {
    max-width: 70%;
    position: absolute;
    bottom: 6%;
    left: 50%;
    color: var(--color1-);
    font-size: clamp(0.5rem, 3.3vw, 50px);
    text-transform: uppercase;
    z-index: 4;
    text-align: center;
    animation-delay: 1.2s;
    white-space: nowrap;
    text-justify: inter-word;
    font-family: 'SamsungOne', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;

}

.sapo {
    max-width: clamp(30%, 70%, 900px);
    margin: 3.5rem auto;
    line-height: 1.8;
    color: var(--color1-);
    text-align: center;
    font-size: clamp(0.8rem, 2.5vw, 39px);
    line-height: 1.2;
    text-justify: inter-word;
    font-family: 'SamsungOne', sans-serif;
    font-weight: 400;
    white-space: nowrap;

}

.sapo p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 1.4s;
}

.section-2 {
    background-color: var(--color1-);

}

.title-content {
    width: 100%;
    padding-top: 4%;
}

.title-content img {
    width: 100%;
    margin: 0 auto;
}

.body-text {
    font-size: clamp(0.2rem, 3.4vw, 25px);
    width: clamp(10%, 100%, 900px);
    text-align: justify;
    margin: 2% auto;
    line-height: 1.5;
    font-weight: 500;
    padding-bottom: 1%;
}

.body-text p {
    margin-bottom: 4%;
}

.card {
    width: 100%;
}

.img-and-quote {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.img-and-quote img {
    display: block;
    width: clamp(10%, 90%, 900px);
    height: auto;
}

@media (max-width: 900px) {


    .body-text {
        padding: 0 10%;
        margin-bottom: 7%;
        font-size: 18px;
        font-weight: 400;
    }

    .img-and-quote {
        padding: 0 5%;
    }

    .sapo {
        margin-top: 5%;
        width: 70%;
    }

}

@media (max-width: 400px) {
    .headline {
        top: 10%;
        font-size: clamp(1.5rem, 13vw, 100px);
    }

    .subline {
        font-size: clamp(1.5rem, 13vw, 100px);
    }

    .line {
        bottom: 5.5%;
        font-size: clamp(0.5rem, 3.4vw, 30px);
    }

    .sapo {
        font-size: clamp(0.3rem, 3vw, 28px);
        margin: 1.5rem auto;
        padding: 0;
        justify-content: center;
        text-align: center;
    }

    .container .top-img img:first-child {
        display: none;
    }

    .container .top-img img:last-child {
        display: block;
    }

    .body-text {
        line-height: 27px;
    }

}


.anim-img,
.fade-in {
    opacity: 0;
    will-change: opacity, transform;
}


.fade-in {
    filter: blur(8px);
    transform: scale(1.05);
}

.animate.anim-img {
    animation: slideInLeft 1s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(1.1);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUpText {
    from {
        opacity: 0;
        transform: translate(-50%, 40px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}