@font-face {
    font-family: "Eczar-SemiBold";
    src: url("../../font/Eczar-SemiBold.ttf");
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
      'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
      sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #E7E7F8;
}
  
code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
        monospace;
}


/* ################## header ################# */
  
.header {
    color: black;
    padding: 30px;
    user-select: none;
    transition: left 0.3s;
}

@media (min-width: 768px) {
    .nav-list {
        gap: 100px;
        display: flex;
        font-size: 20px;
        list-style: none;
        align-items: center;
        justify-content: center;
        font-family: Eczar-SemiBold;
    }
    .nav-list li a {
        text-decoration: none;
        color: black;
        font-weight: bold;
        transition: color 0.3s;
    }
}

.blue:hover {
    color: #87CEEB;
}

.yellow:hover {
    color: #F5F5DC;
}

.orange:hover {
    color: #FFDAB9;
}

.gray:hover {
    color: gray;
}

.header_mobile {
    display: none;
}

/* ################## header mobile ################# */

@media (max-width: 768px) {
    .header {
        display: none;
    }

    .header_mobile {
        display: flex;
        justify-content: center;
        color: black;
        padding: 30px;
        user-select: none;
        transition: left 0.3s;
    }

    .nav-list {
        display: flex;
        font-size: 20px;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        font-family: Eczar-SemiBold;
    }

    .menu-button {
        border: none;
        color: black;
        font-size: 20px;
        background: none;
    }

    .menu-button-x {
        border: none;
        color: black;
        font-size: 30px;
        background: none;
    }
    
    .mobile-menu {
        display: none;
        z-index: 1;
        top: 0;
        left: 0;
        width: 250px;
        height: 100%;
        position: fixed;
        transition: left 5s ease;
        background-color: gray;
    }
    
    .mobile-menu ul {
        list-style: none;
        padding: 0;
    }
    
    .mobile-menu li {
        padding: 10px;
    }
    
    .mobile-menu a {
        color: white;
        text-decoration: none;
    }

    .nav-list li a {
        text-decoration: none;
        color: white;
        font-weight: bold;
        transition: color 0.3s;
    }
}



/* ######## style main page ############### */

.Main-container {
    position: relative;
    max-width: 100%;
    user-select: none;
}

.title {
    flex: 1;
}

.maintitle {
    font-size: 5.2vw;
    font-family: Eczar-SemiBold;
    margin: -4vh;
    min-width: 200px;
} 

.responsive-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: flex;
}

@media (max-width: 768px) {
    .responsive-image {
        height: 80vh;
    }
    .maintitle {
        font-size: 15vw;
        font-family: Eczar-SemiBold;
        margin: -4vh;
        min-width: 200px;
    }
}

.text-overlay {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 20px;
}

/* ######## style Qui page ############### */

.qui-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

@media (max-width: 768px) {
    .qui-container {
        height: 50vh;
    }
}

.qui-container .square-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    height: 100%;
}

.qui-container .square-right {
    flex: 1;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: #E7E7F8;
}

.case-text-up {
    width: 50%;
}

.case-text-down { 
    width: 50%;
}

.text-up {
    font-size: 30px;
    font-family: Eczar-SemiBold;
}

.text-down {
    font-size: 30px;
    font-family: Eczar-SemiBold;
}

 
.line-yellow {
    display: flex;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    align-items: left;
}

.texte-image {
    display: flex;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.qui-container .square-right h1 {
    font-size: 35px;
}

.qui-container .square-right p {
    font-size: 20px;
}

@media (max-width: 768px) {
    .qui-container .square-right h1 {
        text-align: center;
        font-size: 15px;
    }
    
    .qui-container .square-right p {
        font-size: 10px;
    }
}

.qui-container .square-right .text {
    padding: 0 0 0 20px;
    text-align: left;
}

/* ######## style Stratégie page ############### */

.strategy-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

@media (max-width: 768px) {
    .strategy-container {
        height: auto;
    }
}

.strategy-container .square-left {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    background-color: #E7E7F8;
}

.strategy-container .square-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: white;
}

.case-text-up {
    width: 50%;
}

.case-text-down {
    width: 50%;
}

.text-up {
    font-size: 30px;
    font-family: Eczar-SemiBold;
}

.text-down {
    font-size: 30px;
    font-family: Eczar-SemiBold;
}

.line-yellow {
    display: flex;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    align-items: left;
}

.texte-image {
    display: flex;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.strategy-container .square-left p {
    font-size: 20px;
}

@media (max-width: 768px) {
    .strategy-container .square-left p {
        font-size: 10px;
    }
}

.strategy-container .square-left .container_image {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.strategy-container .square-left .container_image .rectangle {
    width: 150px;
    height: 100px;
    border: 3px solid black;
    background-color: transparent;
    text-align: center;
}

@media (max-width: 768px) {
    .strategy-container .square-left .container_image {
        display: flex;
        gap: 10px;
        flex-direction: column;
        justify-content: space-around;
    }
    .strategy-container .square-left .container_image .rectangle {
        width: 100px;
        height: 50px;
        border: 2px solid black;
        background-color: transparent;
        text-align: center;
    }
}

.strategy-container .square-left .text {
    padding: 0 0 0 20px;
    text-align: left;
}

/* ######## style investissement page ############### */

.investissement-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

@media (max-width: 768px) {
    .investissement-container {
        height: 60vh;
    }
}

.investissement-container .square-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    height: 100%;
}

.investissement-container .square-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: #E7E7F8;
}

