* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-image: url('https://i.ibb.co/84QG9MZ/837bde054612ebcfce715125a3434f45.gif'); 
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 24px;
  }

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    background-color: black;
    opacity: 0.7; /* 50% opacity */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    margin-bottom: 10px;
    font-size: 1.7rem;
    color: #444;
}

form {
    display: flex;
    flex-direction: column;

}

label {
    margin-top: 2px;
    font-weight: bold;
    background-color: black;
}

input {
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
    border: 3px solid black;
}

button {
    margin-top: 15px;
    padding: 10px;
    background-color: black;
    color: blue;
    border: solid blue;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background-color: royalblue;
}

/* 

/* Result styling with static background and falling snowflakes */
.result {
    position: relative;
    width: 97%;
    max-width: 700px;
    padding: 20px;
    background: linear-gradient(270deg, #4a90e2, #86c5da); /* Static blue gradient background */
    opacity: 0.7;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
    word-wrap: break-word;
    overflow: hidden;
}

/* Snowflake animation styling */
.snowflake {
    position: absolute;
    top: -10px;
    font-size: 12px;
    color: #fff;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100px);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0.2;
    }
}

/* Place multiple snowflakes with random speeds, sizes, and positions */
.snowflake:nth-child(1) { left: 5%; animation-duration: 4s; }
.snowflake:nth-child(2) { left: 10%; animation-duration: 6s; font-size: 14px; }
.snowflake:nth-child(3) { left: 20%; animation-duration: 5s; font-size: 10px; }
.snowflake:nth-child(4) { left: 30%; animation-duration: 7s; }
.snowflake:nth-child(5) { left: 40%; animation-duration: 5s; font-size: 12px; }
.snowflake:nth-child(6) { left: 50%; animation-duration: 4s; font-size: 16px; }
.snowflake:nth-child(7) { left: 60%; animation-duration: 6s; font-size: 14px; }
.snowflake:nth-child(8) { left: 70%; animation-duration: 5s; }
.snowflake:nth-child(9) { left: 80%; animation-duration: 7s; font-size: 10px; }
.snowflake:nth-child(10) { 
left: 90%; animation-duration: 4s; font-size: 12px; }


h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

p {
    font-size: 1rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

#time {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Galaxy Effect Button Style */
.fetch-button {
    margin: 10px;
    padding: 12px 25px;
    font-size: 1rem;
    color: #fff;
    background-color: transparent;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
    font-weight: bold;
}

.copy-button {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: black;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.copy-button:hover {
    background-color: #218838;
}/* General styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    padding: 20px;
}

.container {
    background-color: black;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: auto;
}

h1 {
    text-align: center;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ddd;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}

/* Container styling */
.container {
    text-align: center;
    padding: 20px;
    background-color: black;
}

/* Info section styling */
.info {
    margin-top: 20px;
    text-align: center;
    background-color: lightsteelblue;
    border-radius: 8px;
}

.info div {
    margin: 10px 0;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info i {
    margin-right: 10px;
    font-size: 20px
}

/* Snow Animation */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none; /* So snow doesn't interfere with form interaction */
    overflow: hidden;
    z-index: -1;
}

.snowflake {
    position: absolute;
    top: -10px;
    font-size: 12px;
    color: #fff;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100px);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0.2;
    }
}

/* Create multiple snowflakes with different sizes, speeds, and starting positions */
.snowflake:nth-child(1) { left: 5%; animation-duration: 4s; }
.snowflake:nth-child(2) { left: 10%; animation-duration: 6s; font-size: 14px; }
.snowflake:nth-child(3) { left: 20%; animation-duration: 5s; font-size: 10px; }
.snowflake:nth-child(4) { left: 30%; animation-duration: 7s; }
.snowflake:nth-child(5) { left: 40%; animation-duration: 5s; font-size: 12px; }
.snowflake:nth-child(6) { left: 50%; animation-duration: 4s; font-size: 16px; }
.snowflake:nth-child(7) { left: 60%; animation-duration: 6s; font-size: 14px; }
.snowflake:nth-child(8) { left: 70%; animation-duration: 5s; }
.snowflake:nth-child(9) { left: 80%; animation-duration: 7s; font-size: 10px; }
.snowflake:nth-child(10) { left: 90%; animation-duration: 4s; font-size: 12px; }
/* Container styling */
.container {
    text-align: center;
    padding: 20px;
}