* {
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f2f2f2;
}

.image-container {
    text-align: center;
    margin-top: 30px;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px 2px rgba(0, 0, 0, 0.2);
}

.image-title {
    text-align: center;
    font-size: 20px;
    font-weight: 400;

    color: #333;
}

.navbar {
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    margin-bottom: 20px;

}

.event-title {

    font-size: 34px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.nav-btn {
    padding: 20px 30px;
    border: none;
    border-radius: 8px;
    background-color: #d9d9d9;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-btn:hover {
    background-color: #ff0000;
    color: #fff;
    transform: scale(1.05);
}

.nav-btn:active {
    transform: scale(0.95);
}

.nav-content {
    margin-top: 50px
}

.container-box {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.box {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.2);

}

.box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px 2px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}

.box h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.box ul {
    list-style-type: none;
    padding: 0;

}

.box ul li {
    margin-bottom: 10px;
    color: #000000;
    font-weight: 300;
    font-size: 15px;
    text-align: left;

}

.price {
    font-weight: bold;
    color: #000;
}

.registration-title {
    font-size: 30px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #333;
}

.information-title {
    margin-top: 50px;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.program-title {
    margin-top: 50px;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: -40px;
    color: #333;
}

p {
    margin-bottom: 30px;
}

.table-name p {
    margin-top: 30px;
}

.note-name p {
    font-weight: 300;
}

.note2-name p {
    font-weight: 500;
    text-align: justify;
    width: 70%;
}

.note2-name {
    display: flex;
    justify-content: center;
}

.nav-btn.active {
    background-color: #ff0000;
    /* Example: Blue background for the active button */
    color: white;
    /* White text */
    font-weight: bold;
    /* Bold text */
    border: none;
    outline: none;
}

table {
    width: 70%;
    /* Set the width to 50% */
    margin: 20px auto;
    /* Center the table horizontally */
    border-collapse: collapse;
    margin-top: 30px;
}

th,
td {
    padding: 10px;
    text-align: left;
    border: 2px solid #ddd;
    font-weight: 300;
}

th {
    background-color: #f2f2f2;
}

.register-btn {
    padding: 20px 30px;
    background-color: #ff0000;
    /* Green background */
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 20px;
    cursor: pointer;
    width: 70rem;
}

.register-btn:hover {
    background-color: #000000;
    /* Darker green when hovered */
}

.guidelines {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    margin-top: 30px
}

.guidelines h1 {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #ff0000;
    text-align: left;
}

.guidelines ol {
    padding-left: 20px;
}

.guidelines ol li {
    margin-bottom: 15px;
    text-align: justify;
    font-weight: 300;
}

.guidelines ol li a {
    color: #ff0000;
    text-decoration: none;
}

.guidelines ol li a:hover {
    text-decoration: underline;
}

.food-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: justify;
    font-weight: 300;

}

ol {
    padding-left: 20px;
    margin-bottom: 40px;
}

.announcement {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    text-align: justify;
    font-weight: 300;
}

.details {
    margin-top: 20px;
    padding: 15px;
    background-color: #f1f1f1;
    border-radius: 5px;
    text-align: justify;
    margin-bottom: 20px;
}

.details p {
    margin: 5px 0;
}

.election-details {
    margin-top: -50px;
    padding: 15px;
    background-color: #f1f1f1;
    border-radius: 5px;
    text-align: justify;
    margin-bottom: 20px;
}

.election-details p {
    margin: 5px 0;
}

@media (max-width: 768px) {

    /* For mobile and smaller tablets */
    .image-container {
        margin-top: 20px;
    }

    .image-container img {
        max-width: 90%;
        /* Reduce width for smaller screens */
        margin: 0 auto;
    }

    .image-title {
        font-size: 18px;
        /* Adjust font size */
    }

    .navbar {
        padding: 15px;
        margin-bottom: 15px;
    }

    .event-title {
        font-size: 28px;
        /* Reduce size for smaller screens */
    }

    .nav-buttons {
        flex-direction: column;
        /* Stack buttons vertically */
        gap: 10px;
        /* Reduce spacing */
    }

    .nav-btn {
        font-size: 14px;
        /* Reduce font size */
        padding: 15px 20px;
        /* Adjust padding */
    }

    .container-box {
        flex-direction: column;
        /* Stack boxes vertically */
        align-items: center;
        /* Center boxes */
    }

    .box {
        width: 90%;
        /* Make boxes take up more width */
        padding: 20px;
    }

    .registration-title,
    .information-title,
    .program-title {
        font-size: 24px;
        /* Reduce font size */
        margin-top: 40px;
    }

    .register-btn {
        width: 90%;
        /* Reduce width of the button */
        font-size: 18px;
        /* Adjust font size */
        padding: 15px;
        /* Adjust padding */
    }

    table {
        width: 90%;
        /* Reduce table width */
    }

    .guidelines,
    .food-container,
    .announcement {
        max-width: 90%;
        /* Adjust container width */
        padding: 15px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    /* For tablets (landscape or portrait) */
    .image-container {
        margin-top: 25px;
    }

    .image-container img {
        max-width: 95%;
        /* Adjust image size */
        margin: 0 auto;
    }

    .image-title {
        font-size: 18px;
    }

    .navbar {
        padding: 18px;
        margin-bottom: 18px;
    }

    .event-title {
        font-size: 30px;
        /* Slightly smaller for tablets */
    }

    .nav-buttons {
        gap: 12px;
    }

    .nav-btn {
        font-size: 15px;
        padding: 18px 25px;
    }

    .container-box {
        flex-wrap: wrap;
        /* Allow wrapping of boxes */
        justify-content: center;
    }

    .box {
        width: 45%;
        /* Adjust width for multiple columns */
        padding: 25px;
    }

    .registration-title,
    .information-title,
    .program-title {
        font-size: 28px;
        /* Adjust font size */
    }

    .register-btn {
        width: 50rem;
        /* Adjust button width */
        font-size: 18px;
        /* Adjust font size */
    }

    table {
        width: 80%;
        /* Adjust table width */
    }

    .guidelines,
    .food-container,
    .announcement {
        max-width: 80%;
        /* Adjust container width */
    }
}