*,
::before,
::after {
  box-sizing: border-box;
}



body {
    font-family: 'Roboto', sans-serif;
    background-color: #5D7362;
    color : #ffffff;
}


h1{
    font-family: 'Finger Paint', cursive;
    font-size : 2.5rem;
    margin-bottom : 4%;
  
}

h1,h2{
    margin-left : 20%;
    margin-top : 0;

}

h3{
    font-family: 'Finger Paint', cursive;
    font-size : 2rem;
    line-height: 1rem;
}
.main{
    display : flex;
    justify-content : center;
    align-items : center;
}

p{
    width : 90%;
    line-height: 1.4rem;
}

section a{
    text-decoration: none;
    padding : 2% 4%;
    color :#ffffff;
    border-radius : 50px;
    margin : 2% 0%;
    border : solid lightgreen 2px;
    width : 70%;
    display : flex; 
    justify-content: center;
    align-items: center;
    transition : all ease 0.25s;

}

section a:hover{
    background-color: lightgreen;
    color : #000000;
    transition : ease-in-out 0.25s;
    display : flex; 
    align-items: center;
}

.links-assoc>a:hover>#svg-arrow{
   fill: #000000;
   animation: svg-arrow infinite 1s;
}

.links-assoc{
    display : flex;
/*  justify-content: space-between; */
}

.don{
    margin-left : 5%;
}

section {
padding : 2%;
margin : 0 1%;
background-color:  rgba(0, 0, 0, 0.3);
border-radius: 20px;;
position : relative;
width : 32%;

}

section:hover{
    margin-top: -1rem;
    margin-bottom: 1rem;
   transition : color 0.25s ease-in-out;
   transition : all 0.5s ease-in-out;
   box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.3);
}

section > img{
    width : 100%;
}

section > p {
    width : 100%;
}

svg{
    margin-left : 5%;
    width : 15%;
    fill : white;
}

@keyframes svg-arrow {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(8px);
    }

    100% {
        transform: translateX(0);
    }
}

@media (max-width: 1275px){
   
    h3{
        font-size : 1.6rem;
        line-height: 1rem;
    }
    section > p {
        width: 100%;
        font-size: 0.9rem;
    } 
    section{
        margin-top: 20px;
    }
    section a{
        font-size: 0.9rem;
    }
}

@media (max-width: 992px){
    section a{
        font-size: 0.7rem;
    }
    h3{
        font-size : 1.3rem;
        line-height: 1rem;
    }
    section > p {
        width: 100%;
        font-size: 0.7rem;
    }
    section{
        margin-top: 40px;
    }
}

@media (max-width: 770px){
    .main{
        flex-direction: column;
    }
    section{
        width: 63%;
        margin: 3%;
    }
    section > p {
        width: 100%;
        font-size: 0.9rem;
    }
    section a{
        font-size: 0.8rem;
    }
    h3{
        font-size : 1.4rem;
        line-height: 1rem;
    }
}

@media (max-width: 576px){
    h1{
        font-size: 1.7rem;
        margin-left: 24%;
    }
    .main{
        flex-direction: column;
        margin-top: 60px;
    }
    section{
        width: 75%;
        margin: 4%;
    }
    section > p {
        width: 100%;
        font-size: 0.8rem;
    }
    section a{
        font-size: 0.8rem;
    }
    h3{
        font-size : 1.3rem;
        line-height: 1rem;
    }
}