/* ========================= */
/* FONT */
/* ========================= */

@font-face {
    font-family: 'Riuka';
    src: url('./assets/font/RiukaBold.ttf') format('truetype');
}

/* ========================= */
/* BODY */
/* ========================= */

body {
    margin: 0;
    padding: 0;

    padding-top: 103px;

    background: #2D7C6C;

    font-family: 'Poppins', sans-serif;

    overflow-x: hidden;
}

/* ========================= */
/* RESET LINK */
/* ========================= */

a,
a:hover,
a:focus,
a:active,
a:visited {
    text-decoration: none;
}

/* ========================= */
/* NAVBAR */
/* ========================= */

.custom-navbar {
    position: fixed;
    top: 0;
    left: 50%;

    transform: translateX(-50%);

    width: 100%;

    z-index: 9999;

    background-color: rgba(255, 247, 233, 0.90);

    transition: all 0.3s ease;
}

.custom-navbar.sticky {
    width: 75%;

    top: 15px;

    border-radius: 10px;

    backdrop-filter: blur(10px);

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.10);
}

.navbar-brand {
    font-weight: 600;
    font-size: 34px;

    background-image:
        linear-gradient(
            to bottom,
            #CDE599,
            #9BCC33
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-size: 18px;
    font-weight: 550;
}

.nav-link.active {
    font-weight: 700;
}

/* ========================= */
/* NAVBAR BUTTON */
/* ========================= */

.button-primary {
    display: inline-flex;

    padding: 8px 16px;

    justify-content: center;
    align-items: center;

    gap: 10px;

    border: none;
    border-radius: 12px;

    background:
        linear-gradient(
            180deg,
            #ED9CB8 22.6%,
            #F45D92 100%
        );

    box-shadow:
        0 3px 8px rgba(0,0,0,0.15);

    color: #1C1C1C;

    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;

    cursor: pointer;

    transition: all .25s ease;
}

.button-primary:hover {
    background: #FFA8C4;
}

.button-primary:focus,
.button-primary:focus-visible {
    background: #FDE7EE;

    outline: none;
}

/* ========================= */
/* HERO */
/* ========================= */

#hero {
    width: 100%;
    height: 760px;

    background-image:
        url('./assets/img/bgcomp.png');

    background-size: cover;

    background-position: center -120px;

    background-repeat: no-repeat;

    margin-top: -103px;

    padding-top: 70px;
}

.events-heading {
    width: 564px;

    margin-top: 140px;
    margin-left: 260px;

    display: flex;
    flex-direction: column;

    gap: 10px;
}

.section-tag {
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;

    background:
        linear-gradient(
            180deg,
            #FFF7E9 14.01%,
            #FFEFB6 68.86%
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    margin: 0;

    font-family: 'Riuka', serif;
    font-size: 70px;
    font-weight: 400;
    line-height: 85px;

    letter-spacing: -3px;

    background:
        linear-gradient(
            180deg,
            #FFE487 26.94%,
            #FFC809 68.94%
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    filter:
        drop-shadow(0 0 1px rgba(255,228,135,0.45))
        drop-shadow(0 2px 3px rgba(28,28,28,0.28));
}

.title-line {
    width: 150px;
    height: 6px;

    border-radius: 999px;

    background: #FFD84D;
}

.section-desc {
    width: 564px;

    color: #FFF7E9;

    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
}

/* ========================= */
/* EVENT LIST */
/* ========================= */

#event-list {
    margin-top: -80px;

    padding-bottom: 120px;
}

.event-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 32px;
}

/* ========================= */
/* EVENT CARD */
/* ========================= */

.event-card {
    width: 1062px;

    padding: 42px 48px;

    border-radius: 18px;
    border: 2px solid #CDE699;

    background:
        linear-gradient(
            90deg,
            rgba(8,64,55,.92) 0%,
            rgba(37,103,90,.92) 33%,
            rgba(8,64,55,.92) 100%
        );

    position: relative;

    display: flex;
    flex-direction: column;

    gap: 28px;

    overflow: hidden;
}

/* NUMBER */

.event-number-box {
    position: absolute;

    top: 0;
    left: 0;

    width: 52px;
    height: 42px;

    border-radius: 0 0 18px 0;

    background: #FFD84D;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #5B4700;

    font-size: 24px;
    font-weight: 700;
}

/* ========================= */
/* TOP */
/* ========================= */

.competition-top {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 42px;
}

/* ========================= */
/* LEFT */
/* ========================= */

.competition-left {
    width: 610px;

    display: flex;
    flex-direction: column;

    align-items: flex-start;
}

.competition-left h2 {
    margin: 0;

    align-self: stretch;

    color: #FFF7E9;

    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
}

