@font-face {
    font-family: 'TheJamsil5Bold';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil5Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 600px;
    backdrop-filter: blur(10px);
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    font-family: 'TheJamsil5Bold', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.url-input-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

input[type="url"] {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

input[type="url"]:focus {
    outline: none;
    border-color: #6a11cb;
    box-shadow: 0 0 15px rgba(106, 17, 203, 0.2);
}

button {
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.result-container {
    display: none;
    margin-top: 2rem;
    animation: fadeIn 0.5s ease;
}

.result-container p {
    color: #555;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.shortened-url-container {
    display: flex;
    gap: 1rem;
}

#shortenedUrl {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    cursor: text;
}

#copyBtn {
    background: linear-gradient(45deg, #2575fc, #6a11cb);
}



@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


footer {
    backdrop-filter: blur(10px) gaussian(10px);
    position: fixed; /* 추가 */
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    transition: bottom 0.3s ease-out;
}

footer:hover {
    bottom: 0;
}
