﻿@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Architects+Daughter&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* border: red solid 1px; */
}

html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* --------------- */
/* - Page header - */
/* --------------- */
.pageHeader {
    text-align: center;
    background-image: url("../images/header_background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.pageHeader h1 {
    color: lemonchiffon;
    font-family: 'Dancing Script', cursive;
    font-size: max(3.4vw, 24px);
    padding-top: 5px;
}

.pageHeaderMenuDiv {
    display: flex;
    justify-content: space-evenly;
}

.pageHeaderMenuDiv a {
    color: lemonchiffon;
    text-decoration: none;
    font-weight: bold;
    font-size: max(1.5vw, 14px);
}

.pageHeaderMenuDiv a:hover {
    color: cornflowerblue;
}

/* ---------------------------------------------- */
/* - Image source classes (used on various pages) - */
/* ---------------------------------------------- */
.imageSource, .imageSourceRelativePosition {
    color: lemonchiffon;
    font-size: 12px;
    background: rgba(72, 95, 53, 0.7);
}

.imageSource {
    position: fixed;
    bottom: 10px;
    right: 10px;
}

.imageSourceRelativePosition {
    clear: left;
    float: right;
    margin-top: 10px;
    margin-bottom: 10px;
    width: fit-content;
    margin-right: 10px;
    margin-left: 10px;
}

.imageSource a, .imageSourceRelativePosition a {
    font-family: 'Times New Roman';
    font-weight: normal;
    color: lemonchiffon;
    text-decoration: underline;
}

.imageSource a:hover, .imageSourceRelativePosition a:hover {
    color: darkmagenta;
}

/* ------------------------------------------------------------------ */
/* - mainContent class (used on various pages) - */
/* ------------------------------------------------------------------ */
.mainContent {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    flex-grow: 1;

    overflow-y: auto;
}

/* ------------- */
/* - Home page - */
/* ------------- */
#homeMain {
    background-image: url("../images/forest_detail.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    flex-grow: 1;
    position: relative;
}

#homeMain .divQuote {
    color: lemonchiffon;
    font-family: 'Architects Daughter', cursive;
    font-size: max(1.1vw, 14px);
    font-weight: bold;
    text-align: center;
    background: rgba(72, 95, 53, 0.7);
}

#homeMain #divQuote1 {
    position: absolute;
    top: 7%;
    left: 7%;
}

#homeMain #divQuote2 {
    position: absolute;
    right: 6%;
    top: 26%;
}

#homeMain #divQuote3 {
    position: absolute;
    top: 44%;
    right: 21%;
}

/* ------------------*/
/* - Services page - */
/* ----------------- */
#servicesMainContent {
    background-image: url("../images/service_nature_therapy_background.jpg");
    display: flex;
    flex-direction: column;
    align-items: center;
}

#servicesMainContent h1 {
    font-family: Papyrus, cursive;
    font-weight: normal;
    font-size: min(8vw, 78px);
    color: rgb(150, 68, 9);

    text-align: center;
}

.divService {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(218, 198, 145, 0.5);
    padding: 10px;
    border-radius: 10px;
    width: 90vw;
    max-width: 1160px;
}

.pServiceTagLine {
    font-style: italic;
    color:darkslategray;
    font-size: min(3.5vw, 20px);
}

.aServiceTitle {
    text-decoration: none;
    font-weight: bold;
    font-size: min(4vw, 30px);
    color: black;
    margin-top: 8px;
}

.aServiceTitle:hover {
    color: cornflowerblue;
}

.pServiceDescription {
    font-style: italic;
    font-size: min(3.5vw, 20px);
    text-align: justify;
    margin-top: 8px;
}

.pServiceStatus {
    margin-top: 8px;
    font-size: min(3vw, 16px);
}

/* ----------------------- */
/* - About me page - */
/* ----------------------- */
#aboutMeMainContent {
    background: rgb(45, 76, 111);
}

#divAboutMeProfileOuter {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#divAboutMeProfileInner {
    width: fit-content;
    min-width: 65vw; /* Needed because the fit-content above doesn't work properly. Maybe because of the floating picture. */
    max-width: 90vw;
}

