*{
    list-style-type: none;
    text-decoration: none !important;
    font-family: 'Sono', sans-serif !important;
}

@font-face{
    font-family: 'Sono' ;
    src: url('../Sono-700.woff2') format('woff2');
    src: url('../Sono-Regular.woff2') format('woff2');
    font-display: swap;
}

/* 
violet : 5b1845
bleu : 327da8
*/

header, .main_nav{
    background: #327da8;
}

.bgr_main{
    display: none !important;
    z-index: 99;
}

.animated_nav{
    top: 55px !important;
}

.logo{
    width: 150px;
    padding: 10px;
    z-index: 99;
}

.main_nav a{
    display: flex;
    align-items: center;
    color: #fff;
    padding: 20px;
    transition: 800ms cubic-bezier(0.37, 0, 0.63, 1) 0s;
    &:hover{
        color: #327da8;
        background: #fff;
    }
}

.accueil_container{
    background-image: -webkit-image-set(
        url("../img/p3_1920.webp") 1x,
        url("../img/p3_1080.webp") 2x,
        url("../img/p3_768.webp") 3x);
    background-image: image-set(
        url("../img/p3_1920.webp") 1x,
        url("../img/p3_1080.webp") 2x,
        url("../img/p3_768.webp") 3x);
    background-size: cover;
    height: 600px;
}

.accueil_container h1, .accueil_container h2{
    color: #fff;
}

#about{
    background: #EEE;
}

.about_icon{
    width: 50px;
}

.about_card{
    background: #fff;
    margin: 20px;
    width: 200px;
    height: 180px;
    border-radius: 10px;
}

.about_card_empty{
    margin: 20px;
    width: 200px;
}

.about_card h3{
    text-align: center;
    font-size: 16px;
}

#services > *{
    color: #fff;
}

#services h3, #services p, #services img, #services button{
    z-index: 5;
}

.btn-close{
    position: absolute;
    top: 20px;
    right: 20px;
}

.small_img_services{
    max-width: 200px;
    width: auto;
    height: auto;
    cursor: pointer;
    border-radius: 10px;
}

.big_img_services{
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    cursor: pointer;
    border-radius: 20px;
}

.modal-content{
    margin: auto;
    width: auto;
    border-radius: 21px;
}

.modal{
    cursor: pointer;
}

#portfolio > *{
    color: #fff;
}

.portfolio_img{
    width: 300px;
    z-index: 2;
}

.portfolio_card{
    width: 300px;
}


/* ######### START WHY US ########### */

.compare2{
    max-width: 750px;
}

.text_before{
    top: 390px;
    left: 0;
    color: #cf4c00;
}

.text_after{
    top: -54px;
    right: -17px;
    color: #009cc3;
}

.yellow_nav{
    background: #0d6efd;
}

.nav_links_blue {
    display: none;
    background: #087561;
    z-index: 5;
    box-shadow: 0px 20px 25px -25px #000000;
}

.blue_nav{
    background: #087561;
}

.nav_links_yellow{
    display: none;
    background: #0d6efd;
}

.nav_links_display{
    display: flex;
}

.yellow_div, .blue_div{
    width: 300px;
    height: 400px;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
}

.yellow_div{
    border: 16px solid #cf4c00;
}


.blue_div{
    border: 16px solid #009cc3;
    background: #f0f8ff;
    transition: 500ms;
    overflow: hidden;
}

.before_text, .after_text{
    font-size: 40px;
    font-weight: 700;
    margin: 0;
    line-height: 24px;
}

.before_text{
    color: #cf4c00;
}

.after_text{
    text-align: end;
    color: #009cc3;
}

.blue_div .navbar-brand, .blue_div .nav-link {
    color: #fff !important;
}

.bgr-inner, .bgr-inner::before, .bgr-inner::after{
    background: #fff !important;
}

.skewBtn{
    border: 2px solid #087561;
    color: #087561;
    padding: 10px 20px;
    margin-bottom: 15px;
    cursor: pointer;
    background: #fff;
    transition: 100ms;
    border-radius: 5px;
    &:hover{
        color: #fff;
        background: #087561;
        transition: all 100ms ease-in-out;
    }&:active {
        transform: scale(0.9);
    }
}


/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
  
/* Hide default HTML checkbox */
.switch input {
    visibility: hidden;
}
  
/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
  
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background: #fff;
    -webkit-transition: .4s;
    transition: .4s;
}
  
