
.block-page-header {
    font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
    padding: 30px 40px;
    width: 275px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header-links {
    display: flex;
    user-select: none;
    width: fit-content;
    justify-content: center;
    vertical-align: middle;
    flex-direction: column;
}

.mobile-toggle-bar {
    display: none;
    font-size: 20px;
}


.mobile-header-links {
    display: flex;
    margin: 20px 0;
    user-select: none;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    flex-direction: column;
}

.header-link,
.mobile-header-link {
    position: relative;
    margin: 8px 0;
    width: fit-content;
    font-size: 16px;
    padding: 4px 10px;
    color: black;
    text-decoration: none;
    transition: color 0.2s linear;
    z-index: 1;
}

.header-link:hover {
    color: white;
}

.header-link::after {
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    width: 0;
    bottom: 0;
    height: 100%;
    background-color: #AF272F;
    content: "";
    transition: all 0.3s ease-out;
}

.header-link:hover::after,
.header-link:focus::after {
    cursor: pointer;
    width: 100%;
  }


.current {
    background-color: #AF272F;
    color: white;
}

.header-logo img {
    height: 75px;
}

.header-shards {
  margin-bottom: 25px;
}


.mobile-header-shards {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.header-shards-link,
.mobile-header-shards-link {
    font-size: 20px;
    color: black;
    margin-right: 15px;
}

.header-shards-link:hover {
    color: #AF272F;
}

.mobile-toggle-bar {
    cursor: pointer;
}

.mobile-menu-wrap {
    border-top: 1px solid gray;
    display: none;
    position: absolute;
    top: 90px;
    background: white;
    width: 100%;
}

@media only screen and (max-width: 1000px) and (min-width: 1px) {

    .block-page {
        display: block;
        overflow: auto;
        height: auto;
    }

    .block-page-content {
        margin-top: 90px;
        overflow-x: hidden;
    }

    .mobile-toggle-bar {
        display: block;
    }

    .block-page-header {
        width: 100%;
        position: fixed;
        padding: 10px 0 10px 0;
        background: white;
        z-index: 999;
        border-bottom: 1px solid #cdcdcd;
    }

    .header-logo img {
        height: 50px;
    }

    .header-logo {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 40px;
    }

    .header-links {
        display: none;
        align-items: center;
        width: 100%;
        color: white;
    }

    .header-shards {
        display: none;
        justify-content: center;
        color: white;
    }

}
