html,
body {
    min-height: 100%;
}

body {
    font-family: 'Besley', serif;
    height: 100vh;
    margin: 0;
    color: #1F2937;
}

main {
    text-align: center;
    width: 100%;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.headline {
    padding-bottom: 15vh;
}

h1 {
    font-size: 10vh;
    font-weight: 500;
    letter-spacing: -0.25rem;
    margin: 0;
    line-height: 1.25em;
}

h1 a {
    color: #1F2937;
    text-decoration: none;
    transition: color 0.5s;
}

h1 a:hover {
    color: #4F46E5;
    animation: text-shadow 0.75s ease-in-out;
}

h3 {
    font-size: 1.5rem;
    font-weight: normal;
    font-style: italic;
    color: #9CA3AF;
    line-height: 1rem;
}

.clouds {
    height: 100%;
    background-color: transparent;
    background-image: url("clouds.svg");
    background-repeat: repeat-x;
    background-size: 50%;

    animation-duration: 30s;
    animation-name: horizontalScroll;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.skyline {
    height: 100%;
    background: url("skyline.svg") bottom center no-repeat;
    background-size: 70% auto;
}

.wind-dash {
    position: absolute;
    opacity: 0;
    animation: windDash 10s ease-out infinite;
}

.wind-dash:nth-of-type(1) {
    left: 15%;
    bottom: 5%;
}

.wind-dash:nth-of-type(2) {
    left: 40%;
    bottom: 16%;
    animation-delay: 0.25s;
}

.wind-dash:nth-of-type(3) {
    left: 65%;
    bottom: 12%;
    animation-delay: 0.40s;
}

.trees {
    width: 60%;
    text-align: center;
    position: absolute;
    left: 20%;
    bottom: 5px;
    display: flex;
    align-items: baseline;
    justify-content: space-around;
}

.trees svg {
    height: auto;
    animation: treeWind 10s ease-out infinite;
    transform-origin: bottom center;
}

.trees svg.bush {
    animation-name: bushWind;
}

.trees svg:nth-child(1) {
    animation-delay: 0.1s;
}

.trees svg:nth-child(2) {
}

.trees svg:nth-child(3) {
    animation-delay: 0.2s;
}

.trees svg:nth-child(4) {
    animation-delay: 0.3s;
}

.trees svg:nth-child(5) {
    animation-delay: 0.4s;
}

.trees svg:nth-child(6) {
    animation-delay: 0.5s
}