input:checked + .slider {
    background: #2196F3;
}
  
input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}
  
input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}
  
/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}
  
.slider.round:before {
    border-radius: 50%;
}

/* ########## START BOUTON JOUR NUIT ################ */

.button_dark_day{
    padding: 5px;
    width: 68px;
    cursor: pointer;
    margin: 30px;
    background: #c9dae8;
    position: relative;
    transition: 94ms;
}

.contour{
    height: 28px;
    width: 72px;
    position: absolute;
    border-radius: 14px;
    border: 2px solid #116db9;
    z-index: 10;
    -webkit-box-shadow: 0px 0px 0px 24px #f0f8ff;
    box-shadow: 0px 0px 0px 24px #f0f8ff;
    top: -2px;
    left: -2px;
    transition: 500ms;
}

.boule{
    background: #ffea96;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    transition: 94ms;
    position: absolute;
    top: 2px;
    left: 2px;
    z-index: 3;
    -webkit-box-shadow: 0px 0px 0px 2px #ffdd57;
    box-shadow: 0px 0px 0px 2px #ffdd57;
}

.boule_contour{
    height: 24px;
    width: 24px;
    border-radius: 50%;
    position: relative;
    top: -5px;
    left: -5px;
    z-index: 1;
    -webkit-box-shadow: 0px 0px 0px 9px #c9dae8;
    box-shadow: 0px 0px 0px 9px #c9dae8;
    transition-property: z-index, border, box-shadow, margin-left;
    transition-duration: 94ms;
}

.courbe{
    background: #c9dae8;
    height: 5px;
    width: 5px;
    border-radius: 50%;
    position: absolute;
    top: -3px;
    left: -2px;
    transition: 94ms;
    z-index: 4;
    -webkit-box-shadow: 0px 0px 0px 2px #ffdd57;
    box-shadow: 0px 0px 0px 2px #ffdd57;
}

.tache{
    background: hsla(264, 2%, 50%, 0);
    border-radius: 50%;
    position: absolute;
    transition: 94ms;
}

.tache1{
    width: 2px;
    height: 2px;
    margin: 7px 0 0 14px;
}

.tache2{
    width: 1px;
    height: 1px;
    margin: 9px 0 0 19px;
}

.tache3{
    width: 4px;
    height: 4px;
    margin: 14px 0 0 13px;
}

.star{
    position: absolute;
    background: #ffffff40;
    border-radius: 50%;
    height: 0px;
    width: 0px;
    z-index: 6;
    transition: 500ms;
}

.star1{
    top: 4px;
    left: 45px;
}
.star2{
    top: 6px;
    left: 6px;
}
.star3{
    top: 8px;
    left: 15px;
}
.star4{
    top: 3px;
    left: 51px;
}
.star5{
    top: 20px;
    left: 19px;
}
.star6{
    top: 16px;
    left: 35px;
}
.star7{
    top: 9px;
    left: 39px;
}
.star8{
    top: 17px;
    left: 12px;
}
.star9{
    top: 13px;
    left: 25px;
}
.star10{
    top: 1px;
    left: 32px;
}

.clouds{
    position: absolute;
    left: 20px;
    z-index: 2;
    transition: 200ms;
}

.cloud_primary{
    top: 7px;
}

.cloud_secondary{
    top: 12px;
}

.cloud_primary {
	animation: drift 20s linear infinite;
} 

.cloud_secondary {
	animation: drift 25s 10s linear infinite both;
} 

@keyframes drift {
	from {
		transform: translateX(-17px);
	}
	to {
		transform: translateX(48px);
	}
}

.cloud{
    background: rgb(255, 255, 255);
    position: relative;
    border-radius: 50%;
}

.cloud1{
    height: 3px;
    width: 10px;
    border-radius: 3px;
}

.cloud2{
    height: 3px;
    width: 3px;
    top: -4px;
    left: 2px;
}

.cloud3{
    height: 5px;
    width: 5px;
    top: -8px;
    left: 4px;
}

.cloud4{
    height: 4px;
    width: 4px;
    top: 4px;
    position: absolute;
}

.cloud5{
    height: 8px;
    width: 8px;
    top: 1px;
    left: 2px;
    position: absolute;
}

.cloud6{
    height: 4px;
    width: 4px;
    top: 6px;
    left: 7px;
    position: absolute;
}

