.second-animation {
    height: 100%;
    width: 100%;
    background: #20313d;
}

.second-animation-cards {
    padding-top: 100px;
    padding-bottom: 50px;

    transition: top 2s ease;
}

.second-animation-cards.to-bottom {
    top: 120px;
    transition: top 2s ease;
}

.second-animation-title,
.third-animation-title {
    width: 800px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    font-weight: 100;
}



.second-animation-title p {
    font-size: 16px;
    margin-bottom: 30px;
}

.second-animation h4,
.third-animation-title h4 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 24px;
}

.service-card .service-icon {
    width: 67px;
    height: 67px;
    background: #2B2B2B66;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.service-card .service-title {
    font-size: 18px;
    color: #fff;
    font-weight: 100;
}

.service-card-closed {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    transition: top 1s ease;
    position: absolute;
}

.service-card:hover .service-card-closed {
    top: -68px;
    transition: top 1s ease;
}

.service-card .service-card-showed {
    position: absolute;
    top: 160px;
    font-size: 13px;
    color: #fff;
    margin: 0 20px;
    text-align: center;
    font-weight: 100;
}


.service-card:hover .service-card-showed {
    top: 45px;
    transition: top 1s ease;
}

.service-card-bottom {
    position: absolute;
    z-index: 9;
    bottom: 0;
    width: 25%;
    left: 37.5%;
    background: #fff;
    height: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: width 1s ease, left 1s ease;
}

.service-card:hover .service-card-bottom {
    width: 50%;
    left: 25%;
    transition: width 1s ease, left 1s ease;
}

.second-animation-title.to-top {
    margin-top: -400px;
    margin-bottom: 1200px;
    transition: margin-top 1.5s ease, margin-bottom 1.5s ease;
}

.second-animation.decrease-opacity {
    opacity: 0;
    transition: 1s ease opacity;
}

.service-card {
    background: linear-gradient(107.9deg, rgba(4, 71, 11, 0.35) -0.78%, rgba(151, 255, 161, 0.35) 34.79%, rgba(19, 73, 34, 0.35) 96.88%);
    padding: 25px 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #FFFFFF;
    backdrop-filter: blur(20px);
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 160px;
    overflow: hidden;
    margin-bottom: 20px;
}



@media (max-width: 768px) {

    .second-animation-title,
    .third-animation-title {
        width: 90%;
    }

    .third-area {
        background: #20313d;
        padding: 20px 0 50px;
    }
}