.inverted {
  background-color: transparent;
}

.top {
  margin-top: 120px;
}

.mid {
  margin-top: 180px;
  width: 100%;
  height: 215px;
  display: flex;
  justify-content: space-between;
}

.mid div {
  width: auto;
  height: 100%;
  color: #FFFFFF;
}

.bot {
  height: 105px;
  border-top-style: solid;
  border-width: 1px;
  border-color: #4B68B1;
  margin-top: 140px;
  margin-bottom: 120px;
  width: 100%;
  display: flex;
  align-items: center;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.bot div:first-of-type {
  display: flex;
  flex-direction: column;
}

.bot div:first-of-type img {
  margin-top: 16px !important;
  align-self: baseline;
}

.bot div {
  display: flex;
}

.bot div img {
  margin-top: 16px;
  height: 20px;
}

.bot div h4 {
  margin-top: 36px;
}

.bot div a {
  margin-left: 60px;
}

@media only screen and (max-width: 950px) {
  .grid {
    -moz-column-gap: 32px;
    column-gap: 32px;
  }

  .mega_title {
    font-weight: 400;
    font-size: 60px;
    line-height: 60px;
    letter-spacing: 0.03em;
  }

  h1 {
    font-weight: 400;
    font-size: 42px;
    line-height: 100%;
    letter-spacing: 0.03em;
  }

  h2 {
    font-weight: 500;
    font-size: 42px;
    line-height: 110%;
  }

  h3 {
    font-weight: 400;
    font-size: 36px;
    line-height: 120%;
  }

  h4 {
    font-weight: 500;
    font-size: 26px;
    line-height: 100%;
    letter-spacing: 0.03em;
  }

  h5 {
    letter-spacing: 0.23em;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
  }

  p {
    font-weight: 300;
    font-size: 16px;
    line-height: 180%;
  }

  .mid {
    flex-direction: column;
    height: auto;
    margin-top: 56px;
  }

  .mid div {
    margin-top: 64px;
  }

  .socials {
    margin-top: 0 !important;
  }

  .bot {
    flex-direction: column;
    margin-top: 64px;
    height: auto;
    margin-bottom: 8px;
    align-items: baseline !important;
  }

  .bot div {
    margin-bottom: 24px;
    flex-direction: column;
    align-items: baseline !important;
  }

  .bot div a {
    margin-top: 8px;
    margin-left: 0;
  }
}

@media only screen and (max-width: 450px) {
  .mega_title {
    font-weight: 400;
    font-size: 47px;
    line-height: 47px;
    letter-spacing: 0.03em;
  }

  .menu-div h3:first-of-type {
    margin-top: 147px;
  }
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
}

body {
  background-color: rgb(243, 243, 243);
}

.boatnaslov {
  position: fixed;
  width: 100%;
  height: 100dvh;
}

.boatnaslov img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.error-page {
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content {
  padding-bottom: 60px;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding-left: 20px;
  padding-right: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.error-content .title404 {
  padding-top: 120px;
}

.error-content h3 {
  text-transform: uppercase;
  letter-spacing: 0px;
  font-size: 30px;
  text-align: center;
}

.error-content img {
  margin-top: -65px;
  width: 500px;
}

.error-content h3 {
  margin-top: 60px;
}

.error-content p {
  font-size: 17px;
  margin-top: 9px;
}

.title404 {
  font-weight: 600;
  font-size: 146px;
  line-height: 100%;
  text-align: center;
  letter-spacing: -2%;
}

.button-black {
  background-color: #1B1E2B;
  margin-top: 22px;
}

.button-black:hover {
  background-color: transparent;
  color: #1B1E2B;
  border: 1px solid #1B1E2B;
}

h5 {
  margin-top: 32px;
  margin-bottom: 32px;
}

@media only screen and (max-width: 950px) {
  .title404 {
    font-size: 120px;
  }

  h5 {
    font-size: 12px;
  }
}

@media only screen and (max-width: 950px) {
  .grid {
    -moz-column-gap: 32px;
    column-gap: 32px;
  }

  .mega_title {
    font-weight: 400;
    font-size: 60px;
    line-height: 60px;
    letter-spacing: 0.03em;
  }

  h1 {
    font-weight: 400;
    font-size: 42px;
    line-height: 100%;
    letter-spacing: 0.03em;
  }

  h2 {
    font-weight: 500;
    font-size: 42px;
    line-height: 110%;
  }

  h3 {
    font-weight: 400;
    font-size: 36px;
    line-height: 120%;
  }

  h4 {
    font-weight: 500;
    font-size: 26px;
    line-height: 100%;
    letter-spacing: 0.03em;
  }

  h5 {
    letter-spacing: 0.23em;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
  }

  p {
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
  }

  .mid {
    flex-direction: column;
    height: auto;
    margin-top: 56px;
  }

  .mid div {
    margin-top: 64px;
  }

  .socials {
    margin-top: 0 !important;
  }

  .bot {
    flex-direction: column;
    margin-top: 64px;
    height: auto;
    margin-bottom: 8px;
    align-items: baseline !important;
  }

  .bot div {
    margin-bottom: 24px;
    flex-direction: column;
    align-items: baseline !important;
  }

  .bot div a {
    margin-top: 8px;
    margin-left: 0;
  }
}

@media only screen and (max-width: 500px) {
  .mega_title {
    font-weight: 400;
    font-size: 47px;
    line-height: 47px;
    letter-spacing: 0.03em;
  }

  .menu-div h3:first-of-type {
    margin-top: 147px;
  }

  .error-content img {
    margin-top: -65px;
    width: 100%;
  }
}
