@import url('https://fonts.googleapis.com/css2?family=Gentium+Plus:ital@1&display=swap');


html {
    margin: 0;
    padding: 0;
    background-color: #f2efeb;
    color: #001047;
    overflow-x: hidden;
}

body {
    margin: 0;
    background-color: #f2efeb;
}

.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: #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;}


.supertopbar {
    background-color: #cac7b9;
    color: #786748;
    font-family: "Gentium Plus", serif;
    font-weight: 400;
    font-style: italic;
    font-size: 2.4rem;
    text-align: center;
    margin-top: -50px; /* Added negative margin to reduce space */
    margin-bottom: 80px;
}

.supertopbar h2 {
    font-size: 2.4rem;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.supertopbar p {
    margin-left: 100px;
    margin-right: 100px;
    font-size: 1.5rem;
}

.rimgltxt {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 90%;
    margin-left: auto;
    margin-right: 100px;
    margin-top: 20px; /* Reduced top margin */
}

.rimgltxt img {
    border-radius: 15px;
    margin-left: 20px;
    margin-top: -110px; /* Adjusted to maintain relative position */
    margin-right: 50px;
}

.rimgltxt .p5txt {
    display: inline-block;
    width: 50%;
    padding-right: 50px;
    font-family: "Questrial", serif;
    margin-bottom: 200px;
}

.p5txt h1 {
    text-align: right;
    font-size: 3.5rem;
    font-family: "Oswald", serif;
    margin-bottom: 60px;
}

.title-supervision {
    text-align: center;
    color:#dba623;
    font-size: 4rem;
    font-family: "Oswald", serif;
    position: relative;
    top: 50px;
}

.p5txt h2 {
    text-align: left;
    color:#dba623;
    font-size: 2.5rem;
    font-family: "Oswald", serif;
}

.p5txt {
    font-size: 1.5rem;
    font-family: "Questrial", serif;
    max-width: 40%;
}

@media (max-width: 1600px) {
    .rimgltxt {
        justify-content: center;
        width: 100%;
        margin-right: 0;
    }
    
    .rimgltxt img {
        display: none;
    }
    
    .rimgltxt .p5txt {
        width: 80vw;
        padding: 0;
        margin: 0 auto 50px auto;
    }
    
    .title-supervision {
        text-align: center;
        right: 0px;
        font-size: 5rem;
    }
    
    h1.title-supervision, h2, div.p5txt p {
        text-align: center !important;
    }
    div.p5txt {
        min-width: 90vw;
    }

    div.supertopbar h2 {
        font-size: 1.75rem;
    }
    div.supertopbar p {
        font-size: 1.2rem;
    }
    p#mainheader {
        width: 80vw;
        text-align: center;
    }
    div.maintext p {
        min-width: 80vw;
        text-align: center;
    }

}

@media (max-width: 1350px) {
    .supertopbar h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 800px) {
    .supertopbar h2 {
        font-size: 1.5rem;
    }
    .supertopbar p {
        font-size: 1.25rem;
    }
}

.maintext {
    font-size: 1.5rem;
    font-family: "Questrial", sans-serif;
    padding: 0px 150px 0px 150px;
    max-width: 45%;
}

#mainheader {
    color: #dba623;
    font-size: 2.5rem;
    font-family: "Oswald", sans-serif;
    font-weight: 600;
}

.limgrtxt {
    margin-bottom: 100px;
}

.limgrtxt img {
    border-radius: 15px;
    display: inline-block;
    position: relative;
    top: 50px;
    left: 130px;
}

.limgrtxt .p5txtL {
    display: inline-block;
    width: 55%;
    padding-left: 225px;
    font-family: "Questrial", serif;
}

.p5txtL h2 {
    text-align: left;
    color:#dba623;
    font-size: 2.5rem;
    font-family: "Oswald", serif;
}

.p5txtL {
    font-size: 1.5rem;
    max-width: 40%;
    margin-top: 60px;
    margin-bottom: -100px; /* Added negative margin to bring buttons closer */
}

@media (max-width: 1360px) {
    .limgrtxt img {
        display: none;
    }
    .limgrtxt .p5txtL {
        min-width: 80vw;
        padding-left: 10vw;
        padding-right: 10vw;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .p5txtL {
        width: 80vw;
    }
    .maintext {
        padding-left: 10vw;
        padding-right: 10vw;
        min-width: 80vw;
    }
}

.btn {
    padding: 10px 40px;
    background-color: #7c6643;
    text-decoration: none;
    color: white;
    border-radius: 15px;
    font-family: "Questrial", sans-serif;
    font-size: 1.25rem;
    margin-bottom: 50px;
}

footer a {
    color: #FFFFFF;
}

#btnwrap {

    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;

    width: 100vw;
    margin-top: 40px; /* Reduced from 80px to 40px */
    margin-bottom: 100px;
}

@media (max-width: 900px) {
    .title-supervision {
        font-size: 3rem;
    }
    .p5txt h2 {
        font-size: 2.25rem;
    }
    .p5txt p {
        font-size: 1.5rem;
    }
    .rimgltxt .p5txt {
        margin-bottom: 50px;
    }

    #btnwrap {
        text-align: center;
        margin-right: 0px;
    }
    a {
        left: 0px;
        right: 0px;
        top: 0px;
        bottom: 0px;

    }
}

footer a:hover {
    text-decoration: underline;
}

footer a {
    text-decoration: none;
    color: #7c6643;
}

footer {
    height: 100px;
    font-family: "Questrial", sans-serif;
    width: 100vw;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0px 50px 00px 0px;
    background-color: #cbc7b7;
    text-decoration: none;
    font-size: 1.5rem;
}

#bottomlimg {
    padding-bottom: 5%;
}

@media (max-width: 600px) {
    p, .rimgltxt p {
        font-size: 1.2rem !important;
        line-height: 25px !important;
    }
    h2, p#mainheader {
        font-size: 1.75rem !important;
    }
    h1.title-supervision {
        font-size: 2rem;
    }
    .supertopbar h2 {
        font-size: 1.3rem !important;
    }
}

/* 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;
    }

}

@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;
    }
    div.nav a.logolink2 {
        min-width:40vw !important;
        max-width:40vw;
    }

}

@media (max-width: 1700px) {
	div.rimgltxt div.p5txt h2 {
		font-size: 3rem !important;
	}
	div.rimgltxt div.p5txt p {
		font-size: 1.5rem !important;
	}
	
	div.supertopbar h2 {
		font-size: 2.4rem !important;
        font-weight: normal;
	}
	
	div.supertopbar p {
		font-size: 1.5rem !important;
	}
}

@media (max-width: 1400px) {	
	div.supertopbar h2 {
		font-size: 1.5rem !important;
	}
    div.supertopbar p {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 850px) {
	div.rimgltxt div.p5txt h2 {
		font-size: 1.8rem !important;
	}
	div.rimgltxt div.p5txt p {
		font-size: 1rem !important;
	}
}

