@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url("https://fonts.googleapis.com/css?family=Besley:600");
* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    height: 100%;
    font-family: "Besley", Helvetica, sans-serif;
}

.background-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/XXXL1.png');
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    z-index: 3;
    pointer-events: none;
}

button:focus-visible {
    outline: 2px solid #4a90e2 !important;
    outline: -webkit-focus-ring-color auto 5px !important;
}

a {
    text-decoration: none;
}

:root {
    --main-bg-color: #ffffff;
    --main-color-black: #000000;
    --main-border-radius: 5px;
    --grid-gap: 60px;
}

.content-wrapper {
    overflow: hidden;
    width: 620px;
    height: 415px;
    position: relative;
    z-index: 3;
}

.content {
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
    padding: 30px 70px 0px 70px;
    width: 614px;
}

.grid-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), #5FA8FF;
    color: white;
    padding: 20px;
    border-radius: var(--main-border-radius);
    cursor: pointer;
    transition: transform 0.2s;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: 100% 100%;
}

.description,
.title {
    font-weight: 600;
    color: var(--main-color-black);
    font-size: 20px;
    letter-spacing: 0;
    line-height: normal;
    display: inline-block;
    padding-top: 20px;
}

.centered-div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.subtitle {
    font-weight: 600;
    color: var(--main-color-black);
    font-size: 20px;
    letter-spacing: 0;
    line-height: normal;
}

.arrow-icon-left,
.arrow-icon-right {
    position: absolute;
    width: 54px;
    height: 53px;
    object-fit: cover;
    cursor: pointer;
}

.arrow-icon-left {
    left: 0;
    top: 203px;
}

.arrow-icon-right {
    right: 0;
    top: 203px;
}

.button-background,
.button {
    border-radius: 15px;
    margin-bottom: 5px;
}

.button-background {
    background-color: #ffffff;
    box-shadow: 0px 4px 4px #00000040;
    width: 212px;
    height: 50px;
    font-size: 30px;
    text-align: center;
}

.button {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), #5FA8FF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    width: 212px;
    cursor: pointer;
    height: 50px;
}

.button-text {
    color: white;
    text-align: center;
    padding: 15px;
}

.info-box {
    background-color: var(--main-bg-color);
    border: 0px none;
    width: 307px;
    height: 177px;
    position: fixed;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.error {
    display: none;
    z-index: 12;
}

.center {
    padding-top: 25px;
}

.ticket-number {
    display: inline-block;
    font-weight: 400;
    color: var(--main-color-black);
    font-size: 32px;
    letter-spacing: 0;
    line-height: normal;
}

.service-selection,
.queue-check,
.ticket-info {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    /* Merged from two separate declarations */
    justify-content: center;
    width: 620px;
    height: 415px;
    filter: grayscale(0.2) blur(0.5px);
}

.service-selection,
.queue-check {
    background-color: var(--main-bg-color);
    z-index: 2;
    background-color: #e4f3ff;
}

.service-selection::after,
.queue-check::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 4;
    filter: url('#noiseFilter');
}

.ticket-info,
.queue-check {
    display: none;
}

.ticket-info {
    z-index: 10;
}

.blur-background {
    filter: grayscale(0.2) blur(5px);
}