html{
    scroll-behavior: smooth;
}

.background{
    background: rgb(255, 2, 2);
    position: fixed;
    left: 0;
    bottom: 0;
    top: 0;
    right: 0;
    z-index:-1;
}

.balken1{
    background: rgb(109, 96, 96);
    left: 20vw;
    position: absolute;
    right: 20vw;
    height: 100%;
}

#panama{
    background: aqua;
}

summary{
    cursor: pointer;
    
}

#farben{
    display: block;
    margin-left: 2vw;
    backdrop-filter: contrast(100%);
}

#blau{
    display: block;
    background-color: rgb(73, 112, 241);
    border: black;
    border-width: 2px;
    border-style: solid;
    margin-right: none;
    margin-right: 5vw;
}

#grün{
    display: block;
    background-color: rgb(22, 202, 22);
    border: black;
    border-width: 2px;
    border-style: solid;
    margin-right: 5vw;
}

#rot{
    display: block;
    background-color: rgb(255, 17, 17);
    border: black;
    border-width: 2px;
    border-style: solid;
    margin-right: 5vw;
}

#schwarz{
    display: block;
    background-color: rgb(61, 61, 61);
    border: black;
    border-width: 2px;
    border-style: solid;
    margin-right: 5vw;
}

#weiss{
    color: black !important;
    display: block;
    background-color: rgb(247, 247, 195);
    border: black;
    border-width: 2px;
    border-style: solid;
    margin-right: 5vw;
}

#zu{
    color: white;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: xx-large;
    padding-left: 0;
    padding-bottom: 1vh;
    padding-top: 0;
}

home{
    padding-left: 1vw;
    position: fixed;
    font-size: xx-large;
    text-decoration: none;
    backdrop-filter: none;
}

#mySide{
    color: white;
    margin-top: 2vh;
    margin-left: 1vw;
    background-image: url(bilder/Nissa.png);
    background-position: center 0vh;
    background-color: rgb(5, 165, 5);
    height: 92vh;
    display: block;
    padding-left: 1vw;
    width: 15vw; 
    min-width: 100px;
    position: fixed;
    border-radius: 10px;
    z-index: 999;
}

@media screen and (max-width:1080px){
    #mySide{
        width: 100%;
        left: 0;
        margin-left: 0;
        text-align: center;
        background-image: none;
        height: 110vh;
        top: 0;
        margin-top: 0;
        border-radius: 0;
        display: none;
        font-size: 4vh;
        position: fixed;
        }
    .balken1{
        left: 0;
        right: 0;
    }
    #leben{
        font-size: 2vh;
        right: 0;
    }
    h2{
        font-size: 3vh;
    }
    p{
        padding-left: 5vw;
        padding-right: 5vw;
        font-size: 2vh;
    }
    #Open{  
        display: block !important;
        font-size: 4vh !important;
        left: 0 !important;
    }
    #zu{    
        left: 3vw;
        top: 2vh;
        position: fixed;
        font-size: 4vh !important;
    }
    home{
        right: 3vw;
        top: 2vh;
        font-size: 200%;
    }
    #pip{
        width: 100%;
    }
    #pip iframe{
        width: 100%;
    }
    #dice{
        width: 70%;
        transform: scale(1.5);
    }
    #Waschen input{
        width: 70vw !important;
        height: 3vh;
        font-size: 1.5vh;
    }
    textarea{
        width: 70vw !important;
        height: 3vh;
        font-size: 1.5vh;
    }
    #chnopf input{
        width: 35vw !important;
        font-size: 1.5vh;
    }
    #partner img{
        width: 16vw !important;
        height: 16vw !important;
    }
}

@media screen and (min-width:1081px) {
    #mySide a:hover{
        backdrop-filter: contrast(50%);
        color: rgb(2, 2, 2);
        margin-right: 5vw;
    }
    summary:hover{
        backdrop-filter: contrast(50%);
        margin-right: 5vw;
    }
    p{
        padding-left: 20vw;
        padding-right: 20vw;
    }
    #dice{
        width: 30vw;
    }
    #Waschen input{
        width: 16vw;
    }
}

p{
    display: block;
    text-align: justify;
}



#mySide a{
    display: block;
    color: white;
    text-decoration: none;
}

#mySide li{
    list-style: none;
}

#mySide li ul.dropdown{
    display: inline-block;
    display: none;
}

#Open{
    color: darkgreen;
    position: fixed;
    padding-top: 2vh;
    background: none;
    display: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: xx-large;
    padding-left: 1vw;
}

#Top img{
    text-align: center;
    padding-left: 20%;
    padding-right: 20%;
    width: 60%;
}

main p img{
    float: right;
    margin-left: 2vw;
    border-radius: 10px;
}

p img{
    max-width: 250px;
    width: 20vw;
}

main{
    text-align: center;
}

#vid1 p{
    text-align: center;
}

#vid1 video{
    border-radius: 10px;
}

