*{
margin: 0;
padding: 0;
list-style: none;
color: inherit;
text-decoration: none;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,900&display=swap');
html,body{font-family: 'Poppins', sans-serif;}
h2,h3,h4,h5,h6{font-weight: 400;}
button,input{border: 0; background-color: rgba(0,0,0,0);}
main{
width: 100%;
height: 100vh;
position: fixed;
top: 0;
left: 0;
background-image: url("/Widget/image/pic1.jpg");
background-repeat: no-repeat;
background-size: cover;
}
main:before{
opacity: 0.8;
content: ''; display: block; width: 100%; height: 100%;
background: linear-gradient(45deg, rgba(255,175,189,.7), rgba(100,216,243,.7), rgba(234,236,198,.7), rgba(245,146,176,.7), rgba(52,219,216,.7)) 0 0 / 1000% no-repeat;
animation: gradientAnimation 40s ease infinite;
position: absolute;
top: 0;
left: 0;;
}
@keyframes gradientAnimation {
0% { background-position: 0% 30%, 0 0;}
50% { background-position: 100% 70%, 0 0;}
100% { background-position: 0% 30%, 0 0;}
}
section.userInfo{
text-align: center; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
section.userInfo h2{font-size: 120px; color: #fff;}
section.userInfo input{border-bottom: 2px solid #fff; transition: all 0.8s; text-align: center; width: 500px; height: 80px; color: #fff; font-size: 50px;}
section.userInfo input::placeholder{color: #fff; text-align: center; font-size: 50px;}
section.userInfo input:focus{background-color: rgba(255,255,255,0.3); border-radius: 10px; width: 600px;}
section.welcome{
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
font-size: 38px;
width: 100%;
text-align: center;
color: #fff;
display: none;
}
section.welcome #userEdit {
display: inline-block;
display: none;
}
section.welcome #userEdit input {
font-size: 38px;
height: 45px;
color: #fff;
border-bottom: 2px solid #fff;
width: 200px;
}
section.weather{
position: absolute;
top: 50px;
right: 50px;
color: #fff;
font-size: 28px;
}