* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #ffff;
  --light: #eee;
  --dark: #111;
  --acent: #07372b;
  --font: "Archivo", sans-serif;
}

html {
  font-family: var(--font);
}

body {
  font-size: 100%;
  line-height: 1.3;
  color: var(--dark);
}
section {
  min-height: 90vh;
  height: 100%;
  padding: 8rem 0;
}

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

.container__center {
  display: grid;
  align-content: center;
}

p {
  margin-bottom: 1rem;
}

.lang__item{
    color: var(--white);
    text-decoration: none;
    background: var(--acent);
    display: block;
    padding: 0.4rem 0.6rem;
    border-radius: 50%;
    position: absolute;
    right: 0.4rem;
    top: 1rem;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  padding: 0 1rem;
  z-index: 12;
}

.logo svg {
  transform: scale(1.2);
  fill: var(--white);
  animation: rotation 8s infinite linear;
}

.hero {
  align-items: center;
  display: flex;
  height: 100vh;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: var(--acent);
}

.hero__header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  top: 0;
  left: 0;
  right: 0;
  justify-items: center;
  padding: 28px 100px;
  padding-top: 50px;
  position: fixed;
  color: var(--white);
  margin: 0 auto;
  align-items: center;
  z-index: 10;
}

.hero__content {
  color: var(--white);
  text-align: center;
  width: calc(100% - 1rem);
  margin: 0 auto;
  position:relative;
  z-index:5;
}

.hero__title {
  color: var(--white);
  font-stretch: 120%;
  font-size: 600%;
  font-weight: 900;
  max-width: 100%;
  text-align: center;
  opacity: 0.86;
  margin-bottom: 1.8rem;
}

.hero__title span {
  display: inline-block;
}

.hero__subtitle {
  font-size: 120%;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.splash__video {
  filter: brightness(0.5);
  height: 100vh;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.column__2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  position: relative;
  background-color: transparent;
  z-index: 12;
}

.medium__text {
  font-size: 2.1rem;
  font-stretch: 120%;
  font-weight: 600;
}

.benefit__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.benefit__item {
  padding: 1rem;
  border: solid 1px var(--dark);
  margin-top: -1px;
  margin-left: -1px;
  border-radius: 8px;
  min-height: 220px;
}

.item__title {
  font-size: 1.1rem;
  font-stretch: 120%;
  font-weight: 600;
  margin-bottom: 1rem;
}

.item__description {
  font-size: 0.84rem;
}

.benefit__item:nth-child(1),
.benefit__item:nth-child(3),
.benefit__item:nth-child(5) {
  background-color: var(--acent);
  color: var(--white);
}

.list {
  display: grid;
  row-gap: 2rem;
  margin: 2rem 0;
}

.list__item {
  border-top: solid 1px var(--dark);
  display: grid;
  grid-template-columns: 20px 46% auto;
  gap: 1rem;
  list-style: none;
  padding-top: 0.4rem;
}

.list__title {
  font-size: 1.3rem;
  font-stretch: 120%;
  font-weight: 600;
  max-width: 360px;
}

footer {
  background-color: var(--acent);
  color: var(--light);
  padding: 4rem 0 2rem;
}

.link__mail {
  color: var(--white);
  text-decoration: none;
  border: solid 1px;
  padding: 0.6rem 1rem;
  border-radius: 10rem;
  display: inline-block;
  margin: 1rem 0 0.8rem;
  transition: all 0.3s;
}

.link__mail:hover {
  background-color: var(--light);
  color: var(--acent);
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media screen and (min-width: 592px) {
  .benefit__item:nth-child(3) {
    background-color: transparent;
    color: var(--dark);
  }
  .benefit__item:nth-child(4) {
    background-color: var(--acent);
    color: var(--white);
  }
}

@media screen and (min-width: 768px) {
  .benefit__item:nth-child(3) {
    background-color: var(--acent);
    color: var(--white);
  }

  .benefit__item:nth-child(4) {
    background-color: transparent;
    color: var(--dark);
  }
}

@media screen and (min-width: 1184px) {
  .benefit__item:nth-child(3) {
    background-color: transparent;
    color: var(--dark);
  }

  .benefit__item:nth-child(4) {
    background-color: var(--acent);
    color: var(--white);
  }
}

@media screen and (max-width: 767px) {
  section {
    height: auto;
  }

  .hero__title {
    font-size: 420%;
  }
  .list__item,
  .column__2 {
    grid-template-columns: auto;
  }

  footer {
    position: relative;
    z-index: 12;
  }

  footer .medium__text {
    font-size: 1rem;
  }
}
