@font-face {
  font-family: 'Eurostile';
  src: url('assets/fonts/EurostileBold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Aptos';
  src: url('/assets/fonts/Aptos.ttf') format('ttf');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #E82044;
}

body {
  background-color: white;
  color: #000;
  font-family: 'Aptos', sans-serif;
}

.main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 20px 50px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.head-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 750px;
  align-self: center;
}

.head-box__title {
  font-family: 'Eurostile', sans-serif;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  color: var(--primary);
  margin: 0;
  text-indent: -99999px;
}

.head-box__logo {
  margin: 0 auto 30px auto;
}

.head-box__lade {
  font-size: 27px;
  font-style: italic;
  text-align: center;
  line-height: 1.6;
  color: var(--primary);
}

.content-box {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.content-box__content-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.content-box__title {
  font-weight: bold;
  font-size: 21px;
  color: var(--primary);
  text-align: center;
}

.content-box p
 {
  font-size: 18px;
  line-height: 1.4;
}


.content-box h2 {
 font-size: 42px;
 color: var(--primary);
}

.content-box h3 {
 font-size: 24px; 
 margin-bottom: 10px;
  color: var(--primary);
}



.content-box ul {
  font-size:18px;
  line-height: 1.4;
  margin-left: 20px;
}

.media-wrapper {
  position: relative;
}

.media-wrapper img {
  max-width: 100%;
  position: -webkit-sticky;
  position: sticky;
  top: 50px;
}

.main__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 0px;
}

@media only screen and (max-width: 768px)  {
  .main__grid {
    grid-template-columns: repeat(1, 1fr);
  }

}