@font-face {
  font-family: "Oswald";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: local('Oswald Light'), local('Oswald-Light'),
  url("../fonts/oswald-light.woff2") format("woff2"),
  url("../fonts/oswald-light.woff") format("woff"),
  url("../fonts/oswald-light.ttf") format("ttf");
}

@font-face {
  font-family: "Oswald";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local('Oswald Regular'), local('Oswald-Regular'),
  url("../fonts/oswald-regular.woff2") format("woff2"),
  url("../fonts/oswald-regular.woff") format("woff"),
  url("../fonts/oswald-regular.ttf") format("ttf");
}

@font-face {
  font-family: "Oswald";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: local('Oswald Medium'), local('Oswald-Medium'),
  url("../fonts/oswald-medium.woff2") format("woff2"),
  url("../fonts/oswald-medium.woff") format("woff"),
  url("../fonts/oswald-medium.ttf") format("ttf");
}

html {
  box-sizing: border-box;
  height: 100%;
}

button {
  outline: unset;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  margin: 0;
  padding: 0;
}

:root {
  --black: #000000;
  --black-opacity: 0, 0, 0;
  --black-light: #141414;
  --white: #ffffff;
  --white-opacity: 255, 255, 255;
  --green: #26A135;
  --green-opacity: 38, 161, 53;
  --gray-light: #F1F1F1;
  --gray-dark: #484646;
  --blue-light: #44a7de;
}

.visually-hidden:not(:focus):not(active) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

a,
button {
  text-decoration: none;
  cursor: pointer;
  border: none;
  color: var(--white);
}

img {
  display: block;
}

