@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap");

:root {
  --nav-height: 90px;
  --nav-mobile-height: 80px;
  --brand: #96cb9e;
  --brand-rgb: 150, 203, 158;
  --spot: #e88d8d;
  --spot-rgb: 232, 141, 141;
  --text: #23272a;
  --main-padding: 40px;
  --background-light: #fbf5f9;
}

h1,
h2,
h3 {
  font-weight: normal;
  font-size: 30px;
}

/* when you select things */
::selection,
mark {
  background: #e88d8d;
  color: white;
}

.inner {
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  width: calc(100vw - 80px);
}
@media only screen and (max-width: 767px) {
  .inner {
    width: calc(100vw - 40px);
    margin: 0 auto 100px auto;
  }
}

.wide {
  width: 100%;
}

.single {
  width: 619px;
  margin: 0 auto;
}
@media only screen and (max-width: 1023px) {
  .single.single-wide .block-actions {
    grid-template-columns: 1fr;
  }
}
@media only screen and (min-width: 1023px) {
  .single.single-wide {
    width: 728px;
  }
}
@media only screen and (min-width: 1023px) {
  .single.single-full-width {
    width: auto;
  }
}
@media only screen and (max-width: 1023px) {
  .single {
    min-width: 619px;
    width: 100%;
  }
}
@media only screen and (max-width: 767px) {
  .single {
    min-width: auto;
  }
}

.wrapper {
  display: flex;
  flex-direction: column;
  background-image: var(--scribble);
  background-repeat: repeat-x;
  background-position: top center;
}

main {
  padding-top: var(--nav-height);
  padding-bottom: var(--main-padding);
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  width: calc(100vw - var(--main-padding) * 2);
  overflow-x: hidden;
}

@media only screen and (max-width: 767px) {
  main {
    padding-top: calc(var(--nav-mobile-height));
    padding-bottom: 0;
  }
}

body {
  padding: 0;
  margin: 0;
  color: var(--text);
  background: var(--site-background);
  font-family: Rubik, sans-serif;
  height: 100px;

  line-height: 26px;
  font-size: 16px;

  overflow: auto;
  scroll-behavior: smooth;
}

.block-group {
  background-color: white;
  border-radius: 8px;
  padding: 45px;
}

.block-content p:first-child {
  margin-top: 0;
}

.single-small {
  max-width: 520px;
  margin: 0 auto;
}

label {
  display: block;
  line-height: 24px;
  margin-bottom: 2px;
  color: #000;
  font-size: 14px;
  font-weight: 500;
}

button,
input {
  width: 100%;
  height: 50px;
  border-radius: 5px;
  outline: none;
}

input {
  background: #fff;
  border: 1px solid #e88d8d;
  box-sizing: border-box;
  color: #23272a;
  font-size: 16px;
  padding: 5px 20px;
}

input::placeholder {
  font-size: 14px;
}

input:focus {
  background: var(--background-light);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
}

a.button,
button {
  background: var(--highlight);
  color: white;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  transition-property: box-shadow, background-color, color;
  padding: 0 25px;
  border-radius: 5px;
  height: 50px;
}

a.button svg,
button svg {
  width: auto;
  height: 20px;
  transition-duration: 0.2s;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: auto;
}

button[type="submit"] svg {
  fill: white;
}

a.button:hover,
button:hover {
  background: var(--highlight-darker);
}

a.button:hover svg,
button:hover svg {
  transform: scale(1.25);
}

.block-header {
  margin-bottom: 40px;
}

.block-header h1,
.block-header h3 {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin: 0;
}

.form-row {
  margin-bottom: 21px;
}

.toggle-password {
  position: relative;
}

.toggle-password input[type="text"],
.toggle-password input[type="password"] {
  padding-right: 50px;
}

.toggle-password button {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  cursor: pointer;
  background: none;
  width: auto;
  height: auto;
}

.toggle-password svg path {
  transition: 0.25s;
}

.toggle-password input[type="text"] + button svg path {
  fill: var(--text);
}

/* Toggle password logedout version */
.toggle-password .show-password-inactive svg:first-child {
  display: none;
}
.toggle-password .show-password-active svg:last-child {
  display: none;
}

a {
  color: var(--text);
}

.password-remember {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 30px;
  font-size: 14px;
}

.password-remember a {
  font-weight: bold;
  text-decoration: none;
  color: var(--text);
}

.block-footer {
  text-align: center;
  margin: 40px 0;
  line-height: normal;
}

a {
  color: var(--spot);
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  text-decoration: underline;
}

.errorlist {
  background-color: #fef9f9;
  list-style: none;
  margin-left: -60px;
  margin-right: -60px;
  padding: 15px 60px;
}

@media only screen and (max-width: 767px) {
  main {
    padding-top: 16px;
    width: unset;
  }
  .block-header {
    margin-bottom: 16px;
  }
  .block-group {
    padding: 16px;
  }
}

.back-link {
  color: #96cb9e;
}

.back-link svg {
  fill: #96cb9e;
}