.cloud7{
    height: 8px;
    width: 8px;
    top: 0px;
    left: 8px;
    position: absolute;
}

.cloud8{
    height: 4px;
    width: 4px;
    top: 4px;
    left: 14px;
    position: absolute;
}


/* ANIMATION */

.boule_anim{
    margin-left: 44px;
    background: #b4b1b8;
    -webkit-box-shadow: 0px 0px 0px 2px #7e7c81;
    box-shadow: 0px 0px 0px 2px #7e7c81;
}

.courbe_anim{
    left: 39px;
    height: 20px !important;
    width: 20px !important;
    background: #2b2756;
    -webkit-box-shadow: 0px 0px 0px 2px #7e7c81;
    box-shadow: 0px 0px 0px 2px #7e7c81;
}

.contour_anim1{
    z-index: 5;
}

.contour_anim2{
    -webkit-box-shadow: 0px 0px 0px 9px #2b2756;
    box-shadow: 0px 0px 0px 9px #2b2756;
    margin-left: 44px;
    transition: 94ms;
}

.day{
    background: #2b2756 !important;
}

.tache_anim{
    background: #7e7c81;
}

.none{
    transition: 100ms;
    top: -20px;
}

.cloud_primary_anim{
    top: -5px;
}

.cloud_secondary_anim{
    top: 26px;
}

.star_anim{
    height: 1px;
    width: 1px;
}

.body_anim{
    background: #3c3c3c;
}

.contour2{
    -webkit-box-shadow: 0px 0px 0px 24px #3c3c3c;
    box-shadow: 0px 0px 0px 24px #3c3c3c;
}

.jour, .nuit_anim{
    display: block;
}

.nuit{
    display: none;
    color: #fff3dc;
}

.jour_anim{
    display: none;
}

  /* ########## END BOUTON JOUR NUIT ################ */

#msform{
    margin-top: 62px;
}

#msform input {
	padding: 15px;
    border: 1px solid #ccc;
	border-radius: 3px;
	width: 200px;
	box-sizing: border-box;
	font-family: montserrat;
	color: #2C3E50;
	font-size: 13px;
}

.animated_shadow{
    background: linear-gradient(90deg,#0003 70%,#0000 100%);
    position: absolute;
    border-radius: 5px 0 0 5px;
    width: 80px;
    height: 50px;
    top: -4px;
    transition: all 200ms ease-in-out;
    transition-delay: 100ms;
    transform-origin: left bottom;
}


.form_animated{
    padding: 65px 0px 40px 0px;
}

/* .secondary_input_container{
    position: relative;
} */

::placeholder {
    transition: 200ms;
}

.animated_input {
    border: 2px solid #087561;
    display: inline-block;
    width: 180px;
    padding: auto;
    height: 42px;
    font-weight: 700;
    color: #087561;
    border-radius: 3px;
    outline: 0;
    text-indent: 60px;
    transition: 100ms;
}

.animated_label {
    width: 60px;
    height: 50px;
    border-radius: 4px;
    color: #fff;
    background: #087561;
    top: -4px;
    transition: all 200ms ease-in-out;
    transform-origin: left bottom;
    z-index: 1;
    transition-delay: 100ms;
}

.animated_input:focus,
.animated_input:active {
    text-indent: 15px;
    transition : 200ms;
    transition-delay : 100ms;
    &::placeholder {
        transition: 100ms;
    }
    + .animated_label {
        transform: rotate(-66deg);
        transition-delay : 0ms;
        border-radius: 4px;
    }
}

.animated_input:focus ~ .animated_shadow,
.animated_input:active ~ .animated_shadow {
    transform: rotate(-50deg);
    transition-delay : 0ms;
}

/* ######### END WHY US ########### */


/* ######### START CONTACT ########### */

.input_moyen{
    width: 300px;
    border-radius: 18px;
    border: 5px solid #327da8;
    margin: 10px;
    padding: 10px;
}

textarea{
    width: 630px;
    border-radius: 18px;
    border: 5px solid #327da8;
    margin: 10px;
    padding: 10px;
}

.validate{
    width: 200px;
    border-radius: 18px;
    border: 5px solid #327da8;
    padding: 10px;
    background: #21252b;
    color: #fff;
}

.validate:hover{
    background: #327da8;
    border: 5px solid #21252b;
}


/* ######### END CONTACT ########### */



footer{
    background: #21252b;
}

footer a, footer p{
    color: #fff;
}


.area{
    background: #327da8;
    position: relative;
}
.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: #fff3;
    animation: animate 25s linear infinite;
    bottom: -150px;   
}
.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}
.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}
.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}
.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}
.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}
.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}
.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}
.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}
.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}
.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}
@keyframes animate {
    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100%{
        transform: translateY(-2000px) rotate(720deg);
        opacity: 0.2;
        border-radius: 50%;
    }
}



