/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
[type=text],
[type=password],
[type=date],
[type=datetime],
[type=datetime-local],
[type=month],
[type=week],
[type=email],
[type=number],
[type=search],
[type=tel],
[type=time],
[type=url],
[type=color],
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select,
[type=text],
[type=password],
[type=date],
[type=datetime],
[type=datetime-local],
[type=month],
[type=week],
[type=email],
[type=number],
[type=search],
[type=tel],
[type=time],
[type=url],
[type=color],
textarea { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #1e494b;
}
@media (min-width: 1024px) {
  body {
    font-size: 1.25rem;
  }
}

p {
  margin: 0 0 1em 0;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: #289da2;
  text-decoration: underline;
}
a:hover, a:focus, a:active {
  color: #1e494b;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
.h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: -0.6px;
  font-weight: 900;
  margin: 0;
  margin-bottom: 0.4em;
}

h2,
.h2 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
  font-weight: 900;
  margin: 0;
  margin-bottom: 0.4em;
}

h3,
.h3 {
  font-size: 1.625rem;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin: 0;
  margin-bottom: 0.4em;
}

h4,
.h4 {
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin: 0;
  margin-bottom: 0.4em;
}

button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  cursor: pointer;
  color: #1e494b;
}

section {
  margin-bottom: 80px;
}

::-moz-selection {
  background: #289da2;
  color: #ffffff;
}

::selection {
  background: #289da2;
  color: #ffffff;
}

[x-cloak] {
  display: none !important;
}

select, [type=text],
[type=password],
[type=date],
[type=datetime],
[type=datetime-local],
[type=month],
[type=week],
[type=email],
[type=number],
[type=search],
[type=tel],
[type=time],
[type=url],
[type=color],
textarea {
  display: block;
  box-sizing: border-box;
  height: 40px;
  padding: 0 8px;
  border: 2px solid #1e494b;
  background-color: white;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: normal;
  color: #1e494b;
  outline: none;
}
select:focus, [type=text]:focus,
[type=password]:focus,
[type=date]:focus,
[type=datetime]:focus,
[type=datetime-local]:focus,
[type=month]:focus,
[type=week]:focus,
[type=email]:focus,
[type=number]:focus,
[type=search]:focus,
[type=tel]:focus,
[type=time]:focus,
[type=url]:focus,
[type=color]:focus,
textarea:focus {
  border-color: #289da2;
}
select[disabled], [disabled][type=text],
[disabled][type=password],
[disabled][type=date],
[disabled][type=datetime],
[disabled][type=datetime-local],
[disabled][type=month],
[disabled][type=week],
[disabled][type=email],
[disabled][type=number],
[disabled][type=search],
[disabled][type=tel],
[disabled][type=time],
[disabled][type=url],
[disabled][type=color],
textarea[disabled] {
  border: 2px solid rgba(0, 0, 0, 0.02);
  background: rgba(0, 0, 0, 0.05);
}

select[multiple], [multiple][type=text],
[multiple][type=password],
[multiple][type=date],
[multiple][type=datetime],
[multiple][type=datetime-local],
[multiple][type=month],
[multiple][type=week],
[multiple][type=email],
[multiple][type=number],
[multiple][type=search],
[multiple][type=tel],
[multiple][type=time],
[multiple][type=url],
[multiple][type=color],
textarea[multiple] {
  height: 200px;
}

[type=text],
[type=password],
[type=date],
[type=datetime],
[type=datetime-local],
[type=month],
[type=week],
[type=email],
[type=number],
[type=search],
[type=tel],
[type=time],
[type=url],
[type=color],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

textarea {
  height: auto;
  min-height: 100px;
  padding: 8px;
  resize: vertical;
}

.small {
  font-size: 0.8em;
}

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.layout__content {
  flex: 1 1 auto;
  padding-bottom: 100px;
  overflow: hidden;
}

.container {
  max-width: 1040px;
  padding: 0 10px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .container {
    padding: 0 20px;
  }
}

.search-form {
  position: relative;
}
.search-form__input {
  height: 60px;
  width: 100%;
  border: none;
  padding: 0 70px;
  color: #1e494b;
  box-shadow: -6px 6px 0 0px rgba(0, 0, 0, 0.3);
  font-size: 1.25rem;
}
.search-form__input:focus {
  border: none;
}
.search-form__icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 16px;
}
.search-form__button {
  position: absolute;
  top: 0;
  right: 0;
  background: #edf3f4;
  border: 0;
  padding: 0 20px;
  height: 100%;
}
.search-form__button:hover {
  background: #1e494b;
  color: #ffffff;
}

.header {
  padding: 40px 0;
  background: #289da2;
  color: #ffffff;
  margin-bottom: 80px;
}
.header__title {
  color: #ffffff;
  margin-bottom: 20px;
}
.header__title a {
  color: #ffffff;
  text-decoration: none;
}
.header__title a:hover {
  color: #1e494b;
}

.area-select-bar {
  margin-top: -80px;
  margin-bottom: 80px;
  background: #edf3f4;
  padding: 10px 0;
}
.area-select-bar__form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.links-grid {
  display: grid;
  grid-gap: 30px;
  margin-top: 30px;
}

.link {
  padding: 20px;
  background: #edf3f4;
  box-shadow: -6px 6px 0 0px rgb(205.3448275862, 221.8965517241, 224.6551724138);
}
.link__title {
  margin-bottom: 20px;
}
.link__url {
  display: inline-flex;
  margin-bottom: 30px;
}
.link__url-copy {
  background: #289da2;
  color: #ffffff;
  font-size: 1rem;
  padding: 0 10px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.link__url-copy:hover {
  background: #1e494b;
}
.link__url-input {
  opacity: 0;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.link__url-text {
  background: #ffffff;
  padding: 6px 20px;
  font-size: 1rem;
}
.link__for {
  margin-bottom: 20px;
  display: flex;
  gap: 30px;
}
.link__for-item {
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.link__for-item-check {
  background: #289da2;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  width: 30px;
  height: 30px;
}
.link__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  font-size: 0.875rem;
}

.footer {
  background: #edf3f4;
  padding: 40px 0;
  font-size: 0.875rem;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 50rem;
}
.footer__disclaimer {
  opacity: 0.6;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form__row {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form__row--full-width {
  max-width: none;
}

.form__required {
  color: #e74c3c;
}

.button {
  background-color: #1e494b;
  color: #fff;
  height: 44px;
  padding: 0 20px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.button:hover {
  background-color: rgb(15.4285714286, 37.5428571429, 38.5714285714);
}

.home__header {
  padding: 80px 0;
  background: #289da2;
  color: #ffffff;
  margin-bottom: 80px;
}
.home__title {
  font-size: 3.375rem;
  margin-bottom: 10px;
}
.home__subtitle {
  font-size: 1.25rem;
  margin-bottom: 60px;
}
.home__search {
  position: relative;
}
.home__dl {
  position: absolute;
  bottom: 100%;
  right: 120px;
  pointer-events: none;
}
.home__dl-scope {
  position: absolute;
  bottom: 33px;
  right: 163px;
  z-index: 1;
  pointer-events: none;
}
.home__area-select-inner {
  background: #edd9dc;
  padding: 20px;
  border-left: 5px solid #bb868e;
}
.home__categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 20px;
}
.home__categories-item {
  background: #edf3f4;
  padding: 20px;
  min-height: 120px;
}
