/*center body elements*/
html {
    hyphens: auto;
    font-family: "Comic Sans MS", "Comic Sans",'Chalkboard SE', 'Comic Neue', monospace;
    color: #ff7881;
    background-color: rgb(255, 255, 255);
}

body {
    height: 95vh;
    text-align: center;
}

h1 {
    font-size: x-large;
    text-align: left;
    /* font-family: 'Futura', sans-serif; */
}

h2 {
    font-size:large;
    text-align: left;
    /* font-family: 'Futura', sans-serif; */
}

.loesung-container {
    background-image: url(./bilder/snowflakes.gif);
    background-size: cover;
    height: 100vh;
    padding:0;
    margin:0;
}

.loesung-container img{
    height: 94vh;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
}

.img-container {
    width: min(65vh,75vw); 
    margin-left: auto;
    margin-right: auto;
    margin-top: 2vh;
    margin-bottom: 2vh;
}

.img-container img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.input-container {
    display: flex;
    flex-wrap: nowrap; /* Prevent line breaks */
    /* gap: auto; */
    width: min(55vh, 97vw);
    margin-left: auto;
    margin-right: auto; 
    margin-bottom: 1.5em;
}

input {
    background-color: rgb(255, 255, 255);
    color: #FF7878;
    padding: 0.5em; 
    cursor: pointer;
    font-family: "Comic Sans MS", "Comic Sans",'Chalkboard SE', 'Comic Neue', monospace;
    /* font-family: "Futura", sans-serif; */
    font-size: medium;
    border: 2px solid;
    border-radius: 0em;
}

input.boxes {
    /* position: absolute;  */
    background-color: rgb(255, 255, 255);
    border: none; 
    outline: none;
    border-bottom: 2px solid #FF7878;
    font-family: "Comic Sans MS", "Comic Sans",'Chalkboard SE', 'Comic Neue', monospace;
    /* font-family: 'Georgia', serif; */
    font-size: min(2em, 6.5vw);
    padding: 0.1em; 
    text-align: center;
    font-weight: 300;
    text-transform: uppercase;
    /* for six boxes, set size so there is no line break */
    width: min(1.5em,9vw);
    height: min(1.5em,9vw);
    border-radius: 0px;
    margin-right: auto; 
}

input.boxes:focus {
    outline: none;
    border-color: rgb(149, 0, 255);
}

/* hover effect on submit button only on desktop devices */
@media (hover: hover) {
    input:hover {
        color: rgb(149, 0, 255);
    }
}

.howto {
    text-align: left;
    width: min(80vh, 90vw);
    margin: 0 auto;
}

a:link {
    color:#FF7878;
}

a:visited{
    color: #FF7878;
}

a:hover{
    color: rgb(149, 0, 255);
}

footer {
    text-align: center;
    /* font-family: "Futura", sans-serif; */
}
