:root {
  --primary-color: #f73535;
  --primary-color-dark: #a50e0e;
  --primary-color-light: #ff9c9c;
  --secondary-color: #fff;
  --text-color: #000;
  --space-size-lg: 80px;
  --space-size-md: 40px;
  --space-size-sm: 20px;
}

*,
:after,
:before {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: none;
  -webkit-font-variant-ligatures: none;
  font-variant-ligatures: none;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  font-style: normal;
  color: var(--text-color);
}

a {
  text-decoration: none;
}

a,
a:link,
a:hover,
a:active,
a:focus,
a:visited {
  color: var(--text-color);
}

b {
  font-weight: 700;
}

.main {
  width: 100%;
  min-width: 300px;
  padding: var(--space-size-lg) var(--space-size-md);
  background: var(--secondary-color);
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.container-terms {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.container-terms a {
  font-weight: 700;
  text-decoration: underline;
}

.container-terms a:hover,
.container-terms a:active {
  text-decoration: none;
}

.terms-content p {
  font-size: 18px;
  line-height: 24px;
  margin: var(--space-size-sm) 0 0 0;
}

.terms-content p>span {
  margin: 0 10px 0 0;
  display: inline-block;
}

.terms-title {
  font-size: 28px;
  line-height: 38px;
  font-weight: 700;
  display: inline-block;
}

p.terms-section {
  margin: var(--space-size-md) 0 0 0;
  font-weight: 700;
  text-transform: uppercase;
}

.terms-close {
  margin: 0 0 var(--space-size-md) 0;
  cursor: pointer;
}

.terms-close a {
  text-decoration: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.terms-close-text {
  font-weight: 700;
}

.terms-close-icon {
  width: 18px;
  height: 18px;
  background-image: url(../images/back.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px;
  margin: 0 10px 0 0;
}

.terms-close:hover,
.terms-close:active {
  opacity: 0.8;
}

@media only screen and (max-width: 420px) {
  .main {
    padding: var(--space-size-md) var(--space-size-sm);
  }

  .terms-title {
    font-size: 22px;
    line-height: 28px;
  }
}

.hidden {
  display: none !important;
}
