:root {
  --primary-1: #002061;
  --primary-2: #001234;
  --primary-3: #003399;
  --primary-4: #0070c0;
  --secondary-1: #1f96de;
  --white: #ffffff;
  --text-grey: #eff1f5;
  --font-text: "europa", sans-serif;
}

body {
  font-family: var(--font-text);
  font-weight: 300;
  padding: 0;
  margin: 0;
  font-size: 18px;
  line-height: 1.625em;
  background-color: var(--primary-1);
  background: linear-gradient(
    45deg,
    var(--primary-1) 0%,
    var(--primary-3) 100%
  );
  color: var(--white);
  min-height: calc(100vh - 60px);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-wrap: balance;
  hyphens: auto;

  /*&:after {
    content: "";
    mix-blend-mode: overlay;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;

    background: linear-gradient(
      45deg,
      var(--primary-1) 0%,
      var(--primary-3) 100%
    );
  }*/
}

.alert-news {
  position: absolute;
  z-index: 200;
  top: 0;
  left: 0;
  width: calc(100% - 60px);
  text-align: center;
  background: rgba(31, 150, 222,.3);
  color: var(--white);
  padding: 15px 30px;
  font-size: 0.875em;
  line-height: 1.3;
  hyphens: auto;

  & p {
    margin: 0;
  }
}

.web {
  width: 1170px;
  padding: 120px 70px 70px;
  z-index: 100;
  grid-gap: 70px;
  display: grid;
  align-content: space-between;
  position: relative;
  overflow: hidden;
  background: var(--primary-1);
  box-shadow: inset 0 3px 3px rgba(0, 51, 153, 0.8),
    inset 3px 0 3px rgba(0, 51, 153, 0.2), inset 0 -3px 3px rgba(0, 18, 52, 0.4),
    inset -3px 0 3px rgba(0, 18, 52, 0.8), 30px 30px 90px var(--primary-2);
  border-radius: 4px;
  min-height: calc((1170px * 5) / 8);

  &:after {
    content: "";
    mix-blend-mode: overlay;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(0, 18, 52, 0.4) 100%
    );
  }
}

.title {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 35px;

  & img {
    max-width: 320px;
  }
  & * {
    text-align: right;
  }
}

.content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
}

.text {
  display: grid;
  align-items: baseline;
  grid-template-columns: 2fr 1fr;
  grid-gap: 35px;
  position: relative;
  z-index: 100;

  & p {
    margin: 0;
    letter-spacing: 0.015em;
    font-weight: 300;
    font-size: 1em;
    line-height: 1.2;
  }

  & .name {
    text-align: right;
    color: var(--white);
    display: grid;
    gap: 0.375ch;
    line-height: 1.2;
  }

  & .name-headline {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.125em;
    letter-spacing: 0.1625em;
  }

  & .name-sub {
    text-transform: uppercase;
    font-weight: 300;
    font-size: 0.875em;
    letter-spacing: 0.125em;
  }

  & .address {
    text-align: left;
    color: var(--white);
    display: grid;
    gap: 2ch;
    line-height: 1.625;

    & .address-inner {
      display: grid;
      gap: 0.375ch;
    }
  }

  & .grid {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 1ch;
  }
}

h1,
h2 {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0;
  line-height: 1.15;
}
h1 {
  font-size: 40px;
}
h2 {
  font-size: 30px;
  max-width: 20ch;
}

@media only screen and (max-width: 1170px) {
  body {
    padding: 30px;
	  align-items: flex-start;
  }
  .web {
    width: 100%;
    min-height: calc(((100vw - 60px - 155px) * 5) / 8);
    padding: 120px 35px 35px;
  }
  .title,
  .text {
    gap: 2ch;
    grid-template-columns: 1fr;

    & * {
      text-align: left;
    }
    & img {
      max-width: 200px;
    }
  }
}
