* {
    box-sizing: border-box;
}

/* MOBILE STYLES - portrait */
@media only screen and (min-width:320px) {
    .background-page-grid {
        width: 100vw;
        height: 100vh;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        position: absolute;
   }
    .grid-item {
        display: grid;
        grid-template-columns: auto auto auto;
        grid-template-rows: auto auto auto;
   }
    
    .logo {
        width: 100vw;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
   }
   .menu-button {
    position: absolute;
    top: 90%;
    left: 48%;
    transform: translate(-50%, -50%);
    color: #9b949b;
    font-size: 9pt;
   }
   

   .nav-grid-container {
    width: 100vw;
    height: 28vh;
    position: absolute;
    bottom: 4%;
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;

    display: none;
    }
    .nav-text-container{
        height: 1vh;
    }
    .nav-text {
        color: #9b949b;
        font-size: 9pt;
        background: white;
        width: fit-content;
   }
   .nav-link {
    color: #9b949b;
   }

   .tablet-and-desktop-nav-container  {
       display: none;
   }

}

/* MOBILE STYLES - landscape */
@media only screen and (min-width:568px) {
    .nav-grid-container {
        height: 9vh;
        width: 100vw;
        bottom: 5%;
        grid-template-rows: 1fr;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }
    .logo {
        width: unset;
        height: 100vh;
   }
}

/* TABLET STYLES */
@media only screen and (min-width:700px) and (min-height:700px) {
    .menu-button {
        display: none;
    }
    .tablet-and-desktop-nav-container {
        display:block;
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .nav-text-container-desktop{
        position: relative;
    }
    .nav-text-desktop {
        font-size: 9pt;
        line-height: 30%;
    }
    .nav-link-desktop {
        color: #9b949b; 
        text-decoration: none;
    }
    /* LINK PACEMENTS */
    .upcoming-desktop {
        right: 95%;
    }
    .past-desktop {
        right: 80%;
    }
    .current-desktop {
        right: 40%;
    }
    .house-rules-desktop {
        left: 10%;
    }
    .contact-desktop {
        right: 20%;
    }
    .questionnaire-desktop {
        left: 15%;
    }
    .ruschman-desktop {
        top: 5%;
        right: 33%;
    }
    .archive-desktop {
        top: 90%;
        left: 48%;
    }
}

@media only screen and (min-width:700px) and (min-height:900px) {
    .nav-text-desktop {
        font-size: 10pt;
        line-height: 30%;
    }
}