.case-text-up {
    width: 50%;
}

.case-text-down {
    width: 50%;
}

.text-up {
    font-size: 30px;
    font-family: Eczar-SemiBold;
}

.text-down {
    font-size: 30px;
    font-family: Eczar-SemiBold;
}


.line-yellow {
    display: flex;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    align-items: left;
}

.texte-image {
    display: flex;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.investissement-container .square-right .button_link {
    border: none;
    background-color: transparent;
}

.investissement-container .square-right .button_link .logo {
    width: 14vw;
}

@media (max-width: 768px) {
    .investissement-container .square-right .button_link .logo {
        width: 35vw;
    }
}

/* ######## style contact page ############### */

@media (min-width: 769px) {
    .contact-container {
        display: flex;
        flex-direction: column;
        background-color: #FFFFFF;
    }
    h1 {
        font-size: 64px;
        font-family: Eczar-SemiBold;
        align-self: center;
    }
    
    .bar-container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100px;
        margin-top: -100px;
    }
    
    .bar {
        width: 150px;
        height: 7px;
        border-radius: 30px;
        background-color: blue;
    }
    
    .form {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .input-basique {
        padding-left: 5px;
        background-color: #D9D9DE;
        border: none;
        outline: none;
        font-family: Eczar-SemiBold;
        font-size: 20px;
        border-radius: 20px;
        height: 40px;
        width: 200px;
    }
    
    .input-message {
        padding-left: 5px;
        background-color: #D9D9DE;
        border: none;
        outline: none;
        font-family: Eczar-SemiBold;
        font-size: 20px;
        border-radius: 20px;
        height: 200px;
        width: 400px;
        resize: vertical;
        overflow-y: auto; 
    }
    
    .form-begin {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 100px;
        align-items: center;
    }
    
    .text-begin {
        display: flex;
        align-self: flex-start;
    }
    
    .form-middle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 30px;
        margin-right: 300px;
    }

    .text-middle {
        display: flex;
        align-self: flex-start;
    }
    
    .form-end {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-top: 30px;
        margin-left: 90px;
    }

    .form-end .message {
        display: flex;
        align-self: flex-start;
    }
    
    .button {
        font-family: Eczar-SemiBold;
        font-size: 20px;
        width: 150px;
        height: 50px;
        border: none;
        border-radius: 50px;
        margin-left: 40px;
        margin-top: 70px;
        color: white;
        background-color: #0D69F3;
    }
    
    .button:hover {
        font-size: 23px;
    }
}

@media (max-width: 768px) {
    .contact-container {
        display: flex;
        align-items: center;
        flex-direction: column;
        background-color: #FFFFFF;
    }
    h1 {
        font-size: 30px;
        font-family: Eczar-SemiBold;
    }
    .bar {
        width: 150px;
        height: 7px;
        border-radius: 30px;
        background-color: blue;
    }
    
    .form {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .input-basique {
        padding-left: 5px;
        background-color: #D9D9DE;
        border: none;
        outline: none;
        font-family: Eczar-SemiBold;
        font-size: 20px;
        border-radius: 20px;
        height: 40px;
        width: 200px;
    }

    .form-end {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2vh;
    }
    
    .input-message {
        border: none;
        outline: none;
        font-size: 20px;
        resize: vertical;
        overflow-y: auto;
        padding-left: 5px;
        border-radius: 20px;
        font-family: Eczar-SemiBold;
        background-color: #D9D9DE;
    }
    .button {
        width: 150px;
        height: 50px;
        border: none;
        color: white;
        font-size: 20px;
        border-radius: 50px;
        margin-top: 10%;
        align-items: center;
        font-family: Eczar-SemiBold;
        background-color: #0D69F3;
    }
}

/* ######## style footer ############# */


@media (min-width: 768px) {
    .footer-container {
        height: 280px;
        display: flex;
        flex-direction: row;
        align-items: center;
        background-color: black;
        justify-content: space-evenly;
    }
}

@media (max-width: 768px) {
    .footer-container {
        height: 280px;
        display: flex;
        align-items: center;
        flex-direction: column;
        background-color: black;
    }
}

.name { 
    font-size: 40px;
    color: white;
    font-family: Eczar-SemiBold;
}

h3 {
    font-size: 15px;
    color: white;
    font-family: Eczar-SemiBold;
}

.button-mentionsLegal {
    border: none;
    font-size: 15px;
    font-family: Eczar-SemiBold;
    color: white;
    background-color: black;
}

.button-mentionsLegal:hover {
    color: gray;
}