@import url('https://fonts.googleapis.com/css2?family=Gentium+Plus:ital@1&display=swap');


html {
    margin: 0px;
    overflow-x: hidden;
    background-color: #f2efeb;
    color: #001047;
}

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: #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;}


.elterntopbar {
    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;
}

.elterntopbar p {
    margin-left: 100px;
    margin-right: 100px;
    font-size: 1.5rem;
}

.defaultbtn {
    padding: 10px 40px;
    background-color: #7c6643;
    text-decoration: none;
    color: white;
    border-radius: 15px;
    font-family: "Questrial";
    font-size: 1.25rem;
    margin-bottom: 50px;
}

.elterntopbar h2 {
    font-size: 2.4rem;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.limgrtxt {
    margin-bottom: 100px;
}

.limgrtxt img {
    border-radius: 15px;
    display: inline-block;
    position: relative;
    top: 100px;
    left: 130px;
    margin-bottom: 50px;
}

.limgrtxt .p5txtL {
    display: inline-block;
    width: 60%;
    padding-left: 225px;
    font-family: "Questrial", serif;
    letter-spacing: 1px;
    line-height: 1.5rem;
}

.p5txtL h2 {
    text-align: left;
    color:#dba623;
    font-size: 3rem;
    font-family: "Oswald", serif;
}

.p5txtL {
    font-size: 1.5rem;
    max-width: 40%;
}

@media (max-width: 1840px) {
    .limgrtxt img {
        display: none;
    }
    .limgrtxt .p5txtL {
        width: 80vw;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
        margin-left: 10vw;
        margin-right: 10vw;
        text-align: center;
        max-width: 80% !important;
    }

    .p5txtL h2 {
        text-align: center;
    }
}

@media (max-width: 1536px) {
    .page2 p {
        font-size: 1.15rem;
        line-height: 35px !important;
    }
}

@media (max-width: 750px) {
    .page2 p {
        font-size: 1.33rem;
        line-height: 30px !important;
        max-width: 90% !important;
    }
}

@media (max-width: 450px) {
    .page2 p:nth-child(1) {
        margin-bottom: 5px !important;
    }
    .page2 p:nth-child(2) {
        margin-top: 5px !important;
    }

    .p5txtL p {
        font-size: 1rem !important;
        line-height: 25px !important;
    }
    .p5txtL h2 {
        font-size: 1.5rem !important;
    }

}
@media (max-width: 380px) {
    .page2 p {
        font-size: 1.2rem;
        line-height: 25px !important;
    }
    #btnwrap a {
        margin-bottom: 10px;
    }
}

.page2 {
    position: relative;
    min-height: 100vh;
    max-height: 2000vh;
    width: 100vw;
    background-image: url("../assets/elterncoaching.png");
    background-size: cover;

    font-size: 1.5rem;
    font-family: "Questrial", sans-serif;
    padding-top: 50px;
}

.page2 p {
    margin: 100px auto;
    max-width: 50%;
    text-align: center;
    text-shadow: 0px 0px 2px #ffffff, 0px 0px 2px #ffffff, 0px 0px 2px #ffffff;
}

#btnwrap {
    width: 100vw;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    position: relative !important;
    bottom: 0 !important;
}



@media (max-width: 700px) {
    .page2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 520px) {
    .page2 {
        font-size: 1rem;
    }
}

@media (max-width: 1300px) {
    .elterntopbar h2 {
        font-size: 1.5rem;
    }
    .elterntopbar p {
        font-size: 1rem;
    }
    .p5txtL h2 {
        font-size: 2rem;
    }
    .p5txtL p {
        font-size: 1.25rem;
    }
    .page2 {
        margin-top: 100px;
    }
}

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;
    background-color: #cbc7b7;
    text-decoration: none;
    color: #7c6643;
    font-size: 1.5rem;
    font-family: "Questrial", sans-serif;
}

/* Navbar Media queries */
@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;
    }


}

/* Right font size */

@media (max-width: 1700px) {
	div.limgrtxt div.p5txtL h2 {
		font-size: 3rem !important;
	}
	div.limgrtxt div.p5txtL p {
		font-size: 1.5rem !important;
	}
	
	div.elterntopbar h2 {
		font-size: 2.4rem !important;
        font-weight: normal;
	}
	
	div.elterntopbar p {
		font-size: 1.5rem !important;
	}
}

@media (max-width: 1400px) {	
	div.elterntopbar h2 {
		font-size: 1.5rem !important;
	}
    div.elterntopbar 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;
	}
}
