body {
    width: 100%;
    margin: 0;
    font-family: "Source Sans Pro Topnav", sans-serif;
    overflow-y: scroll;
    /* height: 100%; */
    background-color: #f5f5f5;
    /* -webkit-overflow-scrolling: touch; */
    /* iOS velocity scrolling */
}
.display-none {
    display: none;
}

#header-container {
    position: fixed;
    width: 100%;
    display: flex;
    flex-direction: row;
    background-color: #282c34;
    font-size: 40px;
    font-weight: 200;
    z-index: 4;
}

#left-filler-column {
    width: 33%;
    display: flex;
    flex-direction: row;
}

#logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 33%;
    white-space: nowrap
}

#button-group {
    padding: 20px 0 20px 0;
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    width: 33%;
    font-size: medium;
    align-items: center;
    z-index: 1;
    top: 0;
}

#create-account,
.menu {
    margin-right: 1%;
}

.button-group {
    margin-right: 5px;
    color: white;
    border: lightblue 1px solid;
    width: fit-content;
    padding: 4px;
    border-radius: 5px;
    font-size: small;
    display: inline;
    float: right;
}

/* .button-group-left-col {
    margin-left: 5px;
    color: white;
    border: lightblue 1px solid;
    width: fit-content;
    padding: 4px;
    border-radius: 5px;
    font-size: small;
    display: inline;
    float: left;
} */

.user-login-text {
    color: #282c34;
    margin-right: 5px;
    font-size: 14px;
    font-family: "IBM Plex Sans", Helvetica, Arial, sans-serif;
    font-weight: bold;
    background-color: #eff3f7;
    border: lightblue 1px solid;
    border-radius: 15px;
    padding: 3px 5px 3px 5px;
    /*
    display: flex;
    flex-direction: row;
    justify-content:center;
    align-items: center;
   
    font-size: medium;
    align-items: center;
    z-index: 1;
    top: 0;  */
}

a {
    color: white;
    text-decoration: none;
}

#nav-header {
    color: #282c34;
    width: 100%;
    font-size: 5vmin;
    text-align: center;

}

#nav-header-text {
    margin: auto;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: xx-large;
}

.nav-button {
    width: 4rem;
    height: 2.5rem;
    border: #282c34 1px solid;
    background-color: #fabd7b;
    border-radius: 25%;
    display: inline-block;
}

.nav-button:hover {
    box-shadow: 2px 2px 5px #a7a2a2;
}

#left-control {
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#left-arrow {
    border-bottom: #282c34 .4rem solid;
    border-left: #282c34 .4rem solid;
    width: .6rem;
    height: .6rem;
    margin: 0;
    transform: rotate(45deg);
}

#right-control {
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#right-arrow {
    border-bottom: #282c34 .4rem solid;
    border-right: #282c34 .4rem solid;
    width: .6rem;
    height: .6rem;
    margin: 0;
    transform: rotate(-45deg);
}

#categories {
    border-left: #282c34 1px solid;
    border-right: #282c34 1px solid;
    padding: 3px 10px 3px 10px;
    margin: 0;
}

#nav-bar-divider {
    width: 100%;
    height: .5em;
    background-color: #f0f0f0;
}


#nav-bar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;

}

#nav-bar {
    width: 100%;
    overflow: hidden;
    padding-top: 20px;
    text-align: center;
    white-space: nowrap;
    height: 10%;
    display: flex;
    flex-flow: row;
}

.nav-bar-item {
    /* border: #fabd7b 8px solid; */
    /* font-size: calc(5px + 2vmin); */
    border-radius: 5px;
    color: #282c34;
    margin: 10px;
    width: 20%;
    /* display: flex; */
    /* flex-flow: column; */
    padding: 3px;
    justify-content: center;
    background-color: #fabd7b;
}

.nav-bar-item:not(.focused):hover {
    box-shadow: 2px 2px 5px #a7a2a2;
}

.fade-0 {
    background-color: #fabd7b;
    animation-name: fade1;
    animation-duration: 1s;
}

@keyframes fade1 {
    0% {
        opacity: 0
    }

    25% {
        opacity: 25
    }

    50% {
        opacity: 50
    }

    100% {
        opacity: 100
    }
}

.fade-1 {
    background-color: #fabd7b;
    animation-name: fade2;
    animation-duration: 2s;
}

