/*
Theme Name: Dr. Stephan Von Arx
Author: lars berg (@LasseBerg)
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lora:wght@400;700&family=Inter:wght@400;600&display=swap');

:root {
  --primary: #1D3557;
  --secondary: #e5decf;
  --tertiary: rgba(197, 138, 0, 0.1);
  --accent: #C49A6C;
  --font: #333333;
  --font-contrast: #FAFAFA;
}

body {
  font-family: Arial, serif;
  color: var(--font);
  background-color: var(--secondary);
  line-height: 1.6;
  font-size: 20px;
  margin: 0;
}

h1, h2, h3 {
  font-family: Arial, serif;
  color: var(--primary);
}
h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 700; margin: 5px 0 15px; }
h3 { font-size: 2rem; font-weight: 400; }

p {
  font-family: Arial, serif;
  font-size: 1.2rem;
}

button {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  background-color: var(--primary);
  color: var(--font-contrast);
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background-color: var(--accent);
}

.container {
  max-width: 1400px;
  margin: 0 auto 30px;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}
.container.full {
  max-width: 100%;
  padding: 0 30px;
  background: var(--tertiary);
}
.container.full > section {
  background: transparent;
  box-shadow: none;
}

.row { display: flex; flex-wrap: wrap; gap: 20px; }
.flex { display: flex; }
.col-6 { width: calc(50% - 10px); }
.text-center { text-align: center; }
.text-right { text-align: right; }

section, .wp-block-group  {
  background: var(--tertiary);
  border-radius: 10px;
  padding: 20px 30px;
  margin-bottom: 50px;
  box-shadow: 0 2px 10px 1px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.wp-block-group > h3 {
  margin-top: 0;
  margin-bottom: 20px;
}
.wp-block-group > h3 + p {
  margin-bottom: 10px;
}

.wp-block-column {
  padding: 0 10px;
}

video {
  max-width: 100%;
  border-radius: 10px;
  display: block;
}

header, footer {
  background: var(--tertiary);
  margin-bottom: 50px;
}
header .container,
footer .container {
  background: transparent;
}
header {
  border-bottom-right-radius: 300px;
  border-bottom-left-radius: 300px;
}
footer {
  margin-top: 50px;
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
footer .container {
  margin: 0;
  align-self: end;
}
.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  text-align: center;
  align-self: end;
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
}

.footer-logo {
  height: 180px;
  width: 180px;
  border-radius: 50%;
  box-shadow: inset 0 0 10px 1px rgba(0,0,0,0.3);
  padding: 12px;
}


.header-navigation {
  display: flex;
  justify-content: center;
}
.header-navigation .logo-wrap {
  position: relative;
  margin-bottom: -94px;
  z-index: 1;
}
.header-navigation .logo-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 100%;
  box-shadow: inset 0 0 10px 1px rgba(0,0,0,0.3);
  z-index: 2;
  pointer-events: none;
}
.header-navigation .logo {
  width: 340px;
  aspect-ratio: 1;
  border-radius: 100%;
  display: block;
  padding: 20px;
  box-sizing: border-box;
}
.header-navigation .navigation {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 60px;
  width: calc(50% - 170px);
  font-family: 'Lora';
  box-sizing: border-box;
}
.header-navigation .navigation.right {
  text-align: right;
  width: calc(50% - 170px);
  box-sizing: border-box;
}
.header-navigation .navigation li {
  width: 100%;
}
.header-navigation .navigation a {
  color: var(--primary);
  font-size: 22px;
}

.movie-link {
	display: block;
	width: 100%;
	height: auto;
	position: relative;
}
.movie-link:before {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	border-radius: 10px;
	box-shadow: inset 0 0 10px 1px rgba(0,0,0,0.3);
	z-index: 2;
}
.movie-poster {
	width: 100%;
	height: auto;
	border-radius: 10px;
	display: block;
}
.movie-description {
  align-self: center;
  font-size: 22px;
}

.avatar {
  width: 250px;
  position: absolute;
  right: 0;
  bottom: 0;
}
.about-me {
  padding-right: 300px;
}

.page .container iframe {
  border-radius: 10px;
  margin-left: -10px;
  display: block;
  max-width: calc(100% + 20px);
}

.hamburger {
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  position: absolute;
  right: 0px;
  top: 0;
  z-index: 6;
}

.mobile-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #fff;
  border-top: 1px solid #ccc;
}

.mobile-menu li {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.mobile-menu li a {
  text-decoration: none;
  color: #333;
}

.mobile-menu.open {
  display: block;
  position: fixed;
  width: 100%;
  left: 0;
  z-index: 5;
  height: 100vh;
  top: 0;
  padding-top: 60px;
  background: var(--secondary);
}

@media screen and (max-width: 1021px){
  .header-navigation .navigation {
    display: none;
  }
  header .mobile.navigation {
    display: block !important;
  }
}

@media screen and (max-width: 768px) {
  .header-navigation .logo-wrap { height: 100%; }
  .header-navigation .logo { width: 200px; padding: 10px; }
  .header-navigation .navigation a { font-size: 20px; }

  header {
    border-bottom-right-radius: 100px;
    border-bottom-left-radius: 100px;
  }

  .footer-center {
    min-width: 100%;
    order: 0;
  }
  .footer-left, .footer-right {
    min-width: 100%;
    order: 1;
  }
  .footer-right {
    text-align: center;
  }

  .container.full {
    padding: 0 0;
  }

  .about-me {
    padding-right: 30px;
    padding-bottom: 200px;
  }
  .about-me .avatar {
    max-height: 200px;
    width: auto;
  }

  .col-6 { width: 100%; }
  .movie-description { text-align: center; }
}
