body {
    font-family: 'Playfair Display', serif;
    margin: 0;
    background-color: #CCDEAE;
}

.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.homepage-section {
    width: 100%;
    min-height: 100vh;
    align-items: end;
    justify-content: start;

    background-image: url('../assets/img/background.jpeg');
    background-size: auto 110vh;
    background-repeat: no-repeat;
    background-position-x: 80%;
    background-position-y: 20%;
    width: 100%;
    height: 100%;
}

.unit-copy {
    width: 100%;
    justify-content: center;
    height: 60vh;
    transition: opacity 2s ease;
    background: linear-gradient(rgba(231, 208, 171, 0), rgba(255, 255, 255, 1));
    opacity: 1;
}

.unit-copy.transparent {
    opacity: 0.1;
}

.unit-copy-wrapper {
    margin-top: 25vh;
    align-items: end;
    justify-content: flex-start;
}

.unit-copy-wrapper * {
    font-weight: 400;
}

.unit-copy-wrapper h1 {
    font-size: 4em;
    margin: 0;
}

.unit-copy-wrapper h2 {
    font-size: 2em;
    margin: 0;
    margin-top: -0.4em;

    font-family: sans-serif;
}

.icons {
    margin-top: 0.2em;
    font-size: 2em;
    width: 100%;
    justify-content: space-between;
}

.icons a {
    color: #000;
    text-decoration: none;
}

.icons a:hover {
    opacity: .5;
}

@media (min-aspect-ratio: 73/100) {
    .homepage-section {
        background-position-x: 80%;
        background-position-y: 0%;
    }
}

@media (orientation: portrait) and (min-width: 600px),
(min-width: 996px) {
    .homepage-section {
        background-position-x: 75%;
    }

    .unit-copy-wrapper h1 {
        font-size: 6em;
    }

    .unit-copy-wrapper h2 {
        font-size: 3em;
    }

    .icons {
        font-size: 3em;
    }
}

@media (orientation: landscape) {
    .homepage-section {
        background-size: cover;
    }

    .unit-copy {
        min-height: 100vh;
        width: 100%;
        align-items: center;
        justify-content: start;

        background: linear-gradient(to right, rgba(255, 255, 2555, 1), rgba(231, 208, 171, 0) 60%);
    }

    .unit-copy-wrapper {
        margin-top: -20vh;
        margin-left: 5%;
    }
}

@media (min-width: 1250px) {
    .unit-copy-wrapper {
        margin-left: 10%;
    }
}