@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;
}

.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;}


.psychotopbar {
    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: 70px;
}

.psychotopbar h2 {
    font-size: 2.4rem;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.psychotopbar p {
    margin-left: 100px;
    margin-right: 100px;
    font-size: 1.5rem;
}

.rimgltxt {
    margin-bottom: 200px;
}


h1 {
    color: #daa520;
    font-family: "Oswald", sans-serif;
    font-size: 3rem;
    text-align: right;
}

.rimgltxt img {
    border-radius: 15px;
    display: inline-block;
    position: relative;
    top: 60px;
    left: 80px;
}

.rimgltxt .p5txt {
    text-align: right;
    display: inline-block;
    width: 50%;
    padding-left: 150px;
    font-family: "Questrial", serif;
}

.p5txt {
    font-size: 1.5rem;
    font-family: "Questrial", serif;
    max-width: 40%;
}

#p2 {
    text-align: right;
    font-family: "Questrial", sans-serif;
}

/**/

.psycho2page {
    position: relative;
    min-height: 100vh;
    width: 100vw;
    background-image: url("../assets/bgpsycho.png");
    background-size: cover;
    padding-bottom: 5%;
}

.psycho2page p {
    position: relative;
    width: 70%;
    font-size: 1.5rem;
    font-family: "Questrial", sans-serif;
    line-height: 50px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 50%;
    text-align: center;
    text-shadow: 0px 0px 3px #ffffff, 0px 0px 3px #ffffff, 0px 0px 3px #ffffff;
}

#btncontainer {
    display: flex;
    justify-content: space-evenly;
    width: 100vw;
    flex-wrap: wrap;
    line-height: 20px;
}

#contact {
    padding: 20px 30px;
    background-color: #7c6643;
    text-decoration: none;
    color: white;
    border-radius: 24px;
    font-family: "Questrial";
    font-size: 1.25rem;
}

@media (max-width: 1800px) {
    .psycho2page p {
        font-size: 1.5rem;
        line-height: 30px;
    }
}

@media (max-width: 1700px) {
    .rimgltxt img {
        display: none;
    }

    .rimgltxt {
        text-align: center !important;
    }

    .rimgltxt .p5txt {
        padding-left: 0px;
        text-align: center !important;
    }

    #p2 {
        text-align: center;
    }

    #btncontainer {
        text-align: center;
    }

    h1#mainheader {
        text-align: center !important;
    }

    div.p5txt {
        min-width: 90%;
    }

    .psychotopbar h2 {
        font-size: 1.75rem;
    }

}

@media (max-width: 850px) {
    h1#mainheader {
        font-size: 1.8rem;
    }
    div.p5txt p {
        font-size: 1rem;
        line-height: 25px !important;
    }

    a#contact {
        transform: scale(0.7);
    }
}

@media (max-width: 500px) {
    .psycho2page p {
        min-width: 80%;
    }
}

@media (max-width: 920px) {
    .psycho2page p {
        font-size: 1rem;
        line-height: 20px;
    }
}

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;
    font-family: "Questrial", sans-serif;
    margin: 0px 50px 00px 0px;
    background-color: #cbc7b7;
    text-decoration: none;
    color: #7c6643;
    font-size: 1.5rem;
}

/*  Navbar Media Querys */

@media (max-width: 1400px) {
    a#navbtn, button#dropbtn {
        font-size: 30px;
    }

    div.psychotopbar h2 {
        font-size: 1.2rem;
    }
    div.psychoptopbar p {
        font-size: 0.8rem;
    }
}

@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.rimgltxt div.p5txt h2 {
		font-size: 3rem !important;
	}
	div.rimgltxt div.p5txt p {
		font-size: 1.5rem !important;
	}
	
	div.psychotopbar h2 {
		font-size: 2.4rem !important;
        font-weight: normal;
	}
	
	div.psychotopbar p {
		font-size: 1.5rem !important;
	}
}

@media (max-width: 1400px) {	
	div.psychotopbar h2 {
		font-size: 1.5rem !important;
	}
    div.psychotopbar 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;
	}
}
