#infographic {
    text-align: center;
}

#infographic h3 {
    margin-bottom: 40px;
}

.infographic {
    position: relative;
    border-radius: 40px;
    transition: transform 250ms cubic-bezier(0.5, 0.25, 0.5, 2.5);
    cursor: default;
}

.infographic-1:hover,
.infographic-2:hover,
.infographic-3:hover,
.infographic-4:hover,
.infographic-5:hover,
.infographic-6:hover {
    transform: scale(1.05);
}

.infographic:after {
    content: '';
    display: block;
}

.infographic > img {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    left: 0;
}

.infographic-1:after,
.infographic-2:after,
.infographic-3:after {
    padding-bottom: 90%;
}

.infographic-1 h4,
.infographic-2 h4,
.infographic-3 h4 {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--color-white);
}

#infographic .cols {
    margin-bottom: 100px;
}

.infographic-1,
.infographic-3 {
    background-color: var(--color-secondary);
    margin-top: 50px;
}
.infographic-2 {
    background-color: var(--color-yellow);
}

.infographic-4 h4,
.infographic-5 h4,
.infographic-6 h4 {
    position: absolute;
    color: var(--color-white);
    text-align: center;
    transform: translate(-50%, -50%);
    transition: transform 200ms ease-in-out;
}

.infographic-4:hover h4,
.infographic-5:hover h4,
.infographic-6:hover h4 {
    transform: translate(-50%, -50%) scale3d(1.5, 1.5, 1.5);
    transition: transform 400ms cubic-bezier(0.5, 0.25, 0.5, 2.5);
}

.infographic-4:hover h4:nth-of-type(2),
.infographic-5:hover h4:nth-of-type(2),
.infographic-6:hover h4:nth-of-type(2) {
    transition-delay: 0.1s;
}

.infographic-4:hover h4:nth-of-type(3),
.infographic-5:hover h4:nth-of-type(3),
.infographic-6:hover h4:nth-of-type(3) {
    transition-delay: 0.2s;
}

.infographic-4 h4:nth-of-type(1){
    left: 72.674%;
    top: 14.394%;
    font-size: 16px;
}
.infographic-4 h4:nth-of-type(2){
    left: 85.898%;
    top: 24.291%;
}
.infographic-4 h4:nth-of-type(3){
    left: 89.633%;
    top: 40.351%;
    font-size: 16px;
}

.infographic-5 h4:nth-of-type(1){
    left: 7.729%;
    top: 58.65%;
    font-size: 16px;
}
.infographic-5 h4:nth-of-type(2){
    left: 16.509%;
    top: 72.687%;
}
.infographic-5 h4:nth-of-type(3){
    left: 26.972%;
    top: 85.362%;
    font-size: 16px;
}

.infographic-6 h4:nth-of-type(1){
    left: 73.078%;
    top: 16.771%;
    font-size: 16px;
}
.infographic-6 h4:nth-of-type(2){
    left: 87.702%;
    top: 25.001%;
}
.infographic-6 h4:nth-of-type(3){
    left: 91.205%;
    top: 41.223%;
    font-size: 16px;
}

.infographic-4:after,
.infographic-5:after,
.infographic-6:after {
    padding-bottom: 100%;
}

.infographic-7,
.infographic-8 {
    color: var(--color-white);
    padding: 50px;
    text-align: left;
    height: 380px;
}

.infographic-7 {
    background-color: var(--color-secondary);
}

.infographic-7 ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.infographic-7 ul li {
    line-height: 30px;
}

.infographic-7 .bubble {
    border-radius: 100%;
    width: 100px;
    height: 100px;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale3d(1.001, 1.001, 1.001);
    position: absolute;
    box-shadow: 0 0 20px 0 rgb(154 174 191 / 25%);
}

.infographic .bubble {
    transition: transform 250ms cubic-bezier(0.5, 0.25, 0.5, 2.5);
    cursor: default;
}
.infographic .bubble:hover {
    transform: scale3d(1.1, 1.1, 1.1);
}

.infographic-7 .bubble img {
    width: 75%;
    height: 75%;

    animation-name: infographic;
    animation-duration: 10s;
    animation-iteration-count: infinite;
}

.infographic-7 .bubble:nth-of-type(2) img {
    animation-delay: -3.5s;
    animation-duration: 11.5s;
}

.infographic-7 .bubble:nth-of-type(3) img {
    animation-delay: -8s;
    animation-duration: 9s;
}

.infographic-7 .bubble:nth-of-type(1){
    right: 112px;
    top: 120px;
}
.infographic-7 .bubble:nth-of-type(2){
    right: 20px;
    bottom: 48px;
}
.infographic-7 .bubble:nth-of-type(3){
    right: 170px;
    bottom: 16px;
}
.infographic-7 .bubble:nth-of-type(4){
    right: 250px;
    bottom: 120px;
}

.infographic-8 {
    background-color: var(--color-primary);
}

.infographic-8 {
    margin-top: 190px;
}

.infographic-8 .label-icon {
    width: 100px;
    height: 100px;

    animation-name: infographic;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    color: var(--color-primary);
    white-space: nowrap;
    cursor: default;
}

.infographic-8 .bubble {
    position: absolute;
}

.infographic-8 .bubble:nth-of-type(n+6) {
    display: none;
}

.infographic-8 .bubble:hover {
    z-index: 2;
}

.infographic-8 .bubble:nth-of-type(1){
    top: 30px;
    right: 130px;
}
.infographic-8 .bubble:nth-of-type(2){
    top: 100px;
    right: -3px;
}
.infographic-8 .bubble:nth-of-type(3){
    top: 186px;
    right: 120px;
}
.infographic-8 .bubble:nth-of-type(4){
    top: 233px;
    right: 250px;
}
.infographic-8 .bubble:nth-of-type(5){
    bottom: -7px;
    right: 23px;
}


.infographic-8 .bubble:nth-of-type(2) .label-icon{
    animation-delay: -3.5s;
    animation-duration: 11.5s;
}
.infographic-8 .bubble:nth-of-type(3) .label-icon{
    animation-delay: -8s;
    animation-duration: 9s;
}
.infographic-8 .bubble:nth-of-type(4) .label-icon{
    animation-delay: -4.5s;
    animation-duration: 12.5s;
}
.infographic-8 .bubble:nth-of-type(5) .label-icon{
    animation-delay: -7s;
    animation-duration: 8.5s;
}

.infographic-8 p {
    max-width: 200px;
}


@keyframes infographic {
    0% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(10deg);
    }
    100% {
        transform: rotate(-10deg);
    }
}


@media only screen and (max-width: 1000px) {
    #infographic .cols {
        margin-bottom: 50px;
    }
    .infographic-8 {
        margin-top: 50px;
    }
}
@media only screen and (max-width: 600px) {
    .bubbles {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 20px -15px -10px -15px;
    }
    .infographic-7, .infographic-8 {
        height: auto;
    }
    .infographic-7 .bubble,
    .infographic-8 .bubble {
        position: static;
        margin: 5px;
        width: 60px;
        height: 60px;
    }
    .infographic-8 .label-icon {
        width: 60px;
        height: 60px;
    }
}

@media only screen and (max-width: 460px) {
    .infographic-7 .bubble,
    .infographic-8 .bubble {
        width: 50px;
        height: 50px;
    }
    .infographic-8 .label-icon {
        width: 50px;
        height: 50px;
    }
}
@media only screen and (max-width: 400px) {
    .infographic-7 .bubble,
    .infographic-8 .bubble {
        width: 40px;
        height: 40px;
    }
    .infographic-8 .label-icon {
        width: 40px;
        height: 40px;
    }
}