/*!
Theme Name: Huidpraktijk Rhoon
Theme URI: https://underscores.me/
Author: Danny Kamman
Author URI: https://dannykamman.com/
Description: Hi. I'm a starter theme called <code>_s</code>, or <em>underscores</em>, if you like. I'm a theme meant for hacking so don't use me as a <em>Parent Theme</em>. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: _s
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

_s is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
	/* Colors */
	--primary-color: #fff;
	--secondary-color: #fff;
	--tertiary-color: #fff;
	--accent-1: #fff;
	--accent-2: #fff;

	--gray-1: #8c8f93;
	--gray-2: #b6bac0;

	--white: #fff;
	--black: #2c2e30;

	/* Typography */
	--heading-font: "DM Serif Display", serif;
	--sub-heading-font: "Montserrat", sans-serif;
	--body-font: "Open Sans", sans-serif;

	/* Utility */
	--section-margin: 120px;
	--container-width: 1280px;
	--small-container-width: 770px;

	--navbar-height: 114px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;

	font-family: var(--body-font);
}

html {
	font-size: 62.5%;
}

body,
p,
a,
a:visited {
	font-family: var(--body-font);
	color: var(--black);
	text-decoration: none;
	font-size: 1.6rem;
}
a,
a:visited {
	display: block;
}

h2, h3, h4, h5, h6 {
	font-family: var(--sub-heading-font); 
	font-weight: 500;
	text-transform: uppercase;
}

h1, .h1 {
	font-size: 4.8rem;
	text-transform: unset;

	margin-bottom: 24px;
}

h2, .h2 {
	font-size: 3.2rem;
}

h3, .h3 {
	font-size: 2.4rem;
}

h4, .h4 {
	font-size: 1.6rem;
}

@media (max-width: 1024px) {
}

/* Utility */
section {
	margin-top: var(--section-margin);
}

.container {
	width: 90%;
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
}

.btn-group {
	margin-top: 48px;
	display: flex;
	gap: 16px;
}
/* END Utility */

/* Buttons */
.btn, .btn:visited {
	position: relative;
	text-decoration: none;

	border: 1px solid var(--white);
	overflow: hidden;
}
.btn__inner {
	padding: 10px 14px;
	color: var(--black);
	font-family: var(--sub-heading-font);
	font-size: 1.3rem;
	text-transform: uppercase;
	position: relative;
	z-index: 2;
	letter-spacing: 1.5px;
	transition: all .3s ease;
}

.btn__border {
	position: absolute;
	background-color: var(--white);
	transition: all .3s ease;
}
.btn__border--top {
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;

	transform-origin: right;
	transform: scaleX(1);
	opacity: 1;
}
.btn:hover .btn__inner {
	color: var(--white);
}
.btn:hover .btn__border--top {
	transform: scaleX(0);
	opacity: 0;
}

/* Button 2 */
.btn--2 .btn__inner {
	color: var(--white);
}
.btn--2 .btn__border--top {
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;

	transform-origin: left;
	transform: scaleX(0);
	opacity: 0;
}
.btn.btn--2:hover .btn__border--top {
	transform: scaleX(1);
	opacity: 1;
}
.btn.btn--2:hover .btn__inner {
	color: var(--black);
}


/* Button 3 */
.btn--3 {
	border-width: 2px;
}
.btn--3 .btn__inner {
	font-weight: 600;
}


/* END Buttons */

/* Header */
#masthead {
	position: relative; 
	z-index: 99;
}
.header__inner {
	display: flex;
	justify-content: space-between;
	padding: 24px 0;

	align-items: center;
}

.header__inner .site-branding h3 {
	font-family: var(--heading-font);
	text-transform: capitalize;
}

.menu {
	display: flex;
	gap: 24px;
	list-style: none;
}

.sub-menu {
	list-style: none;
	position: absolute;
	opacity: 0;

	display: flex;
	flex-direction: column;
	gap: 8px;

	min-width: 100%;

	pointer-events: none;

	transition: all .2s ease;
}
.sub-menu:before {
	content: '';
	position: absolute;
	top: 50px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background-color: var(--white);
}
.sub-menu .menu-item {
	padding: 0 16px;
}

.menu > .menu-item > .sub-menu {
	left: 50%;
	top: 20px;

	padding-top: 66px;
	padding-bottom: 16px;

	transform: translateX(-50%);
}
.menu > .menu-item > .sub-menu > .menu-item > .sub-menu {
	left: calc(100% - 1px);
	top: 0%;
	padding: 16px 0;
}
.menu > .menu-item > .sub-menu > .menu-item > .sub-menu:before {
	top: 0;
}
.menu-item:hover > .sub-menu {
	opacity: 1;
	pointer-events: all;
}

.menu-item {
	position: relative;
}

.menu-item a {
	font-family: var(--sub-heading-font);
	text-transform: uppercase;
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 1.5px;
	padding: 2px 0;
	width: fit-content;

	white-space: nowrap;

	position: relative;

	transition: all .2s ease;
}
.menu-item a:before {
	content: '';
	position: absolute;
	top: 0px;
	left: 0;
	background-color: var(--gray-2);
	width: 0%;
	height: 1px;

	transition: all .2s ease;
}
.menu-item a:after {
	content: '';
	position: absolute;
	bottom: 0px;
	left: 0;
	background-color: var(--gray-2);
	width: 0%;
	height: 1px;

	transition: all .2s ease;
}

.menu-item:hover > a {
	color: var(--gray-1);
}
.menu-item:hover > a:before,
.menu-item:hover > a:after {
	width: 100%;
}
/* END Header */