/**************************FIRST SECTION AFTER HEADER*********************/

#section-1 {
    border-bottom: 1px solid #000;

}

.section__trait--reservation {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 20px;
}

.section__trait--reservation h3 {
    color: #d00a0a;
    font-size: 2em;
    text-transform: uppercase;
    font-weight: 400;
}

.section__trait--reservation p {
    text-transform: uppercase;
    font-size: 2em;
    font-weight: bold;
}

.s__slogan-btn {
    text-decoration: none;
    padding: 15px 20px;
    border: 2px solid #7d7070;
    border-radius: 10px;
    color: #7d7070;
    font-size: 1.4em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 41px;
    font-weight: 500;
    transition: transform 450ms, background-color 300ms 150ms;
}

.s__slogan-btn:hover {
    background-color: #7d7070;
    color: #fff;
    font-weight: 300;
    transform: scale(1.13);
}

/**************************DESCRIPTION EQUIPE*********************/

#section-2 {
    padding: 10px 0px 100px 0;
}

.section__team--description {
    padding: 0px 20%;
}

.section__team--description h2 {
    color: #d00a0a;
    text-align: center;
    font-size: xx-large;
    text-transform: uppercase;
    margin-top: 78px;
}

.section__team--description p {
    font-size: x-large;
    text-align: center;
}

.red {
    color: #d00a0a;
}

/*****************ACTUALITÉS****************************/

#section-3 h2 {
    color: #d00a0a;
    text-align: center;
    font-size: xx-large;
    text-transform: uppercase;
}

.section__actuality-images {
    display: flex;
    flex-wrap: wrap;
    padding: 0px 20%;
    justify-content: space-between;
}

.section__actuality {

    cursor: pointer;
    height: 300px;
    position: relative;
    overflow: hidden;
    width: 400px;
    text-align: center;
    margin-top: 60px;
    cursor: pointer;
    transform: scale(1);
    transition: transform 500ms;
}

.section__actuality:hover {
    transform: scale(1.15);
}

.section__actuality .fadedbox {
    background-color: #666666;
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    transition: all 300ms ease-out;
    opacity: 0;
    width: 400px;
    height: 300px;
    padding: 130px 20px;
}

.section__actuality:hover .fadedbox {
    opacity: 0.8;
}

.section__actuality .text {

    transition: all 300ms ease-out;
    transform: translateY(30px);
}

.section__actuality .title {
    font-size: 2em;
    text-transform: uppercase;
    opacity: 0;
    transition-delay: 0.2s;
    transition-duration: 0.3s;
}

.section__actuality:hover .title,
.section__actuality:focus .title {
    opacity: 1;
    transform: translateY(0px);

}

/*************LES FILMS**************/

.section__carousel {
    padding: 0px 24%;
    margin-top: 100px;
}

.section__carousel h2 {
    color: #d00a0a;
    text-align: center;
    font-size: xx-large;
    text-transform: uppercase;
    margin-bottom: 60px;
}

figure {
    border: 1px solid #bac6d3;
    border-radius: 8px;
    padding: 1rem;
}

figure h3 {
    font-size: 1rem;
    color: #d00a0a;
}

figure img {
    width: 100%;
}

.carousel__items {
    display: flex;
    overflow-x: scroll;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    justify-content: space-between;
}

.carousel-item {
    margin-left: 1rem;
    /*flex-grow: 1;*/
    flex-shrink: 0;
    flex-basis: 263px;
    scroll-snap-align: start;
}

::-webkit-scrollbar-track {
    background-color: #F5F5F5;
}

::-webkit-scrollbar {
    height: 6px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    background-color: #3d4852;
    border-radius: 3px;
}

figcaption .button {
    color: #7d7070;
    cursor: pointer;
    padding: 0.25rem 0.75rem;
    font-size: small;
}

figcaption .button:hover {
    color: #d00a0a;
}

/*************FORMULAIRE DE RÉSERVATION************/

.form {
    width: 100%;
    background-color: #f0efef;
    margin-top: 60px;
    height: 470px;
}

.form__title {
    color: rgba(0, 0, 0, 0.7);
    text-align: center;
    font-size: xx-large;
    text-transform: uppercase;
    margin-bottom: 60px;
    font-weight: 600;
    padding-top: 40px;
}

.form__inner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.form__column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px 6%;
    align-items: center;
}

.form__block {
    width: 200px;
    margin-right: 50px;
}

.form__label {
    font-weight: 400;
    margin-bottom: 5px;
}

