body, html {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.container, .contact-icons, .card, footer, header, .btn-small {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: auto;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* General background and styling */
body {
font-family: 'Arial', sans-serif;
background: radial-gradient(circle, rgba(0, 204, 255, 1) 0%, rgba(0, 72, 255, 1) 100%);
color: white;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
animation: backgroundAnimation 5s infinite alternate;
}
/* Container for the content */
.container {
text-align: center;
padding: 40px;
background: rgba(0, 0, 0, 0.8);
border-radius: 20px;
width: 90%;
max-width: 700px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}
header h1 {
font-size: 40px;
font-weight: bold;
margin-bottom: 15px;
animation: textGlow 1.5s ease-in-out infinite alternate;
}
.subtitle {
font-size: 20px;
margin-bottom: 30px;
color: rgba(255, 255, 255, 0.8);
animation: textGlow 2s ease-in-out infinite alternate;
}
.contact-icons {
display: flex;
justify-content: center;
gap: 30px;
animation: iconsSlideUp 1.5s ease-in-out infinite alternate;
}
.contact-icon {
display: flex;
flex-direction: column;
align-items: center;
text-decoration: none;
color: white;
font-weight: bold;
font-size: 20px;
padding: 20px;
background: rgba(255, 255, 255, 0.15);
border-radius: 50%;
transition: transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
}
.contact-icon img {
width: 70px;
height: 70px;
margin-bottom: 15px;
filter: brightness(0) invert(1);
animation: iconAnimation 1s ease-in-out infinite alternate;
}
.contact-icon span {
text-transform: uppercase;
font-size: 16px;
letter-spacing: 1px;
color: rgba(255, 255, 255, 0.8);
}
.contact-icon:hover {
transform: scale(1.2);
box-shadow: 0 0 20px rgba(0, 204, 255, 0.8), 0 0 30px rgba(0, 72, 255, 0.6);
}
/* Footer text styling */
footer p {
font-size: 18px;
margin-top: 30px;
animation: textGlow 3s ease-in-out infinite alternate;
}
/* Beautified Button Styling */
.btn-small {
display: block; /* Ensures the button is on a new line */
margin-top: 25px; /* Added space between the content and button */
padding: 12px 24px;
font-size: 16px;
font-weight: bold;
text-transform: uppercase;
background: linear-gradient(45deg, rgba(255, 0, 150, 0.8), rgba(0, 204, 255, 0.8));
color: white;
border: none;
border-radius: 30px;
cursor: pointer;
transition: all 0.3s ease-in-out;
box-shadow: 0 0 15px rgba(0, 204, 255, 0.6);
text-align: center;
}
.btn-small:hover {
background: linear-gradient(45deg, rgba(0, 204, 255, 0.8), rgba(255, 0, 150, 0.8));
box-shadow: 0 0 25px rgba(0, 204, 255, 1), 0 0 35px rgba(255, 0, 150, 1);
transform: scale(1.05);
}
.btn-small:active {
transform: scale(0.98);
box-shadow: 0 0 10px rgba(0, 204, 255, 0.6), 0 0 20px rgba(255, 0, 150, 0.6);
}
.btn-animated {
display: inline-block;
padding: 10px 20px;
margin-top: 20px;
font-size: 16px;
font-weight: bold;
color: #fff;
text-decoration: none;
background: linear-gradient(45deg, #ff6b6b, #f06595);
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.2s, box-shadow 0.2s;
}
.btn-animated:hover {
transform: translateY(-3px);
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}
.btn-animated:active {
transform: translateY(2px);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
#infoCard {
background-color: #000000; /* Latar belakang hitam */
border-radius: 15px;
padding: 30px;
width: 320px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Bayangan hitam */
font-family: 'Arial', sans-serif;
margin: 20px auto;
text-align: center;
position: relative;
color: #000000; /* Warna teks yang sama dengan latar belakang */
}
#infoCard p {
margin: 12px 0;
font-size: 16px;
color: #000000; /* Warna teks yang sama dengan latar belakang */
font-weight: 500;
}
/* Keyframes for Animations */
@keyframes backgroundAnimation {
0% {
background: radial-gradient(circle, rgba(0, 204, 255, 1) 0%, rgba(0, 72, 255, 1) 100%);
}
100% {
background: radial-gradient(circle, rgba(0, 204, 255, 1) 0%, rgba(255, 20, 147, 1) 100%);
}
}
@keyframes textGlow {
0% {
text-shadow: 0 0 5px rgba(0, 204, 255, 1), 0 0 10px rgba(0, 204, 255, 1), 0 0 20px rgba(0, 204, 255, 1);
}
100% {
text-shadow: 0 0 5px rgba(255, 20, 147, 1), 0 0 10px rgba(255, 20, 147, 1), 0 0 20px rgba(255, 20, 147, 1);
}
}
@keyframes iconsSlideUp {
0% {
transform: translateY(50px);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
}
@keyframes iconAnimation {
0% {
filter: brightness(0) invert(1);
}
100% {
filter: brightness(1) invert(0);
}
}