* {
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    color: black;
    border-radius: 1rem;
}

.header-background {
    background-color: whitesmoke;
    
}
.hero-background {
    background-color: white;
}

.tiles-background {
    background-color: whitesmoke;   
}

.quote-background {
    background-color: white;
}

.action-background {
    background-color: whitesmoke;
}

.footer-background {
    background-color: white;
}

body {
    display: flex;
    flex-flow: column;
}

.content {
    display: flex;
    flex-flow: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5%;
}

.links {
    display: flex;
    gap: 3vw;
}

img {
    display: block;
}

.items {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.action-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: row;
    column-gap: 1rem;
}

.author {
    justify-self: flex-end;
}

a {
    text-decoration: none;
}

.center-content {
    margin: 5vh 10vw;
}

.tiles {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 5vh;
}

.tile-text {
    text-align: center;
    margin-top: 2vh;
    font-size: 1rem;
}

footer {
    text-align: center;
}

.tile-container {
    display: flex;
    flex-flow: column;
    align-items: center;
    width: 24%;
}

.tile-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.logo a {
    font-weight: 900;
    font-size: 3vh;
}

.hero-main {
    font-weight: 900;
    font-size: 1.1rem;
}

.hero-second {
    font-size: 0.9rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero>div {
    width: 50%;
}

.info {
    text-align: center;
}

.quote { 
    display: flex;
    flex-flow: column;
    font-style: italic;
}

.author {
    align-self: flex-end;

}

.action-container .button-link {
    margin-top: 0;
}

.button-container {
    flex: 0 0 auto;
    padding: 0.5em 1.5em;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    background-color: lightgrey;
    width: fit-content;
}

.button-container:hover {
    background-color: darkgrey;
    transform: scale(1.05);
    transition: all 0.1s ease;

}

.hero-text {
    display: flex;
    flex-flow: column;
    gap: 1rem;
}
.main-text {
    font-weight: 900;
    font-size: 1.2rem;
}

.secondary-text {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.links > a {
    font-size: 2vh;
}

/* Medium screens: 2 tiles per row */
@media (max-width: 1023px) {
    .tile-container {
        width: 49%;
    }

    .hero {
        flex-flow: column;
        text-align: center;
        row-gap: 5vh;
    }

    .hero>div {
        width: 100%;
    }

    .items {
        row-gap: 5vh;
    }

    .button-container {
        align-self: center;
    }
}

/* Small screens: 1 tile per row */
@media (max-width: 767px) {
    .tile-container {
        width: 100%;
    }
    
    .action-container {
        flex-flow: column;
        gap: 1rem;
        text-align: center;
    }
}