@CHARSET "ISO-8859-1";

@font-face {
    font-family: GothamRoundedMedium;
    src: url("Gotham Rounded Medium.otf");
}

@font-face {
    font-family: GothamRoundedBook;
    src: url("Gotham Rounded Book.otf");
}

@font-face {
    font-family: GothamRoundedLight;
    src: url("Gotham Rounded Light.otf");
}

:root {
    --orange: #F39433;
    --orange-secondary: #F49432;
    --orange-dark: #C67828;
    --secondary-color: #01A399;
    --page-background-color: black;
}

body {
    font-family: GothamRoundedBook, GothamRoundedLight, GothamRoundedMedium, sans-serif;
    background-color: var(--page-background-color);
    color: white;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 325;
    text-transform: uppercase;
    text-align: center;
}

h1 {
    font-size: 64px;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 36px;
}

h4 {
    font-size: 16px;
}

h5 {
    font-size: 12px;
}

.orange-text {
    color: var(--orange);
}

.orange-secondary-text {
    color: var(--orange-secondary);
}

.orange-dark-text {
    color: var(--orange-dark);
}

.orange-dark-underlined {
    border-bottom: 1px solid var(--orange-dark);
}

.secondary-color-text {
    color: var(--secondary-color);
}

.medium-font {
    font-family: GothamRoundedMedium, sans-serif;
}

.bold {
    font-weight: bold;
}

.cards-container {
    justify-content: center;
    gap: 10px;
    margin-top: 120px;
    margin-bottom: 40px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    height: 250px;
    background: rgba(234, 205, 176, 0.35);
    border-bottom: 2px solid var(--orange-secondary);
    box-shadow: 0 4px 64px rgba(0, 0, 0, 0.25);
}

.card-icon {
    padding-top: 50px;
}

.card-text {
    color: white;
    text-transform: uppercase;
    font-size: 24px;
    padding-top: 20px;
    text-align: center;
}

.rule {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.rule-header {
    color: var(--orange);
}

.rule-text {
    font-size: 18px;
    text-align: center;
    margin-top: 40px;
}

.link {
    color: var(--orange-dark);
    text-decoration: none;
}

.footer-policy {
    display: flex;
    flex-direction: row;
    text-align: center;
    column-gap: 20px;
    margin-top: -20px;
}

.tora-students {
    font-size: 14px;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
}

.tora-students-tcc-tiger-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tcc-tiger {
    width: 20px;
}

#header-container {
    margin-bottom: 20px;
}

#title-container {
    position: absolute;
    margin-top: 70px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
}

#tcc-container {
    align-items: center;
    justify-content: center;
}

#tcc {
    font-size: 56px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 10px;
}

#tora-coding-competition {
    margin-top: 0;
    margin-bottom: 0;
    letter-spacing: 2px;
    font-size: 18px;
}

#title-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#pulsating-underscore {
    animation: pulsating 1s step-end infinite;
}

@keyframes pulsating {
    from, to { color: transparent }
    50% { color: var(--orange-dark) }
}

#title-animated-text {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 10px;
    font-size: 16px;
    font-style: italic;
    letter-spacing: 4px;
    white-space: nowrap;
    text-transform: uppercase;
    overflow: hidden;
    width: 360px;
    animation: typing 2s steps(30, end) infinite;
}

@keyframes typing {
    0% { width: 0; }
    75% { width: 360px; }
    100% { width: 360px; }
}

#main-container {
    margin-top: 20px;
    margin-bottom: 20px;
    background: url("img/pixels.png") left center no-repeat;
}

#rules-container {
    margin-top: 100px;
    margin-bottom: 20px;
    background: url("img/pixels.png"), url("img/pixels.png"),
                url("img/pixels.png"), url("img/pixels.png"), url("img/pixels.png");
    background-repeat: no-repeat;
    background-position: left 30%, right 15%, left 60%, right 45%, right 75%;
}

