|
|
|
@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap'); |
|
|
|
|
|
* { |
|
margin: 0; |
|
padding: 0; |
|
box-sizing: border-box; |
|
} |
|
|
|
body { |
|
font-family: 'Kaushan Script', cursive; |
|
text-align: center; |
|
background-color: #000; |
|
color: #FFF; |
|
overflow-x: hidden; |
|
} |
|
|
|
|
|
@keyframes gradient-animation { |
|
0% { background-position: 0% 50%; } |
|
50% { background-position: 100% 50%; } |
|
100% { background-position: 0% 50%; } |
|
} |
|
|
|
|
|
header { |
|
padding: 20px 0; |
|
background-image: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00ab, #ff0000); |
|
background-size: 300% 300%; |
|
animation: gradient-animation 10s ease infinite; |
|
color: white; |
|
text-align: center; |
|
} |
|
|
|
|
|
nav a { |
|
text-decoration: none; |
|
color: #FFF; |
|
background-color: #000; |
|
padding: 10px; |
|
border-radius: 5px; |
|
transition: background-color 0.3s ease-in-out; |
|
} |
|
|
|
nav a:hover { |
|
box-shadow: 0 0 10px #FFF, 0 0 40px #FFF, 0 0 80px #FFF; |
|
} |
|
|
|
|
|
button { |
|
background: #8518f2; |
|
background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00ab); |
|
border: none; |
|
color: white; |
|
padding: 10px 20px; |
|
cursor: pointer; |
|
border-radius: 5px; |
|
animation: gradient-animation 15s ease infinite; |
|
font-family: 'Kaushan Script', cursive; |
|
font-size: 1.1em; |
|
transition: transform 0.2s ease; |
|
} |
|
|
|
button:hover { |
|
transform: scale(1.2); |
|
} |
|
|
|
|
|
.main-content { |
|
padding: 50px; |
|
background-image: url('/static/IMG_3008.png'); |
|
background-size: cover; |
|
text-align: center; |
|
animation: colorChange 4s infinite; |
|
mix-blend-mode: overlay; |
|
} |
|
|
|
|
|
.background-container { |
|
position: relative; |
|
background-image: url('/static/IMG_3008.png'); |
|
background-size: cover; |
|
|
|
min-height: 100vh; |
|
} |
|
|
|
.color-overlay { |
|
position: absolute; |
|
top: 0; |
|
left: 0; |
|
right: 0; |
|
bottom: 0; |
|
animation: colorAndScaleChange 10s infinite; |
|
mix-blend-mode: overlay; |
|
z-index: 1; |
|
} |
|
.background-container > *:not(.color-overlay) { |
|
position: relative; |
|
z-index: 2; |
|
|
|
} |
|
@keyframes colorChange { |
|
0% { background-color: rgba(255, 0, 0, 0.6); } |
|
33% { background-color: rgba(0, 255, 0, 0.6); } |
|
66% { background-color: rgba(0, 0, 255, 0.6); } |
|
100% { background-color: rgba(255, 0, 0, 0.6); } |
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes gradient-and-color-animation { |
|
0% { |
|
background-color: blue; |
|
background-position: 0% 50%; |
|
} |
|
50% { |
|
background-color: green; |
|
background-position: 100% 50%; |
|
} |
|
100% { |
|
background-color: red; |
|
background-position: 0% 50%; |
|
} |
|
} |
|
|
|
@keyframes colorAndScaleChange { |
|
0%, 100% { |
|
background-color: rgba(255, 0, 0, 0.6); |
|
transform: scale(1); |
|
} |
|
33% { |
|
background-color: rgba(0, 255, 0, 0.6); |
|
transform: scale(1.1); |
|
} |
|
66% { |
|
background-color: rgba(0, 0, 255, 0.6); |
|
transform: scale(1.2); |
|
} |
|
} |
|
|
|
|
|
|
|
footer { |
|
padding: 20px 0; |
|
background-image: linear-gradient(45deg, #ff00ab, #002bff, #00ffd5, #48ff00, #fffb00, #ff7300, #ff0000); |
|
background-size: 300% 300%; |
|
animation: gradient-and-color-animation 15s ease infinite; |
|
text-align: center; |
|
color: white; |
|
} |
|
|
|
|
|
@media (max-width: 768px) { |
|
|
|
} |