* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    display: grid;
    grid-template-rows: 4rem auto fit-content(9rem);
    grid-template-areas: "header" "main" "footer";
}

header {
    grid-area: header;
    display: flex;
    flex-direction: row;
    width: 100vw;
    background: linear-gradient( rgb(52, 52, 73), rgb(0, 0, 255));
    padding: 1rem 1rem;
    position: fixed;
    top: 0;
    z-index: 10;
}

main {
    grid-area: main;
    width: 100vw
}

footer {
    grid-area: footer;
}

.backdrop {
    display: none;
    position: fixed;
    z-index: 100;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
}

.background {
    display: block;
    position: fixed;
    z-index: -100;
    width: 100vw;
    height: 100vh;
    background: url("Clipart/large_blue_circles.gif");
    left: 0;
    top: 0;
}

.header__text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header__title {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    height: 1.5rem;
    vertical-align: middle;
}

.header__subtitle {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    height: 1.0rem;
    vertical-align: middle;
}

.toggle-button {
    width: 3rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding-top: 0;
    padding-bottom: 0;
    vertical-align: middle;
    display: inline-block;
    position: absolute;
    right: 1rem;
}

.toggle-button:focus {
    outline: none;
}

.toggle-button__bar {
    width: 100%;
    height: 0.2rem;
    background: white;
    display: block;
    margin: 0.3rem 0;
}

@media (min-width: 50rem) {
    .toggle-button {
        display: none;
    }
}

.main-nav {
    display: none;
}

@media (min-width: 50rem) {
    .main-nav {
        display: inline-block;
        text-align: right;
        width: calc(100% - 20rem);
        vertical-align: middle;
    }
    .main-nav__items {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .main-nav__item {
        display: inline-block;
        margin: 0 1rem;
    }
    .main-nav__item a, .mobile-nav__item a {
        text-decoration: none;
        color: white;
        font-weight: bold;
        padding: .25rem 0;
    }
    .main-nav__item a:hover, .main-nav__item a:active {
        color: white;
        border-bottom: 5px solid white;
    }
    .main-nav__item-current a {
        color: grey;
    }
}

.mobile-nav {
    display: none;
    opacity: 0;
    position: fixed;
    z-index: 101;
    top: 0;
    left: 0;
    background: rgb(233, 233, 6);
    width: 80%;
    height: 50vh;
    transition: opacity 1s ease-in, transform 1s ease-in, z-index 1s ease-in;
    transform: translateX(-100%);
}

.open_mobile-nav {
    opacity: 1 !important;
    z-index: 102;
    transform: translateX(0);
}

.mobile-nav__items {
    width: 90%;
    height: 100%;
    list-style: none;
    margin: 10% auto;
    padding: 0;
    text-align: center;
}

.mobile-nav__item {
    margin: 1rem 0;
}

.mobile-nav__item a {
    color: black
}

.mobile-nav__item-current a {
    color: grey;
}

.mobile-nav__item a {
    font-size: 1.5rem;
}

.main-footer {
    display: flex;
    flex-direction: column;
    width: 100vw;
    background: linear-gradient( rgb(0, 0, 255), rgb(52, 52, 73));
    padding: .5rem 1rem;
    z-index: 10;
}

.main-footer span {
    color: white;
}

.buy {
    padding: 1rem;
    margin: 0.5rem;
    background: url("Clipart/gold_panel_shadow.gif");
    background-size: cover;
    text-align: center;
    max-width: 1500px;
    min-width: 300px;
    width: 100%;
}

.buy__text {
    font-size: 1.5rem;
}

.buy__button {
    margin: 1rem;
}

.open {
    display: block !important;
}