html{
    font-size: 18px;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #111;
    color: #fff;
}

h1 {
    text-align: center;
    margin-top: 40px;
    font-size: 4.2rem;
    color: #ff69b4;
    font-family: 'Playfair Display', 'Times New Roman', serif;
    letter-spacing: 1px;
}

header {
    background-color: #1a1a1a;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0;
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s, transform 0.2s;
}

nav ul li a:visited,
nav ul li a:focus,
nav ul li a:active {
    text-decoration: none;
}

nav ul li a:hover {
    color: #ff69b4;
    transform: scale(1.1);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#about {
    padding-top: 20px;
}
#about p {
    max-width: 700px;
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.8;
    font-family: 'Cormorant Garamond', serif;
    color:#e6cfe0;
}
#instruction1,
#instruction2 {
    background-color: #222;
    padding: 15px 20px;
    max-width: 350px;
    text-align: left;
    line-height: 1.7;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: inline-block;
    vertical-align: top;
    animation: float 3s ease-in-out infinite;
    font-size: 1.5rem;

}
#instruction1 {
    border-radius: 20px 60px 20px 20px;
    margin-right: 30px;
}

#instruction2 {
    border-radius: 60px 20px 20px 20px;
    animation-delay: 1.5s;
}
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}
section {
    min-height: auto;
    padding-top: 80px;
    scroll-margin-top: 100px;
    gap:15px;

}
#input-buttom {
    padding: 15px 20px;
    font-size: 1.5rem;
    border-radius: 12px;
    border: none;
    background-color: #ff69b4;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s;


}
#convertbutton:hover{
    transform: scale(1.05);
    
}
#result {
    background: none;
    box-shadow: none;
    padding: 0;
    margin-top: 10px;
    font-size: 1.5rem;
    color: #fff;
    max-width: 700px;
    text-align: center;
}

.instructions-container {
    display: flex;
    justify-content: center;
    gap: 20px;      
    flex-wrap: wrap; 
}

.instructions-container #instruction1,
.instructions-container #instruction2 {
    border-radius: 12px;              
    background-color: #222;            
    padding: 15px 20px;                
    max-width: 350px;                  
    text-align: left;                
    line-height: 1.7;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-size: 1.5rem;
    vertical-align: top;
    transition: all 0.3s ease;         
}
#input {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 20px;
    padding: 20px;
}

#input h2 {
    display: none;
}
#input {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #1f1f1f;
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
#textinput {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.4rem;
    font-family: inherit;
}
#textinput::placeholder {
    color: #888;
}
#convertButton {
    background-color: #ff69b4;
    border: none;
    border-radius: 14px;
    padding: 10px 18px;
    font-size: 1.2rem;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

#convertButton:hover {
    background-color: #ff4fa3;
    transform: scale(1.05);
}

#input:focus-within {
    background-color: #262626;
}
#result {
    width: 100%;
    max-width: 900px;
    margin: 20px auto 80px;
    padding: 18px 20px;
    background-color: #1f1f1f;
    border-radius: 16px;
    font-size: 1.4rem;
    line-height: 1.6;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
#result h2 {
    display: none;
}
/* ---------- FOOTER ---------- */
footer {
    background-color: #1a1a1a;
    padding: 40px 0;
    margin-top: 100px;
}
.footer-container {
    max-width: 600px;      
    margin: 0 auto;            
    display: flex;
    flex-direction: column;   
    align-items: center;      
    gap: 20px;
    text-align: center;
}

/* Brand */
.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #ff69b4;
    margin-bottom: 5px;
}

.footer-brand p {
    font-size: 0.95rem;
    color: #ccc;
}

.footer-links {
    display: flex;
    gap: 25px;      
}

.footer-links a {
    text-decoration: none;
    color: #bbb;
    font-size: 1rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ff69b4;
}
.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: transform 0.2s, opacity 0.2s;
}

.footer-social img:hover {
    transform: scale(1.15);
    opacity: 1;
}

.footer-copy {
    margin-top: 25px;
    font-size: 0.85rem;
    color: #777;
    text-align: center;
}

#style-select {
    padding: 10px;
    font-size: 1rem;
    border-radius: 12px;             
    border: 1px solid #444;         
    background-color: #222;         
    color: #fff;                     
    cursor: pointer;                  
    transition: border 0.2s, background-color 0.2s;
}


#style-select:hover,
#style-select:focus {
    border-color: #ff69b4;   
    background-color: #2a2a2a;      
    outline: none;      
}
#clearbutton {
    background-color: #444;
    border: none;
    border-radius: 14px;
    padding: 10px 18px;
    font-size: 1.2rem;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-left: 10px;
}

#clearbutton:hover {
    background-color: #666;
    transform: scale(1.05);
}
#dev-message {
    margin: 120px auto;
    padding: 60px 30px;
    max-width: 700px;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: #bbb;
    opacity: 0.85;
}

#dev-message p {
    line-height: 1.8;
}
#char-count {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #aaa;
    text-align: left;
}
#copyButton {
    margin-top: 12px;
    padding: 8px 16px;
    border-radius: 12px;
    border: none;
    background-color: #444;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
}

#copyButton:hover {
    background-color: #666;
}


