@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap"); html, body { display: flex; height: 100%; width: 100%; align-items: center; justify-content: center; background-color: #77aa77; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 2 1'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='0' y1='0' y2='1'%3E%3Cstop offset='0' stop-color='%2377aa77'/%3E%3Cstop offset='1' stop-color='%234fd'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23cf8' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23cf8' stop-opacity='1'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='2' y2='2'%3E%3Cstop offset='0' stop-color='%23cf8' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23cf8' stop-opacity='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='0' fill='url(%23a)' width='2' height='1'/%3E%3Cg fill-opacity='0.5'%3E%3Cpolygon fill='url(%23b)' points='0 1 0 0 2 0'/%3E%3Cpolygon fill='url(%23c)' points='2 1 2 0 0 0'/%3E%3C/g%3E%3C/svg%3E"); background-attachment: fixed; background-size: cover; font-family: "helvetica", sans-serif !important; overflow-x: hidden !important; } .card { border-radius: 10px; margin-top: 50px !important; height: 350px !important; width: 250px; margin: auto; } .card.has-text-centered .card-header, .card.has-text-centered .card-content, .card.has-text-centered .card-footer { justify-content: center; align-items: center; } .card.has-text-centered h1 { font-size: 1.75rem; font-weight: bold; } .navbar { margin-bottom: 20px !important; } .hide { display: none; } .button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 12.5rem; margin: 0; padding: 1.5rem 3.125rem; background-color: #3498db; border: none; border-radius: 0.3125rem; box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.2); color: white; font-weight: 400; overflow: hidden; font-family: "Open Sans", sans-serif !important; } .button:before { position: absolute; content: ""; bottom: 0; left: 0; width: 0%; height: 100%; background-color: #54d98c; } .button span { position: absolute; line-height: 0; } .button span i { transform-origin: center center; } .button span:nth-of-type(1) { top: 50%; transform: translateY(-50%); } .button span:nth-of-type(2) { top: 100%; transform: translateY(0%); font-size: 24px; } .button span:nth-of-type(3) { display: none; } .active { background-color: #2ecc71; } .active:before { width: 100%; transition: width 30s linear !important; } .active span:nth-of-type(1) { top: -100%; transform: translateY(-50%); } .active span:nth-of-type(2) { top: 50%; transform: translateY(-50%); } .active span:nth-of-type(2) i { animation: loading 10000ms linear infinite !important; } .active span:nth-of-type(3) { display: none; } .finished { background-color: #54d98c; } .finished .submit { display: none; } .finished .loading { display: none; } .finished .check { display: block !important; font-size: 24px; animation: scale 0.5s linear; } .finished .check i { transform-origin: center center; } @keyframes loading { 100% { transform: rotate(360deg); } } @keyframes scale { 0% { transform: scale(10); } 50% { transform: scale(0.2); } 70% { transform: scale(1.2); } 90% { transform: scale(0.7); } 100% { transform: scale(1); } } .hero { margin-top: 70px !important; }