html {
    height: 100%;
    background: radial-gradient(circle at 0% 30%, #00412d, #140b25) fixed;
    font-family: 'Open Sans', sans-serif;
    color: #f0f0f0;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
}

.card {
    margin: max(2vh, 2vw);
    width: min(100%, 600px);
    box-sizing: border-box;
    flex: 0 0 fit-content;
    background-color: rgba(0, 0, 0, 0.4);
    border: 2px solid #aaa;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: stretch;
    padding: 30px;
    gap: 20px;
    text-align: justify;
    border-radius: 10px;
}

.card.fullwidth {
    width: min(90%, 1700px);
}

.card > hr {
    width: 20px;
    border: 1px solid #52E0B5;
}

h1 {
    font-family: 'Exo 2', sans-serif;
    color: #52E0B5;
    font-size: 50px;
    margin: 0;
}

h4 {
    margin-top: 0;
}

.card > img {
    display: block;
    align-self: center;
    object-fit: contain;
    width: min(100%, 1000px);
}

a {
    color: #f0f0f0;
    text-decoration: none;
}

a:hover {
    color: #52E0B5;
}

.accent {
    color: #52E0B5;
}

nav, .links, .links-socials {
    display: flex;
    flex-flow: row nowrap;
    gap: 1vw;
    justify-content: space-between;
}

.links a {
    flex: 0 0 auto;
}

.links .spacer {
    flex: 1 1 0;
}

.quote {
    margin: 10px 0;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.3);
    text-align: left;
    font-style: italic;
    border-left: 4px solid #52E0B5;
    border-radius: 2px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    gap: 10px;
}

.quote .author {
    color: #52E0B5;
    float: right;
    flex: 0 0 75px;
    display: flex;
    align-items: end;
}

.quote .author::before {
    content: "- ";
}

.center, footer {
    text-align: center;
}

@media screen and (max-width: 500px) {
    body {
        justify-content: stretch;
    }

    nav {
        justify-self: start;
        border-bottom: 2px solid #ccc;
        padding-bottom: 10px;
    }

    .card, .card.fullwidth {
        flex: 1 0 fit-content;
        margin: 0;
        padding: 20px;
        border-radius: 0;
        width: 100%;
        border: none;
    }
    .links {
        flex-direction: column;
        text-align: left;
        font-size: 20px;
        gap: 10px;
    }

    .links-socials {
        text-align: right;
        gap: 20px;
        font-size: 20px;
    }
}
