/** Block 1: Hacker Dojo Wordmark **/

/** Bottom corner */
.hd-wordmark-pos0 {
    position: absolute;
    width: 10%;
    top: 98%;
    left: 98%;
    transform: translate(-100%, -100%);
}

/** Big center */
.hd-wordmark-pos1 {
    position: absolute;
    width: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition-delay: 1s;
}

#block0 p {
    position: absolute;
    margin: 0;
    bottom: 0;
    left: 0;
    font-family: "Rajdhani", sans-serif;
    font-weight: 300;
    font-style: normal;
}


/** Block 2: Welcome to Open Sauce! **/

#welcome-to-opensauce {
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 6vw;

    width: 100%;
    margin-top: 40vh;
    text-align: center;
}

/** Hidden */
.welcome-to-opensauce-pos0 {
    opacity: 0%;
    transition: 0s;
}

/** Shown center */
.welcome-to-opensauce-pos1 {
    opacity: 100%;
    transition-delay: 1s;
}

/** Off-screen left */
.welcome-to-opensauce-pos2 {
    opacity: 100%;
    margin-left: -100%;
}

#open-sauce {
    background: linear-gradient(to right, #6666ff, #0099ff, #00ff00, #ff3399, #6666ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow_animation 2s ease-in-out infinite;
    background-size: 400% 100%;
}

@keyframes rainbow_animation {

    0%,
    100% {
        background-position: 0 0;
    }

    50% {
        background-position: 100% 0;
    }
}

/* Block 3, CTF */
#block3 {
    .rajdhani-regular {
        font-family: "Rajdhani", sans-serif;
        font-weight: 400;
        font-style: normal;
    }
}

#ctf-left {
    position: absolute;
    height: 80vh;
    width: 40vw;
    background-color: #000000;
    border-right: 2px solid #ffffff;
}

.ctf-left-pos0 {
    left: 100vw;
    top: 10vh;
}

.ctf-left-pos1 {
    left: 10vw;
    top: 10vh;
}

.ctf-left-pos2 {
    left: 10vw;
    top: -100vh;
}

#ctf-left h1 {
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    font-size: 4vw;
    margin-top: 0;
}

#ctf-left p {
    font-family: "Rajdhani", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2vw;
    padding: 3vw;
}

#ctf-right-1 {
    position: absolute;
    height: 80vh;
    width: 40vw;
    z-index: -1;
}

.ctf-right-pos0 {
    left: 100vw;
    top: 10vh;
}

.ctf-right-pos1 {
    left: 10vw;
    top: 10vh;
}

.ctf-right-pos2 {
    left: 50vw;
    top: 10vh;
}

.ctf-right-pos3 {
    left: 50vw;
    top: -100vh;
}

#ctf-right-1 h1 {
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    font-size: 4vw;
    margin-top: 0;
}

#ctf-right-1 table {
    font-family: "Rajdhani", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2vw;
    padding-left: 3vw;
    padding-right: 3vw;
    width: 100%;
}

#ctf-right-1 table tr td {
    border-right: dashed 1px #ffffff;
    width: 45%;
}

#ctf-right-1 table tr td:first-of-type {
    text-align: center;
    width: 10%;
}

#ctf-right-1 table tr td:last-of-type {
    border-right: none;
}

#ctf-right-1 table tr td {
    border-bottom: dashed 1px #ffffff;
    padding: 0.1vw;
}

#ctf-right-1 table tr:first-of-type td {
    border-bottom: solid 1px #ffffff;
    font-weight: 700;
    text-align: center;
}

#ctf-right-1 table tr:last-of-type td {
    border-bottom: none;
}

.scoreboard-green {
    background: linear-gradient(90deg, #000000 0%, rgb(0, 188, 0) 100%);
    background-size: 500% 500%;
    animation: scoreboard_bg_animation 5s ease-in-out infinite;
}

.scoreboard-red {
    background: linear-gradient(90deg, #000000 0%, rgb(135, 1, 1) 100%);
    background-size: 500% 500%;
    animation: scoreboard_bg_animation 5s ease-in-out infinite;
}

@keyframes scoreboard_bg_animation {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

#ctf-right-2 {
    position: absolute;
    height: 80vh;
    width: 40vw;
    z-index: -1;
}

#ctf-right-2 h1 {
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    font-size: 4vw;
    margin-top: 0;
}

#ctf-right-2 img {
    width: 25vw;
    margin-left: 7.5vw;
}

