/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  min-height: 100vh;
  min-width: 310px;
  padding: 0;
  color: black;
  scroll-behavior: smooth;
  width: 100%;
}

/* On html only: a body background would paint over the .blob (z-index: -1) */
html {
  background-color: white;
}

@media screen and (min-width: 576px) {
  body {
    font-size: 15px;
  }
}
@media screen and (min-width: 768px) {
  body {
    font-size: 16px;
  }
}
@media screen and (min-width: 992px) {
  body {
    font-size: 17px;
  }
}
@media screen and (min-width: 1200px) {
  body {
    font-size: 18px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

h1 {
  font-size: 1.8em;
  color: white;
  font-weight: 700;
}

h2 {
  font-size: 1.6em;
  font-weight: 600;
  padding-bottom: 25px;
}

h1,
h2 {
  font-family: "Comfortaa", serif;
}

p {
  color: #0b1317;
}

p,
table {
  font-size: 1em;
  font-family: "Comfortaa", sans-serif;
}

a {
  text-decoration: none;
  font-family: "Comfortaa", serif;
}

ul,
ol {
  margin-top: 0;
}

img {
  height: auto;
}

li {
  padding-bottom: 20px;
  font-family: "Comfortaa", sans-serif;
  color: #0b1317;
}

table {
  margin-bottom: 25px;
  border-collapse: collapse;
}

table,
th,
td {
  border: 1px solid lightgrey;
  padding: 10px;
}

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #e3e3e3;
}
::-webkit-scrollbar-thumb {
  background: #686868;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #333333;
}

/* Layout */

.blob {
  background-image: linear-gradient(to top left, #00628f, #0a9ccc 75%);
  border-bottom-left-radius: 5%;
  border-bottom-right-radius: 20%;
  height: 250px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
  box-shadow: 1px 1px 18px 7px rgba(0, 0, 0, 0.14);
}

@media screen and (min-width: 40em) {
  .blob {
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 10%;
    height: 250px;
  }
  .blob.tall {
    height: 430px;
  }
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

.page-title {
  display: flex;
  justify-content: center;
  padding: 64px 0;
}

.content {
  padding: 16px;
}

.text {
  padding-bottom: 25px;
  line-height: 2.5rem;
}
.text.centered {
  text-align: center;
}
.text.large {
  font-size: 1.2em;
}
.text.slanted {
  font-style: italic;
}

.link {
  text-decoration: underline;
  color: #00628f;
}

.back-link {
  text-decoration: underline;
  color: #00628f;
  display: block;
  margin-bottom: 25px;
  font-size: 1.1em;
}

/* Header */

.header {
  display: flex;
  padding: 1em;
  height: 100px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1400px;
  align-items: center;
}

.logo {
  display: flex;
  align-self: center;
  align-items: center;
  min-height: 70px;
}

.logo-text {
  padding-left: 5px;
}

.logo-text p {
  color: white;
  font-family: "Comfortaa", serif;
  font-size: 1.4em;
}

@media (max-width: 969px) {
  .logo-text p {
    font-size: 1em;
  }
}

.nav-links {
  align-self: center;
}

.nav-item {
  color: white;
  margin-left: 25px;
  padding-top: 3px;
  font-family: "Comfortaa";
  font-weight: 400;
  display: inline-block;
  font-size: 1em;
  margin-bottom: 3px;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.nav-item::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  height: 3px;
  width: 0;
  background: transparent;
  transition: all 0.3s ease-in-out;
}

.nav-item:hover::after {
  width: 100%;
  left: 0;
  background: white;
}

.nav-item[aria-current="page"] {
  border-bottom: 3px solid white;
}

.nav-cta {
  border: 3px solid white;
  border-radius: 5px;
  padding: 5px 10px;
  color: white;
  margin-left: 25px;
  font-family: "Comfortaa";
  font-weight: 700;
  display: inline-block;
  font-size: 1em;
  margin-bottom: 3px;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.nav-cta:hover,
.nav-cta[aria-current="page"] {
  background-color: white;
  color: black;
}

.menu-toggle-wrapper {
  color: black;
  flex: 1;
  text-align: right;
  align-self: center;
  font-size: 1.2em;
  margin-right: 10px;
}

.menu-toggle {
  background-color: white;
  border-radius: 5px;
  border: none;
  color: black;
  font-family: "Comfortaa", sans-serif;
  cursor: pointer;
  font-size: 1em;
  margin: 5px 0;
  padding: 5px 10px;
}

.menu-toggle svg {
  color: black;
  margin-right: 5px;
  height: 1em;
  vertical-align: -0.125em;
}

@media (max-width: 911px) {
  .nav-links {
    display: none;
  }
}

@media only screen and (min-width: 912px) {
  .menu-toggle-wrapper {
    display: none;
  }
}

/* Mobile menu */

.menu {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1;
  transition: transform 0.3s ease-in-out, visibility 0.3s;
  transform: translateY(100%);
  visibility: hidden;
}

.menu.open {
  transform: translateY(0);
  visibility: visible;
}

.menu-close {
  display: block;
  margin: 10px 20px 0 auto;
  background: none;
  border: none;
  font-family: "Comfortaa";
  cursor: pointer;
  font-size: 1.6em;
  font-weight: 700;
  color: white;
}

.menu-list {
  list-style-type: none;
  padding: 0;
  text-align: center;
}

.menu-list li {
  padding: 0;
}

.menu-item {
  margin: 15px 0;
  color: white;
  display: block;
  font-family: "Amatic SC";
  font-size: 1.8em;
  font-weight: 700;
}

.menu-cta {
  background-color: #00628f;
  color: white;
  border-radius: 5px;
  padding: 5px 15px;
}

/* Footer */

.footer {
  background-color: #00628f;
  color: white;
  font-size: calc(1em - 2px);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em 26px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  flex: 1 1 200px;
  gap: 10px;
}

.footer-company {
  color: inherit;
  font-family: "Comfortaa", serif;
  font-size: 1.2em;
  font-weight: 700;
}

.footer-small {
  color: inherit;
  font-size: 0.85em;
}

.footer-detail {
  color: inherit;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
}

.footer-detail svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: inherit;
  font-family: "Comfortaa", serif;
  font-size: 1em;
}

/* Welkom */

.welcome-hero {
  display: flex;
  flex-wrap: wrap-reverse;
}

.welcome-hero > * {
  width: 100%;
  padding: 16px;
}

.welcome-greeting {
  align-self: center;
}

.welcome-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.welcome-photo img {
  max-width: 90%;
  border-radius: 60% 50% 50% 50%;
  box-shadow: 0px 11px 52px 20px rgba(0, 0, 0, 0.3);
}

@media screen and (min-width: 40em) {
  .welcome-hero > * {
    width: 50%;
  }
  .welcome-greeting .text {
    color: white;
  }
}

.welcome-title {
  margin-bottom: 25px;
  color: black;
}

.plain-link {
  text-decoration: none;
  color: black;
}

/* Specialisaties */

.specialisaties {
  min-height: 600px;
}

.specialisaties-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 50px;
}

.specialisaties-list a {
  color: black;
  font-family: "Comfortaa", sans-serif;
  padding: 50px;
  margin: 1em;
  box-shadow: 2px 3px 12px 2px #0000001f;
  border-radius: 15px;
}

.video {
  display: block;
  margin-bottom: 50px;
}

.video iframe {
  margin: 0 auto;
  display: block;
  max-width: 100%;
  border: none;
}

.figure {
  width: 500px;
  max-width: 90%;
  margin: 25px 0;
}

/* Afspraak maken */

.columns {
  display: flex;
  flex-wrap: wrap;
}

.columns > * {
  width: 100%;
  padding: 16px;
}

@media screen and (min-width: 64em) {
  .columns > * {
    width: 50%;
  }
}

.address {
  display: block;
  margin-bottom: 45px;
}

.card {
  box-shadow: 0 0 11px 5px #00000008;
  padding: 25px;
  border-radius: 15px;
}

.photos {
  display: flex;
  flex-wrap: wrap;
}

.photos img {
  max-width: min(400px, 100%);
  max-height: 400px;
  margin-bottom: 45px;
  margin-right: 40px;
  border-radius: 5px;
  box-shadow: 0 0 11px 5px #0000002b;
}

/* Contactformulier */

.form-label {
  color: #333333;
  display: block;
  font-family: "Comfortaa", sans-serif;
}

.form-input,
.form-textarea {
  background: #effaff;
  border-radius: 6px;
  border: none;
  font-size: 1em;
  padding: 12px 5px;
  width: 100%;
}

.form-input {
  display: block;
  margin: 4px 0 20px;
}

.form-textarea {
  resize: vertical;
}

.form-input:hover,
.form-textarea:hover {
  box-shadow: inset 2px 2px 6px 0 rgba(0, 0, 0, 0.07);
}

.form-input:focus,
.form-textarea:focus {
  box-shadow: inset 1px 1px 6px 0 rgba(0, 0, 0, 0.07);
}

.form-check {
  color: #333333;
  display: inline-block;
  cursor: pointer;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.form-submit {
  background-color: #00628f;
  border-radius: 5px;
  border: none;
  font-family: "Patrick Hand";
  color: white;
  cursor: pointer;
  font-size: 1em;
  margin: 10px 0;
  padding: 16px 25px;
  transition: all 0.2s ease-in-out;
}

.form-submit:hover {
  box-shadow: 0 0 20px 0 #00628f;
  transform: translateY(-1px);
}

.form-submit:active {
  transform: translateY(0px);
}

.form-submit:disabled {
  background-color: grey;
  box-shadow: none;
  transform: none;
  transition: none;
}

.form-status {
  display: flex;
  justify-content: flex-end;
}

.hidden {
  display: none;
}

/* Visible keyboard focus (the old site removed all focus outlines) */
:focus-visible {
  outline: 2px solid #0a9ccc;
  outline-offset: 2px;
}
