*{
    /* outline: 1px solid red; */
}

body{
    margin: 0px;
    background-image: url('hintergrund.png');
    background-size: cover;
    background-position: center;
}

.hidden{
    display: none !important;
}

#all{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.panel{
    width: 400px;
    aspect-ratio: 16/9;
    border: black solid 1px;
    border-radius: 20px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
}

.desc{
    height: 250px;
    width: 400px;
    padding: 0px;
    margin: 10px 20px;
    text-align: center;
}

#bar{
    width: 100%;
    height: 30px;
    background-color: rgb(0, 129, 123);
    margin-bottom: 20px;
    font-size: large;
    display: flex;
    justify-content: right;
    align-items: center;
}

a img{
    width: 100%;
    height: 100%;
}

#plus{
    transform: scale(0.2);
    background-color: transparent;
}
#addtile:hover #plus{
    cursor: pointer;
    transform: scale(0.22);
}

#login, #logout{
    margin: 0 10px;
}
#login:hover, #logout:hover, #admin:hover{
    cursor: pointer;
    text-decoration: underline;
}
#welcome{
    position: absolute;
    left: 10px;
    font-weight: bold;
}
#admin{
    margin: 0 10px;
}

a{
    color: black;
    text-decoration: none;
}

#addpage{
    width: 80%;
    height: 80%;
    border: 1px solid black;
    border-radius: 20px;
    position: absolute;
    left: 10%;
    top: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(195, 219, 231);
}
#addpage input, #addpage select{
    width: 70%;
    height: 30px;
    font-size: large;
    text-align: center;
    margin-top: 20px;
    border-radius: 10px;
    border: 1px solid black;
}

#addsave
{
    margin-top: auto;
    margin-bottom: 10%;
    width: 80%;
    height: 10%;
    border: 1px solid black;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
#add{
    background-color: green;
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: large;
}
#cancel{
    background-color: red;
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: large;
}

#add:hover, #cancel:hover{
    cursor: pointer;
    transform: scale(1.5);
}


@media (max-width: 600px) {
    .panel{
        width: 90%;
        aspect-ratio: 16/9;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }
    .desc{
        height: 50%;
        width: 90%;
    }
    #bar{
        width: 100%;
    }
    img{
        width: 100%;
        height: 100%;
    }
}
