@import '../../Variables';

$wrapper-margin: 20vh;
$font-family: 'Roboto', $font-family-fallback;
$font-color: #282828;

.error-wrapper {
  display: flex;
  flex-flow: column;
  height: calc(100vh - 16px - 40vh);
  align-items: center;
  justify-content: space-between;
  padding-top: $wrapper-margin;
  padding-bottom: $wrapper-margin;

  .header {
    font-size: 36px;
    line-height: 42px;
    color: $font-color;
    font-family: $font-family;
    font-weight: bold;
    text-align: center;
    margin: 1rem;
  }

  .text {
    font-size: 15px;
    line-height: 22px;
    color: $font-color;
    font-family: $font-family;
    text-align: center;
  }

  .button {
    background-color: transparent;
    color: $font-color;
  }

  .error-icon {
    background: url('res/error_gears.png');
    background-size: 100% 100%;
    height: 20vh;
    width: 20vh;
    // converts the image to color #212121, see https://bit.ly/2PPN55m
    filter: invert(3%) sepia(31%) saturate(315%) hue-rotate(314deg) brightness(105%) contrast(81%);
  }
}
