/* CSS Document grünmer HG - grosse schrift */
/* @import url("make_html.css"); */

* {
    box-sizing: border-box;
}


body {
    /* font-size: 32px; */
    font-family: Arial, Helvetica, sans-serif;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;

    margin: 1.5% 5%;

    background-color: #fff;
    background-color: #333;
    color: white;

    background-image: url("../images/tafel_hg.jpg");
    /* background-repeat: no-repeat; */
    background-size: 100%;
    background-position: center top;
    background-repeat: repeat-y;

    font-size: 1.2vw;

}

h1,
h2,
h3,
h4,
h5,
h6 {
    /* margin:0; */
    margin: 0.3em;
    text-align: center;
}

a {
    color: blue;
    text-decoration: none;
    display: block;
}



img {
    border-radius: 8px
}


#container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
    user-select: none;
    color: black;
}




.card {
    /* flex: 0 0 20%; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 15%;

    border: 2px solid #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.5);

    /* padding: 1% 0.5% 1.5% 0.5%; */
    padding: 1.2%;
    margin: 0.75%;
    margin-bottom: 1%;

    text-align: center;
    background-color: #ccc;
    /* aspect-ratio: 0.5; */

}

/* .card>div {
  border: 1px dotted #666;
} */



.card:hover {
    /* border: 4px solid blue */
    box-shadow: 0px 0px 16px yellow;
}

.card_header {
    /* background-color: #cecece; */
    color: #111;
    font-weight: bold;
    padding: 4px;

}



.foto_cont {
    width: fit-content;
    flex: 1 1 100%;
}

.foto_cont>img {
    width: 100%;

}

.card_descr {
    font-size: small;
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0
}

.card_descr a {
    background-color: #aaa;

}

.butt_cont {
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.butt_cont>button {
    font-size: smaller;
    color: red;

}

a.kurzinfo,
a.open,
a.video {
    /* color: blue; */
    text-decoration: none;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 0px 6px;
    background-color: #bbb;
    cursor: pointer;
    font-size: small;
    padding: 4px 4px;
    flex: 1 1 100%;
    color: black;
    /* padding-bottom:4px; */
}

a.zusatzlink {
    color: blue;
    text-decoration: none;
    margin: 2px;
    /* border: #333 2px solid; */
    border-radius: 4px;
    padding: 2px 3px;
    background-color: #bbb;
    cursor: pointer;
    display: block;
    font-size: smaller;
}



#ifr {
    display: none;
    position: fixed;
    width: 80%;
    top: 80px;
    left: 10%;
    right: 10%;
    border: 6px solid orangered;
    border-radius: 8px;
    box-shadow: 0px 0px 25px 25px rgba(0, 0, 0, 0.8);
    aspect-ratio: 1.6;
}


#close_button {
    position: fixed;
    top: 0;
    right: 0;

    top: 80px;
    right: 10%;


    background-color: orangered;
    color: white;
    border-radius: 8px;
    padding: 4px;
    cursor: pointer;
    display: none;
    user-select: none;
}

#ifr_kliste {
    width: calc(100% - 20px);
    height: auto;
    height: 100px;
    border: #bbb 1px dotted;
    border: none;
    margin: 0.75%;
    border-radius: 8px;

}

#aufgabe_des_tages {
    position: absolute;
    right: 0px;
    top: 1%;
    border: #bbb 2px dotted;
    margin: 8px;
    border-radius: 8px;
    padding: 9px 8px;
    background-color: orange;
    color: black;
    font-size: larger;
    opacity: 0.9;
}

#unterstreichung {
    margin: 6px 4px 0px;
    background-color: #ccc;
    color: black;
    padding: 4px;
    border-radius: 4px;
    margin: 0.75%;
    opacity: 0.7;
}



#hinweise {
    background-color: #ccc;
    color: black;
    padding: 24px;
    font-size: larger;
    border-radius: 4px;

}


[data-title] {
    position: relative;
}

[data-title]:hover::after {
    content: attr(data-title);
    position: absolute;
    bottom: 95%;
    left: 45px;
    background-color: #333;
    background-color: yellow;
    color: #000;
    padding: 7px;
    border-radius: 3px;
    font-size: 14px;
    border: 1px solid #333;
}


[data-title="Kurzinformation"]:hover::after {
    left: -20px;

}

#top_notice {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    display: none;
    background: #f5c125;
    /* background: linear-gradient(90deg, #ffac7c 0%,#f2ff00 100% ); */

    /* background: linear-gradient(90deg, #b78d4a 0%, #d9c7a0 100%); */
    /* background: linear-gradient(90deg, #c97652 0%, #e6b49d 100%); */

    color: #fff;
    padding: 20px 16px 20px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    font-size: 1em;
    line-height: 1.35;
    text-align: center;
    opacity: 1;
    transition: opacity 0.6s ease;
    color: #333;

}

#top_notice.notice_hidden {
    opacity: 0;
    pointer-events: none;
}

#top_notice a {
    color: blue;
    text-decoration: underline;
}

#top_notice_close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.1em;
    line-height: 1;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
}
#top_notice span {
    font-weight: bold;
}

@media (max-width: 900px) {
    .card {
        width: calc(33.333% - 1.5%);
    }
}
