/*
 * huisartsduo.nl selection page.
 * Static replacement for the former root Joomla/YOOtheme install; colours,
 * fonts and spacing are taken from its YOOtheme style (theme.11.css).
 */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/opensans-300-latin.woff2) format("woff2");
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/lora-400-latin.woff2) format("woff2");
}

:root {
  --primary: #8fafcd;
  --primary-hover: #96b4d0;
  --secondary: #8d7566;
  --text: #3c3c3c;
  --heading: #262626;
}

html {
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  padding: 8px 12px;
  background: #fff;
  color: var(--heading);
  z-index: 1;
}

/* Header image (formerly a one-slide YOOtheme slideshow, fixed 300px high) */
.hero {
  height: 300px;
  overflow: hidden;
}

.hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 30px;
  }
}

@media (min-width: 960px) {
  .container {
    padding: 0 40px;
  }
}

main {
  padding: 40px 0;
}

h1 {
  margin: 0 0 40px;
  padding-top: 20px;
  font-family: "Lora", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--heading);
  text-align: center;
}

/* Practice choice: two logo cards, stacked on small screens */
.choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .choices {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .choices {
    gap: 70px;
  }
}

.choices a {
  display: flex;
  height: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--primary);
  transition: background-color 0.1s ease-in-out;
}

.choices a:hover,
.choices a:focus-visible {
  background: var(--primary-hover);
}

.choices a:focus-visible {
  outline: 2px solid var(--heading);
  outline-offset: 2px;
}

.choices img {
  display: block;
}

footer {
  padding: 70px 0;
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 80%;
}

footer a {
  color: #fff;
}
