﻿#main {
    position: relative;
    margin-bottom: -1.9rem;
}

.image-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.image-wrapper picture img {
    display: block;
    width: 100%;
    height: auto;
}

.logo-overlay {
    position: absolute;
    bottom: 20px;
}

.logo-overlay img {
    height: 100px;
}

.subsection {
    padding-bottom: 1rem;
}

.subsection-2 {
    padding-bottom: 3rem;
}

.subsection, .subsection-2 {
    background: linear-gradient(to right, #040b25, #031540, #160d31);
    padding-top: 1rem;
}

.color-yellow {
    color: #ede31b;
    padding-bottom: 10px;
}

/* igd logo styling */
@media (min-width: 2000px) {
    .logo-overlay img {
        height: 150px;
    }
}

@media (max-width: 1220px) {
    .logo-overlay img {
        height: 90px;
    }

    .logo-overlay {
        bottom: 10px;
    }
}

@media (max-width: 1060px) {
    .logo-overlay img {
        height: 80px;
    }
}

@media (max-width: 992px) {
    .logo-overlay img {
        height: 70px;
    }

    .logo-overlay {
        bottom: -30px;
    }

    .subsection {
        padding-top: 5rem;
    }
}

@media (max-width: 680px) {
    .logo-overlay img {
        height: 60px;
    }

    .logo-overlay {
        bottom: -30px;
    }
}

@media (max-width: 620px) {
    .logo-overlay img {
        height: 60px;
    }

    .logo-overlay {
        bottom: -50px;
    }
}

/* main image sizing */
@media (min-width: 320px) {
    #main {
        margin-top: -2rem !important;
    }
}

@media (min-width: 768px) {
    #main {
        margin-top: 1rem !important;
    }
}

@media (min-width: 991px) {
    #main {
        margin-top: 4.3rem !important;
    }
}

@media (min-width: 1440px) {
    #main {
        margin-top: 4.6rem !important;
    }
}

/* mobile font sizing*/
@media (max-width: 625px) {
    .font-1 {
        font-size: 15px;
    }

    .font-2 {
        font-size: 25px;
    }

    .font-3 {
        font-size: 17px;
    }
}

/* countdown timer styling */
/* Sets the containers height and width */
.base-timer {
    position: relative;
    height: 300px;
    width: 300px;
    padding: 3rem;
}

/* Removes SVG styling that would hide the time label */
.base-timer__circle {
    fill: none;
    stroke: none;
}

/* The SVG path that displays the timer's progress */
.base-timer__path-elapsed {
    stroke-width: 4px;
    stroke: #42506f;
}

.base-timer__label {
    position: absolute;
    /* Size should match the parent container */
    width: 200px;
    height: 300px;
    /* Keep the label aligned to the top */
    top: 0;
    /* Create a flexible box that centers content vertically and horizontally */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    font-weight: bold;
}

.label {
    position: absolute;
    width: 205px;
    height: 550px;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

@media (max-width: 1440px) {
    .base-timer {
        height: 270px;
        width: 270px;
        padding: 2rem;
    }

    .base-timer__label {
        height: 280px;
    }
}

@media (max-width: 1200px) {
    .base-timer {
        height: 235px;
        width: 235px;
    }

    .base-timer__label {
        width: 170px;
        height: 242px;
    }

    .label {
        width: 167px;
        height: 480px;
    }
}

@media (max-width: 992px) {
    .base-timer {
        height: 175px;
        width: 175px;
        padding: 1rem;
    }

    .base-timer__label {
        width: 140px;
        height: 180px;
        font-size: 70px;
    }

    .label {
        width: 140px;
        height: 390px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .base-timer {
        height: 135px;
        width: 135px;
    }

    .base-timer__label {
        font-size: 55px;
        width: 105px;
        height: 145px;
    }

    .label {
        width: 105px;
        height: 300px;
        font-size: 18px;
    }
}

@media (max-width: 540px) {
    .base-timer {
        height: 125px;
        width: 125px;
    }

    .base-timer__label {
        font-size: 45px;
        width: 90px;
        height: 128px;
    }

    .label {
        width: 90px;
        height: 260px;
        font-size: 15px;
    }
}

@media (max-width: 500px) {
    .base-timer {
        height: 120px;
        width: 120px;
    }

    .base-timer__label {
        width: 87px;
    }
}

@media (max-width: 480px) {
    .base-timer {
        height: 115px;
        width: 115px;
    }

    .base-timer__label {
        width: 85px;
        height: 122px;
        font-size: 40px;
    }

    .label {
        width: 85px;
        height: 240px;
    }
}

@media (max-width: 460px) {
    .base-timer {
        height: 110px;
        width: 110px;
    }

    .base-timer__label {
        width: 80px;
        height: 115px;
    }

    .label {
        width: 80px;
        height: 230px;
    }
}

@media (max-width: 440px) {
    .base-timer {
        height: 105px;
        width: 105px;
    }

    .base-timer__label {
        width: 72px;
        height: 110px;
        font-size: 35px;
    }

    .label {
        width: 70px;
        height: 215px;
    }
}

@media (max-width: 420px) {
    .timers {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 22px;
    }

    .base-timer {
        height: 150px;
        width: 150px;
    }

    .base-timer__label {
        width: 115px;
        height: 155px;
        font-size: 55px;
    }

    .label {
        width: 115px;
        height: 310px;
        font-size: 20px;
    }
}

/* progressing circle styling */
.base-timer__path-remaining {
    stroke: #fff;
    stroke-width: 4px;
    /* Makes sure the animation starts at the top of the circle */
    transform: rotate(90deg);
    transform-origin: center;
    /* One second aligns with the speed of the countdown timer */
    transition: stroke-dashoffset 1s linear;
}