/*Section 1


*********************************************/

.section1 {
    background-image: url(Image/bg1.png);
    background-size: cover;
    background-position: right;
    padding: 380px 0 230px;
}

.section1 .container p[class="font3"] {
    font-size: 36px;
    color: white;
    opacity: 1;
    margin: 0;
}

h1 {
    color: white;
    font-size: 52px;
    margin: 20px 0;
    word-wrap: break-word;
}

h1 span:nth-child(1) {
    color: rgba(0, 129, 255, 1);
}

h1 span:nth-child(3) {
    font-size: 32px;
    font-weight: 400;
}

h1 span {
    word-wrap: break-word;
}

.section1 .container p {
    font-size: 24px;
    color: white;
    opacity: 0.5;
}

.section1 .col {
    grid-column: span 6;
}

.section1 button {
    margin: 40px 0
}

@media screen and (max-width:900px) {
    .section1 .col {
        grid-column: span 12;

    }

    .section1 {
        background-size: cover;
        background-position: 50%;
        padding: 380px 0 230px;
    }
}

@media screen and (max-width:500px) {
    .row {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 0;
    }

    .section1 .row .col {
        text-align: center;
    }

}

/*Section 2


*********************************************/
.section2 {
    padding: 90px 0;
    background: rgba(0, 129, 255, 1);
    color: white;
}

.section2 .col:nth-child(1) {
    font-weight: 700;
    font-size: 42px;
}

.section2 .col {
    grid-column: span 6;
}

.section2 .col p {
    margin: 20px 0;
}

@media screen and (max-width:500px) {
    .section2 .col p {
        text-align: center;
    }
}


/*Section 3


*********************************************/

.section3 {
    color: white;
    background: rgba(0, 122, 242);
    padding: 70px 0;
}

.section3 i {
    font-size: 4em;
    color: rgba(255, 255, 0, 1);
    margin: 20px 0 0;
}

.section3 h3 {
    margin: 0;

}

@media screen and (max-width:800px) {
    .row {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 0;
    }

    .section3 .row {
        text-align: center;
    }

}

/*Section 4


*********************************************/

.section4 {
    background: rgba(0, 129, 255, 1);
    color: white;
    font-size: 20px;
    padding: 80px 0;
}

.section4 .container p:nth-child(2) {

    margin: 0 10%;

}

.section4 p {
    display: inline-block;

}

.reseauSociaux a {
    margin: 12px;
    color: white;
    opacity: 0.5;
}

.reseauSociaux a:hover {
    opacity: 1;
}

/*Section 5


*********************************************/

.section5 h2 {
    color: rgba(180, 180, 180, 1);
}

.section5 {
    padding: 45px 0
}

.section5 .col-6 p {
    font-weight: 900;
    font-size: 42px;
}

.section5 .row {
    align-items: center;
}

.section5 .row .col-6:nth-child(2) {
    display: inline;
    text-align: end;
}

/*Section 6


***************************************/

.section6 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas: "image1 image1 image4 image5"
        "image2 image3 image4 image6";
}

.section6 a {
    position: relative;
    width: 100%;
}


.section6 img {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

/********* Superposition simple de texte sur une image *******/
/* Conteneur principal */
.section6 a {
    position: relative;
    width: 100%;
}

/********* Hover image et texte *******/
/* Overlay */
.section6 a .hover {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Apparition overlay sur passage souris */
.section6 a:hover .hover {
    opacity: 1;

}

/*Gestion du texte*/

.section6 .hover p {
    text-align: center;
    color: white;
    padding: 0 30px;
    margin: 0;
}

.section6 .hover p small,
.section6 .hover p i {
    color: rgb(190, 190, 190)
}

.section6 .hover p i {
    margin: 0 10px;
}

.section6 .hover p i:hover {
    color: white;
    transition: 0.3s;
}

.section6 a .normal {
    transition: .5s ease;
}

.section6 a:hover .normal {
    opacity: 0;
}

.section6 a .hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.section6 .section6-image1 {
    grid-area: image1;
}

.section6 .section6-image2 {
    grid-area: image2;
}

.section6 .section6-image3 {
    grid-area: image3;
}

.section6 .section6-image4 {
    grid-area: image4;
}

.section6 .section6-image5 {
    grid-area: image5;
}

.section6 .section6-image6 {
    grid-area: image6;
}

@media screen and (max-width: 1000px) {
    .section6 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "image1 image1"
            "image2 image3"
            "image4 image5"
            "image4 image6";
    }
}

@media screen and (max-width: 500px) {
    .section6 .hover p {
        font-size: 3.2vw;
    }
}

/*Section 7


***************************************/

.section7 {
    padding: 180px 0;
    background-image: url(Image/bg%202.png);
    background-position: center;
    background-size: cover;
    color: white;
    text-align: center;

}

.section7 .font1 {
    font-weight: 900;
    font-size: 42px;
}

.section7Logo img {
    opacity: 0.5;
    display: block;
    margin: 20px auto;
    width: 80%;
    max-width: 208px;
    transition: 0.3s;
}

.section7Logo img:hover {
    opacity: 1;
}

.section7Logo {

    align-items: center;
}

.section7 .main-carousel {
    margin: 60px 0;
    background-image: url(Image/images/albedo_personal_onepager_03.png);
    background-position: center center;
    background-repeat: no-repeat;
}

.section7 .carousel-cell {
    width: 100%;
    font-size: 24px;
    padding: 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flickity-button {
    background: none;
    color: white;
}

.flickity-button:hover {
    background: none;
    color: white;
    text-shadow: 5px 0px 10px rgba(255, 255, 255, 0.5), 0 5px 10px rgba(255, 255, 255, 0.5), -5px 0px 10px rgba(255, 255, 255, 0.5), 0 -5px 10px rgba(255, 255, 255, 0.5);
}

.section7 .carousel-cell div {
    display: flex;
    align-items: center;
    text-align: left;
}

.section7 .carousel-cell div img {
    display: block;
}

.section7 .carousel-cell div p {
    margin: 20px;
}

.section7 .carousel-cell div span {
    color: rgba(255, 255, 0, 1);
    font-size: 18px
}

.section7 .carousel-cell div small {
    opacity: 0.5;
    font-size: 16px;
}

.flickity-page-dots {
    display: none;
}

@media screen and (max-width:600px) {
    .section7 .carousel-cell {
        padding: 0;

    }

    .section7 .carousel-cell div {
        flex-direction: column;
        text-align: center;
        padding: 50px 0;
    }
}

/*Section8




*******************************/

.section8 {
    padding: 120px 0;
}

.section8 h2 {
    margin: 0;
}

.section8 img {
    display: block;
    width: 100%;
    height: 100%
}

.section8 .container {
    display: grid;
    grid-template-columns: 3fr 3fr 4fr 2fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas: "div1 div1 div2 div2"
        "div3 div3 div2 div2"
        "div4 div5 div6 div7";
    grid-gap: 40px;
}

.section8 .container a {
    box-shadow: 0 30px 160px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.section8 .container a:hover {
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
}

.section8 .container a:active {
    transform: scale(0.95);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0);
    transition: 0.1s
}

#section8Div1 {
    grid-area: div1;
}

#section8Div1 h2 {
    color: gray;
}

