@media screen and (min-width: 576px) {
    .carousel-inner {
        display: flex;
        width: 90%;
        margin-inline: auto;
        padding: 1em 0;
        overflow: hidden;
    }

    .carousel-item {
        display: block;
        margin-right: 0;
        flex: 0 0 calc(100% / 2);
    }
}

@media screen and (min-width: 768px) {
    .carousel-item {
        display: block;
        margin-right: 0;
        flex: 0 0 calc(100% / 4);
    }
}

.carousel .card {
    margin: 0 0.5em;
    border: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
    height: 3rem;
    background-color: grey;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}



.blink {
    color: red;
    margin-right: 0.5rem;
    animation: blink 2s steps(5, start) infinite;
    -webkit-animation: blink 1s steps(5, start) infinite;
}

@keyframes blink {
    to {
        visibility: hidden;
    }
}

@-webkit-keyframes blink {
    to {
        visibility: hidden;
    }
}





button {
    background: none;
    border: 0;
    box-sizing: border-box;
    position: relative;
    vertical-align: middle;

    &::before,
    &::after {
        box-sizing: inherit;
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
    }
}

.border-antimation {
    position: relative;
    display: inline-block;
    transition: color 0.25s;
}

.border-antimation::before,
.border-antimation::after {
    content: "";
    position: absolute;
    border: 2px solid transparent;
    width: 0;
    height: 0;
}

.border-antimation::before {
    top: 0;
    left: 0;
}

.border-antimation::after {
    bottom: 0;
    right: 0;
}

.border-antimation:hover::before,
.border-antimation:hover::after {
    width: 100%;
    height: 100%;
}

.border-antimation:hover::before {
    border-top-color: #FBBF24;
    border-right-color: #FBBF24;
    transition:
        width 0.25s ease-out,
        height 0.25s ease-out 0.25s;
}

.border-antimation:hover::after {
    border-bottom-color: #FBBF24;
    border-left-color: #FBBF24;
    transition:
        border-color 0s ease-out 0.5s,
        width 0.25s ease-out 0.5s,
        height 0.25s ease-out 0.75s;
}

.tab-section {
    top: 13%;
    background-color: white;
}

@media screen and (max-width: 600px) {
    .tab-section {
        top: 11%;
    }
}
