* {
    padding: 0;
    margin: 0;
    
}

body {
    background-color: #f4f7f6;
}

h1 {
    padding-bottom: 1em;
    padding-top:1em;
}

h2{
    padding-bottom: 1em;
    padding-top:1em;
}

ul {
    padding-left: 20px;
}

header {
    
    background-color: #2c3e50; 
    color: white; 
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    
}

header .container {
    background-color: transparent;
}









.container {
    display: flex;

    margin-left: 15%;
    margin-right: 15%;

    padding-left: 5%;
    padding-right: 5%;
    padding-top: 10px;
    padding-bottom: 10px;

    background-color: #ffffff;
    flex-wrap: wrap;
    justify-content: space-evenly;

    gap: 20px;
    
    
    
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, 200px);

    flex-wrap: nowrap;

    padding-bottom: 80px;

}

.datenschutz-container {
    display: block;
}

.impressum-container {
    flex-direction: column;
}

.impressum-container .container {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
}

.item {
    width:100%;
    background-color: #e9ecef;
    padding:10px;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.square {
    height: 200px;
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;

    

}

.small {
    width: 200px;
    flex-grow: 1;
}

.large {
    width: 400px;
    flex-grow: 1;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;   
}

.square a {
    width: 100%;
    height: 100%;
    text-decoration: none;
    color:black;
    font-size: x-large;
    background-color: #8096D0;
    flex-grow: 1;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    border-radius: 5px;

}

.square a:hover {
    background-color: #6a89cc;

    transform: scale(1.05);

    box-shadow: 0 10px 20px rgba(0,0,0,0.2);

    border: 5px solid black;
}

.square a:active {
    transform: scale(0.95);

     box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}


footer {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
    width: 100%;
}




.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;  
    margin-bottom: 20px;
}


.footer-btn {
    text-decoration: none;
    color: #2c3e50;       
    background-color: #e9ecef;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.footer-btn:hover {
    background-color: #cfd8dc; 
    transform: translateY(-2px);
}


.copyright {
    text-align: center;     
    font-size: 0.9rem;      
    color: #7f8c8d;         
    line-height: 1.5;       
    max-width: 80%;        
}


.emailpng {
    height: 0.8em;
}



@media(max-width: 800px) {
    .container {
        margin-left: 0px;
        margin-right: 0px;
    }

    .square {
    height: 100px;
    width: 100px;
    

    }

    .grid-container {
        grid-template-columns: repeat(auto-fill, 100px);
    }
   

    

}
    
