﻿
* {
    box-sizing: border-box !important;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    width: 100vw;
    margin: 0;
}

header {
    display: flex;
    background-color: black;
    flex-basis: 200px;   /*vorher min-width: 200px, Standart ist flex-basis: auto */
    width: 100vw;
    position: relative;
}
#button1 {
    display: flex;
    align-items: center;
    justify-content: center;
    
}

#menuView1 {
    display: flex;
    justify-content: end;
    align-items: center;
    width: 100vw;
    gap: 10px;
    padding-right: 10px;
    /*border: 2px solid red;*/
    padding-inline-start: 10px;
}

.normal {
    display: flex;
    justify-content: center;
    /*border: 1px solid grey;*/
    border-radius: 1em;
    min-width: 80px;
    max-width: 80px;
}
.normal2 {
    display: flex;
    justify-content: center;
    /*border: 1px solid grey;*/
    border-radius: 1em;
    min-width: 80px;
    max-width: 80px;
}

.colorLink:hover {
    color: red;
}

.colorLink {
    color: grey;
    text-decoration: none;
}

#sect1 {
    display: flex;
    flex-wrap: wrap;
    min-width: 430px;
    max-width: 430px;
    gap: 5px;
    overflow-y: scroll;
    background-color: #79756e;
    border: 4px solid green;
}


footer {
    height: 30px;
    min-height: 30px;
    background-color: #e9edc9;
    /*border: 2px solid blue;*/
    margin-top: auto;
}

.box1 {
    border: 4px solid white;
    height: 50px;
    width: 200px;
    flex-shrink: 0;
}

@media (min-width: 281px){
    button {
        display: none;
    }
}

@media (max-width: 450px) {
    #sect1 {
        background-color: #79756e;
    }
    #menuView1 {
        flex-wrap: wrap;
    }
    
}
@media (max-width: 420px) {
    #sect1 {
        display:flex;
        flex-wrap: wrap;
        min-width: 230px;
        max-width: 230px;
    }
    
}

@media (max-width: 314px) {
    #sect1 {
        background-color: #ccd5ae;
        
    }
    .normal {
        min-width: unset;
        max-width: unset;
    }
}
@media (max-width: 280px) {
    #sect1 {
        background-color: #d4a373;
    }
    .normal {
        /*min-width: unset;*/
        /*max-width: unset;*/
    }
    header {
        min-width: 280px;
        max-width: 280px;
    }
    
    #menuView1 {
        width: auto;
        display: none;
    }
}
#meinFenster {
    position: absolute;
    top: 100%;
    left: 0;
    display:flex;
    flex-direction: column;
    background-color: #fff;
    border: 2px solid #5862a2;
    padding: 10px;
    width: 130px;
    margin: 0;
    
}
#Fenster {
    display: flex;
    flex-direction: column;
    align-items: start;
    z-index: 1;
    background-color: white;
    margin:0;
}

#meinFenster #Fenster {
    list-style-type: none;
    padding: 0;
}

#meinFenster li {
    margin-bottom: 5px;
}

#meinFenster a {
    text-decoration: none;
}