@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;
}

aside,
main {
    box-shadow: #6b6244 0 0 15px;
}

::selection {
    color: white;
}

abbr {
    cursor: help;
}

img {
    width: 100%;
    max-width: 436px;
    height: auto;
}

iframe {
    width: 100%;
    max-width: 436px;
    min-height: 245px;
}

a {
    text-decoration: underline;
    transition: all 0.4s ease;
}

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%);
}

h1 {
    background: #ffe97e56;
    border-radius: 252px;
    justify-self: center;
    margin-bottom: 2em;
    font-weight: bolder;
    padding: 25px;
    text-align: center;
    width: 30%;
}

h3 {
    font-weight: bolder;
    color: white;
    text-align: center;
    animation: move 2s ease infinite;
    animation-name: glow;
}

@keyframes glow {
    0% {
        text-shadow: #ffe97e 0 0 30px;
    }
    50% {
        text-shadow: #ffe97e 0 0 0px;
    }
    100% {
        text-shadow: #ffe97e 0 0 30px;
    }
}


/*TIMELINE/*
/* Set a background color */
body {
    color: #dadada;
}

/* The actual timeline (the vertical ruler) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: #ffe97e;
    border-radius: 10px;
    box-shadow: #dadada 0 0 7px;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

/* Container around content */
.container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: #dadada;
    border: 3px solid #212121;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

/* Place the container to the left */
.left_T {
    left: 0;
}

/* Place the container to the right */
.right_T {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left_T::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #31313183;
}

/* Add arrows to the right container (pointing left) */
.right_T::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent #31313183 transparent transparent;
}

/* Fix the circle for containers on the right side */
.right_T::after {
    left: -12px;
}

/* The actual content */
.content {
    padding: 20px 30px;
    background-color: #31313183;
    position: relative;
    border-radius: 6px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {

    h1 {
        width: fit-content;
    }

    /* Place the timelime to the left */
    .timeline::after {
        left: 31px;
    }

    /* Full-width containers */
    .container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .container::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent #31313183 transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .left_T::after,
    .right_T::after {
        left: 19px;
    }

    /* Make all right containers behave like the left ones */
    .right_T {
        left: 0%;
    }
}