#section8Div1 .font1 {
    font-size: 42px;
    font-weight: 900;
    margin: 20px 0;
}

#section8Div1 .font5 {
    font-size: 24px;
    color: gray;
}

#section8Div2 {
    grid-area: div2;
    position: relative;

}

#section8Div2 .carousel-cell {
    width: 100%;
}

#section8Div2 article {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    color: white;
    margin: 0 15%;
    padding: 50px 0;

}

#section8Div2 .flickity-button {
    display: none;
}

#section8Div2 .flickity-page-dots {
    display: block;
    bottom: 25px;
    left: -125px;
    z-index: 2000;
}

#section8Div2 .flickity-page-dots .dot {
    background: rgba(255, 255, 255, 0.8);
    width: 30px;
    border-radius: 50px;

}

#section8Div2 p:nth-child(1) {
    color: gray;
    font-weight: 900;
}

#section8Div2 h3 {
    font-size: 32px;
    
}


#section8Div3 {
    background: rgba(0, 126, 250, 1);
    grid-area: div3;
    text-align: center;
    padding: 20px 10%;
}

#section8Div3 div {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    color: white;
}

#section8Div3 p {
    margin: 0;
}

#section8Div3 .font1 {
    font-size: 16px;
    font-weight: 900;
}

#section8Div3 .font4 {
    font-size: 26px;
}

#section8Div3 .font5 {
    font-size: 18px;
    color: rgba(255, 255, 0);
}

#section8Div4 {
    grid-area: div4;
    position: relative;
}


#section8Div4 div {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 15%;
}

#section8Div4 div p:nth-child(1) {
    color: gray;
    font-size: 16px;
    font-weight: 900;
    margin: 0;
}

#section8Div4 div p:nth-child(2) {
    font-size: 24px;
    font-weight: 900;
    color: black;
}

#section8Div5 {

    grid-area: div5;
    position: relative;
}

#section8Div5 div {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 15%;
    text-align: center;
    background: rgba(0, 0, 0, 0.4)
}

#section8Div5 div p:nth-child(1) {
    color: white;
    font-size: 16px;
    font-weight: 900;
    margin: 0;
}

#section8Div5 div p:nth-child(2) {
    font-size: 24px;
    font-weight: 900;
    color: white;
}

#section8Div5 i {
    color: white;
    font-size: 40px
}


#section8Div6 {
    padding: 5%;
    background: rgba(255, 255, 255, 1);
    grid-area: div6;
}

#section8Div6 p:nth-child(1) {
    font-size: 16px;
    font-weight: 900;
    color: gray;
}

#section8Div6 p:nth-child(2) {
    font-size: 24px;
    font-weight: 900;
    color: black;
}

#section8Div6 p:nth-child(3) {
    font-size: 18px;
    color: gray;
}

#section8Div7 {
    background: rgba(223, 29, 98, 1);
    grid-area: div7;
    padding: 20px;
}

#section8Div7 {
    text-transform: uppercase;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media screen and (max-width:1180px) {
    .section8 .container {
        width: 560px;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr 560px 300px 260px;
        grid-template-areas: "div1 div1 div1 div1"
            "div2 div2 div2 div2"
            "div3 div3 div3 div3"
            "div4 div4 div5 div5"
            "div6 div6 div6 div7";
        grid-gap: 40px;
    }
}


@media screen and (max-width:580px) {
    .section8 .container {
        width: auto;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        grid-template-areas: "div1 div1 div1 div1"
            "div2 div2 div2 div2"
            "div3 div3 div3 div3"
            "div4 div4 div4 div4"
            "div5 div5 div5 div5"
            "div6 div6 div6 div6"
            "div7 div7 div7 div7"
        ;
        grid-gap: 40px;


    }

    #section8Div2 {
        overflow: hidden;
    }

    #section8Div2 img {
        width: auto;
        height: 100%;
    }

    #section8Div2 article a {
        align-self: center;
    }
    #section8Div2 .flickity-page-dots{
        left: 0;
    }
}
