*,
::before,
::after {
  box-sizing: border-box;
}


body {
    background-color: #5D7362;
    font-family: 'Roboto', sans-serif;
}

h1{
    font-family: 'Finger Paint', cursive;
    font-size : 2.5rem;
    margin-left : 2%;
    color : #ffffff;
    margin-left : 15%;
    margin-top : 0;
}

h2 {
    font-family: 'Finger Paint', cursive;
    text-align: center;
    color: white;
    font-size: 2rem;
    padding-bottom: 10px;
}

h3{
    font-family: 'Finger Paint', cursive;
    position: absolute;
    font-size : 1.5rem;
    color: white;
    transform: rotate(-25deg);
    margin-left: 140px;
    margin-top: -40px;
}
.main{
    display : flex;
    justify-content : center;
    align-items : center;
    margin: 30px
}

p{
    width : 90%;
    line-height: 1.4rem;
    color: #a9b4ab
}

section > a{
    text-decoration: none;
    padding : 3% 8%;
    color :#ffffff;
    border-radius : 20px;
    margin : 5% 0%;
    border : solid lightgreen 2px;
    width : 65%;
    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;
}

section>a:hover>#svg-arrow{
   fill: #000000;
   animation: svg-arrow infinite 1s;
}

section {
padding : 2%;
margin : 0 1%;
background-color:  rgba(0, 0, 0, 0.3);
border-radius: 20px;
position : relative;

}

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 : 90%;
    margin-left:6px
}

section > p {
    width : 100%;
}

svg{
    margin-left : 5%;
    width : 12%;
    fill : white;
}

@keyframes svg-arrow {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(8px);
    }

    100% {
        transform: translateX(0);
    }
}

@media (max-width: 992px){
    
    section{
        margin:0.4%;

    }
    p{
        width : 90%;
        line-height: 1.3rem;
        font-size: 0.9rem;
        color: #a9b4ab
    }
    .main{
        margin-top: 50px;
    }
    h3{
        font-size : 1.2rem;
        margin-left: 90px;
        margin-top: -30px; 
    }
    h2{
        margin-top: 80px;
        font-size : 1.8rem;
    }
    h1{
        font-size : 2.2rem;
    }

}
@media (max-width: 750px){
    .main{
        flex-direction: column;
    }
    section{
        margin: 5%;
    }
    h1{
        font-size : 2rem;
        margin-left: 110px;
    }
    h2{
        margin-top: 80px;
        font-size : 1.6rem;
    }
    h3{
        font-size : 1.5rem;
        margin-left: 80px;
        margin-top: -60px; 

    }
}

@media (max-width: 576px){
    h1{
        margin-left: 100px;
    }
    h3{
        font-size : 1.2rem;
        margin-left: 50px;
        margin-top: -60px; 

    }
}