body {
    margin-top: 3.25rem;
}

p {
    margin: 15px 0px;
}

a {
    color: #5603AD;
    font-weight: bold;
}

a:hover {
    color: #cb46f4;
}

.sticky {
    position: sticky;
    top: 4em;
}

.weight-normal {
    font-weight: normal;
}

.list-square {
  list-style: square inside!important;
}

.is-fullheight {
    height: 100%;
}


/*
 * Blog
 */

.image-overlay {
    position: relative;
    overflow: hidden;
}

.image-overlay img {
    transition: transform 0.5s ease;
}

.image-overlay:hover img {
    transform: scale(1.2);
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
}

.is-max-height-350 {
    max-height: 350px;
}

/* The fixed header must fit the viewport, including after translation loads. */
.navbar.is-fixed-top .navbar-burger {
    flex: 0 0 3.25rem;
    border: 0;
    background: transparent;
    color: inherit;
}

@media screen and (max-width: 1215px) {
    .navbar.is-fixed-top > .container,
    .navbar.is-fixed-top .navbar-burger {
        display: block;
    }

    .navbar.is-fixed-top .navbar-menu {
        display: none;
    }

    .navbar.is-fixed-top .navbar-menu.is-active {
        display: block;
    }

    .navbar.is-fixed-top .navbar-start,
    .navbar.is-fixed-top .navbar-menu .navbar-item {
        display: block;
    }
    .navbar.is-fixed-top > .container,
    .navbar.is-fixed-top .navbar-brand {
        width: 100%;
        min-width: 0;
    }

    .navbar.is-fixed-top .navbar-menu {
        max-height: calc(100dvh - 3.25rem);
        overflow-y: auto;
    }

    .navbar.is-fixed-top .navbar-item {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* Footer links must wrap without pushing narrow viewports sideways. */
footer .control {
    max-width: 100%;
}

footer .tag {
    max-width: 100%;
    height: auto;
    min-height: 2em;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Keep long technical names readable while code blocks retain scrolling. */
@media screen and (max-width: 1215px) {
    .section .column {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .section .tag {
        max-width: 100%;
        height: auto;
        min-height: 2em;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}
