
/* ---------- Global variables ---------- */

html {
    box-sizing: border-box;
    font-size: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

*, *:before, *:after {
    box-sizing: inherit;
}

@font-face {
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    src: url();
}

body {
    background-color: #0D0221;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-family: Poppins;
}

html::-webkit-scrollbar{
    display: none;
}

h2 {
    font-size: 5em;
    margin-bottom: 2vh;
    font-weight: bold;
    color: #0D0221;
}

a {
    cursor: pointer;
    font-family: Poppins, Arial, Helvetica, sans-serif;
    color: inherit;
    text-decoration: none;
    transition: all .2s ease-in-out;
}

a:hover {
    color: #F50056;
}

p {
    font-family: Poppins, Arial, Helvetica, sans-serif;
    color: #0D0221;
}

strong {
    font-weight: normal;
}

ol, ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.white-section {
    background-color: #ffffff;
}

.dark-section{
    background-color: #0D0221;
    padding: 15vh 5vw 25vh 5vw;
}




/* ---------- Navbar Gestion ---------- */

.navbar {
    background-color: #ffffff;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;

    position: sticky;
    top: 0px;
    z-index: 999;
}

.nav-empty-space {
    margin-left: 2em;
    margin-right: 2em;
}

.navbar-element:hover {
    color: #F50056;
}

.navbar-primary {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    flex-basis: auto;
    align-items: center;
    box-sizing: border-box;
}

.navbar-secondary {
    display: flex;
    float:right;
}

.cv-button {
    color:#ffffff;
    background-color: #F50056;
    outline: 2px solid #ffffff;
    padding : 0.6vh 0.5vw;
    border-radius: 5px;
    box-shadow: 5px 5px #F50056;
    transition: all .2s ease-in-out;
}

.cv-icon {
    margin-left:0.6vw;
}

.cv-button:hover {
    color:#ffffff;
    background-color: #0D0221;
    box-shadow: 5px 5px #0D0221;
}

.navbar-primary ul li, .navbar-secondary ul li {
    margin : 0.8em 1.2em;
}

.navbar-language {
    margin : 0.8em;
    font-size: 1.3em;
}

.navbar-primary ul li a {
    font-size: 1.2em;
}

.navbar-list {
    display:flex;
}

.IsActive {
    color: #f50056;
}

.rs-icon {
    font-size: 1.5em;
}

.burger-menu {
    position: absolute;
    right: .75em;
    font-size: 2em;
    color: #0D0221;
    display: none!important;
}

.burger-menu:hover {
    cursor: pointer;
}

/* Navbar Breakpoint */
@media screen and (max-width:900px)
{
    .burger-menu {
        display: block!important;
    }

    .navbar {
        display: flex;
    }

    .navbar-primary {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #f50056;

        display: flex;
        justify-content: center;
        align-items: center;

        margin-left: -100%;

        transition: all 0.5s ease;
    }

    .mobile-menu {
        margin-left: 0;
    }

    .navbar-primary ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navbar-primary ul li {
        margin: 1em 0;
        font-size: 1em;
    }

    .navbar-primary ul li .IsActive {
        color: #0D0221;
    }

    .navbar-primary ul li a {
        color: #FFFFFF;
    }

    .cv-button {
        color:#ffffff;
        background-color: none;
        outline: none;
        padding : 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    .cv-icon {
        margin-left:0.6vw;
    }
    
    .cv-button:hover {
        background-color: transparent;
        box-shadow: none;
    }
}





/* ---------- Presentation Section ---------- */

.presentation {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.with-background-divider {
    position:relative;
    min-height: 75vh;
}

.presentation-primary {
    margin-left: 5vw;
    margin-right: 5vw;
    max-width: 40vw;
}

.bonjour-framed {
    font-size: min(5em, 6vw);
    font-weight: bold;
    background-color: #0D0221;
    color: #ffffff;
    display: inline-block;
    padding: 0vh 1vw;
    margin-bottom: 3vh;
    text-align: center;

    outline: .08em solid #ffffff;
    border-radius: 10px;
    box-shadow: 0.18em 0.18em #0D0221;
}

.highlight {
    color: #F50056!important;
}

.profil-image {
    max-height: 50vh;
    position: relative;
    z-index: 1;

    /* Basic picture CSS */
    background-color: #0D0221;
    outline: 0.3em solid #ffffff;
    border-radius: 10px;
    box-shadow: 0.7em 0.7em #F50056;
}

.custom-shape-divider-bottom-1680097391 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1680097391 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.custom-shape-divider-bottom-1680097391 .shape-fill {
    fill: #0D0221;
}





/* ---------- Projects Section ---------- */

.inner-section {
    border-radius: 15px;
    display: inline-block;;
    margin: 20vh auto;
    width: 80vw;
}

.project-title {
    color: #ffffff;
}

.intro-bottom-text {
    margin-bottom: 4vh;
    color:white;
}

.projects-grid {
    max-width: 1800px;
    width: 100%;
    height: auto;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, 300px);
    justify-content: center;
    gap: 1em;
}

.projects-link {
    box-shadow: 0 0 200px rgba(0,0,0,0.9) inset;
    border: 1px solid #ffffff;
    text-indent: -9999px;
    overflow: hidden;
    height: 300px;
    width: 300px;
    border-radius: 10px;
    transition: all .2s ease-in-out;
}

.projects-link:hover {
    box-shadow: none;
    transform: scale(1.02);
}

#infa           {background-image:  url(../ress/infa-cover.png); }
#allomamanbobo  {background-image:  url(../ress/amb-tcg-cover.jpg); }
#tangworks      {background-image:  url(../ress/tangworks-cover.png); }
#grandpavillon  {background-image:  url(../ress/hotel-cover.jpg); }
#cie            {background-image:  url(../ress/cie-cover.png); }
#kinesis        {background-image:  url(../ress/kinesis-cover.png); }
#photographs    {background-image:  url(../ress/photographs-cover.jpg); }
#icyway         {background-image:  url(../ress/icyway-cover.png); }

.custom-shape-divider-bottom-1681056545 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1681056545 svg {
    position: relative;
    display: block;
    width: calc(125% + 1.3px);
    height: 100px;
}

.custom-shape-divider-bottom-1681056545 .shape-fill {
    fill: #FFFFFF;
}





/* ---------- Ongoing Projects ---------- */

#ongoing {
    padding: 15vh 5vw 25vh 5vw;
}

.highlight {
    color: #F50056;
    font-style: normal;
}

.ongoing-grid {
    max-width: 1800px;
    width: 100%;
    height: auto;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    grid-template-columns: repeat(auto-fill, 300px);
    justify-content: center;
    gap: 1em;
}

.ongoing-element {
    background-color: grey;
    text-indent: -9999px;
    overflow: hidden;
    height: 5vh;
    border-radius: 5px;
}





/* ---------- Footer ---------- */

.footer-section {
    display: flex;
    flex-direction: column;
}

.confirm-title {
    color: white;
    margin-left: auto;
}

.contact-text-container {
    padding-top: 15vh;
    margin: auto;
    width: min(50%, 1300px);
}

.contact-text-container p {
    justify-content: center;
    margin: 2em auto;
    color: #ffffff;
}

#contact-form-box {
    margin: auto;
    width: min(90%, 1300px);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-image {
    height: min(300px, 500px);
    width: min(300px, 400px);
    margin-left: 10%;

    /* Basic picture CSS */
    background-color: #0D0221;
    outline: 0.3em solid #ffffff;
    border-radius: 10px;
    box-shadow: 0.75vw 0.75vw #F50056;
}

.contact-highlight {
    font-size: 1.5em;
}
  
.form-element > .form-field > span:after {
    content: '*';
    color: #F50056;
}

.form-field {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    padding-top: 1%;
    padding-bottom: 1%;
}

.form-component,
.form-text-area {
    border: none;
    border-radius: 10px;
    background-color: #dad8dd;
    color: #0d0221;
    width: 25vw;
    height: 5vh;
}
  
.form-text-area {
    resize: none;
    width: 25vw;
    height: 20vh;
}
  
.form-submit {
    align-self: center;
    border: none;
    border-radius: 10px;
    background-color: #F50056;
    color: #fff;
    font-size: 1em;
    width: 10vw;
    height: 5vh;
}

.form-submit:hover {
    background-color: #ffffff;
    color: #F50056;
    border: 2px solid #F50056;
    cursor: pointer;
}

.form-submit:active {
    background-color: #d1d1d1;
    color: #0D0221;
    border: 2px solid #F50056;
    cursor: pointer;
}

.footer-text {
    margin-top: 10vh;
    color: #ffffff;
    text-align: center;
}





/* Media Queries. */

/* hi-res laptops and desktops */
@media (max-width:1280px) {
    .contact-text-container {
        width: 60vw;
    }
}

/* big landscape tablets, laptops, and desktops */
@media (max-width:1024px) {
    
}

/* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
@media (max-width:960px) {


    /* Presentation part. */
    .bonjour-framed {
        font-size: 4em;

        outline: 3px solid #ffffff;
        border-radius: 10px;
        box-shadow: .18em .18em #0D0221;
    }

    .presentation-primary {
        max-width: none;
        margin: 5vh 5vw;
    }

    .presentation {
        flex-direction: column;
    }

    .profil-image {
        max-height: 75vw;

        outline: .2em solid #ffffff;
        border-radius: 10px;
        box-shadow: .5em .5em #F50056;
    }



    /* Project Part. */
    .project-title {
        font-size: 4em;
        color: #ffffff;
    }



    /* Ongoing Part. */
    .ongoing-title{
        font-size: 4em;
    }



    /* Footer Part. */
    #contact-form-box {
        flex-direction: column;
    }

    .contact-text-container {
        padding-top: 10vh;
        width: 85vw;
    }

    .form-component,
    .form-text-area {
        width: 85vw;
    }

    .form-submit {
        width: 55vw;
        margin-top: 3vh;
    }

    .contact-image {
        margin: 5vh auto;

        background-color: #0D0221;
        outline: 0.3em solid #ffffff;
        border-radius: 10px;
        box-shadow: 0.5em 0.5em #F50056;
    }


}

/* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
@media (max-width:640px) {

    .presentation-primary h1 {
        font-size: 1em;
    }

    .presentation-text {
        font-size: 0.8em;
    }

    .presentation-primary h1 {
        font-size: 1.5em;
        line-height: 1.2em;
        margin-bottom: 0.5em;
    }

}

/* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
@media (max-width:480px) {

}