main {
    max-width: none;
    padding: 0;
    font-size: 1.125rem;
}

#announcementContainer > .status {
    border-radius: 0;
    margin: 0;
    padding: 1rem 0.75rem;
}

#announcementContainer {
    position: sticky;
    top: 65px;
    z-index: 10;
    width: 100%;
}

.splash {
    padding: 7rem 3.5rem;

    background-color: var(--pri);
    color: white;
    position: relative;
    overflow-x: hidden;
    /* 
	background-repeat: no-repeat;
	background-image: url("res/splash.png");
	background-size: auto 100%; */
}

.splash .splash-text {
    position: relative;
    z-index: 5;
}

.splash-text {
    display: flex;
}

.splash .splash-title-sub {
    color: var(--sec);
}

.splash-desc {
    white-space: nowrap;
    overflow: visible;
}

#timer_container {
    font-weight: normal;
    margin-top: 2rem;
    text-align: right;
}

#timer {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1rem;
    justify-content: flex-end;

    color: var(--sec-light);
    font-weight: bold;
}

.timer-item {
    display: inline-block;
    text-align: center;
}

.timer-item .timer-number {
    display: block;
    margin-bottom: -0.5rem;
}

@media (max-width: 1200px) {
    .splash-text {
        flex-direction: column;
    }

    .splash-desc {
        white-space: normal;
    }

    #timer {
        justify-content: flex-start;
    }

    #timer_container {
        text-align: left;
    }
}

@keyframes BGAnimation {
    /* use translate for performance reasons */
    /* note that even though the background contains 5 iterations of the background image (for big screens), each animation cycle only traverses 1 image */
    0% {
        /* at start of animation cycle, begin with default view */
        transform: translateX(0%);
    }
    100% {
        /* at end of animation cycle, background (which contains 5 iterations of the background image) traverses 20% of its width, i.e. 1 full image */
        transform: translateX(20%);
    }
}

.info {
    background-color: white;
    padding: 4rem 3.5rem;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.info:nth-child(2n + 1) {
    background-color: #f4f4f4;
}

/*.info:not(:last-child){
	padding-bottom: 0;
}*/
.info .info-header {
    margin-bottom: 1.5rem;
    padding: 0;

    color: var(--pri);

    width: 100%;
    max-width: 1200px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.info .info-header i.material-icons {
    font-size: 3rem;
    margin-right: 1rem;
}

.info .info-subheader {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    grid-gap: 0.5rem;
}

.info .info-subheader i.material-icons {
    color: var(--sec-dark);
    font-size: 2.5rem;
}

.info-main {
    width: 100%;
    max-width: 1200px;
}

.info-main table td {
    border: none;
}

.info-grid .info-main {
    display: grid;
    grid-gap: 1.5rem;
}

.info-split .info-main {
    display: grid;
    justify-content: space-between;
    grid-gap: 3rem;
}

.info-split .info-img,
.info-split .info-desc {
    align-self: center;
}

.info-split .info-img img {
    width: 100%;
}

.info .info-footer {
    display: flex;
    align-items: center;
    justify-content: center;

    max-width: 1200px;
    color: var(--sec-dark);
    margin-top: 2rem;
    padding: 1rem;
}

.sect-extra {
    background-color: #f4f4f4;
    border-left: 5px solid var(--pri);
}

.info:nth-child(2n + 1) .sect-extra {
    background-color: white;
}

.extra-header {
    color: var(--pri-dark);
    padding: 0.5rem;

    display: flex;
    align-items: center;
    column-gap: 0.25rem;
}

.extra-header i.material-icons {
    font-size: 1.75rem;
}

.extra-header:hover {
    background-color: #d1d1d1;
    cursor: pointer;
}

.extra-header-text {
    flex: 1 1 auto;
}

.extra-body {
    padding: 1rem;
    display: none;
}

#what .info-main {
    grid-template-columns: 1fr 1fr;
}

#how .info-main > div {
    padding: 1.5rem;
    border: 5px solid var(--sec-dark);
    border-radius: 10px;
}

