@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: BlowBrush;
    src: url(/fonts/blowbrush.ttf);
}

* {
    box-sizing: border-box;
}

.left-section {
    flex: 0 0 10%;
}

.main-section {
    flex: 0 0 70%;
}

.main {
    flex: 0 0 70%;
    background: #ffee9783;
}

body {
    background-image: linear-gradient(180deg, rgba(255, 216, 87, 0.205) 0%, #000000e0 100%), url(/images/edxbg.webp);
    background-size: auto;
    background-color: #000000;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

aside,
main {
    box-shadow: rgb(146, 137, 68) 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: #0091ea;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: #fbdf4b #000000;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 16px;
}

*::-webkit-scrollbar-track {
    background: #000000;
}

*::-webkit-scrollbar-thumb {
    background-color: #fbdf4b;
    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;
}

#EDX {
  background: radial-gradient(circle, #fbdf4b 50%, #ffcb1f 100%);
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-block;
  font-family: 'BlowBrush';
  font-size: 30px;
  letter-spacing: 2px;
  height: 66px;
  padding: 15px 32px;
  text-align: center;
  transition: all 0.2s ease;
  width: 300px;
}

#EDX:hover {
    transform: scale(0.96);
    background: radial-gradient(circle, rgba(251, 223, 75, 1) 0%, rgba(235, 180, 0, 1) 100%);
}

h1 {
    background: #00000083;
    border-radius: 252px;
    color: #ffffff;
    justify-self: center;
    margin-bottom: 2em;
    font-weight: bolder;
    padding: 25px;
    text-align: center;
    width: 30%;
}

/*TIMELINE/*
/* 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: linear-gradient(0deg, rgba(0, 145, 234, 1) 0%, rgba(251, 223, 75, 1) 50%, rgba(255, 40, 40, 1) 100%);
    border-radius: 10px;
    box-shadow: #000000 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: #fbdf4b;
    border: 3px solid #000000;
    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 #ffea8283;
}

/* 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 #ffea8283 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: #ffea8283;
    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 #ffea8283 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%;
    }
}