@font-face {
  font-family: PublicSans-ExtraLight;
  src: url(fonts/PublicSans-ExtraLight.woff2) format("woff2"), url(fonts/PublicSans-ExtraLight.woff) format("woff");
  font-display: swap;
}

@font-face {
  font-family: PublicSans-Light;
  src: url(fonts/PublicSans-Light.woff2) format("woff2"), url(fonts/PublicSans-Light.woff) format("woff");
  font-display: swap;
}

html {
  font-family: PublicSans-ExtraLight, Arial, sans-serif;
  font-weight: 300;
  color: #333;
  font-size: 16px;
  line-height: 24px;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
img,
ul,
ol,
a,
li,
nav,
body,
header,
div,
p {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

p {
  margin-top: 10px;
}

b,
strong {
  font-weight: 600;
}

a {
  color: #336699;
  display: inline-block;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul,
ol,
li {
  list-style: none;
}

img {
  max-width: 100%;
}

h2,
h3,
h4 {
  color: #2a2a2a;
}

h1 {
  color: #fff;
  font-size: 2.7rem;
  line-height: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  width: 650px;
}

h2 {
  font-size: 1.8rem;
  line-height: 2.5rem;
  font-weight: 600;
  margin-bottom: 40px;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  line-height: 1.8rem;
}

h4 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 20px;
}

ol {
  margin-left: 20px;
}

ol li {
  list-style-type: decimal;
  margin-bottom: 10px;
}
header {
  color: #fff;
  height: 400px;
  background-color: #264653;
}

header .wrapper {
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 1024px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  header .wrapper {
    width: 100%;
    padding: 10px;
  }

  header h1 {
    font-size: 28px;
    line-height: 45px;
    width: 100%;
  }
}

nav.mainmenu {
  display: flex;
  width: 1024px;
  margin: 0 auto;
  align-items: center;
}

nav.mainmenu img {
  width: 30px;
  height: 30px;
}

.mainmenu__list-wrapper {
  margin-left: 20px;
}

.mainmenu__list {
  display: flex;
  align-items: center;
  list-style: none;
}

.mainmenu__list > li {
  padding: 20px;
  position: relative;
  cursor: pointer;
}

.mainmenu__list ul {
  position: absolute;
  top: 55px;
  left: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #ddd;
}

.mainmenu__list > li:hover ul {
  display: block;
}

.mainmenu__list ul {
  display: none;
}

.mainmenu__list > li > a {
  border-bottom: 1px solid #fff;
}

.mainmenu__list > li > a:hover {
  transition: all 0.5s;
  text-decoration: none;
  border-bottom: 1px solid #333;
}

.mainmenu__list ul li {
  border-bottom: 1px solid #ddd;
}

.mainmenu__list ul li:last-child {
  border-bottom: none;
}

.mainmenu__list ul li a {
  display: block;
  padding: 10px 20px;
  white-space: nowrap;
}

.mainmenu__list ul li a:hover {
  text-decoration: none;
  background-color: #efefef;
}

.mainmenu__toggler {
  display: none;
}

.mainmenu__list .separator {
  font-size: 14px;
  font-weight: 600;
  padding: 10px;
  background: #efefef;
}

@media (max-width: 1024px) {
  .mainmenu__list ul {
    top: 55px;
    left: -100px;
    right: -100px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #ddd;
    z-index: 1;
  }

  nav.mainmenu {
    width: 100%;
    padding: 20px;
  }

  .mainmenu {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .mainmenu__toggler {
    display: block;
  }

  .mainmenu__list-wrapper {
    flex-basis: 100%;
    flex-direction: column;
    display: none;
  }

  .mainmenu__list {
    flex-direction: column;
  }

  .mainmenu__list li {
    padding: 10px 0;
  }
}

/* FOOTER */

footer {
  display: flex;
  justify-content: space-evenly;
  background: #2b2b2b;
  padding: 20px;
}

footer a {
  color: #ccc;
  border-bottom: 1px solid transparent;
}

footer a:hover {
  color: #fff;
  text-decoration: none;
  transition: all 0.5s;
  border-bottom: 1px solid #fff;
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
  }
}

footer ul {
  list-style: none;
}

footer ul li:first-child {
  color: #fff;
  font-family: PublicSans-Light, Arial, sans-serif;
  font-size: 22px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  footer ul li:first-child {
    margin-top: 20px;
  }
}

footer ul li {
  overflow: hidden;
  height: 30px;
}

footer ul li.active a {
  color: #fff;
  border-bottom: 1px solid #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table td:first-child,
table th:first-child {
  border-left: 0;
}

table th:first-child {
  border-top-left-radius: 10px;
}

table th:last-child {
  border-top-right-radius: 10px;
}

table td,
table th {
  border-left: 2px solid #fff;
  padding: 10px;
}

table th a {
  color: #54a9ff;
}

table th {
  background-color: #333;
  color: #fff;
  font-weight: 600;
  padding: 15px;
}

table tr {
  border-bottom: 2px solid #fff;
}

table tr:nth-child(odd) {
  background-color: #e8e8e8;
}

table tbody {
  background-color: #efefef;
}

section {
  padding: 80px 0;
}

section:nth-child(odd) {
  background-color: #f4f4f4;
}

section .wrapper {
  max-width: 1024px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  section .wrapper {
    width: auto;
    padding: 10px;
  }
}

details {
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 0.5em;
  padding: 0.5em 1em;
  background-color: #f9f9f9;
}

summary {
  font-weight: bold;
  cursor: pointer;
}

summary h3 {
  display: inline-block;
  margin: 0;
  font-size: 1.1rem;
}

.grid {
  margin: 40px 0;
  display: grid;
  gap: 40px;
}

.grid.grid--two {
  grid-template-columns: 1fr 1fr;
}

.grid.grid--three {
  grid-template-columns: 1fr 1fr 1fr;
}

.grid.grid--four {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

@media (max-width: 1024px) {
  .grid.grid--two,
  .grid.grid--three,
  .grid.grid--four {
    grid-template-columns: 1fr;
  }
}

.paper {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-main {
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  background: #e98300;
}

@media (max-width: 1024px) {
  .btn-main {
    margin-bottom: 10px;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

.btn-main:hover {
  background: #a25c00;
  color: #fff;
  text-decoration: none;
}

.btn-main--xl {
  font-size: 18px;
  padding: 14px;
}

.btn-secondary {
  padding: 10px;
  border-radius: 10px;
  color: #a61703;
  background: #fff;
  border: 2px solid #a61703;
}

.btn-secondary:hover {
  color: #a61703;
  background: #86110146;
}

/* ELEMENTS */

.row {
  display: flex;
  justify-content: flex-start;
}

.col--33 {
  width: 33%;
}

.col--50 {
  width: 50%;
}

@media (max-width: 1024px) {
  .row {
    margin-top: 0;
    flex-direction: column;
  }

  .col {
    margin-top: 20px;
    margin-right: 0 !important;
  }

  .col--50,
  .col--33 {
    width: 100%;
  }
}

.row--vcenter {
  align-items: center;
}

.row--hcenter {
  justify-content: center;
}

.image {
  max-width: 250px;
  box-shadow: 10px 10px 10px #ccc;
}

.image-big {
  max-width: 400px;
  box-shadow: 10px 10px 10px #ccc;
}

@media (max-width: 1024px) {
  .image {
    max-width: 100%;
    box-shadow: none;
  }
}

.shadow {
  box-shadow: 10px 10px 10px #ccc;
}

.no-shadow {
  box-shadow: none;
}
.center {
  text-align: center;
}

.blog-entry {
  color: #333;
  text-decoration: none;
  box-shadow: 0 0 10px #ccc;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.blog-entry h3 {
  font-size: 1.2rem;
}

.blog-entry__img-wrapper {
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin-top: 20px;
}

.blog-entry__content {
  padding: 20px;
}

.blog-entry:hover {
  color: #333;
  text-decoration: none;
  box-shadow: 0 0 20px #ccc;
}

.feature-list {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 40px;
  row-gap: 40px;
  margin-top: 40px;
}

.feature-list--one {
  grid-template-columns: auto;
}

.feature-list--three {
  grid-template-columns: auto auto auto;
}

.feature-list-wrapper {
  overflow: auto;
}

@media (max-width: 1024px) {
  .feature-list {
    grid-template-columns: auto;
  }
}

.feature {
  padding: 20px;
  box-sizing: border-box;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
  box-shadow: 0 0 20px #ddd;
  border-radius: 10px;
}

.pt-15 {
  padding-top: 15px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mt-40 {
  margin-top: 40px;
}

.mr-10 {
  margin-right: 10px;
}

.mr-20 {
  margin-right: 20px;
}

.mr-40 {
  margin-right: 40px;
}

.js-image {
  cursor: pointer;
}