#divAboutMeProfileInner #imgProfilePicture {
    width: min(20.8vw, 419px);
    height: min(18.6vw, 375px);
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

.aboutMeParagraphWithTopMargin {
    margin-top: 20px;
}

#divAboutMeProfileInner p {
    font-size: max(1.2vw, 16px);
    color: blanchedalmond;
    text-shadow: 5px 5px 5px rgba(0,0,0,1);
    text-align: justify;
}

#divAboutMeProfileInner h2 {
    color: blanchedalmond;
    text-shadow: 5px 5px 5px rgba(0,0,0,1);
    margin-top: 30px;
}

#divAboutMeProfileInner a {
    text-shadow: none;
    color: cornflowerblue;
}

/* -------------------------- */
/* - Contact & Booking page - */
/* -------------------------- */
#contactMainContent {
    background: rgba(196, 142, 78);
}

#contactMainContentWithoutImageSource {
    display: flex;
    flex-direction: column;
    padding-left: 25%;
    padding-right: 25%;
}

.contactSymbolDiv {
    display: flex;
    flex-direction: row;
    align-items: center;

    margin-top: 40px;

    font-size: min(25px, 4vw);
}

.contactSymbolDiv img {
    width: min(10vw, 96px);
    height: auto;
}

.contactSymbolDiv p {
    margin-left: 15px;
}

.contactDescriptionDiv {
    margin-top: 10px;
}

.contactDescriptionDiv p {
    font-size: min(20px, 4vw);
    text-align: justify;
}

.contactDescriptionDiv a {
    font-size: min(25px, 5vw);
}

#contactLocationDiv iframe {
    margin-top: 10px;
    width: calc(85vw - 20px);
    height: calc((85vw - 20px) / 2);
    max-width: 700px;
    max-height: 350px;
    min-height: 250px;
}

#contactFinePrint {
    margin-top: 30px;
}

#contactFinePrint a {
    font-size: 12px;
    color:darkslategray;
}

/* -------------------------- */
/* - Privacy Policy page - */
/* -------------------------- */
#policyMainContent {
    background: rgb(45, 76, 111);
}

#policyMainContentWithoutImageSource {
    color: blanchedalmond;

    padding-left: 4vw;
    padding-right: 4vw;
    padding-top: 30px;
    padding-bottom: 20px;

    text-align: justify;
}

#policyMainContentWithoutImageSource ul {
    padding-left: 15px;
}

#policyMainContentWithoutImageSource h1 {
    margin-bottom: 10px;
}

#policyMainContentWithoutImageSource h2 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.policyParagraphAboveList {
    margin-bottom: 5px;
}

.policyParagraphUnderneathList {
    margin-top: 5px;
}

/* --------------------------------- */
/* - Media queries for page header - */
/* --------------------------------- */
@media(max-width: 409px) {
    .pageHeader a {
        font-size: 12px;
    }
}

@media(max-width: 360px) {
    .pageHeader h1 {
        font-size: 22px;
    }
}

@media(max-width: 349px) {
    .pageHeader a {
        font-size: 10px;
    }
}

@media(max-width: 320px) {
    .pageHeader h1 {
        font-size: 20px;
    }
}

/* ---------------------------------------------------------- */
/* - Media queries for image source (used on various pages) - */
/* ---------------------------------------------------------- */
@media(max-height: 390px) {
    .imageSource {
        font-size: 8px;
        bottom: 5px;
    }
}

/* ------------------------------- */
/* - Media queries for Home page - */
/* ------------------------------- */
@media(max-width: 300px) {
    #homeMain .divQuote {
        font-size: 10px;
    }
}

@media(max-height: 390px) {
    #homeMain #divQuote3 {
        top: 55%;
    }
}

/* ------------------------------- */
/* - Media queries for Home page - */
/* ------------------------------- */
@media(max-width: 1900px) {
    #contactMainContentWithoutImageSource {
        padding-left: 10%;
        padding-right: 10%;
    }
}