#competition-rules {
    margin-bottom: 120px;
}

#footer-container {
    margin-top: 20px;
    background: url("img/pixels.png") right bottom no-repeat;
}

#footer-message-container {
    text-align: center;
    margin-bottom: 60px;
}

.footer-message {

}

.footer-message-normal-text {
    font-size: 46px;
    color: white;
}

.footer-message-emphasised-text {
    font-size: 50px;
    font-weight: bold;
    color: var(--secondary-color);
}


#clock1 {
    margin-top: 40px;
    margin-bottom: 40px;
}

#clock2 {
    margin-top: 60px;
    margin-bottom: 40px;
}

.container-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.container-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#prizes-image {
    width: 100%;
    margin: auto;
    background: url("img/pixels.png") left center no-repeat,
                url("img/pixels.png") right center no-repeat;
    background-size: 10%;
}

.down-arrow {
    margin: 90px auto 40px;
    padding-right: 20px;
}

.divider {
    margin: 120px auto 80px;
    padding-right: 18px;
}

#tora-logo {
    margin: 180px auto 40px;
}

.button {
    color: black;
    background-color: var(--orange);
    border: none;
    padding: 22px 77px;
    text-align: center !important;
    text-decoration: none;
    display: inline-block;
    font-family: GothamRoundedMedium, GothamRoundedBook, GothamRoundedLight, sans-serif !important;
    font-size: 32px;
    font-weight: bold;
    margin: 15px;
    text-transform: uppercase;
    cursor: pointer;
}

.button:hover {
    opacity: 80%;
}

.button-subheader {
    font-size: 20px;
}

.flip-clock-wrapper {
    margin: auto;
    width: auto;
}

.flip-clock-label {
    color: white !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    font-family: GothamRoundedBook, GothamRoundedLight, GothamRoundedMedium, sans-serif !important;
}

.flip-clock-dot {
    display: none !important;
}

.flip-clock-divider.days > span {
    right: -75px !important;
}

.flip-clock-divider.hours > span {
    right: -82px !important;
}

.flip-clock-divider.minutes > span {
    right: -89px !important;
}

.flip-clock-divider.seconds > span {
    right: -95px !important;
}

.flip-clock-divider .flip-clock-label {
    top: -15px !important;
}

.flip-clock-wrapper ul li a div.up:after {
    display: none !important;
}

.flip-clock-wrapper .flip {
    margin-left: -4px !important;
    margin-right: -4px !important;
    box-shadow: none !important;
}

.flip-clock-wrapper ul {
    background: none !important;
}

.flip-clock-wrapper ul li a div div.inn {
    color: var(--orange) !important;
    background-color: var(--page-background-color) !important;
    font-family: GothamRoundedBook, GothamRoundedLight, GothamRoundedMedium, sans-serif !important;
}

@media only screen and (max-width: 1200px) {
    #main-container {
        background-position: 0 25%;
        background-size: 20%;
    }

    #prizes-image {
        background-size: 15%;
    }

    #title-container {
        margin-top: 25px;
    }

    #rules-container {
        background: url("img/pixels.png"), url("img/pixels.png"), url("img/pixels.png");
        background-repeat: no-repeat;
        background-position: 100% 0, 150% 0, -5% 70%;
        background-size: 20%;
    }

    #footer-container {
        background: url("img/pixels.png") 115% bottom no-repeat;
    }

    .rule-header {
        width: 90%;
    }

    .rule-text {
        width: 85%;
    }

    .container-column > h4 {
        font-size: 8px;
        width: 80%;
    }

    .button-subheader {
        font-size: 12px;
    }

    .down-arrow {
        padding-right: 0;
    }

    .tora-students-tcc-tiger-container {
        display: block;
    }

    .tcc-tiger {
        width: initial;
    }
}

.register-button, .warmup-button, .test-button, .button-subheader {
    display: none;
}
