73 lines
1.2 KiB
CSS
73 lines
1.2 KiB
CSS
body {
|
|
margin: 0;
|
|
font-family: Arial, sans-serif;
|
|
background: linear-gradient(135deg, rgb(87, 87, 255), rgb(255, 255, 255));
|
|
color: #333;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
padding: 20px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2.5em;
|
|
color: #fff;
|
|
}
|
|
|
|
main {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.box {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border-radius: 15px;
|
|
padding: 20px;
|
|
backdrop-filter: blur(15px);
|
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
|
|
width: 100%;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.box h2 {
|
|
font-size: 2em;
|
|
color: #222;
|
|
margin: 0;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
#backToTop {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
padding: 10px 20px;
|
|
background-color: #4a5b6e;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
display: none;
|
|
opacity: 0.8;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
#backToTop:hover {
|
|
opacity: 1;
|
|
}
|
|
|