*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
display: flex;
flex-direction: column;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'IBM Plex Sans Condensed', sans-serif;
}

p{
    font-family: 'IBM Plex Sans', sans-serif;
    text-align: center;
}


header{
    display: flex;
    align-items: center;
    background-color: #333;
    justify-content: center;
    padding: 10px;
    width: 100%;

}

#effect{
    position: fixed;
    width:40vw;
    height:100%;
    background-color: #3268AE;
    right: 400px;
    top:0;
    z-index: -1;

}

header img{
    width: 200px;

}


#hero-img{

    position:absolute;
    top:150px;
    left:20px;


    
}

#hero-img img{
    box-shadow: 10px 10px 5px black;
    border: 1px solid black;
    /* height:55vh; */
    width: 50vw;

}

#hero{
    position:absolute;
    background-color: lightgray;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 30vh;
    right:60px;
    top:300px;
    padding: 20px;
    box-shadow: 10px 10px black;
    border: 1px solid black;
    height: 28vh;
}

#hero h1{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 35px;
    text-align: center;
}

#hero button{
    background-color: #3268AE;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 30px;
}

/* début carousel ---------------------------------------- */



/* styles.css */
:root {
    --primary-color: #3498db;
    --secondary-color: #e74c3c;
    --background-color: #f0f0f0;
    --text-color: #333;
}



.visually-hidden {
    position: absolute;

    top: -100px;

    /* ceci permet de centrer horizontalement en position absolue */
    left: 50%;
    transform: translateX(-50%);
    color:black;
    text-align: center;
    width:90%;

}

.carousel {
    position: relative;
    max-width: 1200px;
    /* ceci permet de centrer horizontalement */
    margin: 0 auto;
    background-color: #3268AE;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* margin-top: 750px; */
    margin-top: 75vh;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.carousel-nav button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.carousel-nav button:hover {
    background-color: #2980b9;
}

.page-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-color);
    margin: 0 10px;
    min-width: 40px;
}

.article-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.article-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.article-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.article-icon img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.article-content {
    flex-grow: 1;
}

.article-title {
    margin: 0;
    font-size: 18px;
}

.article-cta {
    background-image: linear-gradient(to right, #9b59b6, #3498db);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.article-cta:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {

    .carousel{
        margin-top: 190px;
    }

    .page-indicator {
        margin: 10px 0;
    }

    .article-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-icon {
        margin-bottom: 10px;
    }

    .article-content {
        margin-bottom: 10px;
    }
}







/* fin carousel ---------------------------------------- */



/* début media pour le hero */
@media screen and (max-width: 1024px) {

    #effect{
        right: 150px;
    }
    #hero{
        min-width: 465px;
        right:36px;
    }
    #hero-img img{
        min-width: 465px;
    }
}

@media screen and (max-width: 768px) {
    body{

        flex-direction: column;

    }
    #hero-img{
        /* display:block; */
        position: relative;
        top: 0;
        /* margin-top: 10px; */
        left: 0;
        width: 90%;
    margin: 10px auto;
    /* top:120px;
        width: 80vw;
    left: 50%;
    transform: translateX(-50%); */
    /* min-width: 614px; */

        
    }
    #hero-img img{
        width:100%;
        min-width: 120px;
    }
    #hero{
        /* display:block; */
        position: relative;
        top: 0;
        right: 0;
        margin: 0 auto;
        min-width: 100px;
        width:80vw;
        height: auto;
        /* top:538px;
        left: 50%;
        transform: translateX(-50%);
        width: 80vw; */
    }
    #effect{
        display: none;
    }

}

/* fin du media pour le hero */

/* footer ---------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

#h2wrapper{
    color: #B84BD6;
    font-size: 80px;
    font-family: var(--font-family-title);
}

footer {
    background-color: #3268AE;
    color: #ECF0F1;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    margin-top: 200px;
}

footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background-color: #2d5484;
    transform: skewY(-3deg);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-section {
    flex: 1 1 300px;
    margin: 0 15px 30px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ECF0F1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498DB;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #34495E;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: #ECF0F1;
}

address a {
    color: #ffffff;
    text-decoration: underline;
}

.social-links a:hover {
    background-color: #3498DB;
}

#map {
    height: 200px;
    width: 100%;
    border-radius: 8px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d5484;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    .footer-section {
        margin-bottom: 30px;
    }
}
