:root{
    --bckgradient: linear-gradient(135deg, lightblue 0%, gold 100%);
    --bckgradienthover: linear-gradient(135deg, gold 0%, lightblue 100%);
    --inputbckgrd:light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4));
    --bxshadow: 0px 0px 5px rgba(0, 0, 139, 0.4);
}

@font-face {
    font-family: 'parkinsans';
    src: url(parkinsans.ttf);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:"Parkinsans", sans-serif;
}

body{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

header{
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    box-shadow: var(--bxshadow);
    background: whitesmoke;
}


.cursorPoint{
    cursor: pointer;
}

.popup {
    position: fixed;
    left: 0;
    bottom:0;
    height: 40px;
    width: 100%;
    box-shadow: var(--bxshadow);
    background: rgba(255, 255, 255, 0.8);
    padding-left:10px;
    display: flex;
    align-items: center;
    user-select: none;
    opacity: 1; /* Sichtbar */
    transition: opacity 1s ease; /* Sanftes Ausblenden */
}

.popup.hidden {
    opacity: 0; /* Unsichtbar */
    pointer-events: none; /* Klicks blockieren */
}

.icondiv{
    height: 40px;
    width: 100px;
    background: url('../images/logo.png') no-repeat;
    background-size:contain;
    background-position: center;
    margin: 10px;
    position: relative;
    transition: 0.5s;
}



#menülist{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap:10px;
    margin: 0 10px;
}

#menülist .btn, .logoutbtn, #install-button{
    width: 100px;
    height: 40px;
    color: black;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: var(--bxshadow);
    border: 1px solid dimgray;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 500;
    transition: 0.5s;
    user-select: none; /* Verhindert Textauswahl */
}

.logoutbtn{
    display: none;
}

#install-button{
    background: coral;
    animation: moveCircle 4s infinite ease-in-out;
}
#install-button:hover {
    box-shadow: var(--bxshadow);
    color:White;
    animation:none;
    scale:1.1;
}

#menülist .btn:hover , .logoutbtn:hover  {
    box-shadow: 0 2px 10px rgb(17, 17, 231);
    color: #162938;
    scale:1.1;
}


.mainelement{
    display: flex;
    width: 100%;
    height: calc(100vh - 60px);
    border-radius: 8px;
    box-shadow: var(--bxshadow);
    overflow-y: auto;
    min-height: 300px;
    background: url('../images/background1.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    animation: move_image 40s infinite ease-in-out;
    transition: 0.5s;
}


.page, #loginsuccess_page{
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
    position: relative;
    overflow-y: auto;
    margin:auto;
    box-shadow: var(--bxshadow);
    background: rgba(255, 255, 255, 0.8);
}

.smpg{
    justify-content: center;
    align-content: flex-start;
    height:auto;
    width: 240px;
}

.lmpg{
    justify-content: flex-start;
    align-content: flex-start;
    height:100%;
    width: 100%;
}

.lmpg h2{
    padding:10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3em;
}

.page h2{
    padding:10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3em;
    color:gray;
}

.page a ,label{
    text-decoration: none;
    padding: 10px;
    width: 180px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    color:#162938;
    font-size: 0.8em;
}

.page a::after{
    content: '';
    position: absolute;
    left:40px;
    width: calc(100% - 80px);
    height: 2px;
    background: dimgray;
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.5s;
}

.page a:hover::after{
    transform-origin: left;
    transform: scaleX(1);
}

.pgform{
    display: flex;
    flex-direction: column;
}

.pgform input, label{
    padding:10px;
    border-radius: 8px;
    outline: none;
    border: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 200px;
}

#remember_me{
    width: 30px;
}

.pgform input[type=submit]{
    cursor: pointer;
    background: lightgreen;
    color: #162938;
    border: 1px solid whitesmoke;
    box-shadow: var(--bxshadow);
    margin:20px 0 20px 0;
    padding:10px;
    font-size: 1.2em;
}

.pgform input[type=submit]:hover {
    background: darkgreen;
    color: white;
}

@media (max-width: 1200px){

    #menülist .btn, .logoutbtn, #install-button{
        width: 40px;
        font-size: 0.6em;
        border: 1px solid gainsboro;
        border-radius: 50%;
    }

    #menülist .btn:nth-child(1){
        background: url('../images/register.png') no-repeat;
        background-size: contain;
        background-position: center;
        color: transparent;
    }

    #menülist .btn:nth-child(2){
        background: url('../images/login.png') no-repeat;
        background-size: contain;
        background-position: center;
        color: transparent;
    }

    #menülist .logoutbtn{
        background: url('../images/logout.png') no-repeat;
        background-size: contain;
        background-position: center;
        color: transparent;
    }
    

}

@media (max-width: 200px){

    body{
        background-color: whitesmoke;
    }

    body::before{
        content: 'Breite wird nicht unterstützt';
        padding: 10px;
        color:black;
    }

    header, .mainelement{
        display: none;
    }


}

@keyframes moveCircle {
    0% {
        background: white;
        color: coral;
        scale: 1.1;
    }
    50% {
        background: coral;
        color:white;
        scale: 1;
    }
    100% {
        background: white;
        color: coral;
        scale: 1.1;
    }
  }

  @keyframes move_image {
    0% {
        background: url('../images/background1.jpg') no-repeat;
        background-size: cover;
        background-position: center;
    }
    15% {
        background: url('../images/background2.png') no-repeat;
        background-size: cover;
        background-position: center;
    }
    30% {
        background: url('../images/background3.png') no-repeat;
        background-size: cover;
        background-position: center;
    }
    45% {
        background: url('../images/background4.png') no-repeat;
        background-size: cover;
        background-position: center;
    }
    60% {
        background: url('../images/background5.png') no-repeat;
        background-size: cover;
        background-position: center;
    }
    70% {
        background: url('../images/background6.png') no-repeat;
        background-size: cover;
        background-position: center;
    }
    80% {
        background: url('../images/background7.png') no-repeat;
        background-size: cover;
        background-position: center;
    }
    90% {
        background: url('../images/background8.png') no-repeat;
        background-size: cover;
        background-position: center;
    }
    100% {
        background: url('../images/background1.jpg') no-repeat;
        background-size: cover;
        background-position: center;
    }
  }

/*

.navigation .btn::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(1);
    transition: transform 0.5s;
}

.navigation .btn:hover::after{
    transform-origin: left;
    transform: scaleX(1);
}

*/