@import url("variables.css");

div.mainLogo 
{
    fill: var(--cyan);
    transition: var(--slow-transition);
    height: 5rem;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}
div.mainLogo > *
{
    transition: var(--slow-transition);
    margin: 0;
    width: auto;
    height: 80%;
}
div.mainLogo > img
{
    width: auto;
    height: auto;
}
div.mainLogo:hover > *
{
    margin: 0 2%;
}

#scrollToTopBtn 
{
    position: fixed;
    right: 2rem;
    bottom: 2rem;

    width: 5rem;
    height: 5rem;
    border-radius: 1rem;

    opacity: 0.5;

    background-color: var(--cyan-4);
}
#scrollToTopBtn:hover
{
    opacity: 1;
}

div.articlebox
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

div.badges
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}
div.badges > a
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    background-color: var(--cyan-3);
    padding: 0.5rem;
    margin: 0.5rem;
    text-decoration: none;
    border-radius: var(--full-round);
    padding-right: var(--padding);
    font-weight: bold;
}
div.badges > a:hover
{
    scale: 0.9;
    cursor: pointer;
}
div.badges img
{
    margin-right: var(--padding);
    width: auto;
    height: 2em;
    border-radius: var(--full-round);
}

img.fit-content
{
    max-width: fit-content !important;
}