:root {
    --itemW: 1px;
    --itemH: 1px;
}

h1 {
    margin: 0;
}

body {
    margin: 0;
    padding: 0;
    background-color: rgb(183, 206, 216);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}
.header {
    margin: 10px;
    font-size: xx-large;
    width: 100vw;
    color: rgb(0, 58, 126);
    height: max-content;
}
.logo {
    align-self: center;
}

.logo_text {
    display: inline-flex;
    /* align-self: center; */
    vertical-align: middle;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: red;
    color: white;
    text-align: center;
}

.grid-container {
    min-height: 500px;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, calc((100% / 6) - 20px));
    grid-template-rows: repeat(4, calc((100% / 4) - 20px));

    row-gap: 20px;
    column-gap: 20px;
}

.grid-item {
    background-color: lightcoral;
    border: 3px solid rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    margin: 0;
    padding: 0;

    font-size: 30px;
    height: 100%;
    width: 100%;

    position: relative;
}

.grid-item:hover:not(.grid-item[disabled]) {
    /* background-color: red !important; */
    box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.grid-item:disabled,
.grid-item[disabled] > p {
    cursor: not-allowed;
    font-weight: lighter;
    color: rgb(24, 10, 54);
}

.doorLink {
    margin: 0;
    text-decoration: none;
    color: black;
    font-weight: bold;
    vertical-align: middle;
    align-self: center;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lichterkette {
    /* display: block; */
    /* width: 100%;
    height: 100%; */
    background-image: url('../images/lichterkettte\ gelb.png');
    background-repeat: no-repeat;
    background-size: 100%;
}

.adventskranz::before {
    content: '';
    position: absolute;
    display: block;
    margin-top: 8.5%;
    margin-left: 50%;
    width: 50%;
    height: 50%;
    background-repeat: no-repeat;
    background-size: 100%;
}

.kranz2::before {
    background-image: url('../images/adventskranz2.png');
}

.kranz3::before {
    background-image: url('../images/adventskranz3.png');
}

.kranz4::before {
    background-image: url('../images/adventskranz4.png');
}

.weihnachten::before {
    content: '';
    position: absolute;
    display: block;
    margin-top: -3%;
    margin-left: 60%;
    width: 100%;
    height: 100%;
    background-image: url('../images/Tannenbaum.png');
    background-repeat: no-repeat;
    background-size: 40%;
}

.grid-item:disabled::after,
.grid-item[disabled]::after {
    position: absolute;
    display: block;
    margin-top: -20%;
    margin-left: 69%;
    font-size: medium;
    font-weight: bold;
    rotate: -38deg;

    content: '';
    position: absolute;
    display: block;
    /* margin-top: -4%; */
    margin-top: -28%;
    /* margin-left: 44%; */
    margin-left: -2%;
    width: 50%;
    height: 50%;
    background-image: url('../images/Kette.png');
    background-repeat: no-repeat;
    background-size: 100%;
}

main {
    display: flex;
}
