p,
a,
li {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
}
a {
    text-decoration: underline;
    color: var(--primary-color);
}
a:hover {
    color: var(--tertiary-color);
}
h2 {
    font-size: 3.5rem;
    color: var(--primary-color);
    font-weight: var(--extra-bold);
    margin-bottom: 3rem;
}
.golf-content ul:not(.golf-submenu) li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}
.golf-content ul:not(.golf-submenu) li::marker {
    font-size: 2.2rem;
}
.golf-content ul:not(.golf-submenu) li:last-child {
    margin-bottom: 2.5rem;
}
.mb-1 {
    margin-bottom: 0.5rem;
}
.subheader {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: var(--bold);
    margin-bottom: 1rem;
}
.rouge {
    color: red;
}
/**
* Navbar
*/
.navbar-container ul a {
    text-decoration: none;
}

/**
* Landing
*/
.home-landing {
    display: flex;
    align-items: center;
    height: 563px;
    margin: 0 auto;
    background-position: center top;
}
.home-landing .landing-content {
    text-align: center;
    width: 100%;
}
.home-landing h1 {
    font-size: 7.8rem;
    width: 70%;
    margin: auto;
    color: var(--secondary-color);
    font-weight: var(--extra-bold);
}
.home-landing.golf {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)),
        url("../images/sports/golf-accueil-5cf77c199fe716e242f4ec74649bb369.png");
    background-size: cover;
    background-position: bottom;
}
/**
* Sub menu
*/
.golf-submenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 20px 15px;
    margin: 0;
    background-color: #f8f9fa;
}
.golf-submenu li {
    margin: 10px;
}
.golf-submenu li a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.golf-submenu li a:hover {
    background-color: var(--primary-color);
    color: #fff;
}
/**
* Collectifs
*/
.golf-collectifs,
.golf-decouverte,
.golf-verte,
.golf-hors,
.golf-reglements {
    display: flex;
    justify-content: space-around;
    width: 90%;
    margin: 0 auto;
    padding: 2.5rem 0;
}
.golf-collectifs h2,
.golf-decouverte h2,
.golf-verte h2,
.golf-hors h2,
.golf-reglements h2 {
    width: 35%;
}
.golf-collectifs .text,
.golf-decouverte .text,
.golf-verte .text,
.golf-hors .text,
.golf-reglements .text {
    width: 65%;
}
.golf-hors .text p {
    margin-bottom: 0.5rem;
}

/**
* Règlements - Tableau
*/
table {
    margin: 0 auto 4rem auto;
    width: 100%;
    max-width: 100%;
}
th,
td {
    font-size: 1.8rem;
    padding: 1rem;
    border: 1px solid #ddd; /* Add borders for clarity */
}
.data td:not(:first-child) {
    text-align: center;
}
td.green {
    background-color: #d4edda;
}
/**
/* Form
*/
.sport-contact {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
.sport-contact h2 {
    font-size: 5rem;
    color: var(--primary-color);
    font-weight: var(--extra-bold);
    text-align: center;
    margin: 2.5rem 0;
}
.sport-contact > p {
    text-align: center;
}
.sport-contact-form {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
.sport-contact-form .form-row {
    display: flex;
    justify-content: space-between;
    width: 95%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem 0;
}
.sport-contact-form .form-row .form-column {
    width: 45%;
    display: flex;
    flex-direction: column;
}
.form-row.single {
    display: flex;
    flex-direction: column;
}
.sport-contact-form label {
    font-size: 1.6rem;
    margin-block: 1rem;
}
.sport-contact-form input,
.sport-contact-form select,
.sport-contact-form textarea {
    font-size: 1.6rem;
    padding: 12px;
    background-color: transparent;
    color: black;
    border-width: 1px;
    border-color: #000000;
}
.sport-contact-form textarea {
    height: 90px;
}
.sport-contact-form #honeypot {
    display: none;
}
.sport-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;
}
.sport-contact-form button:hover {
    background-color: var(--quaternary-color);
}
.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    font-size: 2rem;
}
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.sport-contact-form .form-row.d-none {
    display: none;
}
/* Large devices (Monitors, 1440px and down)  */
@media only screen and (max-width: 1440px) {
}

/* Medium devices (Laptop, 1280px and down)*/
@media only screen and (max-width: 1280px) {
}

/* Small devices (tablets, 992px and down) */
@media only screen and (max-width: 992px) {
    .golf-submenu {
        flex-direction: column;
        align-items: flex-start;
    }
    .golf-submenu li {
        width: 100%;
        text-align: center;
    }
    .golf-submenu li a {
        display: block;
        width: 100%;
        margin-bottom: 0;
    }
    .golf-collectifs h2,
    .golf-decouverte h2,
    .golf-verte h2,
    .golf-hors h2,
    .golf-reglements h2 {
        width: 30%;
    }
    .golf-collectifs .text,
    .golf-decouverte .text,
    .golf-verte .text,
    .golf-hors .text,
    .golf-reglements .text {
        width: 70%;
    }
}

/* Extra small devices (phones, 768px and down) */
@media only screen and (max-width: 768px) {
    .mobile-off {
        display: none;
    }
    .golf-collectifs,
    .golf-decouverte,
    .golf-verte,
    .golf-hors,
    .golf-reglements {
        flex-wrap: wrap;
    }
    .golf-collectifs h2,
    .golf-decouverte h2,
    .golf-verte h2,
    .golf-hors h2,
    .golf-reglements h2 {
        width: 100%;
        text-align: center;
        margin-bottom: 3rem;
    }
    .golf-collectifs .text,
    .golf-decouverte .text,
    .golf-verte .text,
    .golf-hors .text,
    .golf-reglements .text {
        width: 95%;
    }
    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    /* Hide the table headers */
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        margin: 0 0 1rem 0;
    }

    /* Label the columns with pseudo-elements */
    td {
        font-size: 1.6rem;
        position: relative;
        padding-left: 50%;
        text-align: left;
    }

    td:before {
        position: absolute;
        top: 0;
        left: 1rem;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
    }

    /* Define the labels for each column */
    td:nth-of-type(1):before {
        content: "";
    }
    td:nth-of-type(2):before {
        content: "Licences";
    }
    td:nth-of-type(3):before {
        content: "Sorties";
    }
    td:nth-of-type(4):before {
        content: "Stages";
    }
    td:nth-of-type(5):before {
        content: "Repas (fin d'année)";
    }
    td:nth-of-type(6):before {
        content: "Cotisation";
    }
}

/* Tiny devices (phones, 576px and down) */
@media only screen and (max-width: 576px) {
    .home-landing {
        height: 35vh;
    }
    .home-landing h1 {
        font-size: 5.5rem;
        width: 80%;
    }

    .golf-collectifs,
    .golf-decouverte,
    .golf-verte,
    .golf-hors,
    .golf-reglements {
        flex-wrap: wrap;
        padding: 2rem 0;
    }
    .sport-contact-form button {
        width: 80%;
        margin: auto;
    }
}

/* Tiny devices (phones, 425px and down) */
@media only screen and (max-width: 425px) {
}
