File size: 4,381 Bytes
945ef8d 651eee7 945ef8d 40ebb35 945ef8d 651eee7 945ef8d 40ebb35 651eee7 40ebb35 651eee7 40ebb35 945ef8d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 |
/* Psychedelic Styles */
@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');
/* Reset CSS */
* {
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;
}
/* Gradient animation for backgrounds */
@keyframes gradient-animation {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* Header styles with a dynamic gradient */
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 bar links with a glow effect */
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;
}
/* Psychedelic button styles */
button {
background: #8518f2; /* Fallback for browsers that do not support gradients */
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 with psychedelic patterns */
.main-content {
padding: 50px;
background-image: url('/static/psychedelic-pattern.png'); /* Replace with the actual path to your psychedelic pattern image */
background-size: cover;
text-align: center;
animation: colorChange 4s infinite;
mix-blend-mode: overlay;
}
.background-container {
position: relative;
background-image: url('/static/psychedelic-pattern.png');
background-size: cover;
/* Ensure the container is large enough to display the content */
min-height: 100vh; /* Example height */
}
.color-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
animation: colorAndScaleChange 10s infinite;
mix-blend-mode: overlay; /* Adjust blending mode as needed */
z-index: 1;
}
.background-container > *:not(.color-overlay) {
position: relative;
z-index: 2;
/* overflow: hidden;*/ /* To contain the scaling of the overlay */
}
@keyframes colorChange {
0% { background-color: rgba(255, 0, 0, 0.6); } /* Red with transparency */
33% { background-color: rgba(0, 255, 0, 0.6); } /* Green with transparency */
66% { background-color: rgba(0, 0, 255, 0.6); } /* Blue with transparency */
100% { background-color: rgba(255, 0, 0, 0.6); } /* Back to Red */
}
/* Footer with wave-like pattern */
/*footer {
padding: 20px 0;
background-image: linear-gradient(45deg, #ff00ab, #002bff, #00ffd5, #48ff00, #fffb00, #ff7300, #ff0000);
background-size: 300% 300%;
animation: gradient-animation 15s ease infinite;
text-align: center;
color: white;
}
*/
@keyframes gradient-and-color-animation {
0% {
background-color: blue; /* Example color */
background-position: 0% 50%;
}
50% {
background-color: green; /* Example color */
background-position: 100% 50%;
}
100% {
background-color: red; /* Example color */
background-position: 0% 50%;
}
}
@keyframes colorAndScaleChange {
0%, 100% {
background-color: rgba(255, 0, 0, 0.6);
transform: scale(1); /* Normal size */
}
33% {
background-color: rgba(0, 255, 0, 0.6);
transform: scale(1.1); /* Slightly larger */
}
66% {
background-color: rgba(0, 0, 255, 0.6);
transform: scale(1.2); /* Even larger */
}
}
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 queries for responsiveness */
@media (max-width: 768px) {
/* Adjust styles for smaller screens */
} |