html {
	font-size: 62.5%;
}

* {
    margin: 0;
    padding: 0;
}

body {
    text-align: center;
}

.first-section {
    background-image: url(../images/moon.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 4fr 1fr 3fr;
    height: 100vh;
}

.second-section {
    background-color: #dff6ff;
    width: 100%;
}

.third-section {
    background-color: #dff6ff;
    width: 100%;
}

.item {
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    color: #47b5ff;
    font-family: Charm, cursive;
    font-size: 4.8em;
    font-weight: 400;
    grid-area: 2 / 1;
}

h2 {
    font-family: Poppins, sans-serif;
    font-weight: 400;
    line-height: 1.8em;
}

.h2-1 {
    color: #47b5ff;
    font-size: 2.4em;
    grid-area: 3 / 1;
    padding: 0 10%;
}

.h2-2 {
    color: #1363df;
    font-size: 2.4em;
    margin: 0 auto;
    width: 50%;
}

.flex-container-normal {
    display: flex;
    flex-direction: row;
    padding: 5% 0;
    width: 100%;
}

.flex-container-reverse {
    display: flex;
    flex-direction: row;
    padding: 5% 0;
    width: 100%;
}

.flex-right-img {
    align-items: start;
    margin: 0 auto 0 2%;
    width: 200px;
    height: 200px;
}

.flex-left-img {
    align-items: end;
    margin: 0 2% 0 auto;
    width: 200px;
    height: 200px;
}

.flex-left-img-oval {
    align-items: end;
    margin: 0 2% 0 auto;
    width: 220px;
    height: 340px;
}

.flex-right-text {
    color: #1363df;
    font-family: Poppins, sans-serif;
    font-size: 2em;
    font-weight: 400;
    margin: auto auto auto 2%;
    vertical-align: middle;
    width: 35%;
}

.flex-left-text {
    color: #1363df;
    font-family: Poppins, sans-serif;
    font-size: 2em;
    font-weight: 400;
    margin: auto 2% auto auto;
    vertical-align: middle;
    width: 35%;
}

#jeff-img {
    width: 20%;
}

.footer {
    background-color: #1363df;
    color: #dff6ff;
    font-family: Poppins, sans-serif;
    font-size: 1.2em;
    font-weight: 300;
    padding: 20px 0;
    width: 100%;
}

@media (max-width: 600px) {
    .first-section {
        grid-template-columns: 1fr;
    }

    .flex-container-normal {
        flex-direction: column;
        font-size: 1.2rem;
    }

    .flex-container-reverse {
        flex-direction:column-reverse;
        font-size: 1.2rem;
    }

    .h2-1 {
        font-size: 2em;
    }

    .h2-2 {
        font-size: 2em;
        width: 80%;
    }

    .flex-right-img{
        align-items: center;
        margin: 0 auto 0 auto;
        height: 100px;
        width: 100px;
    }
    
    .flex-left-img{
        align-items: center;
        margin: 0 auto 0 auto;
        height: 100px;
        width: 100px;
    }

    .flex-left-img-oval {
        align-items: center;
        margin: 0 auto 0 auto;
        width: 110px;
        height: 170px;
    }
    
    .flex-right-text {
        font-size: 1.4em;
        margin: auto;
        vertical-align: middle;
        width: 75%;
    }
    
    .flex-left-text {
        font-size: 1.4em;
        margin: auto;
        vertical-align: middle;
        width: 75%;
    }
}
