* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    font-family: 'Arial', sans-serif;
    /* A cleaner sans-serif font for better readability */
    background-color: #3B3B3B;
    /* Dark grey background for the surrounding area */
    display: flex;
    justify-content: center;
    height: 100vh;
    color: #333;
    /* Default text color for general content */
    background-image: url('./BG1_web.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    overflow: auto;
    font-size: 1.1em;
    line-height: 2;
}

.container_scroll {
    max-width: 800px;
    max-width: 80%;

}

.container {
    border-radius: 15px;
    width: 100%;
    /* Subtle shadow for an elevated look */
    color: #1a1a1a;
    background-color: hsl(0 0% 90% / 1);
    box-sizing: border-box;
    margin: 30px;
    padding: 0;
    box-shadow: 0 4px 12px 0px rgb(0 0 0 / 50%);
    height: fit-content;
}

.container_header {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    height: auto;
    grid-gap: 30px;
    display: flex;
    align-items: end;
}

.container_content {
    margin: 0 30px;
    padding: 30px;
    border-radius: 15px;
    background: white;
    margin-bottom: 30px;
}

.header {
    text-align: center;
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    align-items: end;
    margin: unset;
    grid-gap: 30px;
}

.header_sub {
    font-size: 1.5em;
    font-style: italic;
}

.header .logo {
    height: auto;
    height: 100%;
    display: inline-block;
    width: 289px;
}

.container_intro {
    display: flex;
    grid-gap: 30px;
    justify-content: space-between;
}

.container_intro>* {
    flex: 1 1 50%;
}

h1 {
    font-size: 2.2em;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    text-align: start;
    text-shadow: none;
    min-width: 0;
    margin: 20px 0;
    /* Adds a shadow for better readability */
}

h2 {
    font-size: 1.25em;
    text-shadow: none;
    color: #b30d0a;
    text-align: start;
    display: inline-block;
    padding-top: 15px;
    min-width: 0;
    font-size: 2.2em;
    margin-bottom: 15px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

p {
    font-size: 1.1em;
    line-height: 2;
    margin-bottom: 30px;
    margin: unset;
}

figure.intro_img>img {
    width: 100%;
    border-radius: 15px;
}

figure.intro_img {
    max-width: 600px;
    overflow: hidden;
}

.buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    grid-gap: 15px;
    flex-wrap: wrap;
}

.btn {
    background-color: #B30D0A;
    overflow: hidden;
    position: relative;
    /* Dark red button color */
    color: white;
    text-decoration: none;
    border-radius: 15px;
    /* Slightly larger border-radius for a smoother look */
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Soft shadow for better visibility */
    flex-grow: 1;
    text-align: center;
    padding: 45px;
    min-width: 200px;
    flex: 1 1;
}

.btn:hover {
    background-color: #8f0906;
    /* Darker red on hover for better contrast */
    transform: translateY(-3px);
    /* Adds a slight "lift" effect on hover */
}

a.btn.btn-dc {
    background-color: #7289da;
}

a.btn.btn-yt {
    background-color: #FF0000;
}

a.btn.btn-dc::before {
    content: "";
    background: url("./icons/discord.png");
    background-repeat: no-repeat;
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 375%;
    transform: rotate(15deg);
    scale: 35%;
    opacity: 20%;
}

a.btn.btn-yt::before {
    content: "";
    background: url("./icons/youtube.svg");
    background-repeat: no-repeat;
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 400%;
    transform: rotate(15deg);
    scale: 35%;
    opacity: 20%;
}

a.btn.btn-events::before {
    content: "";
    background: url("./icons/trophy.png");
    background-repeat: no-repeat;
    position: absolute;
    top: -35%;
    left: -20%;
    width: 100%;
    height: 300%;
    transform: rotate(15deg);
    scale: 65%;
    opacity: 20%;
}

a.btn.btn-gallery::before {
    content: "";
    background: url("./icons/camera.png");
    background-repeat: no-repeat;
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 375%;
    transform: rotate(15deg);
    scale: 35%;
    opacity: 20%;
}

.social_icon {
    height: 32px;
    width: 32px;
    border-radius: 5px;
    padding: 5px;
}

.social_icons {
    display: flex;
    grid-gap: 5px;
    flex-direction: column;
    align-self: start;
}

.social_link {
    display: inline-flex;
    height: 24px;
    padding: 2px 10px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    grid-gap: 3px;
    align-items: center;
    border-radius: 15px;
}

.social_link img,
social_icon img {
    height: 100%;
}

.social_dc {
    background: #5865F2;
}

.social_yt {
    background: #FF0000;
}

.timetable {
    width: 100%;
    overflow-x: auto;
    margin-top: 30px;
    border-radius: 15px;
}

.timetable th {
    width: 20%;
}

.timetable .logo {
    width: 100%;
    min-width: 175px;
}

table.redTable {
    background-color: #EEE7DB;
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

table.redTable td,
table.redTable th {
    padding: 15px 15px;
}

table.redTable tr:nth-child(even) {
    background: #F5F5F5;
}

table.redTable thead {
    background: #A40808;
}

table.redTable thead th {
    font-weight: bold;
    color: #FFFFFF;
    text-align: center;
    border-left: 2px solid #A40808;
}

table.redTable thead th:first-child {
    border-left: none;
}

table.redTable tfoot .links {
    text-align: right;
}

table.redTable tfoot .links a {
    display: inline-block;
    background: #FFFFFF;
    color: #A40808;
    padding: 2px 8px;
    border-radius: 5px;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {}

@media (max-width: 768px) {
    body {
        height: 100vh;
    }

    .container {
        max-width: 90%;
    }

    header.header {
        height: unset;
        flex-direction: column;
        align-items: start;
    }

    figure.intro_img {
        max-width: 100%;
    }

    /* Adjustments for the header */
    h1 {
        font-size: 1.8em;
        /* Smaller header font size on mobile */
    }

    /* Adjust intro section for smaller devices */
    .header_sub {
        font-size: 1.15em;
        /* Slightly smaller heading */
    }

    p {
        font-size: 1em;
        /* Smaller paragraph font */
    }

    /* Stack buttons vertically on mobile */
    .buttons {
        flex-direction: column;
        gap: 15px;
        /* Add spacing between buttons */
    }

    .container_intro {
        flex-direction: column;
    }

    .logo {
        width: 200px;
    }
}

@media (max-width: 480px) {

    h1 {
        font-size: 1.4em;
    }

    .header_sub {
        font-size: 1em;
    }

    p {
        font-size: 0.9em;
    }

    .logo {
        width: 150px;
    }
}