* {
  margin: 0;
  padding: 0;
}

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

:root {
  --primary: #00abc4;
  --text: #858585;
  --background: #faf9f3;
  --border: #dddddd;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
}

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

.skip-link:focus {
  left: 1rem;
}

.header {
  height: 64px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 16px;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-image {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}

.logo-image img {
  width: 100%;
  height: 100%;
}

.logo-text {
  color: var(--primary);
  font-size: 14px;
  font-weight: bold;
}

.menu {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-left: auto;
}

.menu-link {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: bold;
}

.menu-link:hover {
  color: var(--primary);
}

.menu-button {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 4px;
}

.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  height: 22px;
}

.menu-icon:hover .menu-icon-bar {
  background-color: var(--primary);
}

.menu-icon-bar {
  width: 22px;
  height: 2px;
  background-color: var(--text);
}

.main {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: auto;
  background-color: var(--background);
  color: var(--text);
  padding: 0 16px 0 16px;
}

.section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: nowrap;
  font-size: 14px;
  padding: 16px 0 16px 0;
}

.section-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.section-content>*:last-child {
  margin-bottom: 0;
}

.section-image {
  flex: 0 0 200px;
  width: 200px;
  height: 200px;
  margin: 0 0 16px 0;
}

.section-image img {
  width: 100%;
  height: 100%;
  border-radius: 100%;
}

.section-content h1,
.section-content h2 {
  font-size: 24px;
  margin: 0 0 16px 0;
  color: var(--primary);
}

.section-content h3 {
  font-size: 14px;
  margin: 0 0 8px 0;
}

.section-content h4 {
  font-size: 14px;
  margin: 0 0 8px 0;
  font-weight: normal;
}

.section-content p {
  margin: 0 0 16px 0;
}

.section-content a {
  color: var(--primary);
  text-decoration: none;
}

.section-content ul {
  list-style-type: disc;
  margin: 0 0 16px 20px;
}

.section-map {
  width: 100%;
  height: 400px;
  border: none;
  margin: 0 0 16px 0;
}

@media screen and (max-width: 672px) {

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background-color: var(--background);
    padding: 8px 0;
    border-top: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    z-index: 1000;
  }

  .menu.is-open {
    display: flex;
  }

  .menu-link {
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    width: 100%;
  }

  .menu-link:hover {
    background-color: #f0f0f0;
    color: var(--primary);
  }

  .menu-button {
    display: flex;
  }

  .section {
    flex-direction: column-reverse;
  }

  .section-image {
    flex: 0 0 150px;
    height: 150px;
    width: 150px;
    align-self: center;
  }
}
