@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100..900&display=swap');

::selection {
    background-color: var(--light-shading);
}

body {
    font-family: Lexend;
    max-width: 800px;
    margin: 25px auto;
    padding: 0 25px;
}

header {
    width: 100%;
    min-height: 260px;
    margin-top: 15px;
    margin-bottom: 30px;
    border-radius: 15px;
    background-position: center;
    background-size: cover;
}

.header-backdrop {
    width: 100%;
    height: 260px;
    background-color: rgba(0, 0, 0, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}

header h1 {
    margin: 0px;
    font-size: 28px;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    text-align: center;
}

@keyframes loading {
    0% {
        background-color: var(--subtle-shading);
    }
    50% {
        background-color: var(--light-shading);
    }
    100% {
        background-color: var(--subtle-shading);
    }
}

.needs-loading {
    background-color: var(--light-shading);
    animation: loading 1s linear infinite;
}

main section {
    padding: 18px 0;
}

main section ul li {
    margin-bottom: 8px;
}

main section.two-column {
    padding: 2px 0 !important;

    @media (min-width: 700px) {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;

        article:first-child {
            flex-basis: calc(50% - 40px);
            margin-right: 20px;
        }

        article:last-child {
            flex-basis: calc(50% - 40px);
            margin-left: 20px;
        }
    }

    @media (max-width: 700px) {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        
        article {
            flex-basis: 100%;
            margin-bottom: 25px;
        }

        article:last-child {
            margin-bottom: 0;
        }
    }
}

main h2 {
    margin: 0px;
    margin-bottom: 20px;
    color: var(--hard-emphasis)
}

main strong {
    color: var(--soft-emphasis);
}

main i {
    color: var(--soft-emphasis);
}

main p {
    margin-top: 8px;
    margin-bottom: 0px;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75em;
}

main .image-spotlight {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px 0;
}

main .image-spotlight img {
    width: 100%;
    max-width: 600px;
}

main p a, 
li a {
    font-weight: bold;
    color: var(--soft-emphasis);
    text-decoration: none;
}

main p a:hover, 
li a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 0.5px;
}

main p.emoji-icon {
    text-indent: -27px;
    padding-left: 25px;
}

main p.emoji-icon.second-level {
    text-indent: -27px;
    padding-left: 55px;
}

footer {
    margin-top: 75px;
    text-align: center;
    font-weight: 200;
    font-size: 12px;
}

footer a {
    text-decoration: none;
    color: var(--hard-emphasis);
}

.chiplet {
    display: inline-block;
    background-color: var(--light-shading);
    color: var(--soft-emphasis);
    padding: 12px 30px;
    border-radius: 25px;
    margin-top: 20px;
    margin-right: 20px;
    text-decoration: none;
    font-weight: 500;
    line-height: 1rem;
    font-size: 18px;
}

.chiplet-animation {
    transition-duration: 0.5s;
}

.chiplet:last-child {
    margin-right: 0px;
}

.chiplet:hover {
    background-color: var(--hard-shading);
}

.chiplet-container {
    text-align: center;
}

a.chiplet {
    text-decoration: none;
    cursor: pointer;
}

a.chiplet:hover {
    text-decoration: none;
}

a.chiplet img {
    float: left;
    height: 1rem;
    padding-right: 7px;
}

.theme-button {
    position: fixed;
    bottom: 42px;    
    right: 42px;    
    background-color: var(--light-shading);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2), 
            0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 9999;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.theme-button:hover {
    background-color: var(--hard-shading); 
}

.theme-button img {
    display: block;
    width: 48px; 
    height: 48px;
}

.non-latin-support {
    font-family: 'Roboto', sans-serif !important;
}