:root {
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    position: relative;
    display: flex;
    overflow: hidden;
}

main {
    padding-top: 2rem;
    flex: 1;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
}

main > section {
    flex: 1;
}

main > section#two {
    padding-left: 2rem;
    padding-right: 2rem;
}

img {
    border-radius: 100%;
}

h1 {
    font-family: 'Staatliches', cursive;
    font-weight: 400;
    font-size: 3rem;
    color: #2d3436;
    margin: 0;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: #636e72;
}

footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1rem;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

footer > a {
    text-decoration: none;
    color: #6c5ce7;
}

footer > a:hover {
    color: #a29bfe;
}

/* IMPRESS */

.impress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: white;
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.impress > .impress-content {
    max-width: 500px;
}

.impress > .impress-content > header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #636e72;
}

.impress > .impress-content > header > h1 {
    margin: 0;
}

.impress > .impress-content > p {
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.close-btn {
    cursor: pointer;
}

@media screen and (min-width: 500px) {
    .impress {
        align-items: center;
    }
}

@media screen and (orientation: landscape) {
    main {
        padding-top: 0;
        flex-direction: row;
        text-align: center;
    }

    main > section#two > h1, main > section#two > h2 {
        text-align: left;
    }
}