/*
 NAVIGATION
*/

/* Desktop screen navigation */
@media only screen and (min-width: 768px) {
    .navbar {
        display: block;
    }
    .nav-mobile {
        display: none;
    }
    main {
        margin-left: 5rem;
    }
}

.nav-mobile svg {
    margin-top: 0;
    margin-right: 0;
}

.navbar {
    top: 0;
    left: 0;
    width: 5rem;
    height: 100vh;
    position: fixed;
    background-color: var(--primary);
    transition: 200ms ease;
    box-shadow: rgba(0, 0, 0, 0.3) 4px 4px 5px;
    z-index: 100;
}

.navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%
}

.nav-item {
    width: 100%;
    margin-top: 20px;
}

.nav-item:last-child {
    margin-top: auto;
}

.nav-item:first-child {
    margin-top: 0px;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 5rem;
    color: var(--accent);
    text-decoration: none;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition-speed);
}

.nav-link:hover {
    filter: grayscale(0%) opacity(1);
    background: var(--primary2);
    text-decoration: none;
}

.link-text {
    display: none;
    margin-left: 1rem;
    color: var(--accent);
}

.nav-link svg {
    min-width: 2rem;
    margin: 0 1.5rem;
    width: 2rem;
}

.navbar:hover {
    width: 16rem;
}

.navbar:hover .link-text {
    display: block;
    filter: drop-shadow(0 0 20px var(--accent));
}

path {
    fill: var(--accent);
    transition: var(--transition-speed);
}


/* Mobile screen navigation */
@media only screen and (max-width: 768px) {
    :root {
        font-size: 15px;
    }
    .navbar {
        display: none;
    }
    .nav-mobile {
        display: flex;
        justify-content: space-evenly;
    }
    main {
        margin-left: 0rem;
    }
    svg {
        width: 2em;
    }
}

.nav-mobile {
  text-align: center;
  font-size: 1rem;
  border-bottom: 1px solid #dee2e6;
  padding-left: 5px;
  padding-right: 5px;
  margin-top: 20px;
}

.nav-link-mobile {
  font-size: 12px;
  text-decoration: none;
  display: flex;
  padding: 5px 5px;
  color: #212529;
  margin-right: 5px;
  border-bottom: 2px solid #FFFFFF
}

.nav-link-mobile:hover {
  text-decoration:none;
  background-color: #d0ebff;
  border-bottom: 2px solid #339af0
}

.grey-button {
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition-speed);
}

.grey-button:hover {
    filter: grayscale(0%) opacity(1);
}

/*
 BODY
*/

/* Body */
body {
    background-color: var(--background);
    color: var(--text);
    margin: 0;
    padding: 0;
}

body::-webkit-scrollbar {
    width: 0.4rem;
}

body::-webkit-scrollbar-track {
    background: var(--primary2);
}

body::-webkit-scrollbar-thumb {
    background: var(--accent);
}

.version-text {
    display: flex;
    align-items: center;
    gap: 5px;
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 5px;
    color: black;
    font-size: 12px;
}

.version-text svg {
    width: 1.4rem;
    cursor: pointer;
}

.version-text svg path {
    fill: var(--primary2);
}

.bug-popup {
    position: fixed;
    right: 3rem;
    bottom: 3rem;
    background: #fff;
    padding: 2em;
    border-radius: .75rem;
    line-height: 1.6;
    overflow: hidden;
    margin-bottom: 2rem;
    font-size: .875rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
}

.bug-popup h2 {
    font-size: 1.5rem;
}

.bug-popup p {
    color: #4b5563;
    margin: .5rem 0 1.5rem;
    font-size: 1rem;
}

.bug-popup textarea {
    font-family: 'Montserrat', sans-serif;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
    border: none;
    outline: none;
}

.bug-popup button {
    display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-slide {
  animation: slideIn 0.2s ease;
}

main {
  padding: 1rem;
}

html {
    height: 100%;
}

body {
    background-attachment: fixed;
}

/*
 ALERT MESSAGES
*/

/* Pop-up messages */
.alert {
  width: fit-content;
  position: relative;
  top: 10;
  left: 0;
  height: auto;
  padding: 10px;
  margin-bottom: 10px;
  line-height: 1.8;
  border-radius: 5px;
  cursor: hand;
  cursor: pointer;
  font-family: sans-serif;
  font-weight: 400;
}

.alertCheckbox {
  display: none;
}

:checked + .alert {
  display: none;
}

.alertText {
  display: table;
  text-align: center;
  font-size: 16px;
}

.alertClose {
  float: right;
  padding-top: 5px;
  font-size: 10px;
}

.clear {
  clear: both;
}

.info {
  background-color: #EEE;
  border: 1px solid #DDD;
  color: #999;
}

.success {
  background-color: #EFE;
  border: 1px solid #DED;
  color: #9A9;
}

.notice {
  background-color: #EFF;
  border: 1px solid #DEE;
  color: #9AA;
}

.warning {
  background-color: #FDF7DF;
  border: 1px solid #FEEC6F;
  color: #C9971C;
}

.error {
  background-color: #FEE;
  border: 1px solid #EDD;
  color: #A66;
}

/*
 BOX-SHADOWS
*/

/* Website style classes */
.regular-box-shadow {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.foreground-box-shadow {
    box-shadow: .3rem .3rem .6rem #c8d0e7, -.2rem -.2rem .5rem #ffffff;
}

.foreground-box-shadow-inset {
    box-shadow:  4px 4px 6px 0 rgba(255,255,255,.3),
                  -4px -4px 6px 0 rgba(116, 125, 136, .2),
        inset -4px -4px 6px 0 rgba(255,255,255,.2),
        inset 4px 4px 6px 0 rgba(0, 0, 0, .2);
}

/*
 COLORED CHIPS
*/

.alle-chip {
    border: 1px solid var(--accent); color: var(--accent); background-color: #e3931c17;
}

.Willem-chip {
    border: 1px solid #FE6244; color: #FE6244; background-color: #FE624417;
}

.Sacha-chip {
    border: 1px solid #33BBC5; color: #33BBC5; background-color: #33BBC517;
}

.Anouk-chip {
    border: 1px solid #DB005B; color: #DB005B; background-color: #DB005B17;
}

.Maxim-chip {
    border: 1px solid #215cff; color: #215cff; background-color: #215cff17;
}

.blue-chip {
    border: 1px solid #6a9ef3;
    color: #6a9ef3;
    background-color: #6a9ef317;
    outline: none;
}

.gold-chip {
    border: 1px solid var(--secondary);
    color: var(--secondary);
    background-color: #c3a37417;
    outline: none;
}

/*
    ANIMATIONS
*/

.scale-on-hover:hover {
    transform: scale(120%);
    transition: 0.5s;
}

.scale-on-hover-small:hover {
    transform: scale(102%);
    transition: 0.5s;
}

.scale-on-hover {
    transition: 0.5s;
}

.scale-on-hover-small {
    transition: 0.5s;
}
