:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2a2a2a;
    --accent-color: #ffffff;
}

html, body {
    height: 100%;
    background-color: #000000;
}

body, h1, h2, h3, p, li, a {
    font-family: 'Inter', sans-serif;
    color: var(--accent-color);
    
}

body, main.container {
    padding: 20px; /* Adjust this value to increase or decrease the space */
}

hr {
    margin-top: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--secondary-color);
}

.hr-black {
    margin-top: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--primary-color);
}

.countdown-hr {
    margin-top: 60px;
    border: 1px solid var(--secondary-color);
}

.chatbot-hr {
    margin-top: 60px;
    border: 1px solid var(--secondary-color);
}

.name {
    text-align: center;
    font-weight: 800;
    font-size: 2em;
    margin-top: 20px;
}

.site-intro {
    font-family: 'Inter', sans-serif;
    text-align: center;
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: .5;
}

.profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: var(--accent-color) 0px 6px 15px;
    display: flex; /* Add this line */
    justify-content: center; /* Add this line */
    align-items: center; /* Add this line */
}

.profile-pic img {
    width: 100%;
    height: auto;
}

/* SOCIAL LINKS UI */

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.social-link {
    cursor: pointer;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: var(--secondary-color);
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
    transition-duration: 0.4s;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(255, 255, 255, 0.2);
}

.social-link img {
    filter: brightness(0) invert(1);
    width: 50px;
    height: 50px;
}

.row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* CAROUSEL */

#carousel-container {
    position: relative;
    width: 80%;
    height: 300px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 7px;
    box-shadow: 0 8px 12px rgba(255, 255, 255, 0.1);
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    animation: pulse 4s infinite;
}

.carousel-image.active {
    opacity: 1;
    z-index: 1;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
    transition: filter 1s ease-in-out;
}

.carousel-image.active img {
    filter: blur(0);
}


/* EVENT COUNTDOWN UI */

.event-countdown {
    text-align: center;
    color: var(--accent-color);
    font-family: 'Inter', sans-serif;
    margin-top: 30px;
}

.event-countdown h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

#countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    flex-wrap: wrap;
}

.time-segment {
    margin: 10px;
    text-align: center;
    width: 120px;
}

.progress-ring-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.progress-ring-background {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 10;
}

.progress-ring-progress {
    fill: none;
    stroke: white;
    stroke-width: 10;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 0.5s ease;
}

.progress-ring-text {
    fill: var(--accent-color);
    font-size: 2em;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.label {
    margin-top: 10px;
    background-color: var(--secondary-color);
    border-radius: 4px;
    color: var(--accent-color);
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px;
    box-shadow: 0 6px 10px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* leaflet styling (the map) */

#map {
    margin-top: 40px;
    height: 400px;
    width: 100%;
    border-radius: 7px;
    border: 8px solid var(--secondary-color);
    box-shadow: 0 8px 12px rgba(255, 255, 255, 0.1);
}

.credit {
    margin-top: 50px;
    text-align: center;
    color: var(--accent-color);
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    opacity: 0.25;
}

@media (max-width: 768px) {
    .event-countdown h2 {
        font-size: 1.5em;
    }
    
    #countdown {
        flex-wrap: nowrap; /* Prevent wrapping */
        justify-content: center; /* Center the countdown elements */
        padding: 20px;
    }
    
    .time-segment {
        width: 100px;
        margin: 5px; /* Reduce the margin for smaller screens */
    }

    .time-segment span {
        font-size: 2em;
    }

    .label {
        font-size: 0.7em;
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .time-segment {
        width: 70px; /* Reduce the width for even smaller screens */
        margin: 3px; /* Reduce the margin further */
    }

    .progress-ring-text {
        font-size: 3em; /* Reduce the font size of the progress ring text */
    }

    .label {
        font-size: 0.6em;
        padding: 4px;
    }
}