 :root {
    /* fonts */
    --h1: 2.5rem;
    --h2: 2.25rem;
    --h3: 1.875rem;
    --h4: 1.5rem;
    --h5: 1.25rem;
    --h6: 1.125rem;
    --h7: 0.875rem;
    --normal-txt-size: 1rem;
    /* Barlow, Bellota Text, Edu VIC WA NT Hand Pre, Playwrite DE Grund */
    --main-font: "Barlow", sans-serif;
    --accent-font: "Playwrite DE Grund", Arial;

    /* colors */
    --background: #fff;
    --primary: #48A5BA;
    --secondary: #D6F4D4;
    --secondary-shadow: #A4C9A0;
    --light: #F8F9FA;
    --accent: #FFF2B9;
    --footer: #5C5C5C;
    --border-light: #b0b0b085;
    --border-secondary: #A4C9A0;

    /* text colors */
    --main-text: #212529;
	--page-title: white;
    --note-text: rgba(33, 37, 41, 0.75);
    --light-text: rgba(33, 37, 41, 0.5);
    --primary-text: #48A5BA;
    --secondary-text: #1B4234;
    --navbar-text: #fff;
    --footer-text: #fff;
}

/* === PAGE STYLES === */
* {
    box-sizing: border-box;
    margin: 0px;
    font-family: var(--main-font);
}

html {
    font-size: clamp(16px, 1.25vw, 18px);
    font-family: var(--main-font);
    font-weight: normal;
    font-style: normal;
    color: var(--main-text);
    background-color: var(--background);
}

