html, body{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    display: block;
}

.background{
    background: rgb(0, 104, 189);
    background-image: linear-gradient(to top, rgb(0, 104, 189), rgb(187, 157, 255));
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    background-size: cover;
    background-position: center;
    z-index: -1000;
}

img{
    display: block;
}

a{
    text-decoration: none;
    color:black;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
}

.site{
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

.header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.header span{
    align-content: center;
    display:block;
}

.header b{
    font-size: 1.5em;
}

.header a{
    display: flex;
    flex-direction: row;
}

.site_title{
    font-size: 2.2em;
    height: 2.2em;
}

.cal{
    display:grid;
    gap: 1.5em;
}
.cal, .task{
    background-color: rgba(255, 255, 255, 0.123);
    border-radius: 0.8em;
}

.cal a{
    color: black;
    text-decoration: none;
}

.cal .task_element{
    border-radius: 0.3em;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Courier New', Courier, monospace;
    flex-direction: column;
    font-size: 4em;
    font-weight: bold;
}

.cal .element_close{
    background-color: rgba(228, 228, 228, 0.089);
    color: rgba(136, 109, 109, 0.815);
    cursor: not-allowed;
}

.cal .element_open{
    background-color: rgba(177, 177, 177, 0.575);
    color: rgb(189, 22, 22);
}

.cal .element_finish{
    background-color: rgba(177, 177, 177, 0.575);
    color: rgb(13, 112, 0);
}

.cal .element_progress{
    background-color: rgba(177, 177, 177, 0.575);
    color: rgb(206, 76, 0);
}

.headline{
    display: flex;
    justify-content: space-between;
}

hr{
    border:0;
    border-bottom: 2px solid rgb(41, 41, 41);
}

.img{
    display: flex;
    justify-content: center;
    max-height: 80vh;
}
.img img{
    object-fit: contain;
    max-width: 75vw;
}

#answer{
    display: flex;
    flex-direction: row;
    gap:1.5em;
    margin:1.5em;
    justify-content: center;
    flex-wrap: wrap;
}
#answer .answer{
    background-color: rgba(199, 199, 199, 0.774);
    font-size: 1.5em;
    padding:0.5em;
    border:1px solid grey;
    border-radius: 0.5em;
    transition: 0.2s;
    cursor: pointer;
}
#answer .answer:hover{
    background-color: rgb(199, 199, 199);
}

.hochkant{
    display: flex;
    flex-direction: column;
}


input[type=submit]{
    background-color: green;
    margin-top: 1em;
    font-size: 1em;
    border:1px solid rgb(11, 90, 0);
    border-radius: 0.5em;
    padding:0.5em;
    font-weight: bold;
    cursor: pointer;
}

.menu{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap:1em;
}


.ergebnis{
    background-color: rgba(240, 240, 240, 0.575);
    max-width: fit-content;
    margin: auto;
    padding: 2em;
    border-radius: 1em;
}

.btn{
    display: flex;
    flex-direction: column;
    gap:0.5em;
}
.btn button{
    width: 100%;
    cursor: pointer;
    padding:0.5em;
    font-size: 1.2em;
}

.answer{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
}


.description li{
    font-size: 1.2em;
}

/*  MEDIA  */
@media (min-width: 1250px) { /*  DESKTOP  */

    .phone{
        display: none;
    }
    .site {
        margin-left:15vw;
        margin-right:15vw;
    }
    .header{
        margin-top: 1em;
        margin-bottom: 1em;
    }
    .cal{
        margin-bottom: 4em;
        padding:4em;
        grid-template-columns: repeat(auto-fill, minmax(9.7em, 1fr));
    }
    .task{
        margin-bottom: 4em;
        padding:1em;
    }
    .quest{
        padding:1em;
    }
}
@media (max-width: 1250px) { /*  PHONE  */

    .desktop{
        display: none;
    }
    .site{
        margin-left: 1em;
        margin-right: 1em;
    }
    .header{
        margin-top: 1em;
        margin-bottom: 1em;
    }
    .cal{
        margin-bottom: 1em;
        padding:1em;
        grid-template-columns: repeat(auto-fill, minmax(5.7em, 1fr));
    }
    .task{
        margin-bottom: 1em;
        padding:0.5em;
    }
    .quest{
        padding:0.5em;
    }

}