body,
html {
    height: 100%;
}

body {
    font-family: "Plus Jakarta Sans" !important;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    margin-top: 3rem;
}

.h1 {
    font-size: 1.75rem !important;
    font-variant: small-caps;
    color: #183c7e !important;
}

h3 {
    font-variant: small-caps;
    font-weight: bold !important;
    font-size: 35px !important;
    color: #183c7e !important;
}

h4 {
    font-variant: small-caps;
    font-weight: bold !important;
    color: #183c7e !important;
}

h2 {
    font-variant: small-caps;
    font-weight: bold !important;
    font-size: 45px !important;
    color: #183c7e !important;
}

a {
    text-decoration: none !important;
    color: #183c7e;
}


.animate__fadeIn {
    --animate-duration: 2s;
}

.scroll-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}



/* HEADER */

.navigation {
    color: #183c7ecc !important;
    outline: none;
    text-decoration: none !important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out !important;
    font-variant: small-caps;
    font-size: 23px !important;
}

.navigation:hover {
    color: #183c7e !important;
    margin-top: 3px !important;
    transition: 0.5s !important;
    font-weight: 700;
    rotate: -1deg;
}

.navbar {
    background-color: #fff;
    padding: 15px;
}

.navbar-toggler {
    border: none;
    outline: none;
}

@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    main {
        margin-top: 15px !important;
        margin-bottom: 30px;
    }

    h2 {
        font-size: 30px !important;
        margin-top: 35px !important;
    }

    .h2-home {
        margin-top: 0 !important;
    }

    h3 {
        font-size: calc(1.3rem + .6vw) !important;
        text-align: center;
    }

    .navigation {
        font-size: 18px;
    }
}

/* FOOTER */

footer {
    color: #fff;
    background-color: #183c7e;
    padding: 15px;
}

footer p {
    margin-bottom: unset;
    margin-top: unset;
}

footer a {
    color: #fff !important;
    text-decoration: none;
}

footer a:hover {
    color: #fff !important;
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}


/* PAGE D'ACCUEIL */

.w-portrait {
    width: 40%;
    border-radius: 100px;
    padding: 10px;
    background: #183c7e;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.home-container {
    position: relative;
    padding: 20px;
}

.formation2 {
    display: none;
}

.card-home {
    color: #183c7e;
}

.card-home p {
    font-weight: bold;
    color: white;
    padding: 10px;
    border-radius: 10px;
    background: #183c7e;
    width: 77%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.i-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    font-size: 50px;
    color: #183c7e;
}

.i-container i {
    position: absolute;
    width: 50px;
    height: 50px;
    opacity: 0.7;
}

.i-html {
    top: 10px;
    left: 2%;
    transform: rotate(-15deg);
}

.i-js {
    top: 10px;
    left: 28%;
    transform: rotate(-10deg);
}

.i-php {
    bottom: 0px;
    left: 2%;
    transform: rotate(-5deg);
}

.i-symfony {
    bottom: 35px;
    left: 41%;
    transform: rotate(20deg);
}

.i-java {
    top: 45px;
    left: 41%;
    transform: rotate(10deg);
}

.i-laravel {
    bottom: 0px;
    left: 28%;
    transform: rotate(15deg);
}

.i-drupal {
    left: 15%;
    transform: rotate(15deg);
    top: 45px;
}

.i-css {
    bottom: 35px;
    left: 15%;
    transform: rotate(15deg);
}


.go-to-aPropos {
    margin-top: 100px;
}

.btn1 {
    padding: 10px;
    background: #183c7e;
    color: white;
    font-weight: bold;
    font-variant: small-caps;
    border: none;
    border-radius: 10px;
    rotate: 0deg;
    transition: 0.5s;
}

.btn1:hover {
    transition: 0.5s;
    background: #183c7e;
    rotate: -2deg;
}

.aPropos {
    padding: 50px;
    border-radius: 10px;
}

.education-card {
    background: #ffffff75;
    padding: 10px;
    border-radius: 10px;
    width: 380px;
    box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px;
    border: 3px solid #183c7e;
}

.education-card .place {
    color: #183c7e;
    font-style: italic;
    text-align: end;
    line-height: 0.5;
}

