/*Common*/
html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #eef1f5;
    width: 100%;
    line-height: 1.6;
    color: #2d3748;
}

h1, h2, h3, h4, h5, h6 {
    margin: 10px;
    font-weight: 700;
    color: #1a202c;
}

p {
    margin: 10px;
}

a {
    text-decoration: none;
    color: #2b6cb0;
    transition: color 0.2s ease;
}

a:hover {
    color: #1a4d80;
}

a:visited, a:active {
    color: #2b6cb0;
}

/*Layout*/
#container {
    margin: 0 auto;
    max-width: 960px;
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

header {
    background-image: url("header_wide_776.webp");
    background-position: right top;
    background-repeat: no-repeat;
    background-color: #ccc;
    height: 240px;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header h1 {
    font-weight: 700;
    text-align: center;
    display: none;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    flex: 1;
}

article {
    max-width: 700px;
    margin: 16px 30px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

article:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

article .article-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

article #selfie {
    width: 100%;
    max-width: 120px;
    margin: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

article h3 {
    font-style: italic;
    margin-top: 0px;
    font-weight: 400;
    color: #4a5568;
}

article h2 {
    margin-bottom: 0px;
}

footer {
    position: relative;
    background: #2d3748;
    padding: 20px 5px 30px;
}

footer .contact-options {
    padding: 0px;
    display: flex;
    justify-content: center;
}

footer .contact-options li {
    display: inline-block;
}

.copywrite {
    position: absolute;
    margin: 0px;
    font-size: 0.8em;
    left: 0;
    right: 0;
    bottom: 6px;
    text-align: center;
    font-style: italic;
    color: #a0aec0;
}

.contact-options img {
    width: 40px;
    margin: 10px;
    filter: brightness(0) invert(0.75);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.contact-options a:hover img {
    transform: scale(1.15);
    filter: brightness(0) invert(1);
}

@media screen and (min-width: 560px) {
    header {
        height: 270px;
    }
}

@media screen and (min-width: 600px) {
    header {
        height: 330px;
    }
}

@media screen and (min-width: 960px) {
    header {
        height: 420px;
    }
    #container {
        margin: 0 auto;
        min-height: 100vh;
    }
    main {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        padding: 30px 20px;
    }
    article {
        flex: 1 1 0;
        max-width: 440px;
        margin: 16px;
    }
    article .article-body {
        flex-direction: column;
    }
    .copywrite {
        text-align: right;
        right: 10px;
    }
}
