@font-face {
    font-family: "LeagueSpartan";
    src: url('./leaguespartan-bold-webfont.woff2') format('woff2'),
        url('./leaguespartan-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Effra";
    src: url('./effra_std_rg-webfont.woff2') format('woff2'),
        url('./effra_std_rg-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "EffraLight";
    src: url('./EFFRA_STD_LT.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Gilroy-ExtraBold";
    src: url('./Gilroy-ExtraBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Gilroy-Light";
    src: url('./Gilroy-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Gilroy-Medium";
    src: url('./Gilroy-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.loader {
    z-index: 20;
    visibility: visible;
    position: fixed;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #363636;
    transition: bottom .8s cubic-bezier(.73, .02, .11, 1), visibility 5s;
}

.menu.nonVisible a {
    visibility: hidden;
    transform: translateY(-20px);
    opacity: 0;
}

.menu.nonVisible {
    bottom: 100%;
    visibility: hidden;
}

.menu {
    z-index: 20;
    visibility: visible;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #363636;
    transition: bottom .8s cubic-bezier(.73, .02, .11, 1), visibility 1s;
}

.boutonMenu {
    visibility: visible;
    position: fixed;
    right: 0;
    z-index: 10;
}

.boutonMenu img {
    margin-right: 20px;
    width: 40px;
}

.navMenu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.navMenu a {
    opacity: 1;
    font-family: "LeagueSpartan";
    font-size: 8vw;
    text-decoration: none;
    text-align: center;
    margin-bottom: 60px;
    color: #FFF;
    transition: transform 1s cubic-bezier(.54, .43, 0, .99), opacity 1s;
}

.loaderBack {
    z-index: 18;
    visibility: visible;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0.25turn, #FF4F42, #FF9D52);
    transition: bottom .8s cubic-bezier(.73, .02, .11, 1), visibility 5s;
    transition-delay: .4s;
}

.loaderBack.loaded {
    bottom: 100%;
    visibility: hidden;
}

.loader img {
    width: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 1s cubic-bezier(.73, .02, .11, 1);
}

.loader.loaded {
    bottom: 100%;
    visibility: hidden;
}

.loader.loaded img {
    transform: translateY(-3000px);
}

h1.loading {
    visibility: hidden;
    transform: scale(0);
}

.illustration_accueil.loading {
    visibility: hidden;
    transform: scale(0);
}

nav a:hover:after {
    opacity: 1;
    width: 100%;
    transition: width 1s cubic-bezier(.54, .43, 0, .99);
}

nav a:after {
    opacity: 0;
    content: "";
    background: #DC5826;
    display: block;
    width: 0px;
    height: 3px;
    transition: width 1s cubic-bezier(.54, .43, 0, .99), opacity 1s;
    transition-delay: 0s, 1s;
}

h2.loading {
    z-index: -20;
    transform: translateY(-18px);
    opacity: 0;
}

nav.loading a {
    transform: translateY(-50px);
    opacity: 0;
}

nav {
    display: flex;
    padding-right: 20px;
    margin-top: 20px;
    justify-content: center;
    visibility: hidden;
}

nav a {
    opacity: 1;
    font-family: "LeagueSpartan";
    font-size: 2vw;
    text-decoration: none;
    text-align: center;
    margin: 0 20px;
    color: #302D2D;
    transition: transform 1s cubic-bezier(.54, .43, 0, .99), opacity 1s;
}

html {
    background-repeat: no-repeat;
    background-color: #FFF7E9;
    scroll-behavior: smooth;
}

body {
    font-family: "Gilroy-Medium";
    font-size: 20px;
    color: #302D2D;
    margin: 0;
}

.bouton-top.nonVisible {
    visibility: hidden;
    opacity: 0;
}

.bouton-top {
    visibility: visible;
    opacity: 1;
    display: block;
    position: fixed;
    width: 35px;
    height: 35px;
    bottom: 15px;
    right: 15px;
    transition: visibility 1s, opacity 1s;
    cursor: pointer;
}

h1,
h4 {
    font-family: "Gilroy-ExtraBold";
    color: #D83900;
}

h1 {
    font-size: 15vw;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 10px;
    text-align: left;
    width: max-content;
    width: 75vw;
    height: 35vw;
    padding-bottom: 20px;
    transition: transform 1s cubic-bezier(.54, .43, 0, .99);
    transition-delay: .9s;
}

h2 {
    z-index: -20;
    text-align: right;
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 10px;
    font-size: 5vw;
    font-family: "Gilroy-Light";
    opacity: 1;
    transition: transform 1s cubic-bezier(.54, .43, 0, .99), opacity 1s;
    transition-delay: 1.7s;
}

.illustration_accueil {
    visibility: collapse;
}

h3 {
    font-family: "Gilroy-Medium";
    line-height: 1;
    border-image: linear-gradient(0.25turn, #DC5826, #DC5826) 27;
    border-bottom: 10px solid;
    width: max-content;
    height: 34px;
    font-size: 50px;
    margin-left: 20px;
}

h4 {
    font-size: 30px;
}

p strong {
    font-size: 22px;
}

label {
    font-family: "Effra";
    color: #FFFFFF;
}

a {
    text-decoration: none;
}

header {
    height: 100vh;
    text-align: center;
}

.section_accueil {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.section_accueil img {
    height: 400px;
    width: 400px;
    margin-right: 100px;
    display: none;
}

.texte_accueil {
    height: calc(100vh - 75px - 100px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-left: 5%;
}

header img {
    width: 75px;
}

#presentation.nonVisible,
#competences.nonVisible,
#parcours.nonVisible,
#realisations.nonVisible {
    visibility: hidden;
    opacity: 0;
    transform: translateY(30px);
}

#presentation,
#competences,
#parcours,
#realisations {
    visibility: visible;
    opacity: 1;
    transition: visibility 1s, opacity 1s, transform 2s;
    margin-left: 0;
    margin-right: 0;
}

#presentation {
    min-height: 100vh;
}

.contenu-presentation {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 50px;
    padding-bottom: 50px;
}

.contenu-presentation p {
    font-size: 22px;
    max-width: 800px;
    padding: 20px;
}

.contenu-presentation p strong {
    font-size: 22px;
}

.contenu-presentation img {
    height: 350px;
}

#competences {
    min-height: 100vh;
}

.contenu-competences {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-top: 50px;
    padding-bottom: 50px;
}

.contenu-bulles {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform .3s;
}

.contenu-bulles:hover {
    transform: scale(1.07);
}

#parcours {
    min-height: 100vh;
}

.carrouselParcours {
    position: absolute;
    height: 85vh;
    left: 0;
    display: inline-block;
    overflow: hidden;
}

.slick-slider {
    left: 0;
}

.slick-list,
.slick-track {
    height: 100%;
}

.gabarit-slide {
    height: 100%;
    width: 100vw;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: left;
    background-position-y: bottom;
}

.slide1 {
    background-image: url("../images/laval.png");
}

.slide2 {
    background-image: url("../images/blois.png");
}

.slide3 {
    background-image: url("../images/lemans.png");
}

.slide-arrow{
    position: absolute;
    top: 50%;
    margin-top: -15px;
}

.next-arrow{
    right: 10px;
    width: 50px;
    height: 50px;
    rotate: -90deg;
}

.texteSlide {
    margin-left: 40px;
    width: 75%;
}

.annee {
    background-color: #302D2D;
    width: max-content;
    margin-left: -15px;
    rotate: -3deg;
}

.annee>p {
    color: white;
    font-size: 20px;
    font-family: "Gilroy-ExtraBold";
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 0;
}

.titreSlide {
    font-size: 40px;
    font-family: "Gilroy-ExtraBold";
    color: #DC5826;
}

.titreSlide>p {
    margin-top: -15px;
}

#realisations {
    display: flex;
    flex-direction: column;
    padding-bottom: 25px;
    min-height: 2000px;
}

.contenu-realisations {
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 1%;
    align-items: center;
    justify-items: center;
    align-self: center;
    padding-top: 50px;
    padding-bottom: 50px;
    height: max-content;
    grid-template-areas: 
    "element1"
    "element2"
    "element4"
    "element3"
    "element5"
    "element6";
}

.element1 {
    grid-area: element1;
}

.element2 {
    grid-area: element2;
    margin-bottom: 15%;
}

.element3 {
    grid-area: element3;
    margin-bottom: 15%;
}

.element4 {
    grid-area: element4;
}

.element5 {
    grid-area: element5;
}

.element6 {
    grid-area: element6;
}

.contenu-realisations img {
    transition: transform .3s;
    height: 75%;
}

.contenu-realisations img:hover {
    transform: scale(1.07);
    cursor: pointer;
}

.blocTexteRealisation {
    margin-left: 5%;
    margin-right: 5%;
}

.titrePresentationRealisation {
    font-family: "Gilroy-ExtraBold";
    font-size: 40px;
    color: #DC5826;
    margin-top: 0;
}

.boutonPresentationRealisation {
    font-family: "Gilroy-Light";
    font-size: 15px;
    text-decoration: underline;
    color: #302D2D;
}

input,
textarea {
    border: none;
    border-image: linear-gradient(0.25turn, #DC5826, #DC5826) 27;
    border-bottom: 3px solid;
    background-color: transparent;
    font-family: "Effra";
    font-size: 15px;
    color: #363636;
    margin-bottom: 20px;
    outline: none;
}

form {
    text-align: center;
}

button {
    font-family: "Effra";
    font-size: 20px;
    color: #FFF;
    border: none;
    border-radius: 4px;
    background-color: #DC5826;
    padding: 5px;
    transition: background-color .3s;

}

button:hover {
    background-color: #0099FF;
}

#contact {
    padding-bottom: 50px;
    padding-top: 15px;
    background-color: #f5e6cc;
}

.contenu-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.coordonnees p {
    margin-left: 10px;
    color: #363636;
}

.coordonnees a {
    text-decoration: none;
}

.mail {
    display: flex;
    align-items: center;
}


.tel {
    display: flex;
    align-items: center;
}

/*------------Footer------------*/

footer {
    border: solid 0.1px;
    border-color: transparent;
    background: #ebd8b7;
    text-align: center;
}

/*Gestion des réalisations*/

.htmlRealisations {
    background-color: #FFF7E9;
}

.bodyRealisation {
    background: url("../images/fond-real2-Mobile.svg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 120vh;
}

.titreProjet {
    color: #DC5826;
    margin: 0;
}

.headerRealisations {
    height: max-content;
    background-image: none;
}

.mainRealisations {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 4%;
}

.detailsReal {
    display: flex;
    flex-direction: column;
    margin-left: 5%;
    margin-right: 5%;
}

.imgRealisation {
    height: 100vw;
    max-width: 100vw;
    margin-top: 15px;
}

.paragrapheRealisations {
    text-overflow: clip;
    color: #363636;
}

.boutonVoirRealisation {
    width: 190px;
    margin-bottom: 50px;
    font-family: "Effra";
    font-size: 20px;
    color: #FFF;
    border: none;
    border-radius: 4px;
    background-color: #DC5826;
    padding: 5px;
    transition: background-color .3s;
}

.footerRealisations {
    background: none;
    position: absolute;
    bottom: 0;
    margin-left: 0;
    margin-bottom: 0;
}

.boutonRetour {
    font-family: "EffraLight";
    color: white;
    font-size: 5vw;
    margin-bottom: 0;
    cursor: pointer;
    transition: font-family 1s cubic-bezier(.54, .43, 0, .99);
    transition-delay: .9s;
}

.boutonRetour:hover:after {
    opacity: 1;
    width: 100%;
    transition: width 1s cubic-bezier(.54, .43, 0, .99);
}

.boutonRetour:after {
    opacity: 0;
    content: "";
    background: white;
    display: block;
    width: 0px;
    height: 2px;
    transition: width 1s cubic-bezier(.54, .43, 0, .99), opacity 1s;
    transition-delay: 0s, 1s;
}

.maintenance {
    height: 100vh;
    width: 100vw;
    background: linear-gradient(0.25turn, #253442, #25423F);
}

.maintenanceBody {
    height: 100vh;
    width: 100vw;
    background: url(../images/fond-maintenance.svg);
    background-repeat: no-repeat;
}



/*------------Gestion des contenus en cas de fenêtre plus grande------------*/

@media (min-width: 750px) {
    html {
        background-image: none;
    }

    nav {
        visibility: visible;
    }

    .boutonMenu {
        visibility: hidden;
    }

    h1 {
        font-size: 8vw;
        text-align: left;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: 150px;
        margin-right: 100px;
        width: max-content;
        height: 18vw;
        padding-bottom: 20px;
        transition: transform 1s cubic-bezier(.54, .43, 0, .99);
        transition-delay: .9s;
    }

    h2 {
        font-size: 2.12vw;
        margin-left: 150px;
    }

    .texte_accueil {
        margin-left: 0;
    }

    .illustration_accueil {
        visibility: visible;
        transition: transform 1s cubic-bezier(.54, .43, 0, .99);
        transition-delay: 2.2s;
    }

    nav a {
        font-size: 2vw;
    }

    #presentation,
    #competences,
    #parcours,
    #realisations {
        visibility: visible;
        opacity: 1;
        transition: visibility 1s, opacity 1s, transform 2s;
        margin-left: 100px;
        margin-right: 100px;
    }

    #parcours {
        margin-left: 0;
        margin-right: 0;
        min-height: 750px;
    }

    .contenu-presentation p {
        font-size: 22px;
    }

    .contenu-presentation p strong {
        font-size: 22px;
        color: #DC5826;
    }

    .contenu-presentation img {
        height: 400px;
    }

    .texteSlide {
        width: 50%;
    }

    .bodyRealisation {
        background: url("../images/fond-real2.svg");
        background-repeat: no-repeat;
        background-size: cover;
        height: 90vh;
    }
    
    .mainRealisations {
        display: flex;
        align-items: center;
        flex-direction: row;
        margin-top: 4%;
    }

    .imgRealisation {
        display: block;
        margin-left: 2%;
        margin-right: auto;
        margin-top: 0;
        height: 40%;
        max-width: 40%;
        text-align: center;
    }

    .footerRealisations {
        margin-left: 50px;
        margin-bottom: 15px;
    }

    .boutonRetour {
        font-size: 25px;
        margin-bottom: 50px;
    }

}

@media (min-width: 1100px) {

    h1 {
        font-size: 100px;
        height: 230px;
    }

    h2 {
        font-size: 26.5px;
        text-align: center;
    }

    nav a {
        font-size: 22px;
    }

    .section_accueil img {
        display: block;
    }

    .carrouselParcours {
        position: absolute;
        height: 85vh;
        left: 0;
        display: inline-block;
        overflow: hidden;
    }
    
    .slick-slider {
        left: 0;
    }
    
    .slick-list,
    .slick-track {
        height: 100%;
    }
    
    .gabarit-slide {
        height: 100%;
        width: 100vw;
        background-repeat: no-repeat;
        background-size: cover;
        background-position-x: center;
        background-position-y: bottom;
    }

    .slide1 {
        background-image: url("../images/laval.png");
    }
    
    .slide2 {
        background-image: url("../images/blois.png");
    }
    
    .slide3 {
        background-image: url("../images/lemans.png");
    }
    
    .slide-arrow{
        position: absolute;
        top: 50%;
        margin-top: -15px;
    }
    
    .next-arrow{
        right: 10px;
        width: 50px;
        height: 50px;
        rotate: -90deg;
    }
    
    .texteSlide {
        margin-left: 120px;
        width: 30%;
    }
    
    .annee {
        background-color: #302D2D;
        width: max-content;
        margin-left: -15px;
        rotate: -3deg;
    }
    
    .annee>p {
        color: white;
        font-size: 20px;
        font-family: "Gilroy-ExtraBold";
        margin-left: 5px;
        margin-right: 5px;
        margin-bottom: 0;
    }
    
    .titreSlide {
        font-size: 40px;
        font-family: "Gilroy-ExtraBold";
        color: #DC5826;
    }
    
    .titreSlide>p {
        margin-top: -15px;
    }

    #realisations {
        min-height: 1350px;
    }
    
    .contenu-realisations {
        display: grid;
        grid-template-columns: 1fr;
        grid-row-gap: 15%;
        grid-column-gap: 10%;
        align-items: center;
        align-self: center;
        justify-items: start;
        padding-top: 50px;
        padding-bottom: 50px;
        width: max-content;
        grid-template-areas: 
        "element1 element2"
        "element3 element4"
        "element5 element6";
    }

    .contenu-realisations img {
        transition: transform .3s;
        height: 270px;
        width: 480px;
    }

    .blocTexteRealisation {
        margin: 0;
    }

    .element2 {
        margin-bottom: 0;
    }
    .element3 {
        margin-bottom: 0;
    }

}


/*------------Portes ouvertes------------*/

.portesOuvertesBody {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.boutonPortesOuvertes {
    background-color: #DC5826;
    color: #FFF;
    padding: 15px;
}