/* general styles */

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

ul {
    list-style-type: none;
}

a {
    text-decoration: none !important;
}

h1 {
    color: var(--color-primary);
    font-weight: bold;
}
h1.otherC {
    color: var(--color-secondary);
    font-weight: bold;
}
h2 {
    color: var(--color-secondary);
    font-weight: bold;
}
h2.otherC {
    color: var(--color-primary);
    font-weight: bold;
}

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;
}

/* Nav Screen */

.nav-screen {
    height: 100%;
    z-index: 500;
    position: fixed;
    background-color: #000;
    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;
}

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

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

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

.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: #ff6363 !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: #ff6363;
    -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 {
    color: #5f5f5f !important;
}

/* Expanding border effect */

.header-links a::after {
    display: block;
    margin: 0 auto;
    margin-top: 5px;
    width: 0;
    height: 2px;
    background-color: #fff;
    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: 522px;
    padding: 1px 1px 5px 5px;
    margin-top: -70px;

    background-color: rgba(255, 255, 255, 0.17) ;
    backdrop-filter: blur(100px) ;
    border-radius: 44px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}


@media (max-width: 1054px) {


    .opaque-bg{
        margin-top: 0px;
        background-color: unset ;
        backdrop-filter: unset ;
        border-radius: unset;
        border: unset;
    }
}

.backimage {
    background-image: url("../assets/avatar.png"), url("../assets/background_ombre.png");
    /*linear-gradient(26deg, rgba(2, 5, 14, 0.29), rgba(2, 14, 60, 0.18) ),*/
    background-position: center bottom, center left;
    background-repeat: no-repeat, no-repeat;
    background-size: contain, cover;
    background-attachment: fixed;


}


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

/* bouncing arrow */

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

/* 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: none;
}
.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: 800px;
}

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

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

.fp-controlArrow.fp-next {
    border-color: transparent transparent transparent var(--color-primary) !important;
    right: 45px !important;
}

.fp-controlArrow.fp-prev {
    border-color: transparent var(--color-primary) transparent transparent !important;
    left: 45px !important;
}

@media (max-width: 398px) {
    .fp-controlArrow.fp-next {
        right: 4px !important;
    }

    .fp-controlArrow.fp-prev {
        left: 4px !important;
    }

}

#fp-nav ul li a span,
.fp-slidesNav ul li a span {
    background: rgba(0, 0, 0, 0.62) !important;
}

/* contact us styles */

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

/* 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 */

.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 {
    outline: none;
    padding: 12px;
    min-width: 200px;
    border-radius: 2px;
    border: 2px solid var(--color-primary);
    text-align: center;
    font-size: 1em;
    color: var(--color-primary);
    background-color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
}

#submit:hover {
    background-color: var(--color-primary);
    color: white;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

/* 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;
}

/* 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;
    }

    .aboutme h1 {
        font-size: 28px;
    }
}

/* 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;
}

#reseau-footer{
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center;
}

#reseau-footer a{
    text-decoration: unset;
    color: black;
}

#reseau-footer a:hover{
    text-decoration: unset;
    color: #757575;
}

#partenaire .row{
    width: 100%;
    margin: auto 0;
}

#partenaire .col{
    margin: 25px auto;
    max-width: 183px;
}

#partenaire img{
    width: 150px;
    border-radius: 33px;

    transform: translate3d(0, 0, 0);
    transition: transform 0.2s ease-out;
    will-change: transform;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px, rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;

}

#partenaire img:hover {
    transform: translate(0, -15px);
    transform: translate3d(0, -10px, 0)scale(1.1);
}

#create .row{
    width: 100%;
    margin: auto 0;
}

#create .col{
    margin: 25px auto;
    max-width: 183px;
}

#create img{
    width: 150px;
    border-radius: 33px;

    transform: translate3d(0, 0, 0);
    transition: transform 0.2s ease-out;
    will-change: transform;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px, rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;

}

#create img:hover {
    transform: translate(0, -15px);
    transform: translate3d(0, -10px, 0)scale(1.1);
}