@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@1,800&display=swap');
* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
}

:root {
    --background: #ffffff;
    --scd-color: #0C85EE;
    --th-color: #212121;
    --foo-color: #e9e9e9;
    --foo-color2: #e9e9e9;
    --footer-color: #0C85EE;
    --box: #ffffff;
    --box-shadow2: rgba(0, 0, 0, 0.24);
    --box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    --footer2: #0C85EE;
    --button: #0C85EE;
    --button2: #0C85EE;
    --borderbtn: rgba(0, 0, 0, 0.0);
    --circle: #ffffff;
}

.nuit {
    --background: #0e0e14;
    --scd-color: #584bdd;
    --th-color: #ffffff;
    --foo-color: #1b1b28;
    --foo-color2: #1b1b28;
    --footer-color: #584bdd;
    --box: #0e0e14;
    --box-shadow2: rgba(75, 75, 75, 0.24);
    --box-shadow: none;
    --footer2: #0e0e14;
    --button: #584bdd;
    --button2: #584bdd;
    --borderbtn: rgba(0, 0, 0, 0.24);
    --circle: #0e0e14;
}

html {
    font-family: 'Montserrat';
    scroll-behavior: smooth;
    transition: all .3s ease;
    margin: 0;
}

body {
    background-color: var(--background);
}

.screen-main {
    height: 100vh;
}

.menu ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 2%;
    width: 50%;
    background-color: #888;
    top: 0;
}

.menu {
    position: fixed;
    display: flex;
    justify-content: center;
    width: 80%;
}

.theme {
    cursor: pointer;
    display: flex;
    padding-top: 0.25%;
    align-items: center;
}

.button {
    background-color: var(--button);
    color: #ffffff;
    font-weight: 400;
    padding: 0.5rem 1rem;
    padding-bottom: 0;
    font-size: 1.25rem;
    border-radius: 0.3rem;
    display: flex;
}

.button2 {
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    background-color: var(--button2);
    border-radius: 0.3rem;
    color: #ffffff;
    font-weight: 400;
    padding: 0.3rem 0rem 0rem 0rem;
    font-size: 1.25rem;
    display: flex;
    box-shadow: var(--borderbtn) 0px 3px 8px;
}

.button-main {
    width: 130px;
    height: 40px;
    margin-right: 10px !important;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    background-color: var(--button2);
    border-radius: 0.3rem;
    color: #ffffff;
    padding: 0.1rem 0rem 0rem 0rem;
    font-size: 1.1rem;
    display: flex;
    box-shadow: var(--borderbtn) 0px 3px 8px;
}

.effect {
    font-family: 'Nunito', sans-serif;
    font-size: 200px;
    margin-top: -65px;
    position: absolute;
    color: var(--scd-color);
}

