/* style.css */
html,
body {
background-color: #1a1414; /* Warna dark charcoal */
color: white;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
/* min-height: 4000px; */
font-family: "Roboto", sans-serif;
font-weight: 700; /* untuk tebal */
scroll-behavior: smooth;
height: 10vh;
}
/* Menyembunyikan kursor default dan menggantinya */
body {
cursor: none; /* Menyembunyikan kursor default */
}
#particles-js {
position: fixed; /* Memastikan partikel tetap di belakang konten */
top: 0;
left: 0;
width: 100vw; /* Mengisi lebar layar */
height: 100vh; /* Mengisi tinggi layar */
}
/* Efek neon untuk cursor trail */
.cursor-trail {
position: absolute;
width: 15px;
height: 15px;
border-radius: 50%;
background: rgb(255, 187, 0);
box-shadow: 0 0 15px rgba(255, 210, 88, 0.8);
pointer-events: none;
animation: trail-animation 1s ease-out forwards;
}
/* Animasi untuk efek trail */
@keyframes trail-animation {
0% {
transform: scale(1);
opacity: 1;
}
100% {
transform: scale(0);
opacity: 0;
}
}
.hero {
display: flex;
align-items: center;
justify-content: center;
}
.logo img {
width: 600px;
border-radius: 40%;
}
/* CA */
.ca {
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
margin-top: -4rem;
}
.ca label {
margin-right: 1rem;
font-size: 20px;
}
.ca input {
padding: 10px;
font-size: 16px;
border: 1px solid #c27c53;
border-radius: 4px;
margin-right: 10px;
width: 300px;
background: transparent;
color: #c27c53;
}
.ca button {
padding: 5px 10px;
font-size: 25px;
background-color: #c27c53;
color: rgb(0, 0, 0);
border: none;
border-radius: 4px;
cursor: pointer;
}
.ca button:hover {
background-color: #d8a64a;
}
/* Styling for the notification */
.notification {
position: fixed;
top: 20px;
right: 20px;
background-color: #d8a64a;
color: rgb(0, 0, 0);
padding: 10px 20px;
border-radius: 5px;
box-shadow: 0 4px 6px rgba(0, 255, 0, 0.1);
display: none;
z-index: 9999;
}
/* Hal2 */
.hal2 {
margin-top: -2rem;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh; /* Menggunakan tinggi viewport untuk tengah secara vertikal */
text-align: center; /* Menyusun teks agar rata tengah */
}
.content p {
margin: 10px 0; /* Memberikan jarak antar paragraf */
font-size: 18px;
}
.content2 p {
margin: 10px 0; /* Memberikan jarak antar paragraf */
font-size: 18px;
}
h2 {
font-size: 48px;
margin: 10px 0;
}
/* Social */
.social {
margin-bottom: 10rem;
display: flex;
justify-content: center;
align-items: center;
gap: 1.2rem;
margin-top: -4rem;
}
.social .tele {
background-color: #d8a64a;
width: 155px;
height: 50px;
border-radius: 30px;
transition: transform 0.3s ease; /* Transisi yang halus */
cursor: pointer;
}
.social .tele .logo {
font-size: 28px;
margin-left: 1rem;
margin-top: 0.5rem;
background-color: transparent;
}
.social .tele p {
font-size: 20px;
margin-left: 3rem;
margin-top: -1.8rem;
}
/* Twitter */
.social .twit {
background-color: #d8a64a;
width: 130px;
height: 50px;
border-radius: 30px;
transition: transform 0.3s ease; /* Transisi yang halus */
cursor: pointer;
}
.social .twit .logo1 {
font-size: 28px;
margin-left: 1rem;
margin-top: 0.5rem;
}
.social .twit p {
font-size: 20px;
margin-left: 3rem;
margin-top: -1.8rem;
}
/* Pump.fun */
.social .pump {
background-color: #d8a64a;
width: 155px;
height: 50px;
border-radius: 30px;
transition: transform 0.3s ease; /* Transisi yang halus */
cursor: pointer;
}
.social .pump .logo2 {
font-size: 28px;
margin-left: 1rem;
margin-top: 0.5rem;
}
.social .pump p {
font-size: 20px;
margin-left: 3rem;
margin-top: -1.8rem;
}
/* whitepaper */
.social .whit {
background-color: #d8a64a;
width: 170px;
height: 50px;
border-radius: 30px;
transition: transform 0.3s ease; /* Transisi yang halus */
cursor: pointer;
}
.social .whit .logo3 {
font-size: 28px;
margin-left: 1rem;
margin-top: 0.5rem;
}
.social .whit p {
font-size: 20px;
margin-left: 3rem;
margin-top: -1.8rem;
}
.social .tele:hover {
background-color: #c27c53;
transform: scale(1.1);
}
.social .twit:hover {
background-color: #c27c53;
transform: scale(1.1);
}
.social .pump:hover {
background-color: #c27c53;
transform: scale(1.1);
}
.social .whit:hover {
background-color: #c27c53;
transform: scale(1.1);
}
/* T2IMG */
/* Container with shadow and padding */
/* Container */
.container {
width: 700px;
max-width: 800px;
margin: 50px auto;
padding: 30px;
background-color: #2c2525;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
}
/* Heading styling */
h1 {
font-size: 2.5rem;
margin-bottom: 20px;
color: #ffffff;
font-weight: 600;
}
/* Input container for alignment */
.input-container {
margin-bottom: 20px;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
/* Styling for input field */
#prompt {
width: 70%;
padding: 12px;
font-size: 1.1rem;
border: 1px solid #ccc;
border-radius: 4px;
margin-right: 10px;
transition: border-color 0.3s;
box-sizing: border-box; /* Ensures padding doesn't affect total width */
}
/* Focus styling for input */
#prompt:focus {
border-color: #4caf50;
outline: none;
}
/* Button styling */
#generateBtn {
padding: 12px 25px;
font-size: 1.1rem;
border: none;
background-color: #d8a64a;
color: white;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s, transform 0.3s;
width: 150px; /* Fixed width for button */
height: 48px; /* Fixed height for button */
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
box-sizing: border-box; /* Prevent size from changing with text */
}
/* Hover effect for button */
#generateBtn:hover {
background-color: #c27c53;
transform: scale(1.05);
}
/* Styling for the result container */
#resultContainer {
margin-top: 30px;
}
/* Styling for generated image */
#generatedImage {
width: 100%;
max-width: 600px;
height: auto;
display: none;
margin: 0 auto;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Styling for download link */
#downloadLink {
display: none;
margin-top: 20px;
font-size: 1rem;
background-color: #d8a64a;
color: white;
padding: 10px 20px;
text-decoration: none;
border-radius: 4px;
transition: background-color 0.3s;
}
#downloadLink:hover {
background-color: #c27c53;
}
/* Styling for the image placeholder when no image is generated */
#imagePlaceholder {
width: 100%;
max-width: 600px;
height: 500px;
background-color: #f2f2f2;
border: 2px dashed #ccc;
display: flex;
justify-content: center;
align-items: center;
margin: 0 auto;
border-radius: 8px;
font-size: 1.2rem;
color: #888;
text-align: center;
}
/* USE */
.use {
display: flex;
justify-content: center;
align-items: center;
gap: 10rem;
margin-top: 15rem;
flex-wrap: wrap; /* Allows wrapping to the next line if needed */
text-align: center; /* Center the content */
margin-bottom: 2rem;
}
/* Logo container */
.use .logo {
width: 100%;
text-align: center; /* Center text inside logo */
margin-bottom: -60px; /* Space between h2 and images */
}
.use h2 {
font-size: 48px;
color: #fff;
margin: 0; /* Remove default margin */
}
/* Image container */
.img1,
.img2 {
display: flex;
justify-content: center;
align-items: center;
max-width: 400px; /* Limit image width */
width: 100%;
}
/* Image styles */
.img1 img,
.img2 img {
width: 100%; /* Responsive image */
max-width: 400px; /* Ensure images do not grow too large */
height: auto; /* Maintain aspect ratio */
border-radius: 30px;
}
/* Responsive styling for mobile */
@media (max-width: 768px) {
/* Hero */
.hero {
margin-bottom: 5rem;
}
.logo img {
width: 300px;
border-radius: 40%;
}
/* CA */
.ca label {
margin-right: 1rem;
font-size: 20px;
}
.ca input {
padding: 10px;
font-size: 16px;
border: 1px solid #c27c53;
border-radius: 4px;
margin-right: 10px;
width: 200px;
}
.ca button {
padding: 5px 10px;
font-size: 25px;
}
/* Hal2 */
.hal2 {
margin-top: -5rem;
}
.content p {
margin: 10px 0; /* Memberikan jarak antar paragraf */
font-size: 16px;
padding-left: 15px; /* Jarak kiri */
padding-right: 15px; /* Jarak kanan */
}
.content2 p {
margin: 10px 0; /* Memberikan jarak antar paragraf */
font-size: 16px;
padding-left: 15px; /* Jarak kiri */
padding-right: 15px; /* Jarak kanan */
}
h2 {
font-size: 32px;
margin: 10px 0;
}
/* Social */
/* Social */
.social {
margin-bottom: 10rem;
display: flex;
justify-content: center;
flex-direction: column;
gap: 1.2rem;
margin-top: -4rem;
}
.social .tele {
background-color: #d8a64a;
width: 155px;
height: 50px;
border-radius: 30px;
transition: transform 0.3s ease; /* Transisi yang halus */
cursor: pointer;
}
.social .tele .logo {
font-size: 28px;
margin-left: 1rem;
margin-top: 0.5rem;
background-color: transparent;
}
.social .tele p {
font-size: 20px;
margin-left: 3rem;
margin-top: -1.8rem;
}
/* Twitter */
.social .twit {
background-color: #d8a64a;
width: 130px;
height: 50px;
border-radius: 30px;
transition: transform 0.3s ease; /* Transisi yang halus */
cursor: pointer;
}
.social .twit .logo1 {
font-size: 28px;
margin-left: 1rem;
margin-top: 0.5rem;
}
.social .twit p {
font-size: 20px;
margin-left: 3rem;
margin-top: -1.8rem;
}
/* Pump.fun */
.social .pump {
background-color: #d8a64a;
width: 155px;
height: 50px;
border-radius: 30px;
transition: transform 0.3s ease; /* Transisi yang halus */
cursor: pointer;
}
.social .pump .logo2 {
font-size: 28px;
margin-left: 1rem;
margin-top: 0.5rem;
}
.social .pump p {
font-size: 20px;
margin-left: 3rem;
margin-top: -1.8rem;
}
/* Texttoimage */
.container {
width: 80%; /* Ensure container is responsive */
padding: 20px;
}
h1 {
font-size: 32px; /* Reduce heading size for mobile */
}
.input-container {
flex-direction: column; /* Stack input and button vertically */
align-items: stretch; /* Make sure elements fill the container */
}
#prompt {
width: 100%; /* Make input take full width */
margin-right: 0; /* Remove right margin */
}
#generateBtn {
width: 100%; /* Make button take full width */
margin-top: 10px; /* Add margin top for spacing */
}
#generatedImage {
width: 100%; /* Make image responsive */
max-width: 100%;
}
#downloadLink {
width: 90%; /* Make download link responsive */
}
#imagePlaceholder {
width: 100%; /* Make placeholder responsive */
max-width: 100%;
height: 300px; /* Allow height to scale based on width */
}
/* USE */
.use {
flex-direction: column; /* Stack the images and text vertically */
margin-top: 7rem; /* Adjust top margin for smaller screens */
gap: 2rem;
}
.img1,
.img2 {
margin-bottom: 20px; /* Add space between images */
}
.img1 img,
.img2 img {
width: 100%; /* Responsive image */
max-width: 300px; /* Ensure images do not grow too large */
height: auto; /* Maintain aspect ratio */
border-radius: 30px;
}
/* Logo container */
.use .logo {
width: 100%;
text-align: center; /* Center text inside logo */
margin-bottom: 20px; /* Space between h2 and images */
}
.use h2 {
font-size: 32px;
color: #fff;
margin: 0; /* Remove default margin */
}
}