body {
    margin: 0px;
    background-color: #f2efeb;
    color: #001047;
    overflow-x:hidden;
}

.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 */
}

.homebtn {
    display: none;
}


.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;}


.topbar {
    background-color: #cac7b9;
    color: #786748;
    font-family: "Gentium Plus", serif;
    font-weight: 400;
    font-style: italic;
    font-size: 2.4rem;
    text-align: center;
}

.topbar h2 {
    font-size: 2.4rem;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.topbar p {
    margin-left: 100px;
    margin-right: 100px;
    font-size: 1.5rem;
}

.limgrtxt {
    margin-bottom: 180px;
}

.limgrtxt img {
    border-radius: 15px;
    display: inline-block;
    position: relative;
    top: 110px;
    left: 70px;
}

.limgrtxt .p5txtL {
    position: relative;
    display: inline-block;
    width: 60%;
    padding-left: 120px;
    top: 100px;
    font-family: "Questrial", serif;
    letter-spacing: 1px;
}

.p5txtL h2 {
    color:#dba623;
    font-size: 2.5rem;
    font-family: "Oswald", serif;
}

.p5txtL {
    font-size: 1.5rem;
    max-width: 40%;
}

#header {
    position: relative;
    top: 70px;
}

.defaultbtn {
    padding: 10px 40px;
    background-color: #7c6643;
    text-decoration: none;
    color: white;
    border-radius: 15px;
    font-family: "Questrial", "serif";
    font-size: 1.25rem;
    margin-bottom: 50px;
}

#btnwrap {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

@media (max-width: 1840px) {
    .limgrtxt img {
        display: none;
    }
    .limgrtxt .p5txtL {
        padding: 0;
        margin-left: auto;
        margin-right: auto;
        margin-left: 10vw;
        margin-right: 10vw;
        text-align: center;
    }

    .limgrtxt {
        min-width: 100vw !important;
    }
    .p5txtL {
        min-width: 80vw !important;
        margin-left: 10vw;
        margin-right: 10vw;
    }

    .p5txtL h2 {
        text-align: center;
    }
}

@media (max-width: 800px) {
    .topbar h2 {
        font-size: 1.5rem;
    }
    .topbar p {
        font-size: 1.25rem;
    }

    .p5txtL p {
        font-size: 1.5rem;
    }
}

@media (max-width: 675px) {
    .p5txtL p {
        font-size: 1.2rem !important;
        line-height: 25px !important;
    }
}
footer a:hover {
    text-decoration: underline;
}

footer a {
    text-decoration: none;
    color: #7c6643;
}

footer {
    height: 100px;
    width: 100vw;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0px 50px 00px 0px;
    font-family: "Questrial", sans-serif;
    background-color: #cbc7b7;
    text-decoration: none;
    color: #7c6643;
    font-size: 1.5rem;
}

/* New styles for the centered image section */
.center-image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    padding: 20px;
    width: 90%;
}

.centered-image {
    max-width: 80%;
    height: auto;
    min-width: 50%;
    aspect-ratio: initial;
}

@media (max-width: 800px) {
    .centered-image {
        max-width: 95%;
    }
}

@media (max-width: 1600px) {
    .topbar h2 {
        font-size: 1.75rem;
    }
}

/* Media Querys --> Navbar */

@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: inline-block;
    }

}

@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;
    }

}

@media (max-width: 1700px) {
	div.limgrtxt div.p5txtL h2 {
		font-size: 3rem !important;
	}
	div.limgrtxt div.p5txtL p {
		font-size: 1.5rem !important;
	}
	
	div.topbar h2 {
		font-size: 2.4rem !important;
        font-weight: normal;
	}
	
	div.topbar p {
		font-size: 1.5rem !important;
	}
}

@media (max-width: 1400px) {	
	div.topbar h2 {
		font-size: 1.5rem !important;
	}
    div.topbar p {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 850px) {
	div.limgrtxt div.p5txtL h2 {
		font-size: 1.8rem !important;
	}
	div.limgrtxt div.p5txtL p {
		font-size: 1rem !important;
	}
}