#ctf-right-2 p {
    font-size: 2vw;
    text-align: center;
    align-self: center;
    font-family: "Rajdhani", sans-serif;
    font-weight: 500;
    font-style: normal;
    margin-top: 0;
}

/* Block 4: Hack the Planet! */

#block4 {
    display: block;
    padding-left: 10vw;
    padding-right: 10vw;
    padding-top: 10vh;
    padding-bottom: 10vh;
}

#block4 img {
    width: 80%;
    height: 70%;
    margin-top: 2.5%;
}

#block4 p {
    font-family: "Rajdhani", sans-serif;
    font-weight: 500;
    font-style: normal;
    margin-top: 0;
    font-size: 1vw;
}

.htp-pos0 {
    opacity: 0%;
}

.htp-pos1 {
    opacity: 100%;
    transition-delay: 1s;
}

/* Block 5: Check out our events! */
.events-pos0 {
    opacity: 0%;
}

.events-pos1 {
    opacity: 100%;
    transition-delay: 1s;
}

#events-overlay {
    position: absolute;
    left: 15vw;
    top: 25vh;
    z-index: 1;
}

.blinker {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

#events-overlay img {
    width: 30vw;
    height: 30vw;
}

#events-left {
    position: absolute;
    width: 40vw;
    top: 10vh;
    left: 10vw;
}

#events-right {
    position: absolute;
    width: 40vw;
    top: 10vh;
    left: 50vw;
}

#events-left h1 {
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    font-size: 4vw;
    margin-top: 0;
    margin-bottom: 0;
}

#events-left img {
    position: absolute;
    width: 25vw;
    height: 25vw;
    left: 7.5vw;
    top: 20vh;
}

#events-left video {
    position: absolute;
    width: 25vw;
    height: 25vw;
    left: 7.5vw;
    top: 20vh;
}

#events-left p {
    font-family: "Rajdhani", sans-serif;
    font-weight: 300;
    font-style: normal;
    text-align: center;
    margin-top: 70vh;
}

#events-right h2 {
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    font-size: 2vw;
    margin-top: 0;
    margin-bottom: 3vh;
    text-align: center;
}

#events-right p {
    font-family: "Rajdhani", sans-serif;
    font-weight: 500;
    font-style: normal;
    text-align: center;
    font-size: 1vw;
    margin-top: 0;
    margin-bottom: 3vh;
}

#events-right ul {
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-style: normal;
    width: 15vw;
    font-size: 1.4vw;
    margin-top: 2vh;
    margin: auto;
    margin-bottom: 0;
}

#events-right img {
    width: 25vw;
    margin-left: 7.5vw;
}

.race-pos0 {
    left: -100vw;
    top: 0;
}

.race-pos1 {
    left: 0;
    top: 0;
    transition-delay: 1s;
}

#block6 h1 {
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    font-size: 4vw;
}

#block6 table {
    font-family: "Rajdhani", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2vw;
    padding-left: 10vw;
    padding-right: 10vw;
    width: 100%;
}

#block6 table tr td {
    border-right: dashed 1px #ffffff;
    width: 45%;
}

#block6 table tr td:first-of-type {
    width: 5%;
    text-align: center;
}

#block6 table tr td:last-of-type {
    border-right: none;
}

#block6 table tr td {
    border-bottom: dashed 1px #ffffff;
    padding: 0.1vw;
}

#block6 table tr:first-of-type td {
    border-bottom: solid 1px #ffffff;
    font-weight: 700;
    text-align: center;
}

#block6 table tr:last-of-type td {
    border-bottom: none;
}

#block7 img {
    margin-left: 35vw;
    margin-top: 15vh;
    width: 30vw;
}

#block7 h1 {
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    font-size: 4vw;
}

.discord-pos0 {
    opacity: 0%;
}

.discord-pos1 {
    opacity: 100%;
    transition-delay: 1s;
}

.arrow {
    position: absolute;
    z-index: 1;
    width: 30vh;
}

#arrow1 {
    top: 6vh;
    left: 67vw;
}

#arrow2 {
    transform: rotate(220deg);
    top: 30vh;
    left: 17vw;
}

#arrow3 {
    top: 60vh;
    left: 67vw;
    transform: rotate(67deg);
}