.education-card .date {
    color: #183c7e;
    font-weight: bold;
    font-size: 1rem;
    text-align: left;
}

.education-card .formation {
    color: #183c7e;
    font-weight: bold;
    text-align: left;
}

.block-parcours-projet {
    gap: 100px;
}

.projet-pro {
    width: 35%;
    height: max-content;
    padding: 50px;
    border-radius: 10px;
    margin: 3rem;
}

.parcours {
    padding: 50px;
    border-radius: 10px;
    margin: 3rem;
}

.p {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .w-portrait {
        width: 60%;
    }

    .card-home p {
        width: auto;
        font-size: 15px;
    }

    .i-container {
        display: none;
    }

    .home-container {
        text-align: center;
    }

    .block-parcours-projet {
        flex-direction: column;
    }

    .projet-pro {
        width: auto;
        padding: 0;
        margin: 2rem !important;
    }

    .formation2 {
        font-size: 15px;
        display: block;
        color: #183c7e;
        font-weight: bold;
        text-align: left;
    }

    .formation {
        display: none;
    }

    .p {
        font-size: 15px;
    }

    .place {
        font-size: 14px;
    }

    .parcours {
        width: auto;
        padding: 0;
        margin: 2rem !important;
    }

    .education-card {
        width: auto;
    }

    .block-parcours-projet {
        gap: 10px;
    }

    #aPropos {
        padding: 0;
        padding-top: 60px;
    }

    .card-bienvenue {
        flex-direction: column;
        gap: 40px;
    }

    .contact-info {
        width: 100% !important;
    }
}

/* CONTACT */

.contact-container {
    display: grid;
    margin-top: 20px;
    border-radius: 10px;
    color: #183c7e;
    width: max-content;
    gap: 50px;
    grid-template-columns: repeat(2, 1fr);
}

.contact-container div {
    background: #ffffff75;
    padding: 10px;
    border-radius: 10px;
    width: 380px;
    box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px;
    border: 3px solid #183c7e;
}

@media (max-width: 768px) {

    .contact-container {
        grid-template-columns: repeat(1, 1fr);
    }

}

/* BTS SIO */

.card-option {
    display: flex;
    gap: 35px;
    align-items: center;
    box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
    padding: 36px;
    border-radius: 10px;
    border: 3px solid #183c7e;
}

.imgsisr2 {
    display: none;
}

.imgsisr {
    display: flex;
}

.option-container {
    margin: 3rem;
}

.title-option {
    align-items: baseline;
}

@media (max-width: 768px) {
    .card-option {
        flex-direction: column;
        padding: 20px;
        width: 100%;
        gap: 0;
    }

    .imgsisr2 {
        display: flex;
    }

    .imgsisr {
        display: none;
    }

    .lesOptions {
        margin-bottom: 25px !important;
    }

    .card-option img {
        width: 100% !important;
        height: auto !important;
        margin: 15px;
    }

    .option-container {
        margin: 0 !important;
    }

    .presentation {
        text-align: center;
    }

    .fa-code {
        display: none !important;
    }

    .fa-hexagon-nodes {
        display: none !important;
    }

    .title-option {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }
}

/* COMPETENCES */

@media (max-width: 768px) {

    .competence {
        flex-direction: column;
    }

    .card-competence-tech {
        width: 100% !important;
    }

    .competence-tech-container {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .tech-card {
        width: 107% !important;
    }

}

.card-competence-gen {
    background: #ffffff75;
    padding: 10px;
    border-radius: 10px;
    box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px;
    border: 3px solid #183c7e;
    height: fit-content;
}

.card-competence-tech {
    background: #ffffff75;
    padding: 10px;
    border-radius: 10px;
    box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px;
    border: 3px solid #183c7e;
    width: 65%;
    height: fit-content;
}

.competence-tech-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
    gap: 20px;
}

.tech-card {
    background: #ffffff75;
    padding: 10px;
    border-radius: 10px;
    box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px;
    border: 3px solid #183c7e;
    height: min-content;
    font-size: 20px;
}

.competence-bts {
    grid-template-columns: repeat(2, 1fr);
}

.card-competence-bts {
    background: #ffffff75;
    padding: 10px;
    border-radius: 10px;
    box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px;
    border: 3px solid #183c7e;
    height: fit-content;
}