@keyframes transition {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes transition2 {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.icon-timeline {
    background: var(--button);
    border-radius: 100%;
    margin-left: 450px;
    margin-top: -100px;
    width: 30px;
    height: 30px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-timeline {
    background: var(--button);
    border-radius: 100%;
    float: left;
    margin-left: -50px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

header {
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 10px;
    margin-bottom: 10px;
    height: 60px;
    display: flex;
    justify-content: space-between;
}

.timeline ul li {
    padding: 0 20px 20px 30px;
    list-style-type: none;
    border-left: 2px solid #e2e2e2;
}

.modal-content .h2 {
    padding: 13px;
    font-size: 30px;
}

.modal-content p {
    display: flex;
    text-align: justify;
    margin: 0px 15px 15px 15px;
    color: var(--th-color);
    opacity: 0.8;
    font-size: 14px;
    font-weight: 600;
}

.bloc-timeline::before {
    content: "";
    border: solid 2px;
    width: 8px;
    height: 8px;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    font-size: 8px;
    margin-left: -56.5px;
    font-weight: 400;
    background: #fff;
    display: block;
    position: absolute;
    margin-top: 18px;
    border-color: var(--footer-color) !important;
}

.timeline {
    width: 50%;
    display: inline-block;
}

.content {
    color: var(--th-color);
    opacity: 70%;
    font-family: 'Montserrat';
    padding: 1%;
    margin: 0;
}

.lightButton {
    float: right;
    width: 100%;
}

.mainContent {
    margin-top: .5%;
    margin-bottom: 2%;
}

.title-main {
    font-size: 90px;
    margin-bottom: 2.5%;
}

#firstSection .mainContent {
    width: 100%;
}

.h1 {
    font-size: 26px;
    font-weight: 1000;
}

.h2 {
    font-size: 18px;
    font-weight: 1000;
}

.h3 {
    font-size: 10px;
}

.title {
    font-size: 45px;
    margin: 0%;
    margin-bottom: .5%;
}

.color-title {
    color: var(--scd-color);
}

.img {
    float: left;
    width: 30%;
    border-radius: 1rem;
    margin-left: 4%;
    animation: transition2 4s ease-in-out 0.1s forwards;
}

section {
    text-align: center;
    padding: 3%;
}

.timelines {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 2%;
    font-family: 'Montserrat';
}

.text-bloc {
    font-size: 15px;
}

.cont {
    display: flex;
    color: var(--th-color);
    margin-left: 3em;
    margin-top: 10px;
    z-index: 10;
    background-color: var(--background);
    border-radius: 1em;
    width: 225px;
    padding: 1%;
    cursor: pointer;
}

.contact-main {
    display: flex;
    justify-content: space-between;
    width: 90%;
}


/*.bloc-timeline::after {
/*    content: "Voir plus";
/*    position: relative;
/*    font-weight: 1000;
/*    padding-top: 15px;
/*}*/

#jour {
    float: right;
}

#nuit {
    float: right;
}

.bloc-title {
    color: var(--th-color);
    opacity: 80%;
    padding: 1%;
    margin: 0;
    font-size: 22px;
    font-weight: 1000;
}

.bloc-timeline {
    background: var(--foo-color2);
    padding: 20px;
    height: 135px;
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--th-color);
    opacity: 90%;
    font-weight: 500;
    border-radius: 10px;
    box-shadow: var(--borderbtn) 0px 3px 8px;
}

.bloc-timeline:hover {
    margin-left: 2%;
    transition: .3s;
    cursor: pointer;
}

.bloc-timeline .h1 {
    font-size: 16px;
    color: var(--th-color);
    opacity: 90%;
    padding: 1%;
    margin: 0;
    font-weight: 1000;
}

.bloc-timeline span {
    font-size: 12px;
}

.special-bloc {
    background-color: var(--background);
    border-color: var(--th-color);
    opacity: 70%;
    border-style: dashed;
    border-width: 0.2rem;
}

.modal-content-text2 {
    height: 62%;
}

footer {
    background-color: var(--footer2);
}

.footer {
    text-align: center;
    padding: 3%;
}

.fileImg {
    color: var(--foo-color);
    opacity: 70%;
    width: 50%;
    height: 100%;
}

.circle {
    margin: 3%;
    background-color: var(--circle);
    width: 300px;
    height: 300px;
    border-radius: 100%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 15px;
}

.contentFooter {
    color: #ffffff !important;
    font-family: 'Montserrat';
    padding: 1%;
    margin: 0;
    display: inline-block;
    text-align: center;
}

a {
    text-decoration: none;
}

.liste {
    justify-content: flex-end;
    text-align: center;
}

#firstSection {
    height: 95vh;
    padding: 0%;
    z-index: -1;
    background-image: url(../src/medias/fond2.jpeg);
    background-attachment: fixed;
    background-size: 100%;
    background-repeat: no-repeat;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#firstSection .content {
    color: #ffffff;
    opacity: 1;
    font-family: 'Montserrat';
    padding: 1%;
    margin: 0;
}

#cover {
    background-color: #000;
    height: 90%;
    opacity: 0.3;
    background-size: 100%;
    position: relative;
}

.cv {
    border-color: var(--scd-color);
    border-style: solid;
    border-radius: 2em;
    border-width: 0.2em;
    width: 40%;
    margin-bottom: 2%;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.skill h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--th-color);
    opacity: 0.8;
    padding-top: 5%;
}

.skill p {
    font-size: 14px;
    color: var(--th-color);
    font-weight: 600;
    opacity: 0.7;
}

.skills {
    display: flex;
    justify-content: space-between;
}

.skills:first-of-type {
    padding-bottom: 3%;
}

.group {
    display: flex;
    justify-content: space-around;
    width: 50%;
}