.area_lines{
    background: #1b1e22;  
    background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);
    position: relative;
}

.animated_lines{
    position: absolute;
    top: 150;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.animated_lines li{
    width: 3px;
    position: absolute;
    display: block;
    list-style: none;
    background: #fff3;
    animation: animate2 25s linear infinite;
    bottom: -150px;
    
}

.animated_lines li:nth-child(1){
    left: 5%;
    height: 80px;
    animation-delay: 0s;
  animation-duration: 20s;
}


.animated_lines li:nth-child(2){
    left: 10%;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.animated_lines li:nth-child(3){
    left: 15%;
    height: 20px;
    animation-delay: 4s;
}

.animated_lines li:nth-child(4){
    left: 20%;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.animated_lines li:nth-child(5){
    left: 25%;
    height: 20px;
    animation-delay: 0s;
  animation-duration: 8s;
}

.animated_lines li:nth-child(6){
    left: 30%;
    height: 110px;
    animation-delay: 3s;
  animation-duration: 11s;
}

.animated_lines li:nth-child(7){
    left: 35%;
    height: 150px;
    animation-delay: 7s;
}

.animated_lines li:nth-child(8){
    left: 40%;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 40s;
}

.animated_lines li:nth-child(9){
    left: 45%;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 30s;
}

.animated_lines li:nth-child(10){
    left: 50%;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 17s;
}

.animated_lines li:nth-child(11){
    left: 55%;
    height: 80px;
    animation-delay: 0s;
  animation-duration: 9s;
}


.animated_lines li:nth-child(12){
    left: 60%;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.animated_lines li:nth-child(13){
    left: 65%;
    height: 20px;
    animation-delay: 4s;
  animation-duration: 21s;
}

.animated_lines li:nth-child(14){
    left: 70%;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.animated_lines li:nth-child(15){
    left: 75%;
    height: 20px;
    animation-delay: 0s;
  animation-duration: 8s;
}

.animated_lines li:nth-child(16){
    left: 80%;
    height: 110px;
    animation-delay: 3s;
}

.animated_lines li:nth-child(17){
    left: 85%;
    height: 150px;
    animation-delay: 7s;
}

.animated_lines li:nth-child(18){
    left: 90%;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 25s;
}

.animated_lines li:nth-child(19){
    left: 95%;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.animated_lines li:nth-child(20){
    left: 98%;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate2 {
    0%{
        transform: translateY(-1200px) rotate(0deg);
    }
    100%{
        transform: translateY(0);
    }
}


@media only screen and (max-width: 1024px) {
    
    .email_name{
        flex-direction: column;
        width: 100%;
    }

    .input_moyen, textarea, .input-div, .validate{
        width: 100%;
    }
 
    .input-div{
        margin: 20px 0;
    }

    .input_moyen, textarea{
        margin: 0;
    }

    .input-div label {
        display: block;
    }

    .main_nav{
        flex-direction: column;
        width: 100%;
        justify-content: center;
        position: absolute;
        padding-top: 20px;
        top: -400px;
        transition: 200ms;
    }

    .main_nav a{
        width: 100%;
        justify-content: center;
        
    }

    header{
        height: 60px;
    }

    .bgr_main{
        display: block !important;
        position: absolute;
        right: 0px;
    }
  }



@media only screen and (max-width: 500px) {
    .one_service{
        flex-direction: column !important;
    }

    .one_service div{
        padding: 0 !important;
    }

    .portfolio_card {
        width: 90%;
    }

    .portfolio_img {
        width: 100%;
    }

    .accueil_container{
        height: 480px;
    }
}


@media only screen and (max-width: 850px) {
    .compare2{
        flex-direction: column;
    }

    .after_text {
        text-align: start;
    }

    .before_div{
        display: flex;
        flex-direction: column-reverse;
        margin-bottom: 30px;
    }

    .w-50{
        width: 100% !important;
    }
}