::-moz-selection {
    color: black;
    background-color: #fa807299;
}

::selection {
    color: black;
    background-color: #fa807299;
}

body {
    font-family: "DM Sans", serif;
    font-style: normal;

    justify-content: center;
    margin: 32px;
    margin-left: 25vw;
    margin-right: 25vw;
    background-color: #f9f9f9;
}

main {
    min-height: 100svh;
}

details {
    margin-bottom: 12px;
    border: 1px solid #d5d5d5;
    background-color: #f0f0f0;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0px 0px 10px #00000011;
    overflow: hidden;

    transform-origin: top;
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
    user-select: none;
}

details[open] {
    animation: detailsOpen 180ms ease forwards;
    box-shadow: 0 6px 18px #00000018;
}

@keyframes detailsOpen {
    from {
        transform: scaleY(0.985);
        opacity: 0.96;
    }

    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

details summary {
    cursor: pointer;
    transition: 0.2s ease-in-out;
    margin: 10px;
}


details summary:hover {
    font-weight: 600;
    color: salmon;
}

h1,
h2,
h3 {
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    font-style: normal;
}

a {
    text-decoration: underline wavy;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;

    /* WebKit prefixed fallbacks */
    -webkit-text-decoration-thickness: 1.5px;
    -webkit-text-underline-offset: 3px;

    color: black;
    transition: 0.2s ease-in-out;

}

a:hover {
    color: salmon;
    font-weight: 600;
}

footer {
    width: 100%;
    align-content: center;
    text-align: center;

    min-height: auto;
}

footer p {
    color: #7d7d7d;
}

footer p a {
    transition: none;
    color: inherit;
}

footer p a:hover {
    color: inherit;
    font-weight: inherit;
}

footer p a img {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    filter: invert(0.49);
    transition: 0.3s ease-in-out;
}

footer p a img:hover {
    filter: none;
}

@media (max-width: 900px) {
    body {
        margin-left: 10%;
        margin-right: 10%;
    }
}