/* general styles */

body {
    font-family: "Raleway", sans-serif !important;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none !important;
}

h1 {
    color: #ff6363;
    font-weight: bold !important;
}

p {
    font-size: 20px;
    color: #484848;
}

.section {
    text-align: center;
}

.skillbar {
    cursor: pointer;
}

.hide {
    display: none;
}

.display {
    display: block;
}

/* flash alert styles */

.flash-container {
    width: 100%;
    position: fixed;
    z-index: 700;
    padding-top: 20px;
    font-weight: bold;
}

.alert {
    text-align: center !important;
    width: 500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: #211809 !important;
}

.contact-alert {
    text-align: center !important;
    width: fit-content !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 20px !important;
    color: #211809 !important;
}

/* Nav Screen */

.nav-screen {
    height: 100%;
    z-index: 1000;
    position: fixed;
    background-color: #3b82f6;
    opacity: 1;
    right: -285px; /* start off behind the scenes */
    -webkit-font-smoothing: antialiased;
    position: fixed;
    width: 285px;
}

.nav-screen .active {
    display: block;
}

/* nav header links */

.nav-brand {
    position: fixed;
    left: 0;
    z-index: 600;
    padding: 10px;
}

.nav-brand img {
    width: 50px;
}

.header-title {
    font-family: Indie Flower, cursive;
    position: fixed;
    left: 55px;
    z-index: 600;
    padding: 20px 10px 10px 10px;
}

.fa-bars {
    display: none !important;
    color: #3179CD;
    float: right;
    padding: 20px;
    position: fixed;
    right: 0;
    z-index: 500;
    cursor: pointer;
}

.fa-times {
    color: #211809;
    float: right;
    padding: 20px;
    right: 0;
    z-index: 600;
    cursor: pointer;
}

.header-links {
    position: fixed;
    width: 100%;
    z-index: 500;
    padding-bottom: 4px;
}

.header-links li{
    color: white;
    display: inline;
    float: right;
    padding: 15px;
    font-size: 16px;
}

.header-links a {
    color: #757575;
    -webkit-transition: all 0.2s ease-in;
}

.header-links a:hover {
    color: #3179CD !important;
}

/* slide out nav menu styles */

.nav-container {
    padding-top: 10%;
}

.nav-links {
    width: 250px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.nav-links ul {
    margin-top: 15%;
    text-align: center;
    padding-top: 10%;
}

.nav-links a {
    color: #ffffff;
    font-size: 30px;
    line-height: 2.5;
    font-weight: bold;
    text-decoration: none;
    margin-left: auto;
    margin-right: auto;
}

.nav-links a:hover {
    color: #123368;
    -webkit-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    -ms-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}

#fp-nav ul li .fp-tooltip {
    background-color: rgba(63, 149, 255, 0.2);
    color: #123368 !important;
    padding: 5px;
    border-radius: 10px;
    backdrop-filter: blur(1px);
}

/* Expanding border effect */

.header-links a::after {
    display: block;
    margin: 0 auto;
    margin-top: 5px;
    width: 0;
    height: 2px;
    background-color: #113357;
    content: "";
    opacity: 0;
    -webkit-transition: width 0.6s, opacity 0.8s;
    -moz-transition: width 0.6s, opacity 0.8s;
    transition: width 0.6s, opacity 0.8s;
}

.header-links a:hover::after,
.header-links a:focus::after {
    opacity: 1;
    width: 100%;
}

/* main header section */

.opaque-bg {
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    padding: 1px 1px 5px 5px;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.6);
}

.header-content {
    /*background: url("../images/home/20220210_180640-2.jpg")
    no-repeat;*/
    background-size: cover;
}

.header-content p {
    color: white;
    font-weight: 100;
    font-size: 17.4px;
}

/* bouncing arrow */

.fa-chevron-down {
    color: #82AFF2 !important;
    bottom: 10px;
    margin-left: -30px;
    cursor: pointer;
    position: absolute;
    opacity: 0;
    -webkit-transition: 1.2s ease;
}

/* Scroll down indicator (bouncing) */

