/* Les règles générales du sites */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

:root {
    --primary-color: rgb(144, 180, 144);
    --secondary-color: #cf2518;
    --main-transition-duration: 0.4s;
    --main-padding: 20px;
    --main-margin: 20px;
    --main-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    --second-font: 'Dancing Script';
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

.logo {
    font-weight: 700;
    font-size: 32px;
    color: var(--primary-color);
    font-family: 'Dancing Script', 'cursive';
}

.nav-item a {
    text-transform: uppercase;
    font-family: 'Dancing Script', 'cursive';
    font-weight: bold;
}

a {
    text-decoration: none;
}

.association {
    max-width: 992px;
}

.form-check .form-check-input {
    border: 2px solid black;
    float: none;
    margin-right: 20px;
}

/* fin règles générales */
.slider-photos {
    height: 600px;
    max-height: 100vh;
}


.slick-slide {
    width: 100%;
    height: 600px !important;
    overflow: hidden;
}

.slick-slide img {
    height: 100% !important;
}

.slick-list {
    height: 600px !important;
}

@media (max-width:767px) {
    .slider-photos {
        height: 400px;
    }

    .slick-slide {
        height: 400px !important;
    }

    .slick-list {
        height: 400px;
    }
}

.slider-item img {
    width: 100%;
    height: 95%;
    max-height: 95%;
    box-shadow: var(--main-shadow);
}

.main-title {
    text-align: center;
    font-family: 'Dancing Script', 'cursive';
    font-size: 32px;

}

/*=====================================================
==            Hero Section                        ==
=======================================================*/
.hero .image {
    height: 250px;
    overflow: hidden;
}

.hero .image img {
    max-width: 100%;
    max-height: 100%;
    box-shadow: var(--main-shadow);
}

.hero .text {
    font-style: italic;

}

.hero .text {
    font-weight: bold;
    letter-spacing: 1.2;
    font-family: 'Dancing Script', 'cursive';
    font-size: 48px;
}


/*========================================================
==               Main section                           ==
=========================================================*/

.main .box {

    margin: 0 auto;
    margin-top: var(--main-margin);
    width: 300px;
    overflow: hidden;
    border-radius: 10px;
    transition: var(--main-transition-duration);
}

.main .box .box-image img {
    max-width: 100%;
    box-shadow: var(--main-shadow);
    transition: var(--main-transition-duration);
    border-radius: 10px;

}

.main .box:hover {
    transform: scale(1.1);
}

.main .box .box-title {
    color: var(--primary-color);
    font-style: italic;
    font-weight: bold;
}

.main .box .box-footer {
    margin-top: var(--main-margin);
}

.main .box .box-footer ul li {
    list-style-type: none;
}

.main .main-title {
    color: var(--primary-color);
}

.main .main-text p {
    text-align: left;
}

.contact-infos {
    margin: 10px;
    border: 1px solid var(--primary-color);
    text-align: center;
    padding: var(--main-padding);
    transition: var(--main-transition-duration);
    border-radius: 10px;
}

.contact-infos:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-infos:hover .title {
    color: white;
}

.contact-infos .title {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 14px;
    transition: var(--main-transition-duration);
}

.contact-infos .email {
    font-size: 14px;
    display: block;
}

/*===============================================
=                   Content                     =
=================================================*/

.content .image {
    width: 200px;
}

.content .image img {
    max-width: 100%;
}

.content-footer {
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 5px;
    background-color: var(--primary-color);
}

.content-footer p {
    font-family: var(--second-font);
    color: white;
}

.association .image {
    width: 70%;
    margin-top: var(--main-margin);
    box-shadow: var(--main-shadow);
    transition: var(--main-transition-duration);
}

.association .image:hover {
    transform: scale(1.1);
}

.association .image img {
    max-width: 100%;
}

.association .head {
    text-align: center;
}

.association .body {
    font-size: 18px;
    font-weight: bold;
}

.association .contact-img {
    max-width: 100%;
}

.association .contact-img img {
    max-width: 100%;
}

.contact-footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    margin: var(--main-margin);
    padding: var(--main-padding);
    font-family: 'Dancing Script', 'cursive';
    font-weight: bold;
}

.contact-title {
    font-weight: bold;
    font-family: 'Dancing Script', 'cursive';
}

.badge {
    color: #cf2518;
}

/*=================================================
=                   footer                        =
==================================================*/

.footer {
    font-size: 14px;
    text-align: center;
}

/*=================================================
=                  Login form                     =
==================================================*/
.login-form {
    margin: var(--main-margin);
    width: 500px;
    border: 1px solid var(--primary-color);
    box-shadow: var(--main-shadow);
    padding: var(--main-padding);
    text-align: center;
}

.form-logo {
    margin: var(--main-margin);
    font-family: 'Dancing Script', 'cursive';
    ;
}

.form-label {
    text-align: left;
}

/*===============================================
=               Media                           =
=================================================*/
.media .icon {
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--main-transition-duration);
}

.media .icon:hover {
    background-color: var(--primary-color);
}

.media .icon i {
    font-size: 48px;
    font-weight: bold;
    margin: var(--main-margin);
    color: var(--primary-color);
}

.media .icon:hover i {
    color: white;
}

/*===============================================
=                 Commentairs                   =
================================================*/
.comment-form {
    border: 1px solid var(--primary-color);
    box-shadow: var(--main-shadow);
    margin-top: var(--main-margin);
    padding: 5px;
    border-radius: 10px;
    text-align: left;
}

/*=================================================
=               Galerie photos                    =
===================================================*/
.gallery .image-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gallery .image {
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: var(--main-shadow);
    margin: 5px;
    padding: 2px;
    height: 300px;
    position: relative;
}

.gallery .image img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.gallery .comment {
    font-size: 12px;
    font-weight: 400;
    padding: 5px;
    text-align: center;
}

.gallery .video {
    width: 300px;
    height: 100%;
}

.gallery .video video {
    width: 100%;
    height: 100%;
}

.comments-section {
    border: 2px solid var(--primary-color);
    text-align: left;
    margin-top: var(--main-margin);
    padding: var(--main-padding);
    border-radius: 8px;
    box-shadow: var(--main-shadow);

}

.comments-section span {
    color: grey;
    text-decoration: underline;
    padding-bottom: 5px;
}

.comments-section p {
    font-size: 14px;
    font-style: italic;
}

/*=================================================
=               Concours                          =
===================================================*/
.competitions {
    font-family: 'Dancing Script', 'cursive';
}

.competitions .card {
    box-shadow: var(--main-shadow);
}

.competitions .card-header {
    font-weight: bold;
    background-color: var(--primary-color);
    color: white;
}

.competitions h2 {
    font-weight: bold;
    text-align: center;
    font-size: 2rem;
}

.competitions .card-body p,
ul,
ol {
    font-family: Arial, Helvetica, sans-serif;
}

.competitions .btn {
    background-color: var(--primary-color);
    color: white;
}
