html{ margin: 0; padding: 0; @import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap'); } body{ margin: 0; padding: 0; scroll-behavior: smooth; font-family: 'Roboto', sans-serif; } .container{ width: 100%; height: 100vh; border-bottom: 0.2vw solid black; } #main h1{ margin: 0; padding: 0; text-align: center; font-size: 4vw; padding: 25vh 0; animation: fadeup 1s; } .container h1{ margin: 0; padding: 0; text-align: center; font-size: 4vw; padding: 15vh 0; animation: fadeup 1s; } .container h2{ text-align: center; animation: fade 2s; font-size: 2vw; } @keyframes fade { 0%{opacity: 0} 100%{opacity: 1} } @keyframes fadeup { 0%{opacity: 0;margin-left: 10vw;} 100%{opacity: 1;margin-top: 0;} } label{ display: block; text-align: center; font-size: 2.5vw; padding: 5vh 0; animation: fadeup 2s; } input{ display: block; margin: auto; border-top: transparent; border-left: transparent; border-right: transparent; text-align: center; padding: 1vw; background-color: transparent; border-bottom: 0.2vw solid rgba(69, 69, 69, 0.87); color: black; width: 50%; animation: fadewidth 2s; box-shadow: 0 0 0 transparent; -webkit-transition: box-shadow 0.5s; transition: box-shadow 0.5s; } .error { -webkit-animation: shake 0.2s ease-in-out 0s 2; animation: shake 0.2s ease-in-out 0s 2; box-shadow: 0 0 0.5em red; } input:hover{ border-bottom-right-radius: 20px; transition-duration: 0.3s; } input:focus{ border-color: #057693; transition-duration: 0.3s; } @keyframes fadewidth { 0%{width: 20%} 100%{width: 50%} } @-webkit-keyframes shake { 0% { margin-left: auto; margin-right: auto; } 25% { margin-left: 15vh; margin-right: auto; } 75% { margin-left: auto; margin-right: 15vh; } 100% { margin-left: auto; margin-right: auto; } } @keyframes shake { 0% { margin-left: auto; margin-right: auto; } 25% { margin-left: 15vh; margin-right: auto; } 75% { margin-left: auto; margin-right: 15vh; } 100% { margin-left: auto; margin-right: auto; } } .hide{ } h2#cookie_text{ text-align: center; font-size: 2.5vw; }