.title-card-competence-bts {
    font-variant: small-caps;
    font-weight: bold !important;
    color: #183c7e !important;
}

/* EXPERIENCE */

@media (max-width: 768px) {

    .dsi-card {
        width: 100% !important;
    }

    .card-experience {
        flex-direction: column;
    }

    .img-vdm {
        display: none;
    }

    .perso-card {
        width: 100% !important;
    }

    .perso-card p {
        text-align: start !important;
    }
}

.btn-projet:hover {
    margin-left: 10px !important;
    margin-top: 0 !important;
}

.dsi-card {
    width: 70%;
    background: #ffffff75;
    padding: 10px;
    border-radius: 10px;
    box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px;
    border: 3px solid #183c7e;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.dsi-card img {
    height: fit-content;
}

.perso-card {
    height: fit-content;
    width: 30%;
    background: #ffffff75;
    padding: 10px;
    border-radius: 10px;
    box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px;
    border: 3px solid #183c7e;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

/* PROJET */

@media (max-width: 768px) {

    .projet-container {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .detail-projet-container {
        flex-direction: column-reverse !important;
    }

    .detail-projet-container div {
        width: 100% !important;
    }

    .card-detail-projet {
        width: 100% !important;
    }

    .detail-projet-img {
        margin: 0 !important;
        margin-top: 25px !important;
        margin-bottom: 25px !important;
    }

    .detail-projet-double {
        flex-direction: column;
        gap: 0 !important;
    }

    .detail-projet-double-reverse {
        flex-direction: column-reverse;
        gap: 0 !important;
    }

    .iframe {
        width: 50% !important;
    }

    .api {
        width: 75% !important;
    }

    .gp-2 {
        width: 75% !important;
    }

    .pwa-img {
        width: 100% !important;
    }

}

.gp-2 {
    width: 50%;
}

.iframe {
    width: 100%;
}

.detail-projet-double {
    gap: 3rem;
}

.detail-projet-double-reverse {
    gap: 3rem;
}

.detail-projet-img {
    margin: 3rem;
}

.projet-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card-projet {
    background: #ffffff75;
    padding: 8px;
    border-radius: 10px;
    box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px;
    border: 3px solid #183c7e;
    gap: 10px;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.enligne {
    color: #183c7e !important;
    font-weight: 500;
}

.enligne:hover {
    font-weight: bold;
    transition: 0.2s;
}


.detail-projet-container img {
    height: 320px;
    border-radius: 10px;
    box-shadow: rgb(0 0 0 / 50%) 0px 5px 15px;
}

.card-detail-projet {
    background: #ffffff75;
    padding: 10px;
    border-radius: 10px;
    box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px;
    border: 3px solid #183c7e;
    height: fit-content;
    width: fit-content;
}

.stage {
    display: flex;
    justify-content: end;
}

.stage p {
    display: flex;
    justify-content: end;
    margin-bottom: 0;
    padding: 7px;
    background: coral;
    color: white;
    font-weight: bold;
    border-radius: 10px;
    width: fit-content;
}

/* VEILLE */

@media (max-width: 768px) {

    .g-alerte-logo {
        width: 75% !important;
    }

    .ia-voiture {
        width: 75% !important;
        height: auto !important;
    }

    .part {
        gap: 0 !important;
    }

    .g-alerte {
        width: 100% !important;
    }

}

.part {
    gap: 3rem;
}

.veille-container .ia-voiture {
    height: 350px;
    width: auto;
    border-radius: 10px;
    box-shadow: rgb(0 0 0 / 50%) 0px 5px 15px;
}

.veille-container .g-alerte {
    height: auto;
    width: 75%;
    border-radius: 10px;
    box-shadow: rgb(0 0 0 / 50%) 0px 5px 15px;
}

.veille-container .g-alerte-logo {
    height: auto;
    width: 325px;
    border-radius: 10px;
    box-shadow: rgb(0 0 0 / 50%) 0px 5px 15px;
    padding: 15px;
}

.g-alerte-mot-cles {
    height: 320px;
    width: auto;
    border-radius: 10px;
    box-shadow: rgb(0 0 0 / 50%) 0px 5px 15px;
}

.g-alerte-container {
    grid-template-columns: repeat(2, 1fr);
}