﻿body{
  margin: 0;
  padding: 0;
  font-family: Roboto, Arial, serif;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 72px;
  background-image: linear-gradient(90deg, #0B1422 0%, #042D56 100%);
}

@media only screen and (max-width: 768px) {
  .header {
  	height: 56px;
  }
  
  .header img {
  	width: 98px;
  }
}

.main-container {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;    
  background-color: transparent;
  overflow: hidden;
}

.content-wrapper {
  display: flex;
  justify-content: center;
  max-width: 1280px;
  width: 100%;  
}

.main-container .content-wrapper {
  padding: 0 15px;
  height: calc(100vh - 72px);
  align-items: flex-start;
  background: url("../images/error-page/errorPageBg.png") transparent center -70px no-repeat;  
  background-size: 1280px;
}
@media only screen and (max-width: 768px) {
  .main-container .content-wrapper {
    background: url("../images/error-page/errorPageMobileBg.png") transparent center top no-repeat; 
    background-size: 100%;
  }
}

.text-block {
  display: flex;
  flex-direction: column;
  margin: 180px 0 0;
  justify-content: center;
  text-align: center;
  color: #0B1422;
}
@media only screen and (max-width: 768px) {
  .text-block {
    margin: 95px 0 0;
  }
}

.text-block h1 {
  position: relative;
  margin: 0 0 45px;
  font-size: 40px;
  font-weight: 500;
  line-height: 47px;
}
@media only screen and (max-width: 768px) {
  .text-block h1 {
    margin: 0 0 28px;    
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
  }
}

.text-block h1::after {
  content: "";
  position: relative;
  display: block;
  margin: 22px auto 0;
  width: 50px;
  height: 5px;
  background-color: #f50;
  border-radius: 2px;
}
@media only screen and (max-width: 768px) {
  .text-block h1::after {
    margin: 22px auto 0;
    width: 39px;
    height: 3px;
  }
}

.text-block p {
  margin: 0 0 45px;
  font-size: 21px;
  letter-spacing: 0;
  line-height: 32px;  
}
@media only screen and (max-width: 768px) {
  .text-block p {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 26px;  
  }
}

.text-block a {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  width: 295px;
  height: 44px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 18px;
  border-radius: 3px;
  background-color: #f50;
  text-decoration: none;
}