/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ========================================
   BODY
======================================== */

body {
    min-height: 100vh;
    background: #ffffff;
    color: #17171a;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow-x: hidden;
}


/* ========================================
   MAIN
======================================== */

main {
    width: 100%;
}


/* ========================================
   MESSAGE CONTAINER
======================================== */

#message {
    width: 90%;
    max-width: 700px;

    margin: auto;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* ========================================
   NORMAL MESSAGE
======================================== */

.message {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.4;

    animation: fadeIn 1s ease;
}


/* ========================================
   SECTION HEADING
======================================== */

.section-heading {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;

    margin-bottom: 15px;

    animation: fadeIn 1s ease;
}


/* ========================================
   SUBTITLE
======================================== */

.subtitle {
    color: #73737a;
    font-size: 16px;

    margin-top: 5px;

    animation: fadeIn 1s ease;
}


/* ========================================
   BODY / CASE TEXT
======================================== */

.case-text {
    max-width: 600px;

    font-size: 20px;
    line-height: 1.6;

    margin: 18px auto;

    color: #444449;

    animation: fadeIn 1s ease;
}


/* ========================================
   BUTTON
======================================== */

.next-button {
    margin-top: 25px;

    padding: 14px 28px;

    border: none;
    border-radius: 30px;

    background: #ff6f91;
    color: white;

    font-size: 16px;

    cursor: pointer;

    animation: fadeIn 1s ease;

    transition: all 0.3s ease;
}


.next-button:hover {
    background: #ff4f81;

    transform: scale(1.05);
}


.next-button:active {
    transform: scale(0.97);
}


/* ========================================
   PHOTOS
======================================== */

.photo {
    display: block;

    max-width: 85vw;
    max-height: 60vh;

    width: auto;
    height: auto;

    margin: 25px auto;

    border-radius: 16px;

    animation: photoAppear 1s ease;
}


/* ========================================
   PHOTO 5 ROTATION
======================================== */

.photo-rotate {
    transform: rotate(-90deg);
}


/* ========================================
   FADE IN ANIMATION
======================================== */

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ========================================
   PHOTO APPEAR ANIMATION
======================================== */

@keyframes photoAppear {

    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .message {
        font-size: 25px;
    }


    .section-heading {
        font-size: 30px;
    }


    .case-text {
        font-size: 17px;
    }


    .next-button {
        font-size: 15px;

        padding: 12px 23px;
    }

}