body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* Add overlay to fade the background test*/
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.25);
    z-index: -1;
}

.container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    backdrop-filter: blur(5px);
    margin-top: 20px;
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

input[type="url"] {
    width: 100%;
    padding: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 18px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input[type="url"]:focus {
    border-color: #2ecc71;
    box-shadow: 0 2px 12px rgba(46, 204, 113, 0.15);
    outline: none;
}

input[type="url"]::placeholder {
    color: #95a5a6;
    font-size: 0.9em;
}

button {
    background-color: #2ecc71;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #27ae60;
}

#result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    background-color: #f8f9fa;
    word-break: break-all;
    font-size:1.5em;
    font-weight: bold;
    text-align: center;
}

.error {
    color: #e74c3c;
}

.success {
    color: #2ecc71;
}

.intro {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.intro h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #2c3e50;
}

.intro p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #34495e;
}

.example {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #e0e0e0;
}

.example-text {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.example code {
    display: block;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-family: monospace;
    color: #2c3e50;
    margin: 5px 0;
}

.arrow {
    display: block;
    font-size: 1.5em;
    color: #2ecc71;
    margin: 10px 0;
}

/* FAQ Section Styles */
.faq {
    margin-top: 40px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
}

.faq h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

details {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    background-color: #f8f9fa;
}

summary {
    cursor: pointer;
    padding: 10px;
    font-weight: bold;
    color: #2c3e50;
}

details p {
    padding: 10px;
    color: #34495e;
    line-height: 1.6;
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.copy-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.copy-button:hover {
    background-color: #2980b9;
}

.converted-link {
    display: block;
    margin: 10px 0;
    color: #2ecc71;
    text-decoration: none;
    word-break: break-all;
}

.converted-link:hover {
    text-decoration: underline;
}

/* Logo and Header Styles */
.site-header {
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.logo-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-text {
    color: #2c3e50;
}

.logo-arrow {
    color: #2ecc71;
    font-family: 'Arial', sans-serif;
    margin: 0 2px;
    font-weight: 900;
}

.logo-dot {
    color: #95a5a6;
    font-size: 0.8em;
}