@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body{
    font-family: 'Open Sans', sans-serif;
}

.container{
  margin: 20px;
  
}

.header-content {
    display: flex;
    
}
.header-svg{
  width: 33.3%;
  display: grid;
  justify-content: center;
  align-content: center;
  margin-bottom: 150px;
}

.header-txt{
  width: 33.3%;
}

.header-imagen{
  width: 33.3%;
  display: contents;
}

.header-txt h1{
    font-size: 50px;
    color:#F79832;
    font-weight:900;
    margin-bottom: 30px;
}


.header-txt p {
    font-size: 20px;
    margin-bottom: 40px;
}

.header-imagen img{
    width: 500px;
}

@media screen and (max-width: 1075px) and (min-width: 535px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  .header-imagen {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-left: 0;
  }
  .header-imagen img {
    margin-left: 0;
  }
  .header-svg{
    width: 100%;
    margin-bottom: 20px;
  }

  .header-txt{
    width: 100%;
  }

  .header-imagen{
    width: 100%;
  }
  .pencil {
    margin-bottom: 40px;
    margin-top: 40px;
  }
}

@media screen and (max-width: 534px)  {
  .header-content {
    flex-direction: column;
    text-align: center;
    max-width: 100%;
    overflow: hidden;

  }

  .header-imagen {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-left: 0;
    height: auto;
  }
  .header-imagen img {
    margin-left: 0;
    width: 400px;
  }
  .header-svg{
    width: 100%;
    margin-bottom: 10px;
  }

  .header-txt{
    width: 100%;
  }

  .header-imagen{
    width: 100%;
  }
  .pencil {
    margin-bottom: 40px;
    margin-top: 40px;
  }
}
@media screen and (max-width: 900px) {
  image {
      width: 35%;
  }
}

/*  Footer */
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #191C71;
  color: white;

}
footer text {
  font-size: 20px;
  min-width: auto;
}

@media screen and (max-width: 900px) {
  footer text {
    font-size: 40px;
  }
}

@media screen and (max-width: 500px) {
  footer text {
    font-size: 50px;
  }
}

/*  Pencil */
.pencil {
    display: block;
    height: 10em;
}
.pencil__body1,
.pencil__body2,
.pencil__body3,
.pencil__eraser,
.pencil__eraser-skew,
.pencil__point,
.pencil__rotate,
.pencil__stroke {
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  
  .pencil__body1,
  .pencil__body2,
  .pencil__body3 {
    transform: rotate(-90deg);
  }
  
  .pencil__body1 {
    animation-name: pencilBody1;
  }
  
  .pencil__body2 {
    animation-name: pencilBody2;
  }
  
  .pencil__body3 {
    animation-name: pencilBody3;
  }
  
  .pencil__eraser {
    animation-name: pencilEraser;
    transform: rotate(-90deg) translate(49px,0);
  }
  
  .pencil__eraser-skew {
    animation-name: pencilEraserSkew;
    animation-timing-function: ease-in-out;
  }
  
  .pencil__point {
    animation-name: pencilPoint;
    transform: rotate(-90deg) translate(49px,-30px);
  }
  
  .pencil__rotate {
    animation-name: pencilRotate;
  }
  
  .pencil__stroke {
    animation-name: pencilStroke;
    transform: translate(90px,90px) rotate(-113deg);
  }
  
  /* Animations */
  @keyframes pencilBody1 {
    from,
      to {
      stroke-dashoffset: 351.86;
      transform: rotate(-90deg);
    }
  
    50% {
      stroke-dashoffset: 150.8;
   /* 3/8 of diameter */
      transform: rotate(-225deg);
    }
  }
  
  @keyframes pencilBody2 {
    from,
      to {
      stroke-dashoffset: 406.84;
      transform: rotate(-90deg);
    }
  
    50% {
      stroke-dashoffset: 174.36;
      transform: rotate(-225deg);
    }
  }
  
  @keyframes pencilBody3 {
    from,
      to {
      stroke-dashoffset: 296.88;
      transform: rotate(-90deg);
    }
  
    50% {
      stroke-dashoffset: 127.23;
      transform: rotate(-225deg);
    }
  }
  
  @keyframes pencilEraser {
    from,
      to {
      transform: rotate(-45deg) translate(49px,0);
    }
  
    50% {
      transform: rotate(0deg) translate(49px,0);
    }
  }
  
  @keyframes pencilEraserSkew {
    from,
      32.5%,
      67.5%,
      to {
      transform: skewX(0);
    }
  
    35%,
      65% {
      transform: skewX(-4deg);
    }
  
    37.5%, 
      62.5% {
      transform: skewX(8deg);
    }
  
    40%,
      45%,
      50%,
      55%,
      60% {
      transform: skewX(-15deg);
    }
  
    42.5%,
      47.5%,
      52.5%,
      57.5% {
      transform: skewX(15deg);
    }
  }
  
  @keyframes pencilPoint {
    from,
      to {
      transform: rotate(-90deg) translate(49px,-30px);
    }
  
    50% {
      transform: rotate(-225deg) translate(49px,-30px);
    }
  }
  
  @keyframes pencilRotate {
    from {
      transform: translate(100px,100px) rotate(0);
    }
  
    to {
      transform: translate(100px,100px) rotate(720deg);
    }
  }
  
  @keyframes pencilStroke {
    from {
      stroke-dashoffset: 439.82;
      transform: translate(100px,100px) rotate(-113deg);
    }
  
    50% {
      stroke-dashoffset: 164.93;
      transform: translate(100px,100px) rotate(-113deg);
    }
  
    75%,
      to {
      stroke-dashoffset: 439.82;
      transform: translate(100px,100px) rotate(112deg);
    }
  }

  .spinnerContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .spinner::before,
  .spinner::after {
    content: "";
    grid-area: 1/1;
    margin: 2px;
    border: inherit;
    border-radius: 50%;
    animation: tri-spinner 2s infinite;
  }
  
  .spinner::after {
    margin: 8px;
    animation-duration: 3s;
  }
  
  @keyframes tri-spinner {
    100% {
      transform: rotate(1turn);
    }
  }
  
  .loader {
    color: #0577C4;
    font-family: "Poppins",sans-serif;
    font-weight: 500;
    font-size: 25px;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 40px;
    padding: 10px 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-radius: 8px;
  }
  
  .words {
    overflow: hidden;
  }
  
  .word {
    display: block;
    height: 100%;
    padding-left: 6px;
    color:#0577C4;
    animation: cycle-words 5s infinite;
  }
  
  @keyframes cycle-words {
    10% {
      -webkit-transform: translateY(-105%);
      transform: translateY(-105%);
    }
  
    25% {
      -webkit-transform: translateY(-100%);
      transform: translateY(-100%);
    }
  
    35% {
      -webkit-transform: translateY(-205%);
      transform: translateY(-205%);
    }
  
    50% {
      -webkit-transform: translateY(-200%);
      transform: translateY(-200%);
    }
  
    60% {
      -webkit-transform: translateY(-305%);
      transform: translateY(-305%);
    }
  
    75% {
      -webkit-transform: translateY(-300%);
      transform: translateY(-300%);
    }
  
    85% {
      -webkit-transform: translateY(-405%);
      transform: translateY(-405%);
    }
  
    100% {
      -webkit-transform: translateY(-400%);
      transform: translateY(-400%);
    }
  }
  