:root {
    --textColor: #000;
    --backgroundColor: #fff;

    --margin: 1.5rem;
    --margin-s: calc(var(--margin) / 3);
    --margin-l: calc(var(--margin) * 2);

    --min-width: 44px;
    --min-height: 44px;
}

body {
    min-height: 100vh;
    scroll-behavior: smooth;
    line-height: 1.5;
    background-color: var(--backgroundColor);
    padding: var(--margin);
    margin: 0;
    color: var(--textColor);
    position: relative;
    font-family: 'Raleway', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

ul[class] {
    padding: 0;
    list-style: none;
}

a,
a:visited,
a:active {
    color: black;
    display: inline-block;
    text-align: center;
}

main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: 500px;
    /*height: 100%;*/
    margin: auto;
}

section {
    margin: var(--margin-l) 0;
}

footer ul,
.contact ul {
    list-style-type: none;
    padding: 0;
}

.contact ul {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.contact ul li a {
    text-decoration: none;
    text-align: center;
}

a:hover {
    filter: grayscale(0.7);
}

.contact ul li a svg {
    width: var(--min-width);
    height: auto;
    max-height: var(--min-height);
}


#background {
    position: absolute;
    z-index: -999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    opacity: 0.08;
}

#background svg {
    position: absolute;
    width: 22px;
    height: 22px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

#background svg:nth-child(-n+3) {
    display: none;
}

#background svg path {
    stroke: #000;
    fill: transparent;
}