@keyframes fade2 {
    0% {
        opacity: 0
    }

    29% {
        opacity: 25
    }

    54% {
        opacity: 50
    }

    100% {
        opacity: 100
    }
}

.fade-2 {
    background-color: #fabd7b;
    animation-name: fade3;
    animation-duration: 3s;
}

@keyframes fade3 {
    0% {
        opacity: 0
    }

    31% {
        opacity: 25
    }

    56% {
        opacity: 50
    }

    100% {
        opacity: 100
    }
}

.fade-3 {
    background-color: #fabd7b;
    animation-name: fade4;
    animation-duration: 3s;
}

@keyframes fade4 {
    0% {
        opacity: 0
    }

    33% {
        opacity: 25
    }

    58% {
        opacity: 50
    }

    100% {
        opacity: 100
    }
}

.fade-4 {
    background-color: #fabd7b;
    animation-name: fade5;
    animation-duration: 4s;
}

@keyframes fade5 {
    0% {
        opacity: 0
    }

    35% {
        opacity: 25
    }

    61% {
        opacity: 50
    }

    100% {
        opacity: 100
    }
}



@keyframes underline-keyframe {
    0% {
        opacity: 0
    }

    35% {
        opacity: 25
    }

    61% {
        opacity: 50
    }

    100% {
        opacity: 100
    }
}

:root {
    --arrowAndContainer: #eff3f7;
    --paragraphBackgroundColor: white;
    --paragraphTitleColor: #63686c;
}

/* #arrow {
  rotate: 45deg;
  background-color: var(--arrowAndContainer);
  height: 40px;
  width: 40px;
  position: absolute;
  top: -15px;
  z-index: 1;
} */

#category {
    /*    padding-top: 55px;*/
    height: 600px;
    margin-left: 10px;
    margin-right: 10px;
    background-color: var(--arrowAndContainer);
    border-radius: 5px;
    position: relative;
    display: flex;
    flex-flow: row;
}

.category-header {
    top: 20px;
    margin: auto;
    left: 0px;
    right: 0px;
    text-align: center;
    width: 25%;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 5PX;
    padding-bottom: 5px;
    background-color: white;
    border-radius: 20px;
    border: solid 1px lightblue;
    font-size: 20px;
    z-index: 2;
    font-family: 'Times New Roman', Times, serif;
    position: absolute;
}




.focused {
    border: solid 1px #282c34;
    box-shadow: 2px 0px 8px 2px rgb(192, 193, 194);
}

.noSelect:focus {
    outline: none !important;
}

.noSelect {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

p:not(.noSelect),
span:not(.noSelect) {
    -webkit-tap-highlight-color: lightblue;
    -webkit-touch-callout: text;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: inherit;
}

.scroll-to-top-button {
    position: fixed;
    right: 2%;
    bottom: 50px;
}

.menu {
    display: none;
    font-size: medium;
}

@media(max-width: 800px) {
    #grid-container {
        font-size: xx-large;
        font-weight: 300;
        margin: auto;
    }

    .menu {
        display: inline;
        font-size: medium;
        background-color: white;
        border-radius: 2px;
    }

    #profile,
    #user-text,
    #logout-text,
    #about-text,
    #login-text,
    #create-account {
        display: none;
    }

    .nav-bar-item {
        font-size: small;
    }
}

@media(min-width: 801px) and (max-width: 1150px) {

    /* .card-info-container {
        right: 12px;
        top: 7px;
        padding:5px 6px;
    } */
    /* .diy-fa-sm {
        font-size: 1em;
    }
    .fa-lg{
        vertical-align:0;
    } */


}

@media(max-width: 950px) {
    .user-login-text {
        width: min-content;
    }

    /* #header-container{
        padding: 20px 0 20px 0;
    } */
}



/* div.loader {
  background-color: #656d81;
  opacity: .5;
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: middle;
  z-index: 5;
  top: 0;
  bottom: 0;
  padding: auto;
  place-content: center;
} */

div.loader {
    background-color: #63686c;
    opacity: .4;
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    vertical-align: middle;
    z-index: 6;
    top: 0;
    bottom: 0;
    left: 0;
    padding: auto;
    place-content: center;
}

div.loader-text {
    opacity: 1;
    z-index: 5;
    color: white;
    font-size: 25px;
}