@import url('https://fonts.googleapis.com/css2?family=Gentium+Plus:ital@1&display=swap');


html {
    background-image: url("assets/graeserbgbg.png");
    background-size: cover;
    background-color: #f2efeb;
    color: #001047;
    overflow-x: hidden;
}

body {
    margin: 0px;
}

.homebtn {
    display: none;
}


.nav {
    text-align: right;
    height: 100px;
    margin-bottom: 10px;
    padding: 25px 35px; /* Reduced top padding from 35px to 25px */
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 85px; /* Increased from 70px to 85px */
    margin-right: auto;
    margin-top: -5px; /* Added negative top margin to move it up slightly */
}

.logo-link {
    margin-right: auto;
}

#navbtn {
    padding: 5px 10px;
    font-family: "Questrial", serif;
    font-size: 40px;
    text-decoration: none;
    color: #786748;
    margin-left: 50px;
}
/* Drop Down Menu */
#dropbtn {
    padding: 5px 10px;
    font-family: "Questrial", serif;
    font-size: 40px;
    text-decoration: none;
    color: #786748;
    margin-left: 50px;
    border: none;
    background-color: transparent; /* Changed from #f2efeb to transparent */
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    font-family: "Questrial", serif;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    text-align: center;
}
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {background-color: #ddd;}
.dropdown:hover .dropdown-content {display: block;}
.dropdown:focus-within .dropdown-content {display: block;}

h2 {
    margin-left: 20px;
    margin-right: 20px;
    color: #7c6643;
    font-family: "Oswald", sans-serif;
    font-size: 2rem;
    padding-left: 100px;
    padding-right: 100px;
    text-align: center;
}

p {
    margin-left: auto;
    margin-right: auto;
    font-family: "Questrial", sans-serif;
    font-size: 1.5rem;
    margin-bottom: 50px;
    padding-left: 100px;
    padding-right: 100px;
    text-align: center;
    max-width: 50%;
    display: block;
}

td {
    margin-left: 20px;
    margin-right: 20px;
    font-family: "Questrial", sans-serif;
    font-size: 1.5rem;
    padding-right: 30px;
    padding-left: 50px;
}

table {
    margin-bottom: 50px;
    padding-left: 100px;
    padding-right: 100px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

#zitat {
    font-family: "Kaushan Script", sans-serif;
    color: #5f4a2d ;
    text-align: center;
    width: 50vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
}

#p2_p {
    font-size: 2.5rem;
}

@media (max-width: 1280px) {
    #p2_p {
        font-size: 2rem;
    }
    p {
        font-size: 1.2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    td {
        font-size: 1.2rem;
    }
}
@media (max-width: 1000px) {
    #zitat {
        width: 90vw;
    }

    body {
        padding-left: 00px;
        padding-right: 00px;
    }
}
@media (max-width: 670px) {
    #p2_p {
        font-size: 1.8rem;
    }
    #zitat {
        font-size: 1.5rem;
    }
}

footer a:hover {
    text-decoration: underline;
}

footer a {
    text-decoration: none;
    color: #7c6643;
}

/* Add styles for regular links */
a {
    text-decoration: none;
    color: #5f4a2d;
}

a:hover {
    text-decoration: underline;
}

footer {
    height: 100px;
    width: 100vw;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 10px 0px 00px 0px;
    background-color: #cbc7b7;
    text-decoration: none;
    color: #7c6643;
    font-family: "Questrial", sans-serif;
    font-size: 1.5rem;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.euro-price {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  min-width: 120px; /* Adjust as needed for your layout */
}

.amount {
  text-align: right;
  min-width: 60px; /* Ensures numbers line up; adjust as needed */
  font-variant-numeric: tabular-nums; /* Makes numbers monospaced for perfect alignment */
}

.euro {
  margin-left: 4px; /* Space between number and symbol */
  font-size: 1em;
}

@media (max-width: 650px) {
    table {
        padding: 0;
        margin-left: 10px;
        margin-right: 10px;
        width: 100vw;
        margin-left: 0;
        margin-right: 0;
    }
    body p {
        padding: 0px !important;
        margin-left: 10px;
        margin-right: 10px;
        max-width: 100%;
    }
}

@media (max-width: 450px) {
    .price-block {
        min-width: 100% !important;
        display: block;
        text-align: center;
    }
    td {
        display: block;
        width: 100%;
        padding-left: 5px;
        padding-right: 5px;
        margin-right: 0px;
        margin-left: 0px;
        text-align: center;
    }
    p {
        font-size: 0.9rem !important;
    }
    h2 {
        font-size: 1.2rem;
        min-width: 95% !important;
        text-align: center;
        padding: 0;
        margin: 0 20px 0 10px;
    }

}

/*  Navbar Media Querys */

@media (max-width: 1400px) {
    a#navbtn, button#dropbtn {
        font-size: 30px;
    }
}

@media screen and (max-width: 1175px) {
    a#navbtn, button#dropbtn {
        font-size: 20px;
        margin-left: 5px;
    }

    .logo-link {
        margin-left: 0px;
    }

    a.logo-link {
        transform: scale(0.7)
    }
}

@media (max-width: 790px) {
    .logo-link {
        display: inline-block;
        justify-content: center;
        margin-top: 0 !important;
        margin-right: 0 !important;
        min-width: 20vw !important;
        height: auto;
        max-width: 20vw !important;
    }
    .logo-link img {
        min-width: 20vw;
        max-width: 100%;
        height:auto;
    }

    .nav {
        justify-content: center;
    }
}

@media (max-width: 500px) {
    
    #dropbtn, #navbtn {
        font-size: 15px;
        padding: 0px;
        margin: 7px;
    }

    .nav {
        flex-wrap: wrap;
        height: auto;
        padding-bottom: 10px;
        padding-top: 10px;
    }

    .dropdown-content {
        transform: translateX(-55px); /* Shift left by 20px */
    }

    #p1_wrap h1 {
        font-size: 25px;
    }
    #p1_wrap p {
        font-size: 15px;
    }

    a.logo-link {
        min-width:40vw !important;
        max-width:40vw;
    }


}