@import url('https://fonts.googleapis.com/css2?family=Chango&family=Open+Sans:wght@300&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
}

:root {
    --black: #000000;
    --charcoal: #2F4550;
    --cadet: #586F7C;
    --powder-blue: #B8DBD9;
    --white: #F4F4F9;

    --size1: 10px;
    --size2: calc(var(--size1) * 2);
    --size3: calc(var(--size1) * 3);
    --size4: calc(var(--size1) * 4);
    --size5: calc(var(--size1) * 5);
    --size6: calc(var(--size1) * 6);
    --size7: calc(var(--size1) * 7);
    --size8: calc(var(--size1) * 8);
}

h1 {
    color: var(--charcoal);
    font-family: 'Chango';
    font-size: 20vw;
    text-align: center;
    /* text-shadow: 0 0 2px var(--cadet); */
}

body {
    background-color: var(--white);
}

main {
    min-height: calc(100vh - 100px);
}

section {
    margin: 0 auto;
    min-width: 300px;
    padding: var(--size8) 0;
    width: 60%
}

ul li {
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 6vw;
    margin: 0 0 var(--size5) 0;
}

ul li span:not(.icon) {
    padding: 0 0 0 var(--size3);
}

ul li .icon {
    display: inline-flex;
    max-width: var(--size7);
    min-width: var(--size-4);
    width: 25%;
}

ul li a {
    color: var(--charcoal);
    text-decoration: none;
}

svg {
    fill: var(--powder-blue);
    height: 100%;
    width: 100%;
    transition: all linear 300ms;
}

ul li:hover svg {
    fill: var(--cadet);
}

footer {
    align-items: center;
    background-color: var(--cadet);
    display: flex;
    justify-content: center;
    height: 100px;
}

footer a {
    color: var(--white);
    display: block;
    font-size: 1.5rem;
    text-decoration: none;
}

footer a:after {
    background-color: var(--white);
    border-radius: 50%;
    content: '';
    left: 30px;
    position: absolute;
    transform-origin: center;
    height: 50px;
    opacity: 0;
    top: -8px;
    width: 50px;
}

footer a:hover:after {
    animation: footerHover 1s;
}

@keyframes footerHover {
    0% { opacity: 0; transform: scale(1); }
    70% { opacity: 0.1; transform: scale(1.75); }
    100% { opacity: 0; transform: scale(1); }
}