.textareaMail {
    border-radius: 0.75rem;
    background: transparent;
    color: var(--th-color);
    padding: 0.75em;
    resize: none;
    border: 2px solid var(--scd-color);
}

.info {
    opacity: 0.9;
    width: 150px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#text {
    width: 335px;
}

.englobe {
    display: flex;
}

.textareaMail:focus {
    outline: none !important;
}

.skill {
    display: inline-block;
    padding: .75rem .5rem;
    width: 42%;
    height: 130px;
    background-color: var(--box);
    border-radius: 2%;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.skill:hover {
    box-shadow: var(--box-shadow2) 0px 13px 27px -5px, var(--box-shadow2) 0px 8px 16px -8px;
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 300;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

.contactLeft {
    width: 50%;
    height: 20rem;
    border-radius: 1rem;
    margin-top: -1%;
}

.contactRight {
    width: 50%;
    display: flex;
    justify-content: center;
}

.soulign::after {
    content: "";
    position: absolute;
    background-color: var(--scd-color);
    width: 50px;
    height: 0.5%;
    margin-left: 1.5%;
    margin-top: 1.5em;
    border-radius: 2rem;
}

.soulign {
    font-size: 16px;
    color: var(--th-color);
    opacity: 90%;
    padding: 1%;
    margin: 0;
    font-weight: 1000;
    display: flex;
}

.next-form {
    background-color: var(--background);
    height: 11rem;
    border-radius: 1rem;
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
    padding: 2em 0 0 0;
}

.next-form p:first-child {
    font-weight: 1000;
    opacity: 0.8;
}

.p-modal {
    word-wrap: break-word;
    height: 100%;
    background-color: var(--foo-color);
    align-items: center;
    justify-content: center;
    display: flex;
    border-radius: 3rem;
    padding: 1% 2% 0%;
    margin: 1% 3%;
    line-height: 20px;
}

.square1 {
    background-color: var(--scd-color);
    border-radius: 0.5rem;
    width: 75px;
    height: 55px;
    position: absolute;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    z-index: 100;
}

.square2 {
    background-color: var(--scd-color);
    border-radius: 0.5rem;
    width: 150px;
    height: 55px;
    position: absolute;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    z-index: 100;
    border-color: var(--scd-color);
    border-width: 50px;
}

.square2:focus {
    background-color: var(--background);
    border: 2px solid var(--scd-color);
    color: var(--scd-color);
}

.case {
    margin-top: 60px;
    width: 31rem;
    margin-left: 4rem;
    z-index: 0;
}


/*
.cookieModal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 90vh;
    left: 0;
    top: 0;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
} */

.cookieModal-content {
    background-color: var(--box);
    color: var(--th-color);
    margin: auto;
    padding: 20px;
    width: 75%;
    height: 60%;
    border-radius: 20px;
}


/* Modal Content */

.modal-content {
    background-color: var(--box);
    color: var(--th-color);
    margin: auto;
    padding: 20px;
    width: 75%;
    height: 60%;
    border-radius: 20px;
}

.modal-content-text {
    height: 55vh;
}

.modal-content-text2 p:first-of-type {
    font-size: 14px;
    text-align: center;
    opacity: 0.7;
    margin: 0px 75px 25px 75px;
}

.modal-content-text2 p:last-of-type {
    font-size: 16px;
}


/* The Close Button */

.close {
    color: #aaaaaa;
    float: right;
    font-size: 40px;
    font-weight: bold;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover,
.close:focus {
    color: red;
    text-decoration: none;
    cursor: pointer;
}

.skills-own {
    display: flex;
    justify-self: center;
    align-items: center;
}

.logo {
    width: 60px;
    height: 60px;
}

.cookie-cont {
    position: fixed;
    background-color: #0C85EE;
    bottom: 0;
    width: 100%;
    z-index: 500;
    height: 15%;
    padding: 1% 1% 1% 20%;
}

body::-webkit-scrollbar {
    width: 12px;
    /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
    background: var(--background);
    /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
    background-color: var(--scd-color);
    /* color of the scroll thumb */
    border-radius: 20px;
    /* roundness of the scroll thumb */
    border: 3px solid var(--background);
    /* creates padding around scroll thumb */
}


/* ========================== TESTIMONIAL SECTION ========================== */

section.testimonials {
    background: var(--color-light);
}

section.testimonials .container {
    width: 44rem;
}

section.testimonials .carousel {
    display: flex;
    align-items: center;
}

section.testimonials .testimonial {
    background: var(--color-white);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    cursor: pointer;
}

section.testimonials .testimonial .head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

section.testimonials .testimonial .head .profile-area {
    display: flex;
    gap: 1rem;
}

section.testimonials .testimonial .head .profile-area .avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
}

section.testimonials .testimonial .head .stars {
    color: var(--color-primary);
}

section.testimonials .testimonial .head .stars span {
    font-size: 1.2rem;
}


/* Responsive */

@media (max-width: 1626px) {
    #firstSection {
        padding-top: 0;
    }
}

@media (min-width: 1626px) {
    .circleImg {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 1150px) {
    .skills {
        padding-bottom: 0% !important;
        display: flex;
        flex-direction: column;
    }
    .group {
        width: 100%;
    }
    .skill {
        padding: .50rem .1rem;
        width: 45%;
        height: 90px;
    }
    .skill h2 {
        font-size: 12px;
        padding-top: 1%;
    }
    .skill p {
        font-size: 10px;
    }
    .skill:first-of-type {
        margin-bottom: 3%;
    }
    .img {
        float: left;
        width: 44%;
        border-radius: 1rem;
        margin-left: 4%;
    }
    .h2 {
        font-size: 16px;
    }
    .h1 {
        font-size: 22px;
    }
    .title-main {
        font-size: 65px;
    }
    .title {
        font-size: 30px;
    }
    #firstSection {
        background-attachment: scroll;
        padding-bottom: 3%;
        background-size: 100% 100%;
    }
    .bloc-timeline:hover {
        margin-left: 0%;
        transition: .0s;
    }
    .screen-main {
        height: auto;
    }
    .circle {
        width: 200px;
        height: 200px;
    }
    .button2 p {
        font-size: 0.8em;
    }
    .button2 {
        width: 165px;
    }
    .effect {
        display: none;
    }
    .contactRight {
        display: flex;
        justify-self: center;
        width: 100%;
        margin-bottom: 50px;
    }
    .contactLeft {
        display: flex;
        flex-direction: column;
        justify-self: center;
        width: 100%;
    }
    .contact-main {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    #text {
        width: 275px;
    }
    .case {
        width: 100%;
        margin-left: 0rem;
    }
    .info {
        width: 120px;
    }
}

@media (max-width: 700px) {
    .skills-own {
        display: flex;
        justify-self: center;
        align-items: center;
        flex-direction: column;
    }
    .skills {
        padding-bottom: 0% !important;
        margin: 0px -50px 0px -50px;
    }
    .img {
        width: 65% !important;
        height: 100%;
        margin-bottom: 5%;
    }
    #firstSection {
        height: 400px;
    }
    header {
        height: 50px;
    }
    .h2 {
        font-size: 14px !important;
    }
    .h1 {
        font-size: 14px !important;
    }
    .title {
        font-size: 26px !important;
        margin-bottom: .5%;
    }
    .title-main {
        font-size: 45px !important;
    }
    .button {
        display: none;
    }
    .logo {
        width: 100% !important;
        height: 100% !important;
    }
    .timelines {
        display: block;
    }
    .timeline {
        width: 100% !important;
    }
    .timeline:first-of-type {
        margin-bottom: 50px !important;
    }
    .circle {
        width: 150px !important;
        height: 150px !important;
    }
    .button2 p {
        font-size: 0.6em !important;
    }
    .button2 {
        width: 140px !important;
    }
    .contact-main {
        display: block;
    }
    .contactInMain {
        width: 100%;
    }
    .effect {
        display: none;
    }
    .contactRight {
        width: 100%;
    }
    .contactLeft {
        width: 100%;
        align-items: center;
    }
    .soulign {
        font-size: 12px !important;
    }
    .next-form {
        height: 9rem;
        border-radius: 1rem;
    }
    .next-form p:first-child {
        font-size: 20px !important;
    }
    .square2 {
        width: 120px !important;
        height: 40px;
        margin-left: 50% !important;
    }
    .button-main {
        display: none;
    }
    .contact-main {
        display: flex;
        justify-content: center;
    }
    .englobe {
        display: flex;
        flex-direction: column;
        justify-self: center;
    }
    .case {
        margin-top: 150px;
    }
}