.form__input {
    height: 45px;
    border: 2px solid #7d7070;
    border-radius: 10px;
    width: 260px;
    transition: all 0.3s ease-in-out;
    padding-left: 7px;
    font-size: 16px;
    color: #d00a0a;
    margin-top: 35px;
}

input::-webkit-input-placeholder {
    color: #d00a0a !important;
}

input:-moz-placeholder {
    /* Firefox 18- */
    color: #d00a0a !important;
}

input::-moz-placeholder {
    /* Firefox 19+ */
    color: #d00a0a !important;
}

input:-ms-input-placeholder {
    color: #d00a0a !important;
}


.i__reservation-btn {
    text-decoration: none;
    padding: 7px 20px;
    border: 2px solid #000;
    border-radius: 10px;
    color: #000;
    font-size: 1.4em;
    text-transform: uppercase;
    text-align: center;
    margin-top: 30px;
    font-weight: 500;
    transition: transform 450ms, background-color 300ms 150ms;
    width: 200px;
}

.i__reservation-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    font-weight: 300;
    transform: scale(1.13);
}

.reservation__acceptance {
    text-align: center;
    margin-top: 34px;
}

.reservation__acceptance a {
    color: #d00a0a;
    font-weight: 500;
}

/***************RESPONSIVE*****************************/

@media only screen and (max-width: 630px) {

    /********RESPONSIVE RESERVATION PAGE ACCUEIL******************/

    .form {
        height: 700px;
    }

    .form__inner {
        flex-direction: column;
    }

    .reservation__acceptance {
        font-size: 0.9em;
    }
}

/********RESPONSIVE PREMIERE SECTION PAGE ACCUEIL******************/

@media only screen and (max-width: 980px) {
    .s__slogan-btn {
        padding: 10px 7px;
        font-size: 1em;
        margin-bottom: 57px;
        font-weight: 800;
    }

    .section__trait--reservation h3,
    .section__trait--reservation p {
        font-size: 1.5em;
    }
}

@media only screen and (max-width: 760px) {
    .s__slogan-btn {
        padding: 10px 7px;
        font-size: 0.8em;
        margin-bottom: 28px;
        font-weight: 800;
    }

    .section__trait--reservation h3,
    .section__trait--reservation p {
        font-size: 1.2em;
    }

}

@media only screen and (max-width: 400px) {

    .section__trait--reservation h3,
    .section__trait--reservation p {
        font-size: 1em;
        text-align: center;
    }
}

@media only screen and (max-width: 570px) {
    #section-1 {
        display: none;
    }

    .section__trait--reservation {
        margin-bottom: 20px;
        border-bottom: 1px solid #000;
        border-top: 1px solid #000;
    }

    .slogan__btn {
        display: flex;
        justify-content: center;
    }

    .s__slogan-btn {
        padding: 11px 12px;
        font-size: 1.2em;
        font-weight: 500;
    }
}

@media only screen and (min-width: 571px) {
    #section-1-responsive {
        display: none;
    }
}

@media only screen and (min-width: 981px) {
    #section-1-responsive {
        display: none;
    }
}

/********RESPONSIVE DESCRIPTION EQUIPE PAGE ACCUEIL******************/

@media only screen and (max-width: 760px) {

    .section__team--description h2,
    #section-3 h2,
    .section__carousel h2,
    .form__title {
        margin-top: 35px;
        font-size: x-large;
    }

    .section__team--description {
        font-size: large;
        padding: 0px 7%;
    }
}

/********RESPONSIVE SECTION ACTUALITES PAGE ACCUEIL******************/

@media only screen and (max-width: 1400px) {
    .section__actuality-images {
        justify-content: space-evenly;
    }
}

@media only screen and (max-width: 760px) {

    .section__actuality,
    .section__actuality img,
    .section__actuality .fadedbox {
        width: 300px;
        height: 200px;
    }

    .section__actuality .title {
        font-size: 1.5em;
    }

    .section__actuality .fadedbox {
        padding: 70px 20px;
    }
}

@media only screen and (max-width: 500px) {

    .section__actuality,
    .section__actuality img,
    .section__actuality .fadedbox {
        width: 100%;
        height: 100%;
    }

    .section__actuality .title {
        font-size: 1.1em;
        margin-top: 5em
    }

    .section__actuality .fadedbox {
        padding: 0;
    }

}

/********RESPONSIVE SECTION LES FILMS PAGE ACCUEIL******************/

@media only screen and (max-width: 500px) {
    .section__carousel {
        padding: 0;
       margin: 0 2em;
    }
}
