* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Lato", sans-serif;
}

section.active-buttons {
    padding: 20px 0;
}

.container {
    margin: 0 auto;
    position: relative;
    width: 1170px;
    max-width: calc(100% - 30px);
}

.active-buttons__row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.active-buttons__item {
    width: 210px;
    background: rgba(239, 255, 253, 1);
    padding: 20px 20px 27px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: rgba(36, 36, 36, 1);
    font-size: 16px;
    font-weight: 500;
    line-height: 11px;
    transition: all .5s;
}

.active-buttons__item:before, .active-buttons__item:after {
    content: '';
    display: block;
    position: absolute;
}

svg.active-buttons__icon {
    width: 50px;
    height: 50px;
    transition: all .5s;
}

svg.active-buttons__icon path {
    transition: all .5s;
}

svg.active-buttons__icon path[fill] {
  fill: #00BBAA;
}

svg.active-buttons__icon path[stroke] {
  stroke: #00BBAA;
}

.active-buttons__item:before {
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
     /* Triangle color */
    background: rgba(218, 250, 247, 1);
    clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
    transition: all .5s;
}

.active-buttons__item:after {
    right: 8px;
    bottom: 14px;
    width: 36px;
    height: 36px;
    background-image: url(img/arrow.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.active-buttons__item:hover {
    background: rgba(0, 187, 170, 1);
    font-weight: 700;
    color: rgba(255, 255, 255, 1);
}

.active-buttons__item:hover svg.active-buttons__icon {
    transform: scale(1.06);
    transform-origin: left top;
}

.active-buttons__item:hover svg.active-buttons__icon path[fill] {
  fill: #FFFFFF;
}

.active-buttons__item:hover svg.active-buttons__icon path[stroke] {
  stroke: #FFFFFF;
}

.active-buttons__item:hover:before {
    background: rgba(28, 207, 191, 1);
}
