html, body {
    background-color: #FFFFFF;
    color: #000000;
    font-family: Roboto, sans-serif;
    font-weight: 300;
    font-size: normal; 
    overflow-x: hidden;
    width: 100%;
}

::selection {
    background-color: #518430;
    color: #FFFFFF;
}

.scrollable {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100vh;
}

.scrollablex {
    overflow-x: auto;
    overflow-y: hidden;
}

a.topic {
    text-decoration: none;
    font-weight: 400;
    color: #000000;
}

a.title {
    text-decoration: none;
    color: #000000;
    font-weight: 400;
}

a.title:hover {
    color: #518430;
}

h1, h2, h3, h4, h5 {
    font-family: "EB Garamond", serif;
}

h2 {
    font-size: x-large;
}

h3 {
    font-size: large;
}

h1.headline {
    font-weight: 500;
    font-size: xx-large;
}

.bg-detail {
    background-color: #EFEFEF;
    border-radius: 8px;
}


.navbar {
    background-color: #FFFFFF;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1300;
    border-bottom: 1px solid #DDDDDD;
}

.menu-icon:hover {
    opacity: 0.8;
}

a.nav-link {
    color: #000000;
    opacity: 0.7;
}

a.nav-link:hover {
    color: #000000;
    opacity: 1.0;
}

.footer-text {
    font-size: smaller;
}

.footer {
    background-color: #FFFFFF;
    color: #000000;
    font-size: smaller;
}

.footer-dim {
    color: #777777;
}

a.footer-link {
    text-decoration: none;
    color: #000000;
}

a.footer-link:hover {
    text-decoration: underline;
}

.hint {
    border-top: 1px solid #DDDDDD; 
}

.hint-link {
    display: block;
    text-decoration: none;
    color: #000000;
    opacity: 0.7;
}

.hint-link:hover {
    opacity: 1.0;
}

.arrow {
    margin-left: auto;
    display: inline-block;
    transition: transform 0.2s ease;
}

.arrow.flip {
    transform: rotate(180deg);
}

img {
    user-select: none;
}

.text-bg-premium  {
    background-color: #bf9d04;
    color: #1a1a1a;
    user-select: none;
}

.form-control:focus {
    border-color: #518430;
    box-shadow: 0 0 0 0.25rem rgba(81, 132, 48, 0.5);
    outline: none;
}

@keyframes shake {
    0% { transform: translateX(0); box-shadow: 0px 0px 10px yellow;}
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-4px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes glow {
    0% { box-shadow: 0 0 0px #518430; }
    100% { box-shadow: 0 0 20px #518430; }
}

.glow {
    animation: glow 0.5s ease-in-out;
}

.logout-button {
    background: none;
    border: none;
    color: #000000;
    opacity: 0.7;
    text-decoration: none;
    padding: 8px;
    margin: 0;
    font-style: normal;
    font-weight: 300;
}

.logout-button:hover {
    opacity: 1.0;
}

.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: #f2f2f2;
    background-image: none;
    border: none;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
    max-width: 400px;
    min-width: min-content;
  }
  
  .gsi-material-button .gsi-material-button-icon {
    height: 20px;
    margin-right: 12px;
    min-width: 20px;
    width: 20px;
  }
  
  .gsi-material-button .gsi-material-button-content-wrapper {
    -webkit-align-items: center;
    align-items: center;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: space-between;
    position: relative;
    width: 100%;
  }
  
  .gsi-material-button .gsi-material-button-contents {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    font-family: 'Roboto', arial, sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
  }
  
  .gsi-material-button .gsi-material-button-state {
    -webkit-transition: opacity .218s;
    transition: opacity .218s;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .gsi-material-button:disabled {
    cursor: default;
    background-color: #ffffff61;
  }
  
  .gsi-material-button:disabled .gsi-material-button-state {
    background-color: #1f1f1f1f;
  }
  
  .gsi-material-button:disabled .gsi-material-button-contents {
    opacity: 38%;
  }
  
  .gsi-material-button:disabled .gsi-material-button-icon {
    opacity: 38%;
  }
  
  .gsi-material-button:not(:disabled):active .gsi-material-button-state, 
  .gsi-material-button:not(:disabled):focus .gsi-material-button-state {
    background-color: #001d35;
    opacity: 12%;
  }
  
  .gsi-material-button:not(:disabled):hover {
    -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  }
  
  .gsi-material-button:not(:disabled):hover .gsi-material-button-state {
    background-color: #001d35;
    opacity: 8%;
  }

  ul {
    padding: 0;
    margin: 0;
  }
  