#services{
    position: relative;
    padding: 150px clamp(40px, 8%, 8%);
}

#services-title{
    text-align: center;
}

#services-title h1{
    font-size: 50px; 
    margin-bottom: 20px;
}

#services-title p{
    max-width: 500px;
    margin: auto;
}

#services-list{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 100px;
}

.services-item{
    position: relative;
    background-color: #227C5710;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-flow: column;
    overflow: hidden;
    gap: 10px;
    border-radius: 30px 0 30px 0;
    padding-bottom: 70px;
}

.services-item:nth-of-type(odd){
    background-color: #227C5710;
}

.services-item:nth-of-type(even){
    background-color: #227C5720;
}

.services-item > i{
    font-size: 50px;
    padding: 30px 0 0 30px;
}

.services-item h2{
    margin-bottom: 10px;
    padding: 0 30px 0 30px;
}

.services-item p{
    font-size: 16px;
    padding: 0 30px 0 30px;
}

.services-item a{
    position: absolute;
    bottom: 0;
    right: 0;
    color: white;
    background-color: #227C57dd;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    width: 70px;
    height: 70px;
    font-size: 30px;
    text-decoration: none;
    border-top-left-radius: 30px;
    transition: 0.25s ease;
}

.services-item a:hover{
    background-color: #227C57;
}

.services-item a i{
    transition: 0.25s ease;
}

.services-item a:hover i{
    transform: translateY(-3px);
}

@media screen and (max-width: 1000px){
    #services-list{
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 550px){
    #services-list{
        grid-template-columns: 1fr;
    }
    .services-item > i{
        font-size: 30px;
    }
    .services-item h2{
        font-size: 23px;
    }
}







#services-title{
    transform: translateY(30px);
    opacity: 0;
    animation: canvasAnim ease 0.5s forwards;
}

.services-item{
    transform: translateX(20px);
    opacity: 0;
    animation: canvasAnim ease 0.7s forwards;
}

.services-item:nth-child(1){ animation-delay: 0.3s; }
.services-item:nth-child(2){ animation-delay: 0.4s; }
.services-item:nth-child(3){ animation-delay: 0.5s; }
.services-item:nth-child(4){ animation-delay: 0.6s; }


@keyframes canvasAnim {
    0%{

    }
    100%{
        transform: none;
        opacity: 1;
    }
}