:root {
    --ae-color-foreground: aliceblue;
    --ae-color-background: dodgerblue;
    --ae-color-accent: midnightblue;
    --ae-font-size: 10vmin;
}

* {
    box-sizing: border-box;
}

html, body {
    font-family: serif;
    background: var(--ae-color-background);
    color: var(--ae-color-foreground);
    text-align: center;
}

h1 {
    font-size: var(--ae-font-size);
    margin-bottom: 0;
}

h2 {
    font-size: calc(var(--ae-font-size) / 2);
    font-weight: normal;
    margin-top: 0;
}

h3 {
    font-size: calc(var(--ae-font-size) / 3);
    font-weight: normal;
    margin-top: 0;
}

header {
    height: 20rem;
    aspect-ratio: 16/9;
    display: grid;
    grid-template-columns: 16rem 1fr;
    grid-template-rows: 16rem;
    align-content: center;
    grid-gap: 0.5rem;
    background-image: url("https://apiadept.com/images/hero/cover-image.jpg");
    background-attachment: scroll;
    background-position-x: center;
    background-position-y: top;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}

header > img {
    object-fit: contain;
    float: left;
    width: 16rem;
    height: 16rem;
}

section {
    min-width: inherit;
    min-height: inherit;
}

section, article, hgroup, .contact, .contact__item {
    display: grid;
    justify-items: center;
    align-items: center;
}

.contact {
    list-style-type: none;
    list-style-image: "";
    grid-template-columns: repeat(auto-fit, minmax(max-content, 1fr));
    padding: 0;
}

.contact__item {
    margin: calc(var(--ae-font-size) * .2);
}

.contact__item a {
    text-decoration: none;
    font-size: calc(var(--ae-font-size) / 3);
    color: var(--ae-color-foreground);
}

.contact__item a:hover {
    transform: translateX(10px);
    font-size: calc(var(--ae-font-size) / 3);
    color: var(--ae-color-accent);
    transition: 0.5s all ease-in-out;
}

@media screen and (min-width: 50rem) {
    .contact {
        min-width: 50rem;
    }
}
