.flex {
    display: flex;
    text-align: center;
}

.flex2 {
    justify-content: space-around;
}

.flex3 {
    margin: 80px 0 40px;
    justify-content: space-between;
    color: #C91454;
    border-color: #c74a73;
    border-width: thin;
    word-spacing: 3px;
    vertical-align: middle;
}

.flex-items {
    background-color: #ffffff;
    margin: 10px;
    text-align: center;
    line-height: 1.5;
    border-color: #C91454;
    padding-left: 2px;
    padding-right: 2px;
    position: relative;
}

.flex3 > .btn-group-sm > .btn,
.btn-sm {
    font-size: 14px;
    color: #e54242;
    border-color: #e54242;
}

.flex3 > .btn-group-sm > .btn,
.btn-sm:hover {
    color: white;
    border-color: white;
    background-color: #e54242;
    transition: 0.5s;
}

@media screen and (max-width: 768px) {
    .flex3 {
        margin: 110px 0 20px;
    }
}

@media screen and (max-width: 600px) {
    .flex3 {
        margin: 110px 0 20px;
    }
}

.flex-items {
    position: relative;
    text-align: center;
    margin-bottom: 10px;
}

.hover-text {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    visibility: hidden;
    opacity: 0;
    font-weight: bold;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
    white-space: nowrap; /* Add this property to prevent text wrapping */
}

.flex-items:hover .hover-text {
    visibility: visible;
    opacity: 1;
}