/* RESET */
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 100%;
}

/* BODY */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #e9bff4;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* LINKS */
body a {
    text-decoration: none;
    color: inherit;
}

/* MAIN LAYOUT */
main {
    width: 100%;
    height: 100%;
}

/* HERO SECTION */
.main__wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px;
}

.main__description {
    font-size: 1.7em;
    font-weight: 500;
    color: #000;
}

.main__heading {
    font-size: 4em;
    font-weight: 800;
    line-height: 1.2;
}

.nasa-logo {
    width: 500px;
}

.main__separator {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 600px;
    width: 500px;
}

/* BUTTONS */
#main__button__container {
    display: flex;
    margin-top: 90px;
    gap: 40px;
}

.main__btn {
    font-size: 1.6em;
    width: 280px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid black;
    color: #fff;
    background-color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.main__btn:hover {
    background-color: #222;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ABOUT / GOAL SECTIONS */
.right__container {
    width: 700px;
}

.about__section,
.goal {
    width: 100%;
    padding: 40px;
}

.about__section h3,
.goal h3 {
    font-size: 3em;
    margin-bottom: 20px;
}

/* CHALLENGE SLIDE */
.challenge__slide {
    width: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

.challenge__content {
    max-width: 900px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.challenge__content.visible {
    opacity: 1;
    transform: translateY(0);
}

.challenge__content h3 {
    font-size: 3em;
    margin-bottom: 30px;
}

.challenge__content p {
    font-size: 2em;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* GOAL SECTION (DARK) */
.goal {
    background-color: #111; /* dark gray / black */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.goal__section {
    font-size: 2.2em;
    line-height: 1.4;
}

.bottom__container {
    display: flex;
    justify-content: space-between;
    font-size: 1.8em;
}

.bottom__container div p {
    margin-bottom: 10px;
}

/* RESPONSIVE */
@media only screen and (max-width: 600px) {
    .main__wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: auto;
        padding: 20px 0;
    }

    .main__separator {
        width: 90%;
        height: auto;
    }

    .nasa-logo {
        max-width: 300px;
    }

    .main__heading {
        font-size: 2.5em;
    }

    #main__button__container {
        flex-direction: column;
        gap: 20px;
    }

    .about__section,
    .goal,
    .challenge__slide {
        padding: 20px;
    }

    .challenge__content h3 {
        font-size: 2.2em;
    }

    .challenge__content p {
        font-size: 1.5em;
    }

    .goal__section {
        font-size: 1.8em;
    }

    .bottom__container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
