/** Insertion font-face **/
@font-face{
    font-family: "Scriptina";
    src: url("../font/scriptina/scriptin-webfont.woff") format('woff');
}
/** Body **/
body{
    background-image: url("../images/bandeau_site_20px.jpg");
    background-size: auto 100vh;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
}
@media screen and (max-width: 990px){
    body{
        background-image: initial;
        background-color: #0C8C97;
    } 
}
/** Typo **/
*,.spinnaker {
    font-family: 'Spinnaker', sans-serif;
    /** typo par défaut **/
}

.scriptina,.scriptina * {
    font-family: 'Scriptina', cursive !important;
}
.anton,.anton * {
    font-family: 'Anton',sans-serif !important;
}
.display-max{
    font-size: 2em;
}


/** Color **/
.text-lime{
    color: #C6D30B;
}
.bg-lime{
    background-color: #C6D30B;
}
.text-vertgris{
    color: #014349 !important;
}
.bg-vertgris {
    background-color: #014349;
}
.text-vertgris-light {
    color: #0B8C96;
}
.bg-vertgris-light {
    background-color: #0B8C96;
}
.text-hidden{
    color: transparent;
}

/** extra **/
.center-vertical{
    position: relative;
    top: 50vh;
}

.page-full{
    height: 100vh;
    min-height: 600px;
    max-height: 100vh;
}
.image-filter{
    filter: grayscale(1);

}
.image-mask-1{
    background: #0B8C96;
    position: relative;
    height: 200px;
    width: 200px;
    opacity: 0.4;
    top: -200px;
    left: 0px
}
.btn-custom{
    background-color: #FFFFFF;
    color: #014349;
}
.btn-custom:hover{
    background-color: #014349;
    color: #FFFFFF;
}
.btn-custom-2 {
    background-color: #014349;
    color: #FFFFFF;
}

.btn-custom-2:hover {
    background-color: #FFFFFF;
    color: #014349;
}

.custom-border-1{
    border-right: 2px solid #0B8C96;
}
.custom-border-2{
    border-right: 2px solid #014349;
}

/** part 3 */
.part-3-container{
    height: 130vh;
}
.part-3-content{
    z-index: 5;
    height: 130vh;
}
.part-3-image {
    background-image: url('../images/IMG_0353.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    filter: grayscale(1) opacity(0.5);
    z-index: -1;
    height: 130vh;
    position: relative;
    top: -130vh;
    left: 0;
}
@media screen and (max-width: 1439px) {
    h1{
        overflow: hidden;
    }
    .part-3-container {
        height: inherit;
        background-image: url('../images/IMG_0353.jpg');
        background-attachment: scroll;
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
    }

    .part-3-content {
        z-index: 5;
        height: inherit;
    }

    .part-3-image {
        background-image: url('../images/IMG_0353.jpg');
        background-attachment: fixed;
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
        filter: grayscale(1);
        z-index: -1;
        height: 0px;
        display: none;
        position: initial;
    }
}

/** Part 5  **/
.part-5-bg {
    background-image: url("../images/background_bleu.webp");
    background-size: cover;
    background-position: center;
}

/** Losange **/
.thumbText{
    max-width: 60%;
    text-align: left;
    margin:auto;
}
.losange-placement {
    position: relative;
    background-image: url("../images/losange.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    
}
@media screen and (min-width: 721px) and (max-width: 1919px) {
    .thumbText{
        max-width: 100%;
        text-align: left;
        margin:auto; 
    }
}
.center-page{
    position: relative;
    top: 50vh;
    left: 50vw;
    transform: translate(-50vw, -50vh);
}
.center-page-percent{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.center-vertical-transform{
    position: relative;
    top: 50%;
    transform: translate(0, -50%);
}

/** Padding speciaux **/
.sub-p-5{
    padding: 6em;
}
@media screen and (max-width: 1500px){
    .sub-p-5 {
        padding: 3em;
    }
}
/** text des cartes **/
@media screen and (max-width: 1635px) {
    .text-prix {
        font-size: 1.1em;
        padding-top: 23px !important;
        padding-bottom: 23px !important;
    }
}
@media screen and (max-width: 1465px){
    .text-prix {
        font-size: 1em;
        padding-top: 24px !important;
        padding-bottom: 24px !important; 
    }
}
@media screen and (max-width: 1435px) {
    .text-prix {
        font-size: 1em;
        padding-top: 42px !important;
        padding-bottom: 42px !important;
    }
}
@media screen and (max-width: 1349px) {
    .text-prix {
        font-size: 0.9em;
        padding-top: 42px !important;
        padding-bottom: 42px !important;
    }
}

@media screen and (max-width: 1200px) {
    .sub-p-5 {
        padding: 1em;
    }
}
@media screen and (max-width: 992px){
    .center-vertical-transform {
        position: inherit;;
        top: inherit;
        transform: inherit;
    }
}

/** case a hover **/
.case{
    position: relative;
    padding-bottom: 100%;
    height: auto;
    cursor: pointer;
    overflow: hidden;
}
.case-placeholder{
    position: absolute;
    opacity: 1;
    top: 0%;
    left: 0%;
    bottom: 0%;
    right: 0%;
}
.case .content:hover .case-placeholder {
    opacity: 0;
}
.content{
    overflow: hidden;
    opacity:0;
    padding: 2px;
    position: absolute;
    top: 5%;
    bottom: 5%;
    color: white;
    width: 100%;
}
.content * {
    font-size: 0.9em !important;
}
.case .content:hover {
    opacity: 1;
}
.case .content .text{
    height: 0;
    opacity: 0;
}
.case .content:hover .text{
    opacity: 1;
}
/** NAV **/
.custom-nav-style {
    width: 100%;
    z-index: 10000;
    background-color: rgba(255, 255, 255, 1);
}
.custom-nav-style div  ul  .active{
    color: #C6D30B !important;
}
.custom-nav-style div ul li a:hover {
    color: #C6D30B !important;
}
