
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800;900&display=swap');
/*@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css');*/

* {
	font-family: 'Nunito', sans-serif;
}

/**/
:root {
    --main-color: #eaeaea;
    --stroke-color: black;
    --stroke-color: #5d5fef;
    
  }
  /**/
  body {
    background: var(--main-color);
  }
  h1 {
    margin: 100px auto 0 auto;
    color: var(--stroke-color);
   /* font-family: 'Encode Sans Semi Condensed', Verdana, sans-serif;*/
    font-size: 6rem; line-height: 6rem;
    font-weight: 500;
    text-align: center;
  }
  h2 {
    margin: 1rem auto 1.5rem auto;
   /* font-family: 'Encode Sans Semi Condensed', Verdana, sans-serif;*/
    font-size: 1.5rem;
    font-weight: 300;
    text-align: center;
  }
  h1, h2 {
   /* -webkit-transition: opacity 0.5s linear, margin-top 0.5s linear; /* Safari */
   /* transition: opacity 0.5s linear, margin-top 0.5s linear;*/
  }
  /*.loading h1, .loading h2 {
    margin-top: 0px;
    opacity: 0;  
  }*/
  .header {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    
  }
  .header1 {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    
  }

  .error-header {
    font-size: 6rem;
    font-weight: 500;
    color: var(--stroke-color);
  }
  .ending-char {
    transform: rotate(20deg);
    text-align: left;
  }

  .simple-paragraph {

    margin: 0.2rem;
  }

  .gears {
    position: relative;
    margin: 0 auto;
    width: auto; height: 0;
  }
  .gear {
    position: relative;
    z-index: 0;
    width: 120px; height: 120px;
    width: 60px; height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--stroke-color);
  }
  .gear:before{
    position: absolute; left: 5px; top: 5px; right: 5px; bottom: 5px;
    position: absolute; left: 2px; top: 2px; right: 2px; bottom: 2px;
    z-index: 2;
    content: "";
    border-radius: 50%;
    background: var(--main-color);
  }
  .gear:after {
    position: absolute; left: 25px; top: 25px;
    position: absolute; left: 12px; top: 12px;
    z-index: 3;
    content: "";
    width: 70px; height: 70px;
    width: 35px; height: 35px;
    border-radius: 50%;
    border: 5px solid var(--stroke-color);
    border: 2px solid var(--stroke-color);
    box-sizing: border-box;
    background: var(--main-color);
  }
  .gear.one {
    left: -130px;
    left: -65px;
  }
  .gear.two {
    top: -75px;
    top: -38px;
  }
  .gear.three {
    top: -235px;
    left: 130px;
    top: -118px;
    left: 65px;
  }
  .gear .bar {
    position: absolute; left: -15px; top: 50%;
    position: absolute; left: -7px; top: 50%;
    z-index: 0;
    width: 150px; height: 30px;
    width: 75px; height: 15px;
    margin-top: -15px;
    border-radius: 5px;
    margin-top: -7px;
    border-radius: 3px;
    /*border: solid 5px red;*/
    background: var(--stroke-color);
  }
  .gear .bar:before {
    position: absolute; left: 5px; top: 5px; right: 5px; bottom: 5px;
    position: absolute; left: 2px; top: 2px; right: 2px; bottom: 2px;
    z-index: 1;
    content: "";
    border-radius: 2px;
    background: var(--main-color);
  }
  .gear .bar:nth-child(2) {
    transform: rotate(60deg);
    -webkit-transform: rotate(60deg);
  }
  .gear .bar:nth-child(3) {
    transform: rotate(120deg);
    -webkit-transform: rotate(120deg);
  }
  @-webkit-keyframes clockwise {
    0% { -webkit-transform: rotate(0deg);}
    100% { -webkit-transform: rotate(360deg);}
  }
  @-webkit-keyframes anticlockwise {
    0% { -webkit-transform: rotate(360deg);}
    100% { -webkit-transform: rotate(0deg);}
  }
  @-webkit-keyframes clockwiseError {
    0% { -webkit-transform: rotate(0deg);}
    20% { -webkit-transform: rotate(30deg);}
    40% { -webkit-transform: rotate(25deg);}
    60% { -webkit-transform: rotate(30deg);}
    100% { -webkit-transform: rotate(0deg);}
  }
  @-webkit-keyframes anticlockwiseErrorStop {
    0% { -webkit-transform: rotate(0deg);}
    20% { -webkit-transform: rotate(-30deg);}
    60% { -webkit-transform: rotate(-30deg);}
    100% { -webkit-transform: rotate(0deg);}
  }
  @-webkit-keyframes anticlockwiseError {
    0% { -webkit-transform: rotate(0deg);}
    20% { -webkit-transform: rotate(-30deg);}
    40% { -webkit-transform: rotate(-25deg);}
    60% { -webkit-transform: rotate(-30deg);}
    100% { -webkit-transform: rotate(0deg);}
  }
  .gear.one {
    -webkit-animation: anticlockwiseErrorStop 2s linear infinite;
  }
  .gear.two {
    -webkit-animation: anticlockwiseError 2s linear infinite;
  }
  .gear.three {
    -webkit-animation: clockwiseError 2s linear infinite;
  }
  .loading .gear.one, .loading .gear.three {
    -webkit-animation: clockwise 3s linear infinite;
  }
  .loading .gear.two {
    -webkit-animation: anticlockwise 3s linear infinite;
  }