header {
    position: sticky;
    top: 0;
}
menu > img {
    display: none;
}
img.logo {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 170px;
    animation: shrink 171s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    /*inspiration for scroll animation: https://css-tricks.com/books/greatest-css-tricks/scroll-animation/*/
}
@keyframes shrink {
    to {
        height: 50px;
        top: 5px;
        transform: translateX(-100%);
        left: 100%;
    }
}
menu {
    background-color: #93d1d9 /*#a4d1d7*/;
    margin: 0;
    padding: 0;
    margin-top: 170px;
}
menu div {
    display: flex;
    width: 100%;
    height: 60px;
    box-sizing: border-box;
    padding-right: 150px;
}
menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    height: 100%;
    width: 7rem;
    transition: 0.2s background-color;
}
menu a:hover {
    background-color: #84bdc4;
}
main {
    margin: 4em 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-direction: column;
}
main p,
main li,
main form,
main .wrapper,
main .collage {
    width: 60vw;
}
main .collage {
    display: flex;
    /*grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-template-rows: repeat(auto-fit, minmax(200px, 1fr));
    */gap: 1em;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
main .collage img {
    border-radius: 10px;
    width: 20vw;
}
main h1,
main a {
    text-decoration: none;
    color: #1dbace;
}
main .headerimg {
    height: 50vh;
}
form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
}
input,
textarea {
    background: none;
    outline: none;
    border: 1px solid #93d1d9;
    padding: 3px;
    border-radius: 3px;
    resize: vertical;
}
input:active,
input:focus,
input:hover {
    background-color: #d6eef1;
}
footer {
    background-color: #93d1d9;
    width: 100%;
    min-height: 20vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
footer a {
    text-decoration: none;
    color: inherit;
}
footer .sociallink {
    display: flex;
    height: 2em;
    align-items: center;
    gap: 1em;
}
footer .sociallink img {
    height: inherit;
}
footer .links { 
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    gap: 2em;
    flex-direction: row;
}
