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;
}
@media (hover: none) and (pointer: coarse) {
body {
font-size: 2em;
}
}
body {
background: linear-gradient(-45deg, #ee7752, #23a6d5);
background-size: 100%;
}
.container{
width: 100%;
height: 100vh;
}
#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;
}
/*
.triangle-right {
width: 0;
height: 0;
border-top: 0px solid transparent;
border-left: 300px solid #0a89ac;
border-bottom: 130px solid transparent;
float: left;
animation : fade 0.5s;
}
.trapezoid {
border-bottom: 94px solid #e35d00;
border-left: 100px solid transparent;
border-right: 0px solid transparent;
height: 0;
width: 150px;
float: right;
animation : fade 0.5s;
}
*/
.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{
display: none;
}
h2#cookie_text{
text-align: center;
font-size: 2.5vw;
}
#result_mail a {
color: #001bff;
cursor: pointer;
}
.green:before{
content: '✅ ';
margin-right: 3vw;
}
.red{
background: rgba(252, 214, 214, 0.54);
border: 0.2vw solid red;
}
.red:before {
content: '❌ ';
margin-right: 3vw;
}
.green {
background: rgba(218, 252, 214, 0.53);
border: 0.2vw solid green;
}
div#result_password ul{
padding : 0vw 15vw;
list-style: none;
}
div#result_password li{
padding: 0.75vw;
}
div#result_password p{
text-align: center;
}
div#result_password h1{
padding: 2vh 0;
}
div#result_mail h1{
padding:2vh 0;
width:70%;
display: block;
margin: auto;
}
div#result_mail ul{
padding : 0vw 15vw;
list-style: none;
}
div#result_password li{
padding: 0.75vw;
}
.warning:before{
content: '⚠ ';
margin-right: 3vw;
}
.warning{
background: rgba(252, 214, 214, 0.54);
border: 0.2vw solid red;
margin-bottom: 0.5vh;
}
div.container#result_mail h2 {
position: relative;
top: 300px;
}
div.container#result_mail p {
text-align: center;
font-weight: bold;
font-size: xx-large;
}
.arrowdown{
cursor: pointer;
width: 10%;
display: block;
margin: auto;
animation: animationFrames linear 2s;
animation-iteration-count: infinite;
transform-origin: 50% 50%;
-webkit-animation: animationFrames linear 2s;
-webkit-animation-iteration-count: infinite;
-webkit-transform-origin: 50% 50%;
-moz-animation: animationFrames linear 2s;
-moz-animation-iteration-count: infinite;
-moz-transform-origin: 50% 50%;
-o-animation: animationFrames linear 2s;
-o-animation-iteration-count: infinite;
-o-transform-origin: 50% 50%;
-ms-animation: animationFrames linear 2s;
-ms-animation-iteration-count: infinite;
-ms-transform-origin: 50% 50%;
}
@keyframes animationFrames{
0% {
transform: translate(-1px,1px) ;
}
50% {
transform: translate(-1px,16px) ;
}
100% {
transform: translate(-1px,0px) ;
}
}
@-moz-keyframes animationFrames{
0% {
-moz-transform: translate(-1px,1px) ;
}
50% {
-moz-transform: translate(-1px,16px) ;
}
100% {
-moz-transform: translate(-1px,0px) ;
}
}
@-webkit-keyframes animationFrames {
0% {
-webkit-transform: translate(-1px,1px) ;
}
50% {
-webkit-transform: translate(-1px,16px) ;
}
100% {
-webkit-transform: translate(-1px,0px) ;
}
}
@-o-keyframes animationFrames {
0% {
-o-transform: translate(-1px,1px) ;
}
50% {
-o-transform: translate(-1px,16px) ;
}
100% {
-o-transform: translate(-1px,0px) ;
}
}
@-ms-keyframes animationFrames {
0% {
-ms-transform: translate(-1px,1px) ;
}
50% {
-ms-transform: translate(-1px,16px) ;
}
100% {
-ms-transform: translate(-1px,0px) ;
}
}
div.mainflex{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
}
div.mainflex div{
width: 20%;
}
div.mainflex div img{
width: 30%;
display: block;
margin: auto;
}
div.mainflex div p{
text-align: center;
}
div.mainflex div img:hover{
width: 35%;
transition-duration: 1s;
}