*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body{
    background: linear-gradient(to right, #1F4CA6, #1FA68D);
}

header{
    background-color: white;
    height: 200px;
    display: flex;
    flex-direction: row;
}

.logo{
    left: 0;
    height: 200px;
    width: auto;
}
.header-title{
    display: flex;
    align-items: center;
    font-weight: 1000;
    font-size: 50px;
    margin: 0 auto;
    text-align: center;
}

.header-title p{
    background: linear-gradient(to right, #1F4CA6, #1FA68D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 15px 10px 5px 10px;
}

/* Sidenav menu */
.sidenav {
    height: auto;
    width: 250px;
    position: fixed;
    z-index: 1;
    top: 0;
    right: -250px;
    background-color: white;
    padding-top: 60px;
    transition: left 0.5s ease;
}

/* Sidenav menu links */
.sidenav a {
    background: linear-gradient(to right, #1F4CA6, #1FA68D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
    margin-top: 20px;
}

.sidenav a:hover {
    color: #111;
}

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

/* Active class */
.sidenav.active {
    right: 0;
}

/* Close btn */
.sidenav .close {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
}

.burger{
    display: none;
}

/* Icône burger */
.burger-icon span {
    display: block;
    width: 35px;
    height: 5px;
    background-color: black;
    margin: 6px 0;
}

.navbar{
    display: flex;
    height: 50px;
    background-color: white;
    border: black solid 2px;
    align-items: center;
    justify-content: space-around;
}

.navbar ul{
    display: flex;
    width: 100%;
    justify-content: space-around;
}

.navbar ul li{
    list-style-type: none;
}

.dropdown{
    position: relative;
    display: inline-block;
    color: #1F4CA6;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}

.dropdown p{
    margin-bottom: 0!important;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    transform: translateX(-16px);
    min-width: 260px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
    border-radius: 5px;
}

.dropdown-content a{
    margin: 2px 0;
}

.dropdown:hover .dropdown-content {
    margin-top:0;
    display: flex;
    flex-direction: column;
}

nav a{
    text-decoration: none;
    color: #1F4CA6;
    font-size: 20px;
    font-weight: 400;
}

nav a:focus, nav a:hover{
    background-color: #1FA68D;
}

nav a:visited{
    color: #1F4CA6;
}

nav a:active{
    background-color: darkolivegreen;
}

.prayer-main{
    display: flex;
    flex-direction: column;
    background-color: white;
    width: 100%;
    height: 70px;
    color: #1F4CA6;
}

.prayer-date{
    margin: 8px auto;
}
.prayer{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.prayer-data{
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.prayer-data p{
    margin: 0 3px;
}

.main{
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 350px);
    width: 100% !important;
}

#voile{
    position: fixed;
    z-index: 15;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.4);
    display: none;
}

.popup{
    width: 100%;
    height: 100%;
    z-index: 20;
    position: absolute;
    top: 0;
    display: none;
}

.popup-content{
    z-index: 30;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 550px;
    height: 750px;
    background-color: #e5e5e5;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.popup-content p{
    position: absolute;
    top: 0;
    right: 5px;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
}

.popup-content img{
    width: 450px;
    height: 650px;
}

.couscous{
    padding: 5px;
    margin-top: 5px;

}

h1{
    width: 100%;
    margin: 40px 0;
    color: white;
    text-align: center;
    font-weight: bold;
}

.index{
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.aide{
    position: absolute;
    z-index: 3;
    left: 0;
    width: 200px;
    display: flex;
    flex-direction: column;
    margin-top: 150px;
    margin-left: 50px;
    color: white;
}

.aide-bouton{
    margin-bottom: 200px;
}

.aide-link{
    text-decoration: none;
    width: 100px;
    height: 40px;
    border: black 2px solid;
    border-radius: 5px;
    background-color: white;
    font-weight: bold;
    color: #111;
    padding: 4px;
}

.content{
    /* text-align: center; */
    width: 80%;
    /* border: black solid 2px; */
    /* border-radius: 5px; */
    /* background: #7B8F87; */
    padding: 10px;
    /* box-shadow: 0 5px 10px rgba(#111); */
}

h2{
    color: white;
    margin: 20px auto 5px auto;
    width: 100%;
    font-weight: bold;
}

.content p{
    color: white;
    margin-bottom: 20px;
}

.intro{
    color: white;
    font-weight: bold;
    font-size: 15px;
    background: linear-gradient(to right, #1F4CA6, #1FA68D);
    border-radius: 5px;
    padding: 5px;
}

.benevolat{
    color: white;
    font-size: larger;
}

.img-content{
    width: 100%;
    height: auto;
}

.img{
    width: 50%;
    height: auto;
    margin: 5px;
}

.content-text{
    color: white;
    margin: 20px;
    
}

.img-article{
    width: 30%;
    height: 30%;
}

.img-header{
    width: 30%;
    height: 30%;
    border-radius: 10%;
}

.article-img{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.img-carousel{
    height: 400px;
    width: 600px;
}

.sizing{
    height: 400px;
    width: 600px;
}

.sizing-couscous{
    height: 400px;
    width: 600px;
}

.img-carousel-couscous{
    height: 400px;
    width: 600px;
}

.sizing-index{
    height: 600px;
    width: 900px;
}

.img-carousel-index{
    height: 600px;
    width: 900px;
}

.contact-form{
    width: 70%;
    height: auto;
    /* border: black solid 2px; */
    /* border-radius: 5px; */
    /* background-color: #7B8F87; */
    color: white;
}

.contact-name{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.asso{
    font-weight: bold;
}

.name{
    display: flex;
    flex-direction: column;
    width: 40%;
    margin: 10px auto;
}

.email{
    display: flex;
    flex-direction: column;
    margin-left: 5%;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 40%;
}

.subject{
    display: flex;
    flex-direction: column;
    margin-left: 5%;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 40%;
}

.message{
    display: flex;
    flex-direction: column;
    margin-left: 5%;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 90%;
    height: 300px;
}

.contact-message{
    border: 2px solid black;
    border-radius: 10px;
    height: 300px;
    padding: 5px;
}

.contact-field{
    border: 2px solid black;
    border-radius: 10px;
    height: 30px;
    padding-left: 5px;
}

.error-form{
    color: red;
    width: 100%;
    height: 17px;
    font-size: 12px;
    font-weight: bold;
    /* padding: 1px; */
    background-color: #FAA79E;
    border-radius: 5px;
    padding-left: 2px;
}

.send{
    display: flex;
    margin: 10px;
    justify-content: center;
}

.send input{
    height: 40px;
    width: 100px;
    border-radius: 10px;
    border: 2px solid black;
    font-size: 20px;
    font-weight: bold;
}

.donation{
    width: 100%;
    height: 750px;
    border: none;
    scrollbar-width: none;
}

.article{
    margin-top: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    
}

.video{
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video h2, .video p{
    text-align: center;
    color: white;
}

.video-player{
    height: 264px;
    width: 640px;
}

.activite{
    margin-top: 30px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.carte{
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px;
    color: white;
    text-align: center;
    margin: 10px;
}

.carte img{
    
    height: 190px;
    width: 80%;
    margin: 3px auto;
}
.carte a{
    text-decoration: none;
    color: white;
}

.article-detail{
    width: 80%;
    display: flex;
    flex-direction: row;
    /* text-align: center; */
    color: white;
    align-items: center;
}

footer{
    height: 100px;
    background-color: white;
    bottom: 0;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.creation{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 10px;
    font-size: 12px;
}

.lien-reseau{
    display: flex;
    align-items: center;
    text-decoration: none;
    color: black;
}

.img-reseaux{
    height: 30px;
    width: 60px;
}

.reseaux{
    display: flex;
    flex-direction: column;
    margin: 10px;
}

.logo-reseau{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 10px;
}

.img-facebook{
    height: 30px;
    width: 35px;
}

@media (max-width: 480px) {
    header{
        height: 100px;
    }

    .logo{
        height: 100px;
    }

    .header-title{
        font-size: 10px;
    }

    .burger{
        display: block;
        margin: auto 3px;
    }

    .burger-icon span {
        display: block;
    }

    .dropdown a{
        border: none!important;
    }

    .dropdown-menu{
        position: relative;
        visibility: visible;
        opacity: 1;
        height: auto;
        transition: all 0.3s ease 0s;
    }

    .navbar{
        display: none;
    }
    
    .navbar ul{
        display: flex;
        width: 100%;
        justify-content: space-around;
    }
    
    .navbar ul li{
        list-style-type: none;
    }

    .main{
        min-height: calc(100vh - 200px);
    }

    .popup-content{
        width: 350px;
        height: 500px;
    }

    .popup-content img{
        width: 300px;
        height: 450px;

    }

    h1{
        font-size: 25px;
        margin: 10px 0;
    }
    
    .content{
        text-align: center;
        width: 80%;
        /* border: black solid 2px; */
        /* border-radius: 5px; */
        /* background: #7B8F87; */
        padding: 10px;
        /* box-shadow: 0 5px 10px rgba(#111); */
    }
    
    h2{
        color: white;
        margin: 5px auto;
        width: 100%;
        font-size: 20px;
    }
    
    .content p{
        color: white;
        margin-bottom: 20px;
    }

    .img-content{
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .img{
        width: 60%;
        height: auto;
    }

    .img-article{
        width: 40%;
        height: auto;
    }

    .img-header{
        width: 50%;
        height: 50%;
    }

    .sizing{
        height: 200px;
        width: 300px;
    }

    .img-carousel{
        height: 200px;
        width: 300px;
    }

    .img-carousel-index{
        height: 200px;
        width: 300px;
    }

    .img-carousel-couscous{
        height: 200px;
        width: 300px;
    }

    .index{
        margin: 15px auto;
        flex-direction: column;
    }

    .aide{
        position: initial;
        flex-direction: row;
        margin: 40px auto auto auto;
        width: 100%;
        justify-content: space-around;
    }

    .aide-bouton, .aide-dons{
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .aide-link{
        width: auto;
    }

    .sizing-index{
        height: 200px;
        width: 320px;
    }

    .sizing-couscous{
        height: 200px;
        width: 320px;
    }

    .carousel-mobile{
        width: 250px;
        height: auto;
        margin-bottom: 0px;
        padding-bottom: 0!important;
    }

    .intro{
        font-size: 8px;
    }

    .aide-bouton p, .aide-dons p{
        text-align: center;
    }
    
    .contact-form{
        width: 90%;
    }
    
    .contact-name{
        display: flex;
        flex-direction: column;
    }
    
    .name{
        width: 90%;
    }
    
    .email{ 
        width: 90%;
    }
    
    .subject{
        width: 90%;
    }
    
    .contact-message{
        border: 2px solid black;
        border-radius: 10px;
        height: 300px;
        padding: 5px;
    }
    
    .contact-field{
        border: 2px solid black;
        border-radius: 10px;
        height: 30px;
        padding-left: 5px;
    }
    
    .send{
        display: flex;
        margin: 10px;
        justify-content: center;
    }
    
    .send input{
        height: 40px;
        width: 100px;
        border-radius: 10px;
        border: 2px solid black;
        font-size: 20px;
        font-weight: bold;
    }
    
    .donation{
        width: 100%;
        height: 750px;
        border: none;
        scrollbar-width: none;
    }
    
    .article{
        padding: 5px;
        margin-top: 30px;
        
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .video{
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 15px;
    }

    .video-player{
        height: 132px;
        width: 320px;
    }

    .activite{
        margin-top: 10px;
    }
    .carte{
        margin-bottom: 20px;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 5px;
        color: white;
        text-align: center;
    }
    
    .carte img{
        width: 80%;
        margin: 3px auto;
    }
    .carte a{
        text-decoration: none;
        color: white;
    }
    
    .article-detail{
        width: 80%;
        display: flex;
        flex-direction: column;
        text-align: center;
        color: white;
        align-items: center;
    }

    footer{
        font-size: 10px;
    }

    .creation{
    margin: 5px;
    font-size: 8px;
    }
}