:root {
    --co-primary-light: #FEFAE0;
    --co-primary: #FAEDCD;
    --co-primary-dark: #D4A373;
    --co-secondary-light: #664422;
    --co-secondary: #2e1c0c;
}
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--co-primary-light);
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--co-secondary);
}
.header-container {
    background-color: var(--co-primary);
    overflow: hidden;
    font-size: 2em;
    max-height: 1.5em;
    transition: .3s max-height;
}
.header-container:hover {
    max-height: 10em;
}
.header {
    height: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-button {
    cursor: pointer;
    color: var(--co-secondary-light);
}
.header-button:hover {
    color: var(--co-secondary);
}
.adress {
    display: flex;
    justify-content: center;
}
.adress-text {
    font-size: 1.4rem;
    padding: 10px;
}
.adress-map {
    position: relative;
    font-size: 4rem;
    padding: 10px;
}
.adress-map-link {
    position: absolute;
    top: 0;
    font-size: 1rem;
    left: 100%;
}
.main {
    box-sizing: border-box;
    padding: 15px 0;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    width: 100vw;
}
.section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100%;
}
.tickets {
    font-size: 10px;
    background-color: var(--co-primary);
    min-height: 20px;
    min-width: 20px;
    margin: 20px;
    width: calc(5px * 10 + 20em * 5 + 10px);
    /*          child border + child width   */
    display: flex;
    flex-wrap: wrap;
    justify-items: center;
    align-items: center;
    /*
    display: grid;
    grid-template-rows: repeat(2, 20em);
    grid-template-columns: repeat(5, 20em);
    justify-items: center;
    align-items: center;*/
}
@media (max-width: 1300px) {
    .tickets {
        font-size: .8vw;
    }
}
@media (max-width: 600px) {

    .tickets {
        font-size: 1.4vw;
        width: calc(5px * 6 + 20em * 3 + 10px);
    }
    .button {
        font-size: 1.3em;
    }
}
.ticket {
    position: relative;
    border: 5px dashed var(--co-primary-dark);
    height: 15em;
    width: 15em;
    margin: 2.5em;
    /*animation: fade-in .3s;*/
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}
.ticket .icon {
    position: absolute;
    color: var(--co-primary-dark);
    opacity: .2;
    font-size: 12em;
}
.ticket .icon.-active {
    opacity: 1; 
}
.ticket .number {
    color: var(--co-primary-dark);
    opacity: .2;
    font-size: 5.5em;
    font-weight: bold;
}
@keyframes fade-in {
    0% {scale: 110%;}
    100% {scale: 100%;}
}
.ticket:nth-of-type(1){animation-delay: .0s;}
.ticket:nth-of-type(2){animation-delay: .03s;}
.ticket:nth-of-type(3){animation-delay: .06s;}
.ticket:nth-of-type(4){animation-delay: .1s;}
.ticket:nth-of-type(5){animation-delay: .13s;}
.ticket:nth-of-type(6){animation-delay: .16s;}
.ticket:nth-of-type(7){animation-delay: .2s;}
.ticket:nth-of-type(8){animation-delay: .23s;}
.ticket:nth-of-type(9){animation-delay: .26s;}
.ticket:nth-of-type(10){animation-delay: .3s;}
.plate {
    display: flex;
    justify-content: center;
}
.button {
    padding: .4em 1.5em;
    font-size: 1.5em;
    text-align: center;
    background-color: var(--co-primary-dark);
    cursor: pointer;
    position: relative;
    color: var(--co-secondary-dark);
    transition: .3s box-shadow,.3s color;
    box-shadow: 0 0 0 0 var(--co-secondary-light) inset;
    margin: 10px;
}
.button:hover {
    box-shadow: 0 0 0 1em var(--co-secondary-light) inset;
    color: var(--co-primary);
}
.bg-icon {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: .2;
}
.bg-icon i {
    position: absolute;
    left: -5px;
    bottom: -5px;
    font-size: 2em;
}
.bg-icon i.-right {
    left: auto;
    right: 10px;
}

.description {
    display: none;
    font-size: 3em;
    position: absolute;
    bottom: 100%;
    filter: drop-shadow(0 0 5px black);
    background-color: var(--co-primary-dark);
    color: var(--co-secondary-light);
    padding: .3em;
    border-radius: .3em;
    width: 15em;
}
*:hover > .description {
    display: block;
}
.description:after {
    content: '';
    position: absolute;
    display: block;
    transform: translate(-50%,+50%) rotate(45deg);
    bottom: 1px;
    left: 50%;
    height: 10px;
    width: 10px;
    background-color: var(--co-primary-dark);
}
.card-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    display: none;
    transition: .2s;
    background: #0002;
}
.card-container.-visible {
    display: flex;
}
.card {
    background-color: var(--co-primary);
    min-height: 100px;
    min-width: 100px;
    box-shadow: 0 0 5px black;
    border-radius: 15px;
    padding: 1em;
    width: 80%;
    max-width: 500px;
}
.info {
    position: relative;
    padding: .5em;
    border-radius: 5px;
    border: 2px solid var(--co-primary-dark);
}
.card input {
    background: none;
    font: inherit;
    font-size: 1.3em;
    border: 3px solid var(--co-primary-dark);
    border-width: 0 0 3px 0;
    display: block;
    width: 100%;
    padding: 0;
}
.card input:focus-visible {
    outline: none;
    border: 3px solid var(--co-secondary);
    border-width: 0 0 3px 0;
}
.card h4 {
    opacity: .5;
    margin: .5em;
}