/* Icon item styling */
.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.icon-item,
.bg-animated1 {
    transition: transform 0.3s ease;
}

.icon-item:hover
{
    color: blue;
    transform: scale(1.1);

}

.bg-animated1:hover {
    color: black !important;
    animation: none;
    cursor: pointer;

  }

.icon-item a i {
    font-size: 2rem;
    color: blue;

}

.modal-hr{
    height: 5px;
}


.bg-animated1 {
    background: linear-gradient(45deg, red, green, yellow, brown, pink, blue, green);
    background-color: rgba(0, 0, 0, 0);
    background-size: auto;
    background-size: 300% 300%;
    animation: color 12s ease-in-out infinite;
}

.bg-animated1 a{
 color: white;
}

.bg-animated1 a:hover{
    color:black;
   }

@media (max-width: 576px) {

    .icon-item a i {
        font-size: 1.5rem !important;

    }

    .icon-label {
        font-size: 12px;
    }

    .custom-h3 {
        font-size: 15px !important;
        font-weight: bold !important;
    }

}


/* custom styling  */

@media (max-width: 576px) {
    .custom-bg {
        background-color: #78e6c3;
        /* Replace with your custom color */
        padding: 20px !important;
    }
}
/* Custom validation styles */
input:invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 .25rem rgba(220, 53, 69, .25);
}

input:valid {
    border-color: #198754;
    box-shadow: 0 0 0 .25rem rgba(25, 135, 84, .25);
}

.invalid-feedback {
    display: none;
}

/* Show feedback only when input is invalid and focused or submitted */
input:invalid:focus ~ .invalid-feedback {
    display: block;
    color:black;
}

input:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 .25rem rgba(220, 53, 69, .25);
}
