/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 100%;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Header styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-bottom-width: 10px;
    border-bottom: 1px solid #000000;
    background-color: #ffffff;
    text-align: center;
    position: relative;
    z-index: 1000;
    width: 100%;
}

.logo {
    font-size: 1.7rem;
    font-weight: 700;
    color: #2c3e50;
    text-shadow: #666 1px 0;
    text-align: left;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: #2c3e50;
    transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2c3e50;
    
}

/* Main content styles */
.main {
    padding: 40px 0;
}

.hero {
    text-align: center;
    margin-bottom: 60px;
}

.hero h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1rem;
    color: #666;
   
}

/* Form styles */
.create-greeting {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.create-greeting h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-family:'Arial', sans-serif;
}
.create-greeting p {
    margin-top: 10px;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
    
}
.feedback-section {
    max-width: 600px;
    margin: 0 auto;
   
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

}
.about-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

}
.feedback-section input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    color: #444444;
    font-size: 1rem;
   
}

.subtitle {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    padding: 30px ;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 10px;
    color: #2c3e50;
    font-style: italic;
}

.h3 {
   font-style: italic;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-weight: 500;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
textarea:focus {
    outline: rgb(190, 190, 190);
    width: 100%;
    border-color: #2c3e50;
   
    
}

textarea {
    height: 120px;
    resize: vertical;
    
    max-width: 100%;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-primary {
    background-color: #2c3e50;
    color: #fff;
    width: 100%;
    margin-top: 10px;
    text-align: center;
    text-decoration: none;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
}

/* Result section styles */
.result {
    max-width: 600px;
    margin: 30px auto 0;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.result.hidden {
    display: none;
}

.link-container {
    display: flex;
    gap: 10px;
}
.create-own-link {
  margin-top: 50px;
}
.greeting-message {
    font-family:'Arial', sans-serif;
}
.link-container input {
    flex: 1;
}

/* Footer styles */
.footer {
    text-align: center;
    padding: 20px 0;
    color: #666;
    border-top: 1px solid #eee;
    margin-top: auto;
    background-color: #fff;
}

.footer p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.footer .version {
    font-size: 0.8rem;
    color: #999;
}

/* Responsive styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .feedback-section {
        margin: 15px;
        
    }
    .about-section {
        margin: 15px;
    }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background: white;
        flex-direction: column;
        padding: 80px 20px;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        right: 0;
    }

    .header {
        flex-direction: row;
        text-align: left;
        padding: 20px ;
        
    }

    .hero h2 {
        font-size: 2rem;
        text-align: center;

    }

    .create-greeting,
    .result {
        margin: 10px;
        padding: 20px;
    }
    .subtitle {
      margin: 20px;
    }
    .link-container {
        flex-direction: column;
    }

    .btn-secondary {
        width: 100%;
    }

    .footer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.75rem;
        text-align: center;
    }

    .hero p {
        font-size: 1rem;
    }
   
    }
    .create-greeting,
    .result {
        padding: 15px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
    }
