
* {
    box-sizing: border-box;
}

html {
    font-size: 12px;
}

@font-face {
    font-family : Transducer;
    src: url(../documents/polices/transducer_extended_black.otf);
}

body {
    margin: 0;

    font-family: 'Montserrat', sans-serif;

    background-color: #1A1E24;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center top;
}

/* necessaires pour affichage correct images arriere-plan sur smartphone */
.wp-accueil {
    background-image: url("../images/photos/photo_accueil.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center top;
}

.wp-club {
    background-image: url("../images/photos/photo_club.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center top;
}

.wp-installations {
    background-image: url("../images/photos/photo_installations.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center top;
}

.wp-rejoindre {
    background-image: url("../images/photos/photo_rejoindre.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center top;
}

.wp-concours {
    background-image: url("../images/photos/photo_concours.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center top;
}

.wp-contact {
    background-image: url("../images/photos/photo_contact.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center top;
}

/* PARTIE MENU : NAVBAR LOGO LIENS BOUTONS CADRES COULEUR-PAGE-ACTUELLE MENU SMARTPHONE */

/* interaction avec js */
.navbar {
    margin-top: 15px;

    width: 100%;
    height: 110px;

    background-color: rgba(34, 33, 33, 0.95);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 70px 0 90px;

    box-shadow: 6px 6px 25px rgba(0, 0, 0, 0.60);

    position: relative;
    z-index: 1000;
}

.logo-lien {
    display: flex;
    align-items: center;

    margin: 0;
    padding: 0;
}

.logo-adp {
    display: block;

    height: auto;

    flex-shrink: 0;
}

.logo-adp-complet {
    width: 370px;
}

.logo-adp-mini {
    display: none;
}

.menu {
    display: flex;
    align-items: center;

    gap: 75px;

    list-style: none;

    margin: 0;
    padding: 0;
}

.menu li {
    position: relative;

    margin: 0;
    padding: 0;
}

.menu a,
.menu-bouton {
    display: block;

    margin: 0;
    padding: 0;

    border: none;
    background: none;

    color: rgb(225, 231, 240);

    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;

    line-height: 1.15;

    text-decoration: none;
    white-space: nowrap;

    cursor: pointer;
}

.menu a:hover,
.menu-bouton:hover {
    color: #04AFEE;
}

/* couleur sur page active dans menu */
.menu a.page-actuelle,
.menu-bouton.page-actuelle {
    color: #04AFEE;
}

/* lmao */
.nous-centre {
    text-align: center;
}

.sous-menu {
    display: none;

    position: absolute;

    top: calc(100% + 15px);
    left: 50%;

    transform: translateX(-50%);

    width: 350px;

    margin: 0;
    padding: 5px 15px;

    box-sizing: border-box;

    list-style: none;

    background-color: rgba(30, 30, 33, 0.9);

    border: 2px solid rgba(80, 80, 80, 0.45);
}

.sous-menu li {
    margin: 0;
    padding: 0;
}

.sous-menu a {
    display: block;

    padding: 12px 0;

    color: rgb(225, 231, 240);

    font-size: 1.35rem;
    font-weight: 700;

    white-space: nowrap;
}

.sous-menu a:hover {
    color: #04AFEE;
}

/* (sous-?)menu ouvert
interaction avec js */
.menu-deroulant.ouvert > .sous-menu {
    display: block;
}

/* MENU SMARTPHONE */
/* interaction avec js */
.menu-mobile-bouton {
    display: none;

    width: 42px;
    height: 36px;

    margin: 0;
    padding: 5px;

    border: none;

    background: transparent;

    cursor: pointer;

    flex-direction: column;
    justify-content: space-between;
}

/* bouton hammburger */
/* interaction avec js */
.menu-mobile-bouton span {
    display: block;

    width: 100%;
    height: 4px;

    background-color: rgb(225, 231, 240);

    border-radius: 2px;
}

/* PARTIE CENTRE : TITRE-EN-BLANC-H1 SECTION H2 H3 P LIENS IMAGES PLANS TABLEAUX */

main {
    display: flex;
    flex-direction: column;

    max-width: 1600px;

    margin: 0 auto;

    padding: 50px 100px 200px;
}


h1 {
    margin: 0 0 50px;

    font-family: Transducer;

    color: rgb(205, 211, 220);

    font-size: 3rem;
    font-weight: 1000;

    line-height: 1.1;

    text-align: center;

    text-shadow: 6px 6px 25px rgba(0, 0, 0, 0.65);
}

.texte-accueil {
    font-family: 'Montserrat', sans-serif;
    font-weight: 1000;
}

/* .sous-titre-accueil {
    margin: 0 0 50px;

    color: rgb(205, 211, 220);

    font-size: 5rem;
    font-weight: 1000;

    line-height: 1.1;

    text-align: center;

    text-shadow: 6px 6px 25px rgba(0, 0, 0, 0.65);
} */


section {
    width: 100%;

    margin-bottom: 150px;

    padding: 20px 100px 50px;

    background-color: rgba(225, 231, 240, 0.85);

    color: #222121;

    text-align: justify;

    border-radius: 0.1cm;

    box-shadow: 6px 6px 25px rgba(0, 0, 0, 0.35);
}


h2 {
    font-size: 2rem;
    font-weight: 1000;

    text-align: center;
}


h3 {
    font-size: 1.7rem;
    font-weight: 800;

    line-height: 1.2;
}


p {
    font-size: 1.5rem;
    font-weight: 500;

    line-height: 1.5;
}

.image-section {
    display: block;

    /* align-items: center; */

    width: 500px;
    
    margin: auto;
}

.lien-interne {
    color: #222121;

    font-weight: 800;

    text-decoration: none;
}

.lien-interne:hover {
    color: #04AFEE;
}

.sous-titre-tableau {
    font-size: 1.5rem;
    font-weight: 800;

    text-align: center;

    line-height: 1.2;
}

table {
    border-collapse: collapse;

    margin: auto;
}

tr {
    font-size: 1.4rem;
    font-weight: 600;
}

td {
    border: 2px solid rgba(22, 22, 25, 0.97);
}

.horaires td {
    padding: 0.3rem 2rem 0.3rem 0.25rem;
}

.colonne1 {
    padding: 0.3rem 10rem 0.3rem 0.25rem;
}

.colonne2 {
    padding: 0.3rem 4rem;

    text-align: center;
}

.categorie-tarif {
    font-weight: 800;
}

footer {
    position: fixed;

    bottom: 0;
    left: 0;

    z-index: 900;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 7px 10px 5px;

    background-color: rgba(30, 30, 33, 0.9);

    border-top-right-radius: 0.3cm;

    box-shadow: 6px -6px 25px rgba(0, 0, 0, 0.35);
}

footer img {
    display: block;

    height: auto;

    flex-shrink: 0;
}

.logo-goldarchery {
    width: 55px;
}

.logo-oms17 {
    width: 75px;
}

.logo-cd75 {
    width: 57px;
}

.logo-comiteregional {
    width: 57px;
}

/* CHANGEMENTS TAILLE EN FONCTION TAILLE ECRAN */

/* PC ECRANG LARGE : 1440px +  */
@media (min-width: 1440px) {

    .menu {
        gap: 75px;
    }

    main {
        padding-left: 100px;
        padding-right: 100px;
    }

    section {
        padding-left: 100px;
        padding-right: 100px;
    }

}

/* PC PORTABLE - TABLETTE HORIZONTALE : 1024px <---> 1439px  */
@media (min-width: 1024px) and (max-width: 1439px) {

    /* interaction avec js */
    .navbar {
        height: 90px;

        padding-left: 50px;
        padding-right: 40px;
    }

    .logo-adp-complet {
        width: 300px;
    }

    .menu {
        gap: 40px;
    }

    .menu a,
    .menu-bouton {
        font-size: 1.45rem;
    }

    .sous-menu {
        width: 300px;
    }

    .sous-menu a {
        font-size: 1.25rem;
    }

    main {
        padding: 40px 60px 180px;
    }

    h1 {
        font-size: 2.5rem;
    }

    section {
        padding-left: 60px;
        padding-right: 60px;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1.4rem;
    }

    .image-section {
        width: 400px;
    }

    .sous-titre-tableau {
        font-size: 1.3rem;
    }

    tr {
        font-size: 1.2rem;
    }

    .horaires td {
        padding-right: 1rem;
    }

    .colonne1 {
        padding-right: 5rem;
    }

    .colonne2 {
        padding-right: 2rem;
        padding-left: 2rem;
    }

    .logo-goldarchery {
        width: 55px;
    }

    .logo-oms17 {
        width: 80px;
    }

    .logo-cd75,
    .logo-comiteregional {
        width: 60px;
    }

}

/* TABLETTE VERTICALE : 768PX <---> 1023px  */
@media (min-width: 768px) and (max-width: 1023px) {

    /* interaction avec js */
    .navbar {
        height: 70px;

        padding-left: 35px;
        padding-right: 30px;
    }

    .logo-adp-complet {
        width: 250px;
    }

    .menu {
        gap: 25px;
    }

    .menu a,
    .menu-bouton {
        font-size: 1.25rem;
    }

    .sous-menu {
        top: calc(100% + 10px);

        width: 260px;

        padding-left: 12px;
        padding-right: 12px;
    }

    .sous-menu a {
        font-size: 1.05rem;

        padding-top: 10px;
        padding-bottom: 10px;
    }

    main {
        padding: 35px 35px 160px;
    }

    h1 {
        margin-bottom: 35px;

        font-size: 2rem;
    }

    section {
        padding: 20px 35px 40px;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 1.22rem;
        line-height: 1.5;
    }

    .image-section {
        width: 350px;
    }

    .sous-titre-tableau {
        font-size: 1.2rem;
    }

    tr {
        font-size: 1.1rem;
    }

    .horaires td {
        padding: 0.25rem 0.75rem;
    }

    .colonne1 {
        padding-right: 2rem;
    }

    .colonne2 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    footer {
        gap: 7px;

        padding: 7px 10px 4px;
    }

    .logo-goldarchery {
        width: 45px;
    }

    .logo-oms17 {
        width: 65px;
    }

    .logo-cd75,
    .logo-comiteregional {
        width: 50px;
    }

}

/* SMARTPHONE : MAX 768px  */
@media (max-width: 767px) {

    body {
        background-image: none;
        background-color: #1A1E24;

        background-attachment: initial;
    }

    /* interaction avec js */
    .navbar {
        margin-top: 0px;

        height: 75px;

        padding: 0 20px;

        background-color: rgba(30, 30, 33, 0.9);
    }

    .logo-adp-complet {
        width: 200px;
        /* display: none; */
    }

    /* .logo-adp-mini {
        display: block;

        width: 50px;
        height: 50px;
    } */

    /* bonton hamburger */
    /* interaction avec js */
    .menu-mobile-bouton {
        display: flex;
    }

    .menu {
        display: none;

        position: absolute;

        top: 75px;
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        margin: 0;
        padding: 10px 0;

        background-color: rgba(30, 30, 33, 0.98);

        border-top: 1px solid rgba(225, 231, 240, 0.15);

        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
    }

    /* Menu ouvert */
    /* interaction avec js */
    .navbar.menu-ouvert .menu {
        display: flex;
    }

    .menu li {
        width: 100%;
    }

    .menu a,
    .menu-bouton {
        width: 100%;

        padding: 14px 25px;

        font-size: 1.05rem;

        line-height: 1.2;

        text-align: left;

        white-space: normal;
    }

    .nous-centre {
        text-align: left;
    }

    .sous-menu {
        position: static;

        transform: none;

        width: 100%;

        display: none;

        padding: 0;

        background-color: rgba(30, 30, 33, 0.98);

        border: none;
    }

    /* (sous-?)menu ouvert
    interaction avec js */
    .menu-deroulant.ouvert > .sous-menu {
        display: block;
    }

    .sous-menu a {
        padding: 12px 45px;

        font-size: 0.95rem;
    }

    main {
        max-width: none;

        margin: 0;

        padding: 30px 15px 130px;
    }

    h1 {
        margin-bottom: 30px;

        font-size: 1.8rem;
    }

    section {
        /* background-color: rgba(225, 231, 240, 0.95); */

        margin-bottom: 80px;

        padding: 20px 20px 35px;

        border-radius: 4px;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    p {
        font-size: 1.05rem;
        line-height: 1.55;
    }

    .image-section {
        width: 270px;
    }

    .sous-titre-tableau {
        font-size: 1rem;

        line-height: 1.3;
    }

    table {
        width: 100%;
    }

    tr {
        font-size: 0.95rem;
    }

    td {
        padding: 0.4rem !important;
    }

    footer {
        gap: 5px;

        padding: 6px 8px 4px;
    }

    .logo-goldarchery {
        width: 40px;
    }

    .logo-oms17 {
        width: 55px;
    }

    .logo-cd75,
    .logo-comiteregional {
        width: 45px;
    }

}