#vid1 img{
    border-radius: 10px;
}

#vid1 iframe{
    border-radius: 10px;
}

/* @media screen and (max-width: 596px){
    #vid1 video{
        max-width: 280px;
    }
    #vid1 img{
        max-width: 280px;
    }
    #vid1 iframe{
        max-width: 280px;
        max-height: 157.5px;
    }
} */

#Waschen input{
    text-align: justify;
    min-width: 200px;
    /* width: 16vw; */
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

#chnopf input{
    min-width: 100px;
    width: 8vw;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

textarea{
    text-align: justify;
    min-width: 200px;
    width: 16vw;
    border-radius: 10px;
    border: none;
    margin-top: 1px;
    cursor: pointer;
}

#partner img{
    width: 4vw;
    height: 4vw;
    margin-inline: 20px;
    min-width: 40px;
    min-height: 40px;
}

#leben{
    position: absolute;
    margin-left: 93vw;
    text-decoration: none;
    color: darkred;
}

#leben a{
    text-decoration: none;
    color: darkred;
}

#dice{
    background-image:url(bilder/bg.png);
    /* width: 30vw; */
    color: beige;
    display: inline-block;
    text-align: center;
    list-style: none;
    text-decoration: none;
    min-width:max-content;
    border-radius: 10px;
    background-position: center;
    justify-content: center;
    position:relative;
}

#dice ul {
    list-style: none;
    padding:0;
}
#dice ul li {
    display: inline-block;
   
    padding-left: 0;
}
#dice img{
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
}

#dice r{
    padding: 20px 20px 20px 20px;
    color: aqua;
    height: 40px;
    width: 30px;
    background-image:url(bilder/d20gut.png);
    background-position: center;
    background-repeat: no-repeat;
}

#dice button{
    margin-left: 10px;
    margin-right: 10px;
    cursor: pointer;
}

#dice li{
    vertical-align: middle;
}

#D1{
    left: 3px;
    position:relative;
}

#D4{
    height: 40px;
    width: 30px;
    background-color: blue;
    border: none;
    font-size: x-large;
    color: white;
    border-radius: 10px;
}

#Leben1{
    background-image:url(bilder/d20gut.png);
    background: transparent;
    z-index: 999;;
}

.lebensanzeige{
    display: flex;
    justify-content: center;
    align-items: center;
}

#full{
    background:none;
    border: transparent;
    font-size: xx-large;
    color: rgb(255, 255, 255);
    position: absolute;
    top: 10px;
    right:10px;

}

#close{
    background:none;
    border: transparent;
    font-size: xx-large;
    color: rgb(255, 255, 255);
    position: absolute;
    top: 10px;
    right:10px;
    display: none;

}

#werbung a img{
    position: absolute;
    width: 96vw;
    z-index: 990;
    height: 90vh;
    left: 2vw;
    right: 2vw;
    top: 5vh;
    bottom: 5vh;
    border-radius: 10px;
}

#werbung button{
    position: absolute;
    top: 7vh;
    right: 3vw;
    z-index: 991;
    background: transparent;
    border-color: rgb(190, 0, 0);
    cursor: url(bilder/cursor.png), auto;
}

#laundry a img{
    position: absolute;
    border-radius: 10px;
    top: 50px;
    left: 40px;
}

#mine{
    display: none;
}

#minemine{
    cursor: pointer;
}



.drei {
    position: relative;
    display:inline-block;
    cursor: pointer;
}

.drei .hide{
    visibility: hidden;
    padding-left: 0;
    position: fixed;
    z-index: 1;
}

.drei:hover .hide{
    visibility: visible;
}

#playpause{
    position: relative;
    top: 50%;
    left: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    transform: translate(-50%, -680%);
    z-index: 2147483648;
    align-items: center;
    display: none;
    backdrop-filter: contrast(50%);
    border-radius: 30px;
    
}

#video{
    z-index: -1;
}

.player{
    width:560px;
    margin: 0 auto;
    position: relative;
}

video::-webkit-media-controls{
    display: none !important;
}

#videopause {
    position: relative;
    height: 0px;
}

#pip p{
    text-align: center;
}

#pip p a{
    color: black;
    font-size: larger;

}

.mute{
    position: absolute;
    left: 20px;
    background: none;
    border: none;
}

.volume{
    display: none;
    position: absolute;
    left: 40px;
}

.zeit{
    color: white;
    position: absolute;
    right: 20px;
}

.controls{
    display: none;
    position: absolute;
    height: 20px;
    bottom: 4px;
    width: 100%;
    transition: .3s;
    flex-wrap: wrap;
    background: black;
    z-index: 2147483648;
    opacity: 50%;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.balken{
    display: none;
    position: absolute;
    height: 10px;
    bottom: 24px;
    width: 100%;
    background: black;
    z-index: 2147483648;
    opacity: 70%;
    cursor: pointer;
}

.balken-voll{
    width: 0%;
    background: blue;
}