html, body {
    height: 100%;
    margin: 0;
}

header {
    display: flex;
    justify-content: center;
    flex-direction: row;

    padding: 10px 20px;
    background-color: #1f1f1f;
    color: white;

    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box; 
    overflow: hidden;
}

body {
    background-color: #212121;
    font-family: Merriweather;
    display: flex;
    flex-direction: column;
}

article {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center ;
    width: 800px;
}

article *{
    color: rgb(196, 166, 0);
    text-align: center;
}


article img{
    height: 300px;
    margin-bottom: 30px;
}

article h1{
    font-size: 70px;
    margin: 0;
    margin-bottom: 20px;
}

.logo {
    height: 250px;
}

.logo:hover {
    cursor: pointer;
}

.logo-container h4 {
    text-align: center;
    margin: 0;
    color: rgb(207, 207, 207);
}

main{
    margin: 50px;
    margin-top: 300px;
    flex-grow: 1; 
}

/* News Cards */
.home-news-container * {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}
.home-news-container ul {
    padding-inline-start: 0;
}
.home-news-card {
    display: flex;
    margin: 10px;
    flex-direction: column;
    transition: background-color 0.5s ease, color 0.5s ease;
    background-color: #1f1f1f;
    border: gold solid;
    border-radius: 10px;
    
}

.home-news-card:hover{
    background-color: rgb(97, 82, 0);   
    cursor: pointer; 
}

.home-news-card:hover * {
    color: rgb(196, 166, 0); 
}
.home-news-card *{
    text-align: center;
    margin: 0;
    color: gold;
}

.home-news-card-title {
    margin-bottom: 10px;
    font-size: 25px;
}

.home-news-card-image {
    height: 200px;
    padding: 10px;
    padding-bottom: 0px;
}
/* News Cards\ */

.owner {
    justify-content: center;
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    margin-top: 50px;
}

.owner h1 {
    color: rgb(234, 236, 98);
}

.owner a {
    color: rgb(94, 103, 236);
}

.owner img {
    height: 250px;
    margin-right: 5%;
}

.contact-button {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}
.contact-button h2 {
    padding: 20px 50px;
    transition: background-color 0.5s ease, color 0.5s ease;
    background-color: #1f1f1f;
    border: gold solid;
    border-radius: 10px;
    color: rgb(234, 236, 98);
}

.contact-button:hover *{
    background-color: rgb(97, 82, 0);   
    cursor: pointer; 
}

footer {
    background-color: #1f1f1f;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.footer-container {
    margin: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center; 
}

.footer-links {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-inline-start: 0px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #c92112; 
}

.impressum {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.impressum * {
    color: rgb(196, 166, 0);
}
.impressum a {
    color: rgb(94, 103, 236);
}

.contact-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px;
    height: 50vh;
}
.contact-container * {
    color: rgb(196, 166, 0);
}
.contact-container a {
    color: rgb(94, 103, 236);
}

.contact-info {
    width: 40%;
    
}
.qr-code {
    width: 40%;
    text-align: center;
}
.qr-code img {
    width: 400px;
    height: 400px;
}
.separator {
    border-left: 2px solid gold;
    height: 90%;
}

.home-title {
    display: flex;
    justify-content: center;
}

.home-title * {
    color: rgb(196, 166, 0);
    font-size: 40px;
    text-align: center;
}

.home-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-text * {
    color: rgb(196, 166, 0);
    text-align: center;
}

/*Tablets*/
@media (min-width: 601px) and (max-width: 1024px) {
    main{
        margin: 50px;
        margin-top: 300px;
    }

    .qr-code {
        display: none;
    }
    .separator {
        display: none;
    }
    article {
        width: 500px;
    }
    .contact-info * {
        text-align: center;  
    }
}

/*Phones*/
@media (max-width: 600px) { 
    .logo {
        height: 170px;
    }
    main{
        margin: 50px;
        margin-top: 200px;
    }

    .owner {
        flex-direction: column;
        align-items: center;
    }
    .owner *{
        text-align: center;
    }
    .qr-code {
        display: none;
    }
    .separator {
        display: none;
    }

    .contact-info {
        width: 100%;   
    }
    .contact-info * {
        text-align: center;  
    }
    article {
        width: 300px;
        margin: 0;
        margin-left: auto;
        margin-right: auto;
    }
    article img{
        height: 200px;
        margin-bottom: 30px;
    }
    
    article h1{
        font-size: 40px;
        margin: 0;
        margin-bottom: 20px;
    }
}