@-webkit-keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateX(0);
    }
    40% {
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    60% {
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

@-moz-keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -ms-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    60% {
        -ms-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

.bounce {
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

/* about section */

/* Skill bars */

.container-skillbar {
    width: 100%;
    padding-top: 30px;
    padding-right: 2%;
    padding-left: 2%;
    height: auto;
    overflow: hidden;
}

.skillbar {
    position: relative;
    display: block;
    margin-bottom: 15px;
    width: 100%;
    background: #efefef;
    height: 30px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -webkit-transition: 0.4s linear;
    -moz-transition: 0.4s linear;
    -ms-transition: 0.4s linear;
    -o-transition: 0.4s linear;
    transition: 0.4s linear;
    -webkit-transition-property: width, background-color;
    -moz-transition-property: width, background-color;
    -ms-transition-property: width, background-color;
    -o-transition-property: width, background-color;
    transition-property: width, background-color;
}

.skillbar-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 110px;
    font-weight: bold;
    font-size: 13px;
    color: #fff;
    background: #6adcfa;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.skillbar-title span {
    display: block;
    background: rgba(0, 0, 0, 0.15);
    padding: 0 20px;
    height: 30px;
    line-height: 30px;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.skillbar-bar {
    height: 30px;
    width: 0px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.skill-bar-percent {
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 11px;
    height: 30px;
    line-height: 30px;
    color: #ffffff;
    color: rgba(0, 0, 0, 0.5);
}

/* portfolio section */

.content {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.content-slide {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.content-slide img {
    width: 70%;
}

.a-propos-section ul li {
    list-style-type: circle;
}

.fp-controlArrow.fp-next {
    border-color: transparent transparent transparent #ff6363 !important;
    right: 45px !important;
}

.fp-controlArrow.fp-prev {
    border-color: transparent #ff6363 transparent transparent !important;
    left: 45px !important;
}

#fp-nav ul li a span,
.fp-slidesNav ul li a span {
    background: rgb(49, 121, 205) !important;
}

/* contact us styles */

.fa-paper-plane {
    color: #484848;
}

#holder {
    font: bold 20px/1.5 Helvetica, Verdana, sans-serif;
}
/* paper plane shake on hover */

.plane-animated {
    animation-duration: 6s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    animation-play-state: paused;
}

.fa-paper-plane:hover {
    /* Toggle our animation play state to running when we are hovering over our sticker */
    animation-play-state: running;
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-10px);
    }
    20%,
    40%,
    60%,
    80% {
        transform: translateX(10px);
    }
}
.shake {
    animation-name: shake;
}

/* input field styles */

.phone-number {
    white-space: nowrap;
}

.contact-form {
    padding: 0px 15px 0px 15px;
}

.form-control {
    border: 2px solid rgba(0, 0, 0, 0.27);
    width: 100%;
    max-width: 100%;
    height: 3em;
    font-size: 16px;
    padding: 1em;
    margin: 0.5em 0 2em 0;
    font-weight: bold;
}

textarea {
    min-height: 10em;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 500;
}

#submit, .contact-submit {
    outline: none !important;
    padding: 12px !important;
    min-width: 200px !important;
    border-radius: 10px !important;
    border: 2px solid #123368 !important;
    text-align: center !important;
    font-size: 1em !important;
    color: #3179CD !important;
    background-color: white !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
}

#submit:hover, .contact-submit:hover {
    background-color: #3179CD !important;
    color: white !important;
    -webkit-transition: all 0.3s ease-out !important;
    -o-transition: all 0.3s ease-out !important;
    -ms-transition: all 0.3s ease-out !important;
    -moz-transition: all 0.3s ease-out !important;
    transition: all 0.3s ease-out !important;
}

/* footer styles */

/*.footer {
    background-color: #484848;
    height: 100px;
    padding-top: 10px;
}

.footer p {
    color: white;
    font-weight: bold;
    font-size: 16px;
}*/

.social-links a {
    color: white;
    padding: 0px 5px 0px 5px;
}

.social-links a:hover {
    color: #ff6363;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.grecaptcha-badge {
    visibility: hidden;
}


/* smaller resolution styles */

/*@media (min-width: 100px) and (max-width: 500px) {
    .fa-bars {
        display: block !important;
    }

    .header-links {
        display: none;
    }
}

!* mobile styles *!

@media (min-width: 100px) and (max-width: 400px) {
    .content {
        max-width: 300px;
    }

    .header-content h1 {
        font-size: 28px;
    }
}*/

/* phone styles */
@media screen and (orientation: portrait) {
    .fa-bars {
        display: block !important;
    }

    .header-links {
        display: none;
        background-color: #ECF0F3;
        box-shadow: 0 10px 10px -1px rgba(30, 58, 138, 0.5);
    }

    /*.content {
        max-width: 250px;
    }*/

    .header-content {
        /*background: url("../images/home/20220210_180640-mob.jpg")
        no-repeat !important;*/
        background-size: cover !important;
    }

    .header-content h1 {
        font-size: 24px;
    }

    .society-section, .a-propos-section, .services-section, .contact-section {
        padding-top: 10% !important;
        padding-bottom: 10%;
        max-height: 100%;
        height: 100% !important;
        min-height: 100% !important;
    }

    section {
        display: flex;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .section {
        height: 100vh !important;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    /*.phone-number {
        white-space: nowrap;
        margin-bottom: 10px; !* Ajoute un espace en dessous pour séparer de l'adresse email *!
    }

    .email-address {
        white-space: nowrap;
    }*/

    .email-address, .phone-number {
        word-break: break-all; /* Permet de casser les mots */
        overflow-wrap: break-word; /* Encourage les mots à se casser pour éviter le débordement */
        font-size: 5vw !important; /* Ajustez cette valeur selon vos besoins */
    }

    .fa-phone, .fa-envelope-o {
        font-size: 8vw !important; /* Réduisez également la taille des icônes si nécessaire */
    }

    .neumorphism {
        flex-direction: column;
    }

    .neumorphism-2 {
        width: 100%; /* Prend toute la largeur pour les petites résolutions */
    }
}

/* loading screen animation */

.spinner {
    position: fixed;
    width: 100%;
    height: 100%;
    padding: 25%;
    background-color: #2f2f2f;
    text-align: center;
    font-size: 10px;
    z-index: 1000;
}

.spinner > div {
    background-color: #ff6363;
    height: 100%;
    width: 6px;
    display: inline-block;

    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
    0%,
    40%,
    100% {
        -webkit-transform: scaleY(0.4);
    }
    20% {
        -webkit-transform: scaleY(1);
    }
}

@keyframes sk-stretchdelay {
    0%,
    40%,
    100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }
    20% {
        transform: scaleY(1);
        -webkit-transform: scaleY(1);
    }
}

.blinking-cursor {
    font-weight: 500;
    margin-left: 4px;
    font-size: 20px;
    color: white !important;
    -webkit-animation: 1s blink step-end infinite;
    -moz-animation: 1s blink step-end infinite;
    -ms-animation: 1s blink step-end infinite;
    -o-animation: 1s blink step-end infinite;
    animation: 1s blink step-end infinite;
}

@keyframes "blink" {
    from,
    to {
        color: transparent;
    }
    50% {
        color: white;
    }
}

@-moz-keyframes blink {
    from,
    to {
        color: transparent;
    }
    50% {
        color: white;
    }
}

@-webkit-keyframes "blink" {
    from,
    to {
        color: transparent;
    }
    50% {
        color: white;
    }
}

@-ms-keyframes "blink" {
    from,
    to {
        color: transparent;
    }
    50% {
        color: white;
    }
}

@-o-keyframes "blink" {
    from,
    to {
        color: transparent;
    }
    50% {
        color: white;
    }
}

.success {
    padding: 1em;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #468847;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.error {
    padding: 1em;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #b94a48;
    background-color: #f2dede;
    border: 1px solid rgba(185, 74, 72, 0.3);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}


/**********  Services Cards  **********/

.service-card {
    perspective: 1000px;
}

.inner-card {
    position: relative;
    width: 175px; /* Ajustez selon vos besoins */
    height: 175px; /* Ajustez selon vos besoins */
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

/*.service-card:hover .inner-card {
    transform: rotateY(180deg);
}*/

.service-card p {
    font-weight: bold;
    font-size: 1.3rem;
}

.cards-text-adjustable {
    font-size: clamp(0.8rem, 2.5vw, 1.2rem); /* Ajuste la taille de la police entre 0.8rem et 1.2rem */
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.back {
    transform: rotateY(180deg);
}

.neumorphism {
    box-shadow:
            -10px -10px 5px rgba(255, 255, 255, 1), /* Ombre claire en haut à gauche */
            10px 10px 5px rgba(0, 0, 0, 0.2); /* Ombre foncée en bas à droite */
}

.neumorphism-2 {
    box-shadow:
            -5px -5px 5px rgba(0, 0, 0, 0.2), /* Ombre claire en haut à gauche */
            5px 5px 5px rgba(0, 0, 0, 0.2); /* Ombre foncée en bas à droite */
}
