@media screen and (max-width: 1211px) {
    .masterContentTitle {
        font-size: 50px;
        line-height: 58px;
    }
}

@media screen and (max-width: 815px) {
    .goUpButtonWrapper {
        display: none;
    }

    .masterContentBoxesThree {
        grid-gap: 40px;
        grid-template-columns: repeat(2, 1fr);
    }

    .masterContentBoxesTwo {
        grid-gap: 40px;
    }

    .masterContentBoxesThree .masterContentBox {
        grid-column: span 1;
    }

    .masterContentTitle {
        font-size: 36px;
        line-height: 38px;
    }

    .masterContent {
        padding: 5px 0;
    }

    .desktopOnly {
        display: none;
    }
  
    .mobileOnly {
        display: block;
    }
}

@media screen and (max-width: 634px) {
    .masterContentTitle {
        margin-left: 30px;
        margin-right: 30px;
    }
}

@media screen and (max-width: 550px) {
    .masterContentBoxesTwo {
        grid-gap: 40px;
    }

    .masterContentBoxesThree .masterContentBox {
        grid-column: span 2;
    }

    .masterContentBoxesTwo .masterContentBox {
        grid-column: span 2;
    }

    .masterContentTitle {
        font-size: 28px;
        line-height: 30px;
    }

    .masterContent > * {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media screen and (max-width: 380px) {
    .masterContentTitle {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media screen and (max-width: 800px) {
    .scrollable {
        overflow-x: scroll;
        width: calc(100vw - 80px);
        display: flex;
    }

    .scrollable.has-scroll {
        position:relative;
        overflow:hidden; /* Clips the shadow created with the pseudo-element in the next rule. Not necessary for the actual scrolling. */
    }
    .scrollable.has-scroll:after {
        position:absolute;
        top:0;
        left:100%;
        width:50px;
        height:100%;
        border-radius:10px 0 0 10px / 50% 0 0 50%;
        box-shadow:-5px 0 10px rgba(0, 0, 0, 0.25);
        content:'';
    }
    /* This is the element whose content will be scrolled if necessary */
    .scrollable.has-scroll > div {
        overflow-x:auto;
    }

    .scrollable > div::-webkit-scrollbar {
        height:12px;
    }
    .scrollable > div::-webkit-scrollbar-track {
        box-shadow:0 0 2px rgba(0,0,0,0.15) inset;
        background:#f0f0f0;
    }
    .scrollable > div::-webkit-scrollbar-thumb {
        border-radius:6px;
        background:#ccc;
    }
}