@import "animate.css";
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100;400;700&display=swap");
body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --foo-color:#333333;
    --txt-color:#FFFFFF;
    --nav-color:#F3C311;
    --bag-color:#222222;
    --incople-color:#BD3936;
    font-family: monospace;
    background-color: var(--bag-color);
    color: var(--txt-color);
}

/* Header */

.header{
    color: var(--nav-color);
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Comentario */
.coment{
    width: 100%;
    height: auto;
    border-bottom: 1px solid  var(--txt-color);
    text-align: center;
    font-size: 12px;
}
/* Reto Contenedor */
.reto{
   min-height: 450px ;
   display: flex;
   justify-content: center;
   align-items: center;
    padding-bottom:10px ;
}
/* Reto */
.canvas-confetti-btn {
    font-size: 5rem;
    border: none;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    .tool-tip {
      opacity: 1;
      transition: opacity 0.2s ease-in-out;
      animation: shake 3s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
      position: absolute;
      top: -40px;
      left: 0;
      width: 100%;
      background-color: #fff;
      color: #000;
      font-weight: 400;
      padding: 5px;
      border-radius: 4px;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
      font-size: 1rem;
      color: rgb(100, 100, 100);
      &:after {
        content: "";
        position: absolute;
        left: 50%;
        margin-left: -8px;
        bottom: -5px;
        background-color: #fff;
        transform: rotate(45deg);
        width: 10px;
        height: 10px;
      }
    }
    &:hover {
      .tool-tip {
        animation: none;
        opacity: 0;
      }
    }
  }
  @keyframes shake {
    10%,
    90% {
      transform: translate3d(0, 0, 0);
    }
    20%,
    80% {
      transform: translate3d(0, 0, 0);
    }
    30%,
    50%,
    70% {
      transform: translate3d(0, -4px, 0);
    }
    40%,
    60% {
      transform: translate3d(0, 4px, 0);
    }
  }
/* footer */

.foo{
    display: flex;
    align-items:center;
    justify-content: space-evenly;
    width: 100%;
    height: 200px;
    background-color: var(--foo-color);
}

span{
    font-size: 16px;
    color:  var(--nav-color);
    padding: 0 10px 0 10px;
}

/* Efectos y animaciones */

.header h1{
    animation: parpadeo 8s ease-in-out infinite;
}

@keyframes parpadeo {
    0%{
        color: var(--nav-color);
    }

    50%{
        color: var(--txt-color);
    }

    100%{
        color: var(--nav-color);  
    }
}