html, body {
    height: 100vh;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

/* text */
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
h5 { font-size: var(--h5); }
h6 { font-size: var(--h6); }

h1, h2, h3, h4, h5, h6 { font-weight: 500; }

.page-title {
    font-family: var(--accent-font);
    font-size: var(--h1);
    font-weight: 700;
    color: var(--page-title);
}

.box-title {
    font-size: var(--h2);
    font-weight: 500;
    text-align: center;
    padding: 20px 0px 10px;
}

/* containers */
header, main, footer { width: 100%; } 

header {
	display: flex;
	justify-content: center;
    height: 75px;
    padding: 0px 130px;
    position: fixed;
    z-index: 9;
    background-color: var(--primary);
    color: var(--navbar-text);
}

.navbar {
    width: 100%;
	max-width: 1080px;
    height: 75px;
	padding: 0px 130px;
	margin: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0px;
}

.navbar-link {
    padding: 20px 10px;
    text-decoration: none;
    text-align: end;
    color: var(--navbar-text);
}

.navbar-link:hover {
    text-decoration: none;
    color: var(--secondary);
}

.burger-button {
    padding: 20px;
    font-size: 2.5rem;
    cursor: pointer;
}

.logo {
    position: absolute;
    top: 0px;
    left: 30px;
    height: 75px;
    width: 110px;
	cursor: pointer;
}

.logo img {
    width: auto;
    height: 75px; 
    transition: transform 0.3s;
}

.logo-img, .logo:hover .logo-img-hover { display: block; }
.logo-img-hover, .logo:hover .logo-img { display: none; }


main {
    flex: 1;
    width: 100%;
    margin-top: 75px;
}

.page-hero {
    position: relative;
    min-height: 375px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.page-hero > * {
	z-index: 2;
}

.page-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(33, 37, 41, 0.65);
}

.page-hero {
    background-image: url("./mainpage_hero.jpeg");
}

.box {
    width: 100%;
    padding: 58px 30px;
}

.container {
    max-width: 1080px;
    margin: auto;
    display: flex;
    flex-flow: column nowrap;
    gap: 25px;
}

.card {
    flex: 1;
    padding: 16px 20px 32px;
    border-radius: 20px;
    text-decoration: none;
}

a.card {
    position: relative;
    transition: transform 0.3s;
}
a.card:hover {
    transform: scale(1.03);
}

.hero-picture {
    height: 350px;
    min-width: 450px;
    background-color: var(--light);
    border-radius: 50px;
}

footer {
    width: 100%;
    background-color: var(--footer);
    color: var(--footer-text);
    padding: 20px 30px;
}

.footer-logo {
    height: 40px;
    width: auto;
    display: block;
    margin: auto;
}

.media-link {
    text-decoration: none;
    width: 30px;
    height: 30px;
    border-radius: 5px;
}

.media-fb:hover {
    fill: var(--primary);
}

/* form */
input, select, textarea {
    background-color: #fff !important;
}

.input-container {
    padding: 10px;
}

.input-container input, textarea, select { 
    padding: 5px 10px;
    width: 100%;
    font-size: 1.125rem;
    color: var(--main-text);
    border: 1px solid var(--light-text);
    border-radius: 10px;
}

.input-container input, select { height: 48px; }

.input-container textarea { 
    min-height: 100px;
    max-width: 100%;
}

.input-container input, textarea, .select-wrapper {
    margin-top: 10px;
}

.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

select {
    appearance: initial;
    padding-right: 30px;
}

.select-wrapper::after {
    content: '⥯';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: var(--h3);
}

/* dropdown */
.dropdown-button { position: relative; }

.dropdown-container, .navbar-dropdown-container {
    display: none;
    position: absolute;
}

.dropdown-container{
    left: 50%;
    bottom: 0px;
    transform: translateY(100%) translateX(-50%);
    padding-top: 5px; 
}

.navbar-dropdown {
    display: none;
}

.navbar-dropdown-container {
    width: 100vw;
    right: 0;
    bottom: 0px;
    transform: translateY(100%);
    padding-top: 0px; 
}

.dropdown-window {
    background: var(--light);
    border-radius: 0px 0px 10px 10px;
    box-shadow: 0px 1px 1px var(--border-light);
    padding: 10px 0px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
	font-size: 1rem;
}

.dropdown-container.active, .navbar-dropdown-container.active { display: block; }

.dropdown-container.active .dropdown-window, .navbar-dropdown-container.active .dropdown-window { 
    opacity: 1;
    pointer-events: auto;
}

.dropdown-item {
    display: block;
    min-width: 250px;
    padding: 5px 20px;
    text-decoration: none;
    text-align: start;
    color: var(--main-text);
}

.dropdown-item:hover { 
    color: var(--primary);
}

/* popup */
.popup-container {
    display: none;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #5c5c5cad;
}

.popup-container.active { display: block; }

.popup-window {
    display: none;
    position: fixed;
    z-index: 11;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    min-width: 100px;
    min-height: 100px;
    max-height: calc(100vh - 100px);
    background-color: #fff;
    border-radius: 20px;
}

.popup-window.active { display: block; }

.popup-header {
    padding: 10px 40px 5px 20px;
    position: relative;
    border-bottom: 1px solid #d3d3d3;
    display: flex;
    justify-content: start;
    align-items: stretch;
}

.popup-body { 
    padding: 10px 20px;
    max-width: calc(100vw - 10px);
    max-height: calc(100vh - 135px);
    overflow-y: scroll;
}

.popup-max-height {
    width: auto;
    max-width: calc(100vw - 50px);
    max-height: calc(100vh - 155px);
}

.popup-title { 
    flex: 1;
    color: var(--note-text);
}
.popup-header .button-close {
    position: absolute;
    right: 10px;
    top: -1px;
}

/* google maps */
.google-maps iframe {
    width: 100%;
    min-height: 450px;
}

/* */
.hp {
    position: absolute;
    top: -9999px;
}

/* elements */
/* button */
button {
    width: fit-content;
    padding: 10px 30px;
    background-color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    color: #fff;
    font-size: var(--h6);
    font-weight: 500;
    transition: transform 0.3s;
	cursor: pointer;
}

.button-primary-light {
    background-color: #fff;
    color: var(--primary-text);
}

.button-secondary {
    background-color: var(--secondary);
    color: var(--secondary-text);
    border-color: var(--secondary);
}

.button-accent {
    background-color: var(--accent);
    color: var(--main-text);
    border-color: var(--accent);
}

.button-close {
    padding: 2px;
    background-color: rgba(0, 0, 0, 0);
    border-width: 0px;
    border-radius: 20px;
    color: var(--primary);
    font-size: 1.75rem;
    font-weight: normal;
}

.button-big-padding { padding: 20px 50px; }

button:hover {
    transform: translateY(-3px);
    box-shadow: 0px 5px 5px var(--border-light);
}

button:active {
    transform: translateY(0px);
    box-shadow: 0px 0px;
}

.button-close:hover {
    transform: translateY(0px);
    box-shadow: 0px 0px;
    color: var(--note-text);
}

button:disabled {
    transform: translateY(0px);
    box-shadow: 0px 0px;
    background-color: #D3D3D3;
    border-color: #D3D3D3;
    color: #5C5C5C;
}

/* list */
ul, .ul { padding-left: 30px; }

li::marker {
    color: rgba(0, 0, 0, 0);
}

li, .li { position: relative; }

li { margin-bottom: 10px; }

li::before, .li::before {
  content: "•";
  position: absolute;
  top: 3px;
  left: -15px;
  font-size: 10px;
  line-height: 1;
}

/* table */
.table-container {
    padding: 10px 20px;
    border-radius: 20px;
}

table {
    border-collapse: collapse;
}

thead, th { font-weight: 500; }
th { 
    padding-bottom: 10px;
    text-align: start;
}

td { 
    padding: 10px 10px 10px 0px;
    vertical-align: baseline;
}

.table-separator td{
    border-bottom: 1px solid #d3d3d3;
}

.cost-td { 
    text-align: center;
    width: 150px;
}
/* text */
strong { font-weight: 500; }

/* === STYLES === */
/* width, height */
.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* margin, padding */
.mg-auto { margin: auto; }
.mg-20 { margin: 20px; }
.mg-10 { margin: 10px; }
.mg-0 { margin: 0px; }

.mg-bottom-20 { margin-bottom: 20px; }
.mg-bottom-10 { margin-bottom: 10px; }
.mg-bottom-5 { margin-bottom: 5px; }
.mg-bottom-2 { margin-bottom: 2px; }

.mg-top-20 { margin-top: 20px; }
.mg-top-10 { margin-top: 10px; }
.mg-top-5 { margin-top: 5px; }
.mg-top-2 { margin-top: 2px; }

.pd-20 { padding: 20px; }
.pd-10 { padding: 10px; }
.pd-0 { padding: 0px; }

/* text */
.h1 { font-size: var(--h1); }
.h2 { font-size: var(--h2); }
.h3 { font-size: var(--h3); }
.h4 { font-size: var(--h4); }
.h5 { font-size: var(--h5); }
.h6 { font-size: var(--h6); }
.h7 { font-size: var(--h7); }

.txt-size-normal { font-size: var(--normal-txt-size); }

.txt-accent { font-family: var(--accent-font); }

.txt-normal { font-weight: 300; }
.txt-bold { font-weight: 500; }

.txt-decoration-none { text-decoration: none; }
.txt-center { text-align: center; }
.txt-start { text-align: start; }
.txt-end { text-align: end; }

.txt-up { text-transform: uppercase; }

.txt-shadow-secondary { text-shadow: 0px 0px 5px rgba(226, 245, 225, 0.6); }

/* colors */
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.bg-light { background-color: var(--light); }
.bg-white { background-color: #fff; }

.txt-main { color: var(--main-text); }
.txt-primary { color: var(--primary-text); }
.txt-secondary { color: var(--secondary-text); }
.txt-note { color: var(--note-text); }
.txt-light { color: var(--light-text); }
.txt-navbar { color: var(--navbar-text); }
.txt-red { color: #FF5555; }


/* flex */
.display-flex { display: flex; }

.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }

.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.justify-center { justify-content: center; }
.justify-baseline { justify-content: baseline; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }
.align-items-center { align-items: center; }
.align-items-stretch { align-items: stretch; }
.align-items-baseline { align-items: baseline; }

.align-content-start { align-content: flex-start; }
.align-content-end { align-content: flex-end; }
.align-content-center { align-content: center; }
.align-content-stretch { align-content: stretch; }
.align-content-between { align-content: space-between; }
.align-content-around { align-content: space-around; }

.gap-30 { gap: 30px; }
.gap-25 { gap: 25px; }
.gap-20 { gap: 20px; }
.gap-15 { gap: 15px; }
.gap-10 { gap: 10px; }
.gap-5 { gap: 5px; }
.gap-0 { gap: 0px; }

.flex-grow-1 { flex-grow: 1; }
.flex-1 { flex: 1; }

/* border */
.border-light { border: 1px solid var(--border-light); }
.border-secondary {
    border-top: 0px;
    border-bottom: 1px;
    border-left: 0px;
    border-right: 1px;
    border-style: solid;
    border-color: var(--border-secondary);
}

.round-50 { border-radius: 50px; }
.round-20 { border-radius: 20px; }
.round-10 { border-radius: 10px; }

/* display */
.display-none { display: none; }