svg {
  flex-shrink: 0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1 {
  margin: 0;
}

.body {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
}

.main {
  width: 100%;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
}

.head {
  background-image: url("../images/background-head.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 900px;
}

.head__wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.container {
  padding: 50px;
  max-width: 1300px;
  margin: 0 auto;
  height: 100%;
}

.head__author {
  display: flex;
  align-items: center;
}

.head__text {
  font-size: 26px;
  line-height: 30px;
  color: var(--black-light);
  text-transform: uppercase;
}

.head__sportsoft {
  padding: 15px;
  margin: -15px 0;
  display: flex;
}

.head__logo {
  height: 30px;
  width: auto;
}

.decor {
  margin: auto 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: var(--gray-light);
}

.decor__icon {
  max-width: 100%;
  height: auto;
}

.decor__wrap {
  position: absolute;
  top: calc(50% - 110px);
}

.decor__info {
  font-size: 78px;
  line-height: 78px;
  color: var(--black-light);
  text-transform: uppercase;
}

.decor__info:last-child {
  padding: 0 0 0 55px;
}

.decor__button {
  font-size: 16px;
  line-height: 24px;
  color: var(--black-light);
  padding: 8px 27px;
  background-color: var(--green);
  text-transform: uppercase;
  margin: 0 5px 0 auto;
  cursor: pointer;
  transition: 0.3s;
}

.decor__button:hover {
  color: var(--white);
  transition: 0.3s;
}

.years {
  background-image: url("../images/background-years.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 900px;
}

.years__wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.years__list {
  max-width: 450px;
  min-width: 385px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.years__item {
  display: flex;
  align-items: center;
  gap: 45px;
  position: relative;
}

.years__item:after {
  content: '';
  width: 5px;
  height: 30px;
  background-color: var(--green);
  position: absolute;
  top: 100%;
  left: 65px;
}

.years__item:last-child:after {
  display: none;
}

.years__unit {
  width: 130px;
  height: 130px;
  border: 10px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 34px;
  color: var(--black);
  border-radius: 50%;
  flex-shrink: 0;
}

.years__info {
  font-size: 28px;
  line-height: 40px;
  color: var(--black);
  text-transform: uppercase;
}

.years__texts {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.text {
  font-weight: 300;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.02em;
}

.text--black {
  color: var(--black);
}

.text--white {
  color: var(--white);
}

.text__white {
  color: var(--white);
}

.green {
  background-color: var(--green);
}

.slider {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.slider__nav-item {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid var(--black-light);
}

.slider__nav-item.tns-nav-active,
.slider__nav-item:hover {
  background-color: var(--black-light);
  transition: 0.3s;
}

.info {
  display: flex;
}

.info__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info__content:last-child {
  padding: 250px 0 0;
  position: relative;
  right: 50px;
}

.info__img {
  width: 100%;
  height: auto;
}

.info__difference {
  font-size: 70px;
  line-height: 70px;
  color: rgba(var(--white-opacity), 0.5);
  text-transform: uppercase;
  padding: 0 10px;
}

.unit {
  display: flex;
  position: absolute;
  right: 50px;
  top: 30px;
}

.unit__decor {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 505px;
}

.unit__decor .text {
  padding: 0 0 0 60px;
}

.unit__svg {
  position: absolute;
  left: 0;
  top: 155px;
  max-width: 100%;
  height: auto;
}

.unit__year {
  font-weight: 500;
  font-size: 140px;
  line-height: 140px;
  color: var(--white);
  text-transform: uppercase;
  padding: 0 15px;
}

.email {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.email__texts {
  max-width: 535px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.email__wrap {
  display: flex;
  align-items: center;
  gap: 25px;
}

.email__headings {
  width: 100%;
  max-width: 450px;
}

.email__heading {
  font-size: 30px;
  line-height: 44px;
  color: var(--black-light);
  text-transform: uppercase;
}

.email__cityfootball {
  font-size: 50px;
  line-height: 60px;
  color: var(--green);
  text-transform: uppercase;
}

.email__block {
  display: flex;
  align-items: center;
  gap: 80px;
  flex-grow: 1;
  position: relative;
}

.email__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.email__list--small {
  gap: 165px;
}

.email__item {
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  padding: 10px;
  border-left: 4px solid var(--green);
  border-bottom: 1px dashed var(--black);
}

.email__list--big {
  gap: 340px;
}

.email__img {
  position: absolute;
  right: -70px;
  top: 115px;
}

.part {
  display: flex;
}

.part__content {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
  position: relative;
  left: -70px;
}

.part__texts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.part__domain {
  width: 100%;
  height: auto;
  position: relative;
  top: -50px;
}

.footer {
  background-image: url("../images/background-footer.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.footer__wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
}

.decor__texts {
  max-width: 550px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  top: 40px;
  left: 0;
}

.decor__text {
  font-weight: 300;
  font-size: 18px;
  line-height: 28px;
  color: var(--black-light);
}

.footer__logo {
  max-width: 100%;
  height: auto;
}

.contacts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.contacts__wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contacts__texts {
  flex-direction: column;
  display: flex;
  gap: 15px;
}

.contacts__title {
  font-weight: 500;
  font-size: 38px;
  line-height: 42px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
}

.contacts__text {
  font-weight: 300;
  font-size: 20px;
  line-height: 28px;
  color: var(--white);
  letter-spacing: 0.02em;
}

.contacts__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contacts__link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contacts__icon {
  flex-shrink: 0;
}

.contacts__unit {
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.02em;
  color: var(--white);
  transition: 0.3s;
}

.contacts__link:hover .contacts__unit {
  color: var(--black-light);
  transition: 0.3s;
}

.contacts__img {
  max-width: 100%;
  height: auto;
  margin: 0 0 -50px;
}

.contacts__wrapper {
  position: relative;
  flex-shrink: 0;
}

.socials {
  position: absolute;
  bottom: 0;
  left: 35px;
}

.socials__list {
  display: flex;
  align-items: center;
}

.socials__link {
  padding: 5px 20px;
  display: flex;
}

.socials__icon {
  fill: var(--gray-dark);
  transition: 0.3s;
}

.socials__link:hover > .socials__icon {
  fill: var(--blue-light);
  transition: 0.3s;
}

.new {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}

.new__texts {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 100px;
}

.new__column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider__arrows-block {
  display: flex;
  align-items: center;
  gap: 50px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.slider__arrow {
  fill: var(--white);
  transition: 0.3s;
}

.slider__arrows-link--left .slider__arrow {
  transform: rotate(180deg);
}

.slider__arrows-link:hover .slider__arrow {
  fill: var(--black-light);
  transition: 0.3s;
}

@media (max-width: 1300px) {
  .container {
    padding: 40px;
  }

  .head__text {
    font-size: 24px;
    line-height: 28px;
  }

  .head {
    height: 750px;
  }

  .years__item {
    gap: 30px;
  }

  .years__info {
    font-size: 26px;
    line-height: 34px;
  }

  .email__heading {
    font-size: 28px;
    line-height: 32px;
  }

  .email__cityfootball {
    font-size: 46px;
    line-height: 54px;
  }

  .part {
    align-items: center;
  }

  .part__img {
    width: 40%;
    height: auto;
  }

  .contacts__img {
    margin: 0 0 -40px;
  }

  .new__texts {
    gap: 40px;
  }
}

@media (max-width: 1180px) {
  .email__img {
    display: none;
  }

  .email__list--small {
    gap: 40px;
  }

  .email__list--big {
    gap: 120px;
  }

  .email__block {
    gap: 30px;
  }

  .part__content {
    position: static;
  }

  .part__domain {
    position: static;
  }

  .footer__wrap {
    flex-direction: column;
  }

  .contacts__title {
    font-size: 32px;
    line-height: 36px;
  }

  .contacts__img {
    width: 400px;
  }

  .socials {
    left: 15px;
  }

  .socials__link {
    padding: 5px 15px;
  }

  .unit {
    right: 20px;
  }

  .unit__decor {
    max-width: 475px;
  }
}

@media (max-width: 960px) {
  .unit {
    position: static;
    display: flex;
    justify-content: center;
  }

  .info__content:last-child {
    padding: 0;
    right: 0;
  }

  .slider__arrows-block {
    position: static;
    justify-content: center;
  }
}

@media (max-width: 780px) {
  .container {
    padding: 25px;
  }

  .head__text {
    font-size: 22px;
    line-height: 26px;
  }

  .head {
    height: 600px;
  }

  .decor__info {
    font-size: 68px;
    line-height: 68px;
  }

  .decor__wrap {
    top: calc(50% - 100px);
  }

  .years__info {
    font-size: 24px;
    line-height: 30px;
  }

  .years {
    height: auto;
    background-image: none;
  }

  .years__wrap {
    flex-direction: column;
  }

  .years__texts {
    order: -1;
    max-width: 100%;
  }

  .years__list {
    max-width: 100%;
    min-width: initial;
    gap: 20px;
  }

  .years__item:after {
    height: 20px;
  }

  .years__item {
    gap: 20px;
  }

  .info {
    flex-direction: column;
    align-items: center;
  }

  .info__content {
    gap: 20px;
  }

  .email__wrap {
    gap: 20px;
  }

  .email__heading {
    font-size: 26px;
    line-height: 30px;
  }

  .email__cityfootball {
    font-size: 42px;
    line-height: 48px;
  }

  .email__block {
    gap: 20px;
    flex-direction: column;
  }

  .email__list {
    gap: 20px;
  }

  .part {
    flex-direction: column;
  }

  .part__img {
    width: auto;
    max-width: 100%;
  }

  .decor--footer {
    gap: 15px;
  }

  .decor--footer .decor__icon {
    display: none;
  }

  .decor__texts {
    position: static;
  }

  .contacts__title {
    font-size: 28px;
    line-height: 32px;
  }

  .contacts {
    flex-direction: column;
    text-align: center;
  }

  .contacts__wrap {
    gap: 20px;
  }

  .contacts__img {
    margin: 0 0 -25px;
  }

  .contacts__link {
    justify-content: center;
  }

  .contacts__wrapper {
    margin: 0 0 0 55px;
  }

  .slider__arrows-block {
    gap: 25px;
  }

  .new__texts {
    gap: 25px;
  }

  .slider__arrow {
    width: 70px;
    height: auto;
  }

  .unit__year {
    font-size: 100px;
    line-height: 100px;
  }

  .unit__svg {
    top: 110px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 15px;
  }

  .head__text {
    font-size: 20px;
    line-height: 24px;
  }

  .decor__button {
    font-size: 14px;
    line-height: 20px;
    padding: 8px 15px;
  }

  .head {
    height: 450px;
  }

  .decor__wrap {
    top: calc(50% - 80px);
  }

  .decor__info {
    font-size: 54px;
    line-height: 54px;
  }

  .decor__info:last-child {
    padding: 0 0 0 40px;
  }

  .head__sportsoft {
    padding: 10px;
    margin: -10px 0;
  }

  .head__logo {
    height: 24px;
  }

  .years__info {
    font-size: 22px;
    line-height: 28px;
  }

  .years__item {
    gap: 15px;
  }

  .unit__year {
    padding: 0;
    font-size: 70px;
    line-height: 70px;
    text-align: center;
  }

  .slider {
    gap: 15px;
  }

  .info {
    gap: 15px;
  }

  .info__content {
    gap: 15px;
  }

  .info__tablet {
    gap: 5px;
  }

  .info__difference {
    font-size: 50px;
    line-height: 50px;
  }

  .email__wrap {
    gap: 15px;
    flex-direction: column;
  }

  .email__heading {
    font-size: 24px;
    line-height: 28px;
  }

  .email__cityfootball {
    font-size: 38px;
    line-height: 42px;
  }

  .email__headings {
    max-width: 100%;
  }

  .email__block {
    gap: 15px;
  }

  .email__list {
    gap: 15px;
  }

  .email__item {
    padding: 5px;
  }

  .decor__text {
    font-size: 16px;
    line-height: 20px;
  }

  .contacts__unit {
    font-size: 16px;
    line-height: 22px;
  }

  .contacts__text {
    font-size: 18px;
    line-height: 24px;
  }

  .contacts__title {
    font-size: 22px;
    line-height: 26px;
  }

  .contacts__img {
    margin: 0 0 -15px;
    width: 315px;
  }

  .contacts__wrap {
    gap: 10px;
  }

  .contacts__texts {
    gap: 10px;
  }

  .contacts__list {
    gap: 10px;
  }

  .contacts__link {
    gap: 5px;
  }

  .socials__icon {
    width: 20px;
    height: auto;
  }

  .socials {
    left: 10px;
    bottom: 20px;
  }

  .new__texts {
    grid-template-columns: repeat(1,1fr);
    gap: 15px;
  }

  .slider__arrow {
    width: 50px;
  }

  .slider__arrows-block {
    gap: 15px;
  }

  .unit__decor {
    gap: 15px;
  }

  .unit__svg {
    top: 80px;
    left: -20px;
  }

  .unit__decor .text {
    padding: 0 0 0 40px;
  }
}

@media (max-width: 400px) {
  .decor__info {
    font-size: 42px;
    line-height: 42px;
  }

  .decor__wrap {
    top: calc(50% - 68px);
  }

  .head {
    height: 350px;
  }

  .years__unit {
    width: 90px;
    height: 90px;
    border: 5px solid var(--green);
  }

  .years__item:after {
    left: 45px;
  }

  .contacts__img {
    width: 235px;
  }

  .socials {
    left: 10px;
    bottom: 10px;
  }

  .socials__link {
    padding: 5px 10px;
  }

  .contacts__wrapper {
    margin: 0 0 0 30px;
  }
}
