@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

@font-face {
    font-family: 'Montserrat-Regular';
    src: url('/static/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html, body {
    min-height: 100%;
    margin: 0;
}

body {
    background: url("../images/backg2.jpg") center / cover no-repeat;
    background-attachment: fixed; /* optional */
    
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}


.navbar,
.footer {
    width: 100%;
    position: absolute;
    background: transparent;
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    color: white;

}

.footer_section {
    position: relative;
    text-align: center;
}

.navbar {
    top: 0;
}


.footer {
    bottom: 0;
    text-align: center;
    padding: 10px;
    justify-content: center;
}

.footer-icon {
    height: auto;
    transition: transform 0.3s ease;
    max-width: 300px;
}

.container {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    color: white;
    padding: 50px;
    flex-wrap: wrap;
}

/* Contenu gauche */
.content {
    max-width: 50%;
    text-align: left;
}

.content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #4c4276;
}

.btn {
    padding: 5px 15px;
    background: #3bbab4;
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 50px;
}

/* .btn :hover {
    background: #ffffff;
    color: #3bbab4;
} */

/* Image droite */
.image {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    max-width: 50%;
    
}

.image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
}

.language {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language img {
    width: 20px;
    height: 15px;
    cursor: pointer;
    transition: box-shadow 0.3s ease-in-out;
}

.language img:hover {
    box-shadow: 0px 0px 10px rgb(255, 16, 79);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        text-align: center;
        align-items: center;
        margin-top: 30px;

    }

    .content {
        max-width: 90%;
        text-align: center;
    }

    .image {
        max-width: 80%;
    }


}

@media (max-width: 768px) {

    .footer {
        font-size: x-small;
        box-sizing: content-box;
    }

    .content h1 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .content p {
        font-size: 1rem;
        margin-bottom: 20px;
        color: #4c4276;
    }

    .image {
        max-width: 100%;
    }
}