/* ------- Overlay for Datenschutzhinweis ---------------- */
/* xoverlay.css                                            */
/* Copyright (c) 2022 by Helmuth Hahn-Heinze               */
/* Concept from width: 3school .com;                       */
/* Refined by me.                                          */
/* ------------------------------------------------------- */
.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    overflow-y: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    font-family: "Montserrat", sans-serif;
}

.overlay-content h1,
h2,
h3,
h4,
p {
    color: gray;
}

.overlay-board {
    width: 600px;
    height: 340px;
    margin: 0 auto;
    border: 1px solid gray;
    padding: 20px;
}

.btns {
    float: left;
    width: 50%;  
    padding: 2px;
    margin-top: 10px;
    justify-content: space-between;   
}

/* Clearfix (clear floats) */
.btns::after {
    content: "";
    clear: both;
    display: table;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 10px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
    color: #a0a0a0;
    background-color: #2a2a2a;
}

.overlay .acceptbtn {
    font-size: 10px;
}

.overlay .cancelbtn {
    font-size: 10px;
}

/*
.overlay .acceptbtn {
    position: absolute;
    bottom: 20px;
    right: 45px;
    font-size: 15px;
}

.overlay .cancelbtn {
    position: absolute;
    bottom: 20px;
    right: 245px;
    font-size: 15px;
}
*/

.overlay .xovstyle {
    font-size: 15px;
    background-color: #404040;
    color: #b7b7b7;
    border-color: gray;
    border-width: 1px;
    border-style: solid;
}

@media screen and (max-height: 450px) {
    .overlay {
        overflow-y: auto;
    }

    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 20px;
        bottom: 15px;
        right: 35px;
    }
}
