@keyframes slideInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.dad_rules {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 60px 40px 0;
}

.rules {
    display: flex;
    flex-direction: column;
    width: 65%;
}

.rules h3 {
    text-align: center;
    font-size: 48px;
    margin: 0 0 24px;
}

.rules p {
    text-align: center;
    font-size: 16px;
    margin: 16px 0 0;
}

.rules-img {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-top: 20px;
}

.rules-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 23%;
    text-align: center;
    margin-bottom: 30px;
    transform: translateY(20px);
    opacity: 0;
    animation: none;
}

.rules-items.animate-visible {
    animation: slideInUp 0.6s ease-out forwards;
}
.rules-img .rules-items:nth-child(1).animate-visible {
    animation-delay: 0s;
}
.rules-img .rules-items:nth-child(2).animate-visible {
    animation-delay: 0.2s;
}
.rules-img .rules-items:nth-child(3).animate-visible {
    animation-delay: 0.4s;
}
.rules-img .rules-items:nth-child(4).animate-visible {
    animation-delay: 0.6s;
}

.date-rules {
    font-weight: bold;
    font-size: 24px;
    color: #ff6c84 !important;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.img-redefining {
    width: 85px;
    height: 85px;
    display: block;
}

.explanation {
    font-size: 16px;
    color: #333;
}

@media (max-width: 1024px){
    .dad_rules {
        justify-content: flex-start;
        padding: 60px 40px 0;
    }

    .rules {
        width: 100%;
    }
}

@media (max-width: 768px){
    .dad_rules {
        padding: 40px 40px 0 40px;
    }

    .rules{
        width: 100%;
    }

    .rules h3 {
        font-size: 38px;
    }

    .date-rules{
        font-size: 20px !important;
    }

    .rules p {
        font-size: 16px;
        margin: 16px 0 0;
    }

    .rules-img {
        flex-direction: row;
        justify-content: space-between;
    }

    .rules-items {
        width: 25%;
    }
}

@media (max-width: 740px){
    .dad_rules {
        padding: 24px 24px 0;
    }

    .rules{
        width: 100%;
    }

    .rules h3 {
        font-size: 27px;
    }

    .rules p {
        font-size: 15px;
        margin: 15px 0 0;
    }

    .rules-img {
        flex-direction: row;
        justify-content: space-between;
    }

    .rules-items {
        width: 48%;
    }
}

@media (max-width: 375px){
    .dad_rules {
        padding: 24px 24px 0;
    }

    .rules{
        width: 100%;
    }

    .rules h3 {
        font-size: 27px;
    }

    .rules p {
        font-size: 15px;
        margin: 15px 0 0;
    }

    .rules-img {
        flex-direction: row;
        justify-content: space-between;
    }

    .rules-items {
        width: 48%;
    }
}

@media (max-width: 320px){
    .dad_rules {
        padding: 24px 24px 0;
    }

    .rules{
        width: 100%;
    }

    .rules h3 {
        font-size: 27px;
    }

    .rules p {
        font-size: 15px;
        margin: 15px 0 0;
    }

    .rules-img {
        flex-direction: row;
        justify-content: space-between;
    }

    .rules-items {
        width: 48%;
    }
}