html {
    background-color: #f2efeb;
    color: #001047;
    margin: 0px;
    overflow-x:hidden;
}

body {
    margin: 0px;
}

.nav {
    text-align: right;
    height: 100px;
    margin-bottom: 10px;
    padding: 25px 35px; /* Reduced top padding from 35px to 25px */
    display: flex;
    align-items: center;
}

.homebtn {
    display: none;
}


.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: #f2efeb;
}
.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;}

.topimg {
    display: none;
}

.limgrtxt {
    background: url("assets/lebenslauf.png") no-repeat center center / cover;
    margin-bottom: 120px;
    height: 110vh;
    width: 100vw;
}

.limgrtxt img {
    border-radius: 15px;
    display: inline-block;
    position: relative;
    top: 50px;
    border: 3px solid #786748;
    left: 250px;
}

.limgrtxt .p5txtL {
    position: relative;
    display: inline-block;
    width: 40%;
    padding-left: 225px;
    top: 100px;
    font-family: "Questrial", serif;
    left: 200px;
}

h3 {
    text-align: left;
    color:#dba623;
    font-size: 1.8rem;
    font-family: "Oswald", serif;
}

.p5txtL {
    font-size: 1.4rem;
}

.p5txtL_sml {
    display: none;
}

.imp_pro {
    position: absolute;
    z-index: 1;
    top: 70%;
    transform: translateY(-50%);
    right: 5%;
}

@media (max-width: 1840px) {
    body {
        background: #f2efeb
    }

    #mainpng {
        display: none;
    }

    .limgrtxt .p5txtL {
        display: none;
        margin:0;
    }

    .limgrtxt {
        margin:0;
        display: none;
    }

    .p5txtL_sml {
        display: block;
        font-family: "Questrial";
        text-align: center;
    }

    h3 {
        text-align: center;
    }

    .topimg {
        display: inline-block;
        width: 100vw;
        margin-left: 0;
    }

    #centerimg {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 15px;
        border: 3px solid #786748;
    }

    p {
        margin-left: 20px;
        margin-right: 20px;
    }

     #zitat {
        left: 0 !important;
        transform: translateX(0%) !important;
        min-width: 90%;
        text-align: center !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }
    div.kostentopbar p {
        font-size: 1.15rem;
    }

    p#p2_p {
        font-size: 1.25rem;
        line-height: 20px;
    }
    p#zitat {
        font-size: 1.25rem;
        line-height: 20px;
    }
    #btmtext { 
        margin-bottom: 100px;
    }

}

@media (max-width: 850px) {
    h2 {
        font-size: 1.3rem !important;
    }

    h3 {
        font-size: 1.5rem;
    }
    .p5txtL_sml p {
        font-size: 1rem;
    }
}

@media (max-width: 610px) {
    p#zitat, #p2_p {
        font-size: 1rem !important;
        line-height: 20px !important;
    }
    p#zitat {
        margin-top: 50px;
    }
}

.page2 {
    background-image: url("assets/cliffbg.png");
    background-size: cover;
    min-height: 80vh;
}

.kostentopbar {
    background-color: #cac7b9;
    color: #786748;
    font-family: "Gentium Plus", serif;
    font-weight: 400;
    font-style: italic;
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 50px;
}

.kostentopbar h2 {
    font-size: 2.4rem;
}

.kostentopbar p {
    margin-left: 100px;
    margin-right: 100px;
    font-size: 1.5rem;
}

#zitat {
    font-family: "Questrial", sans-serif;
    color: #5f4a2d ;
    text-align: left;
    width: 70vw;
    position: relative;
    left: 86%;
    margin-top: 110px;
    transform: translateX(-50%);
    font-size: 1.5rem;
    letter-spacing: 1px;
}

#p2_p {
    font-size: 1.5rem;
    padding-left: 50px;
    padding-right: 50px;
    font-family: "Questrial", "serif";
    text-align: center;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 70px;
}

@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;
    }
}
@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;
}

footer {
    height: 100px;
    width: 100vw;
    font-family: "Questrial", sans-serif;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0px 50px 00px 0px;
    background-color: #cbc7b7;
    text-decoration: none;
    color: #7c6643;
    font-size: 1.5rem;
}

@media (max-width: 1350px) {
    .imp_pro {
        display: none;
    }
}

/*  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;
    }
    .homebtn {
    display: none; /* RETURN IF ASS */
}

}

@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;
    }

}
