@font-face {
  font-family: "RotondaC";
  src: url("../fonts/rotondac.otf") format("embedded-opentype"),
    url("../fonts/rotondac.woff") format("woff"),
    url("../fonts/rotondac.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

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

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  scroll-behavior: smooth;
  font-family: "RotondaC", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #212121;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

a:hover {
  @media (hover: hover) {
    text-decoration: none;
  }
}

img {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* General classes */
.wrapper {
  max-width: 77.5rem; /* 1240px */
  margin: 0 auto;
  padding: 6.25rem 1.25rem;
}

.block-title {
  text-align: center;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 400;

  @media (max-width: 767px) {
    font-size: 1.75rem;
    line-height: 1.875rem;
  }
}

.button {
  font-size: 1.125rem;
  line-height: 1.375rem;
  padding: 0 1.5rem;
  border: 1px solid #212121;
  background: none;
  min-height: 2.5rem;
  border-radius: 90px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.button-primary {
  background-color: #ea3636;
  color: #fff;
  border: none;
  padding: 0 1.625rem;
  min-height: 2.75rem;
}

.button:hover {
  @media (hover: hover) {
    background-color: #212121;
    color: #fff;
    cursor: pointer;
  }
}

/* Header */
.header {
  position: fixed;
  top: 1.25rem;
  z-index: 1;
  color: #ffffff;
  width: 100%;
  left: 0;
  right: 0;
  transition: all 0.5s ease;
}

.header-wrapper {
  display: flex;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.header.light {
  color: #212121;
  background-color: #ffffff;
  box-shadow: 0 2px 6px 2px rgba(21, 21, 21, 0.15);
  transform: translateY(-1.25rem);
}

.site-logo {
  width: 100%;
  transition: all 0.5s ease;
  height: 100%;
}

.site-logo-wrapper {
  width: 3rem;
  height: 3rem;
  color: currentColor;

  @media (min-width: 1024px) {
    width: 6rem;
    height: 6rem;
  }
}

.header.light .site-logo-wrapper {
  @media (min-width: 1024px) {
    width: 4.25rem;
    height: 4.25rem;
  }
}

.header-links {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.language-pages {
    padding-left: 12px;
    color: #fff;
}

.language-pages a {
  color: #fff;
}

.menu {
  flex: 1 1 auto;
  display: flex;
  align-items: center;

  @media (min-width: 1024px) {
    margin-left: 7.5%;
  }
}

.menu-list {
  display: none;
  gap: 1.563rem;
  list-style-type: none;

  @media (min-width: 1024px) {
    display: flex;
  }
}

.menu-link {
  color: currentColor;
  font-size: 1rem;
  text-decoration: none;
}

.menu-link:hover {
  @media (hover: hover) {
    text-decoration: underline;
  }
}

.header-link.book {
  margin-left: 0.625rem;

  @media (max-width: 767px) {
    padding: 0 1.25rm;
  }

  @media (min-width: 1024px) {
    margin-left: 3.125rem;
  }
}

.header-link.rounded {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid currentColor;
  margin-left: 0.5rem;
  color: currentColor;
}

.header-link.rounded:hover {
  @media (hover: hover) {
    opacity: 0.7;
    transition: all 0.3s ease;
  }
}

.button-home {
  min-height: 3.5rem;
  margin-top: 4rem;

  @media (max-width: 1023px) {
    display: table;
    margin: 4rem auto 0;
    line-height: 3.5rem;
  }
}

a {
  color: #212121;
}

ul.list {
  padding-left: 2rem;
  padding-bottom: 1rem;
}

ul.list li {
  padding: 0.35rem 0;
}

.button-secondary {
  border-color: #fff;
  color: #fff;
  background-color: rgba(33, 33, 33, 0.6);
}