@charset "utf-8";
@import url("https://api.fonts.coollabs.io/css?family=Nunito+Sans:ital,wght@0,100..900;1,100..900");
@font-face {
    font-family: Winkle;
    src: url(/fonts/Winkle-Regular.ttf);
}

* {
    box-sizing: border-box;
}

.left-section {
    flex: 0 0 10%;
}

.main-section {
    flex: 0 0 70%;
}

.left {
    flex: 0 0 10%;
    background: #fff0a883;
}

.main {
    flex: 0 0 70%;
    background: #21212183;
}


body {
    background-image: linear-gradient(180deg, rgba(128, 128, 128, 0.205) 0%, #000000e0 100%), url(/images/stars3.gif);
    background-size: auto;
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: center;
    text-transform: lowercase;
    color: #dadada;
}

aside,
main, .legend, .content {
    box-shadow: #6b6244 0 0 15px;
}

::selection {
    color: white;
}

abbr {
    cursor: help;
}

img {
    width: 100%;
    max-width: 70px;
    float: right;
    margin: 10px;
    height: auto;
}

iframe {
    width: 100%;
    max-width: 436px;
    min-height: 245px;
}

a {
    text-decoration: underline;
    transition: all 0.4s ease;
    color: #000000;
}

a:hover {
    font-size: large;
    font-weight: bold;
    color: #ffe97e;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: #ffe97e #000000;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 16px;
}

*::-webkit-scrollbar-track {
    background: #000000;
}

*::-webkit-scrollbar-thumb {
    background-color: #ffe97e;
    border-radius: 10px;
    border: 3px none #ffffff;
}

#header2 {
  display: block;
  justify-self: center;
  padding: 1em;
  position: sticky;
  top: 0;
  transition: top 0.3s;
  z-index: 1;
}

#REM {
  background: radial-gradient(circle,rgb(24, 24, 24) 50%, rgba(0, 0, 0, 1) 100%);
  border-radius: 10px;
  border: none;
  color: white;
  cursor: pointer;
  display: inline-block;
  font-family: 'Winkle';
  font-size: 35px;
  letter-spacing: -0.5px;
  height: 66px;
  padding: 15px 32px;
  text-align: center;
  transition: all 0.2s ease;
  width: 300px;
}

#REM:hover {
    transform: scale(0.96);
    background: radial-gradient(circle,rgb(24, 24, 24) 0%, rgba(0, 0, 0, 1) 100%);
}


.desc {
    text-align: center;
    background-color: #dadada83;
    width: fit-content;
    justify-self: center;
    padding: 15px;
    border-radius: 5px;
    color: #000000;
}

h1 {
    background: #ffe97e83;
    border-radius: 252px;
    color: #ffffff;
    justify-self: center;
    margin-bottom: 2em;
    font-weight: bolder;
    padding: 25px;
    text-align: center;
    width: 30%;
}

h2 {
    border: 2px dotted #dadada;
    border-radius: 5px;
    justify-self: center;
    margin: 15px;
    padding: 10px;
    background-color: #dadada83;
    color: #000000;
}

h3 {
    border-radius: 5px;
    justify-self: left;
    margin: 15px;
    padding: 10px;
    background-color: #dadada83;
    color: #000000;
}

h4 {
    text-align: center;
}

.content {
    background-color: #21212183;
    border: 2px outset rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    margin: 15px;
    padding: 10px;
    border-radius: 5px;
    position: static;
    height: fit-content;
    width: 150px;
}

.content a {
    text-decoration: underline;
    transition: none;
    color: #dadada;
    font-weight: 100;
    font-size: inherit;
}

.legend {
    background-color: #21212183;
    border: 2px outset rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    margin: 15px;
    padding: 10px;
    border-radius: 5px;
    position: static;
    height: fit-content;
    width: 150px;
}

.legend, .content p {
    text-align: center;
}

.Bookmark {
    background-color: #31313183;
    border-radius: 5px;
    margin: 55px;
    padding: 15px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 786px) {

    h1 {
        width: fit-content;
    }

    h3 {
        margin: 0;
    }

    .legend, .content {
        position: relative;
        left: 0;
        width: auto;
        font-size: x-large;
    }

    .legend p {
        text-align: left;
    }

    .Bookmark {
        margin: 15px;
        padding: 15px;
    }

    img {
        width: 100%;
        max-width: 70px;
        float: right;
        margin: 0px;
        height: auto;
    }
}