.fab-wrapper {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
}

.fab-checkbox {
    display: none;
}

.fab {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 4rem;
    height: 4rem;
    background: blue;
    border-radius: 50%;
    background: #126ee2;
    box-shadow: 0px 5px 20px #81a4f1;
    transition: all 0.3s ease;
    z-index: 999;
    border-bottom-right-radius: 6px;
    border: 1px solid #0c50a7;
}

.fab:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.fab-checkbox:checked~.fab:before {
    width: 90%;
    height: 90%;
    left: 5%;
    top: 5%;
    background-color: rgba(255, 255, 255, 0.2);
}

.fab:hover {
    background: #2c87e8;
    box-shadow: 0px 5px 20px 5px #81a4f1;
}

.fab-dots {
    position: absolute;
    height: 8px;
    width: 8px;
    background-color: white;
    border-radius: 50%;
    top: 50%;
    transform: translateX(0%) translateY(-50%) rotate(0deg);
    opacity: 1;
    animation: blink 3s ease infinite;
    transition: all 0.3s ease;
}

.fab-dots-1 {
    left: 15px;
    animation-delay: 0s;
}

.fab-dots-2 {
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    animation-delay: 0.4s;
}

.fab-dots-3 {
    right: 15px;
    animation-delay: 0.8s;
}

.fab-checkbox:checked~.fab .fab-dots {
    height: 6px;
}

.fab .fab-dots-2 {
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
}

.fab-checkbox:checked~.fab .fab-dots-1 {
    width: 32px;
    border-radius: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.fab-checkbox:checked~.fab .fab-dots-3 {
    width: 32px;
    border-radius: 10px;
    right: 50%;
    transform: translateX(50%) translateY(-50%) rotate(-45deg);
}

@keyframes blink {
    50% {
        opacity: 0.25;
    }
}

.fab-checkbox:checked~.fab .fab-dots {
    animation: none;
}

.fab-wheel {
    opacity: 1.0;
    position: absolute;
    bottom: 30px;
    right: 40px;
    /*border: 1px solid blue;*/
    width: 20rem;
    height: 6rem;
    transition: all 0.3s ease;
    transform-origin: bottom right;
    /*background-color: #fff;*/
    background: #4a4f78;
    border-radius: 10px;
    z-index: 999;
    transform: scale(0);
}

.fab-checkbox:checked~.fab-wheel {
    transform: scale(1);
    position: absolute !important;
    z-index: 999 !important;
}

.fab-action {
    position: absolute;
    background: #0f1941;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: White;
    box-shadow: 0 0.1rem 1rem rgba(24, 66, 154, 0.82);
    transition: all 1s ease;
    z-index: 999 !important;


}

.fab-checkbox:checked~.fab-wheel .fab-action {
    /* opacity: 1;*/
    position: absolute !important;
    z-index: 999 !important;
}

.fab-action:hover {
    background-color: #f16100;
}

.fab-wheel .fab-action-1 {
    right: -1rem;
    top: 0;
}

.fab-wheel .fab-action-2 {
    right: 3.4rem;
    top: 0.5rem;
}

.fab-wheel .fab-action-3 {
    left: 0.5rem;
    bottom: 3.4rem;
}

.fab-wheel .fab-action-4 {
    left: 0;
    bottom: -1rem;
}

.btn {
    padding: 8px 20px;
    border-radius: 0;
    overflow: hidden;
  }
  .btn::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, var(--primary-color), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
  }
  .btn:hover {
    background: transparent;
    box-shadow: 0 0 20px 10px rgba(51, 152, 219, 0.5);
  }
  .btn:hover::before {
    transform: translateX(100%);
  }
  .form-input-material {
    --input-default-border-color: white;
    --input-border-bottom-color: white;
    padding-top: 20px;
    padding-left: 70px
  }
  .form-input-material input {
    color: black;
  }
  .login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*padding: 50px 40px;*/
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 50px;
    color: white;

    border-radius: 10px;
    /*box-shadow: 0 0.4px 0.4px rgba(128, 128, 128, 0.109), 0 1px 1px rgba(128, 128, 128, 0.155), 0 2.1px 2.1px rgba(128, 128, 128, 0.195), 0 4.4px 4.4px rgba(128, 128, 128, 0.241), 0 12px 12px rgba(128, 128, 128, 0.35);*/
  }
  .login-form h1 {
    margin: 0 0 24px 0;
  }
  .login-form .form-input-material {
    margin: 12px 0;
  }
  .login-form .btn {
    width: 40%;
    margin: 18px 0 9px 0;
  }
  /*end modal*/
  /*link for certifiacte*/
  @import url("https://fonts.googleapis.com/css2?family=Quicksand&display=swap");



  .link {
    height: 30px;
    align-items: center;
    /*color: #000;*/
    color: white;
    text-decoration: none;
    display: flex;
  }

  /* Hide extra text */
  .mask {
    position: relative;
   /* padding: 0;*/
   padding-left: 88px;
    height: 20px;

    /*  Remove overflow to see how it works　:) */
    overflow: hidden;
  }

  .link-container {
    transition: transform 0.4s ease;
  }

  .title {
    display: block;

    /*  Set same font-size and line height  */
    font-size: 20px;
    line-height: 20px;

    transition: transform 0.4s ease;
  }

  .link-title1 {
    transform-origin: right center;
  }

  .link-title2 {
    transform-origin: left center;
    transform: rotate(20deg);
  }

  .link-icon {
    position: relative;
    width: 35px;
    height: 35px;
    background: #f8f8ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;

    /*  Remove overflow to see how it works　:) */
    overflow: hidden;
  }

  .icon {
    display: block;
    position: absolute;
    transition: transform 0.4s ease;
  }

  .icon:nth-child(2) {
    transform: translate(-40px);
  }

  /* Hover Action*/

  /* Move up two texts (20px = font-size) */
  .link:hover .link-container {
    transform: translateY(-20px);
  }

  /* Rotate texts a little bit */
  .link:hover .link-title1 {
    transform: rotate(20deg);
  }

  .link:hover .link-title2 {
    transform: rotate(0);
  }

  /* Move arrows to right */
  .link:hover .icon:first-child {
    transform: translate(40px);
  }

  .link:hover .icon:nth-child(2) {
    transform: translate(0px);
  }