#how .info-footer i.material-icons {
    color: var(--pri);
    margin: 0 0.25rem;
}

#how .info-header {
    justify-content: center;
}

#why {
    background-color: var(--pri);
    color: white;
}

#why .info-header {
    color: white;
}

#why .info-main {
    grid-template-columns: 3fr 2fr;
}

#confetti_btn {
    background-color: white;
    color: var(--pri);
}

#register_btn {
    background-color: var(--sec);
    font-size: 25px;
}

#register_btn_a:hover {
    background-color: rgba(0, 0, 0, 0);
}

#register .info-main {
    grid-template-columns: 1fr 2fr;
}

#details .info-main {
    grid-template-columns: 1fr 1fr;
}

.register_extra_sec {
    border-color: var(--danger);
}

.register_extra_sec .extra-header {
    color: var(--danger);
}

#discord {
    background-color: #36393f;
    color: #dcddde;

    padding: 1rem 2rem 1.5rem 2rem;
    margin-top: 2rem;
    border-radius: 25px;

    text-align: center;
}

#discord .info-main {
    font-weight: bold;
    font-size: 1.4rem;
}

#discord .info-main .info-desc {
    word-wrap: break-word;
}

#faq .sect-extra:not(:last-child) {
    margin-bottom: 1rem;
}

#faq .info-footer {
    text-align: center;
    grid-gap: 0.5rem;
}

#faq .info-footer > i.material-icons {
    font-size: 4rem;
}

#about .info-header {
    gap: 1.25rem;
}

#about .info-header img {
    height: 6rem;
}

#about .info-main {
    display: grid;
    grid-template-columns: 1fr;
}

#about .about-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#about .about-highlight-icon {
    color: var(--pri);
    font-size: 5rem;
}

#about .about-sponsors {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    grid-gap: 3rem;
    margin: 15px;
}

#about_sponsor_micron {
    width: 300px;
}

#about_sponsor_ips {
    width: 200px;
}

#about_sponsor_sutd {
    width: 250px;
}
#about_sponsor_hrt {
    width: 210px;
}

@media (min-width: 1656px) {
    .splash {
        background-position: center;
    }
}

@media (max-width: 950px) {
    #how .info-main {
        grid-template-columns: 1fr;
    }
    #about .info-main {
        grid-template-columns: 1fr;
        row-gap: 2rem;
    }
    #about .about-sponsors {
        flex-direction: row;
    }
    #about_sponsor_micron {
        width: 200px;
    }
    #about_sponsor_ips {
        width: 120px;
    }
    #about_sponsor_sutd {
        width: 200px;
    }
    #about_sponsor_hrt {
        width: 120px;
    }
}

@media (max-width: 800px) {
    .splash {
        background-position: center;
    }
}

@media (max-width: 700px) {
    .info {
        padding: 3rem 2rem;
    }

    .info-split .info-main {
        grid-gap: 1.5rem;
    }

    #details .info-main,
    #what .info-main,
    #why .info-main,
    #register .info-main {
        grid-template-columns: 1fr;
    }

    #what .info-desc {
        grid-row: 1;
    }

    #how .info-main > div {
        padding: 1rem;
    }

    .info-footer {
        flex-wrap: wrap;
    }

    .info-header {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 500px) {
    #discord img {
        width: 100%;
    }
}

.schedule {
    border-collapse: collapse;
}

.schedule-row {
    display: flex;
    margin-bottom: 15px;
}

.time {
    width: 30%;
    min-width: 100px;
    text-align: right;
    margin-right: 20px;
    font-weight: bold;
}

.item-title {
    font-weight: bold;
    font-size: 1.5rem;
}

.item-div {
    width: 70%;
}

.note {
    font-size: 0.9em;
    color: #444;
}

hr {
    border: none;
    border-top: 1px dashed #aaa;
    margin: 20px 0;
}

.emoji {
    font-size: 1.2em;
}
