/* ====================================Style section 1 accueil ===========================================*/

#accueil_section1 {
    background-image: url(photos/Photos%20Accueil.jpeg);
    background-size: 100%;
    height: 57em;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-attachment: fixed;
}

#contenuAccueil {
    display: flex;
    flex-direction: column;
    position: absolute;
    align-items: center;
    bottom: 5%;
}

#contenuAccueil a {
    margin-top: 20px;
}


@keyframes flecheAccueil {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(20px);
    }
}

#downArrow {
    animation: flecheAccueil 1s ease alternate infinite;
    height: 60px;
}

/* =====================================Style section 2 descriptifs ===============================*/

#descriptifs {
    text-align: center;
}

#descriptifs h2 {
    margin-bottom: 0;
}

.descr {
    margin-top: 40px;
    font-size: 1.2em;
    line-height: 1.5;
}

/* ============================Responsive accueil ===============*/

@media screen and (max-width: 480px) {
    #wholeContent {
        background-image: url(photos/Photos%20Accueil.jpeg);
        background-position: center;
        background-size: 250%;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    #espace {
        min-height: 2em;
    }

    #accueil_section1 {
        background-image: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 100%;
        height: auto;
    }

    #contenuAccueil a button {
        padding: 0 2em;
    }

    #contenuAccueil {
        display: flex;
        flex-direction: column;
        position: relative;
        align-items: center;
        bottom: auto;
    }

    #downArrow {
        display: none;
    }

    #descriptifs {
        background-color: white;
        opacity: 0.7;
    }
}

@media (min-width: 481px) and (max-width: 1024px) {
    body {
        width: 110%
    }

    #downArrow {
        display: none;
    }

    #contenuAccueil {
        position: relative;
    }

    #accueil_section1 {
        height: 35em;
    }

    #accueil_section1 button {
        position: relative;
        top: 250px
    }


}

/* ====================================Style section 3 liensAutres ==============================*/

#liensAutre {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
}

.iconoLiensAutre {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 354px;
    height: 430px;
}

.iconoLiensAutre button {
    margin-top: 10px;
    height: 70px;
    width: 273px;
}

/* ============================ Responsive liensAutres ================= */

@media screen and (max-width: 480px) {
    #liensAutre {
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    .iconoLiensAutre {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: auto;
        height: auto;
    }

    .iconoLiensAutre button {
        margin-top: 10px;
        height: 3rem;
        min-width: 100%;
    }

    #actuTotal {
        display: none;
    }
}

@media (min-width: 481px) and (max-width: 1024px) {
    .imgLiensAutre {
        height: 15em;
    }
}

/* ==========================================Style Section 4 Actualité ==================================*/

#actualites {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

#actuTotal {
    width: 85%;
    height: 300px;
    background-image: url(photos/stethoscope-2617701_640.jpg);
    background-size: cover;
    color: black;
    border-radius: 40px;
}

#actu {
    width: 50%;
    float: right;
    height: 300px;
    background-color: white;
    opacity: 0.55;
    text-align: center;
    overflow: auto;
}

#actu span {
    color: red;
}