.competition-left p {
    margin-top: 16px;

    align-self: stretch;

    color: #FFF7E9;

    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

/* ========================= */
/* BUTTONS */
/* ========================= */

.competition-buttons {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-top: 24px;
}

/* ========================= */
/* REGISTER BUTTON */
/* ========================= */

.register-btn {
    display: inline-flex;

    padding: 8px 16px;

    justify-content: center;
    align-items: center;

    gap: 10px;

    border: none;
    border-radius: 12px;

    background:
        linear-gradient(
            180deg,
            #FFE487 -0.11%,
            #FFC809 100%
        );

    box-shadow:
        0 3px 8px rgba(0,0,0,0.15);

    color: #1C1C1C;

    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;

    cursor: pointer;

    transition: all .25s ease;
}

.register-btn:hover {
    background: #FFE487;
}

.register-btn:focus,
.register-btn:focus-visible {
    background: #FFF4CE;

    outline: none;
}

.register-btn svg {
    width: 18px;
    height: 18px;

    flex-shrink: 0;
}

/* ========================= */
/* READ MORE BUTTON */
/* ========================= */

.readmore-btn {
    display: inline-flex;

    padding: 8px 16px;

    justify-content: center;
    align-items: center;

    gap: 10px;

    border: none;
    border-radius: 12px;

    background:
        linear-gradient(
            180deg,
            #CDE599 0%,
            #9BCC33 100%
        );

    box-shadow:
        0 3px 8px rgba(0,0,0,0.15);

    color: #1C1C1C;

    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;

    cursor: pointer;

    transition: all .25s ease;
}

.readmore-btn:hover {
    background: #CDE599;
}

.readmore-btn:focus,
.readmore-btn:focus-visible {
    background: #EBF5D6;

    outline: none;
}

.readmore-btn svg {
    width: 18px;
    height: 18px;

    aspect-ratio: 1/1;

    flex-shrink: 0;
}

/* ========================= */
/* COUNTDOWN BOX */
/* ========================= */

.countdown-box {
    display: flex;

    width: 307px;

    flex-direction: column;
    align-items: flex-start;

    padding: 28px 24px;

    gap: 24px;

    border-radius: 8px;
    border: 2px solid #CDE599;

    background:
        rgba(45,124,108,0.50);

    box-shadow:
        0 3px 8px rgba(0,0,0,0.15);

    backdrop-filter: blur(1px);
}

/* TITLE */

.countdown-title {
    width: 100%;

    margin: 0;

    text-align: center;

    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;

    text-transform: uppercase;

    background:
        linear-gradient(
            180deg,
            #FFE487 37.61%,
            #FFC809 100%
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* TIMER */

.countdown-timer {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 18px;
}

/* TIME ITEM */

.time-box {
    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 6px;
}

/* NUMBER */

.time-box span {
    align-self: stretch;

    text-align: center;

    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 52px;

    background:
        linear-gradient(
            180deg,
            #FFE487 37.61%,
            #FFC809 100%
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* LABEL */

.time-box p {
    margin: 0;

    align-self: stretch;

    color: #FFF7E9;

    text-align: center;

    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

/* DIVIDER */

.countdown-divider {
    width: 1px;
    height: 58px;

    background:
        rgba(255,247,233,0.18);
}

/* ========================= */
/* LINE */
/* ========================= */

.competition-line {
    width: 100%;
    height: 1px;

    background:
        rgba(255,255,255,.15);
}

/* ========================= */
/* INFO ROW */
/* ========================= */

.competition-info-row {
    display: flex;

    gap: 18px;

    width: 100%;
}

/* ========================= */
/* INFO CARD */
/* ========================= */

.info-card {
    flex: 1;

    display: flex;

    padding: 16px 21px;

    align-items: flex-start;

    gap: 16px;

    align-self: stretch;

    border-radius: 8px;
    border: 2px solid #CDE599;

    background:
        linear-gradient(
            0deg,
            rgba(37,103,90,0.90) -43.92%,
            rgba(8,64,55,0.90) 100%
        );

    box-shadow:
        0 3px 8px rgba(0,0,0,0.15);

    backdrop-filter: blur(8px);
}

/* ICON */

.info-icon {
    width: 48px;
    height: 48px;

    display: flex;
    justify-content: center;
    align-items: center;

    flex-shrink: 0;
}

.info-icon img {
    width: 48px;
    height: 48px;

    object-fit: contain;

    display: block;

    flex-shrink: 0;
}

/* TEXT */

.info-text {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.info-text h4 {
    margin: 0;

    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;

    background:
        linear-gradient(
            180deg,
            #FFE487 37.61%,
            #FFC809 100%
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-text p {
    margin: 0;

    color: #FFF;

    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
}

/* ========================= */
/* FOOTER */
/* ========================= */

#footer {
    background: #091916;

    padding: 48px 80px;
}

.footer-container {
    display: flex;
    flex-direction: column;

    gap: 52px;
}

.footer-top {
    display: flex;

    justify-content: space-between;
}

.footer-logo {
    width: 380px;
}

.footer-desc {
    width: 580px;

    color: white;

    line-height: 32px;
}

.footer-right {
    text-align: right;
}

.footer-right h3,
.footer-right p {
    color: white;
}

.footer-line {
    width: 100%;
    height: 1px;

    background:
        rgba(255,255,255,0.2);
}

/* ========================= */
/* FOOTER BOTTOM */
/* ========================= */

.footer-bottom {
    width: 100%;

    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    margin-top: 12px;
}

/* PRESENTED */

.footer-presented h4 {
    margin: 0 0 16px 0;

    color: #FFF7E9;

    font-size: 18px;
    font-weight: 600;
}

.footer-logos {
    display: flex;
    align-items: center;

    gap: 16px;
}

.footer-logos img:first-child {
    width: 42px;
}

.footer-logos img:last-child {
    width: 52px;
}

/* SOCIALS */

.footer-socials {
    display: flex;
    align-items: center;

    gap: 16px;
}

.footer-socials a {
    width: 56px;
    height: 56px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 8px;

    background:
        rgba(80,146,132,0.55);

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.footer-socials a:hover {
    background:
        rgba(120,190,170,0.75);
}

.footer-socials img {
    width: 30px;
    height: 30px;

    object-fit: contain;

    display: block;
}

/* COPYRIGHT */

.footer-copy {
    width: 100%;

    margin-top: 28px;

    text-align: center;

    color: white;

    font-size: 14px;
}