body {
    margin: 0;
    font-family: Poppins, serif;
}

* {
    box-sizing: border-box;
}

.container {
    width: 100%;
}

h1, h2, h3, h4, h5, p {
    margin: 0;
}

.queue-card {
    width: 95%;
    height: 120px;
    background-color: #f5f5f5;
    border-radius: 15px;
    display: flex;
    overflow: hidden;
    margin: 10px auto;
}

.queue-card .queue-name {
    background-color: #2d9a6f;
    color: #fff;
    width: 30%;
    position: relative;
    z-index: 2;
    padding: 5px 0 5px 10px;
    display: flex;
    align-items: center;
}

.queue-card .queue-name h3 {
    position: relative;
    z-index: 3;
    margin-right: -15px;
}
.queue-info-row__time {
    font-size: 12px;
    justify-content: right !important;
}

.queue-card .queue-name::after {
    content: '';
    display: block;
    position: absolute;
    right: -40px;
    top: 0;
    height: 120px;
    width: 120px;
    background-color: #2d9a6f;
    transform: rotate(45deg) skew(20deg, 20deg);
    z-index: 1;
}

.queue-card .queue-info {
    padding: 0 10px 0 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.queue-card .queue-info .queue-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clients-row {
    display: flex;
    justify-content: flex-end;
}

.client-number {
    margin-left: 5px;
    padding: 3px 5px;
    background-color: #2d9a6f;
    border-radius: 5px;
    color: #fff;
}


@media only screen and (max-width: 400px) {
    .queue-card {
        flex-direction: column;
        height: unset;
    }

    .queue-card .queue-name {
        width: 100%;
    }

    .queue-card .queue-name::after {
        content: unset;
        display: unset;
    }
    .queue-card .queue-info {
        padding: 5px 10px;
    }
}