h2 {
    font-size: 5rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: var(--bold);
    margin: 2.5rem 0;
}
p {
    font-size: 1.8rem;
    text-align: center;
}

/**
* Landing
*/
.home-landing {
    display: flex;
    align-items: center;
    height: 80vh;
    margin: 0 auto;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)),
        url("../images/home/landing-39c157e808f04bdea6121467a174b0ab.png");
    background-size: cover;
    background-position: center center;
}
.home-landing .landing-content {
    text-align: center;
    width: 100%;
}
.home-landing h1 {
    font-size: 7.8rem;
    width: 40%;
    margin: auto;
    color: var(--secondary-color);
    font-weight: var(--extra-bold);
}
.carousel-image-container {
    position: relative;
    width: 100%;
    height: auto; /* Adjust as needed */
}

.carousel-image-container img {
    display: block;
    width: 100%;
    filter: brightness(40%);
    height: auto; /* Ensure the image scales properly */
}

.landing-carousel-text {
    position: absolute;
    top: 50%; /* Adjust to position vertically */
    left: 50%; /* Adjust to position horizontally */
    transform: translate(-50%, -50%); /* Center the text */
    color: white; /* Adjust text color */
    text-align: center; /* Center text */
    padding: 20px; /* Add padding around text */
    /*background: rgba(
        0,
        0,
        0,
        0.5
    ); /* Optional: background color with transparency */
    border-radius: 10px; /* Optional: rounded corners */
    width: 75%;
}

.landing-carousel-text p {
    text-align: left;
}
.landing-carousel-text .btn.btn-primary {
    font-size: 2.5rem;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.25rem;
}
/** 
* About
*/
.home-about-presentation {
    width: 95%;
    max-width: 1350px;
    margin: auto;
}
.home-about .home-about-cards {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 95%;
    max-width: 880px;
    margin: 0 auto;
    padding: 5rem 0;
}
.home-about .home-about-cards .home-about-card {
    width: 30%;
    padding: 2rem;
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.home-about-card p {
    color: var(--tertiary-color);
    font-size: 2.2rem;
    font-weight: 600;
}
.home-about .home-about-cards .home-about-card img {
    width: 70px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 2rem;
}
.home-about .home-about-cards .home-about-card p.big {
    font-size: 6rem;
    font-weight: var(--bold);
    margin-block: 2rem;
}

/**
* Sports List
*/
.home-sports-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    width: 95%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 5rem 0;
}
.home-sports-list a {
    width: 33%;
}
.home-sports-list a figure {
    width: 100%;
    margin-block: 3rem;
    text-align: center;
}
.home-sports-list a figure img {
    width: 65%;
}
.home-sports-list a figure figcaption {
    text-align: center;
    margin-block: 1rem;
    color: var(--tertiary-color);
    font-size: 2.2rem;
    font-weight: var(--bold);
}

/**
/* Committee Members
*/
.home-committee-cards {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 95%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 5rem 0;
    column-gap: 2rem;
}
.home-committee-cards .home-committee-card {
    background-color: var(--tertiary-color);
    color: #ffffff;
    width: 25%;
    padding: 2rem 1.5rem 2rem 2.5rem;
    border-radius: 2rem;
}
.home-committee-cards .home-committee-card p,
.home-committee-cards .home-committee-card a {
    text-align: start;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}
.home-committee-cards .home-committee-card p:first-child {
    font-size: 2.8rem;
    font-weight: var(--extra-bold);
}
.home-committee-cards .home-committee-card a:hover {
    color: #ffc400;
}

/**
/* Form
*/
.home-contact-form {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
.home-contact-form .form-row {
    display: flex;
    justify-content: space-between;
    width: 95%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem 0;
}
.home-contact-form .form-row .form-column {
    width: 45%;
    display: flex;
    flex-direction: column;
}
.form-row.single {
    display: flex;
    flex-direction: column;
}
.home-contact-form label {
    font-size: 1.6rem;
    margin-block: 1rem;
}
.home-contact-form input,
.home-contact-form select,
.home-contact-form textarea {
    font-size: 1.6rem;
    padding: 12px;
    background-color: transparent;
    color: black;
    border-width: 1px;
    border-color: #000000;
}
.home-contact-form textarea {
    height: 90px;
}
.home-contact-form #honeypot {
    display: none;
}
.home-contact-form button {
    background-color: var(--tertiary-color);
    color: var(--secondary-color);
    font-size: 1.6rem;
    padding: 8px 12px;
    width: 400px;
    text-align: center;
    border-color: transparent;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.home-contact-form button:hover {
    background-color: var(--quaternary-color);
}
.alert.alert-success,
.alert.alert-danger {
    font-size: 2rem;
}
/* Extra large devices (Laptop, 1280px and down) */
@media only screen and (max-width: 1280px) {
    .home-committee-cards {
        flex-wrap: wrap;
        row-gap: 2rem;
    }
    .home-committee-cards .home-committee-card {
        width: 40%;
    }
    .home-contact p {
        width: 70%;
        margin: auto;
    }
}

/* Large devices (Laptop, 992px and down) */
@media only screen and (max-width: 992px) {
    .home-landing h1 {
        width: 80%;
    }
    .landing-carousel-text p {
        text-align: center;
    }
    .home-sports-list {
        padding: 2rem 0;
    }
    .home-sports-list a {
        width: 50%;
    }
    .home-committee-cards {
        flex-wrap: wrap;
        row-gap: 2rem;
        padding: 2rem 0;
    }
    .home-committee-cards .home-committee-card {
        width: 40%;
    }
    .home-contact p {
        width: 90%;
    }
}

/* Medium devices (Laptop, 768px and down) */
@media only screen and (max-width: 768px) {
    .carousel-image-container {
        height: 55vh;
    }
    .carousel-image-container img {
        height: 100%;
    }
}

/* Small devices (Laptop, 576px and down) */
@media only screen and (max-width: 576px) {
    h2 {
        font-size: 3.5rem;
        margin: 1rem 0;
    }
    .home-landing {
        height: 35vh;
    }
    .home-landing h1 {
        font-size: 3.45rem;
        width: 70%;
    }
    .carousel-image-container {
        height: 35vh;
    }
    .carousel-image-container img {
        height: 100%;
    }
    .landing-carousel-text h2 {
        font-size: 2.25rem;
    }
    .landing-carousel-text p {
        font-size: 1.5rem;
        text-align: center;
    }
    .landing-carousel-text .btn.btn-primary {
        font-size: 1.5rem;
    }
    .home-about {
        width: 90%;
        margin: auto;
    }
    .home-about h2 {
        margin: 2.5rem 0;
    }
    .home-about .home-about-cards {
        flex-wrap: wrap;
        row-gap: 5rem;
        padding: 2rem 0;
    }
    .home-about .home-about-cards .home-about-card {
        width: 70%;
    }
    .home-sports-list {
        padding: 2rem 0;
    }
    .home-sports-list a {
        width: 100%;
    }
    .home-committee-cards {
        padding: 2rem 0;
    }
    .home-committee-cards .home-committee-card {
        width: 80%;
    }
    .home-contact p:first-of-type {
        width: 95%;
        margin: auto;
    }
    .home-contact-form .form-row {
        padding: 0.75rem 0;
    }
    .home-contact-form button {
        width: 80%;
    }
}
