/* styles.css */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

h1 {
    text-align: center;
    color: #075E54;
    margin-bottom: 8px;
}

p {
    color: #666;
    margin-bottom: 1.5rem;
    text-align: center;
  }

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
}

input, textarea, button {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

textarea {
    resize: none;
    height: 100px;
}

button {
    background-color: #128C7E;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

button:hover {
    background-color: #128C7E;
}

#result {
    margin-top: 20px;
    text-align: center;
}

#generatedLink {
    word-break: break-all;
    color: gray;
}

#shortenedLink {
    display: block;
    margin-top: 10px;
    color: #075E54;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #ECE5DD;
}

/* styles.css */
#resetButton {
    background-color: bisque;
    color: black;
    border: 1px solid black;
    cursor: pointer;
    font-size: 14px;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 4px;
}

#resetButton:hover {
    background-color: burlywood;
}

#copyButton {
    background-color: #dcf8c6;
    color: black;
    border: 1px solid black;
    cursor: pointer;
    font-size: 14px;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 4px;
}

#copyButton:hover {
    background-color: #c6f8de;
}

/* styles.css */

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay.hidden {
    display: none;
}

.overlay-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.overlay-content h2 {
    margin: 0 0 10px;
    color: #333;
}

.overlay-content p {
    margin: 0;
    color: #666;
}