.invi{
    display: none;
}

main {
    max-width: 800px;
    margin: 1% auto;
    padding: 30px;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #ffffff;
    border-radius: 15px;
    border-top: 20px solid #34495e;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease-in-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
   }
    to {
        opacity: 1;
        transform: translateY(0);
   }
}
h1 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: center;
    font-weight: 700;
    letter-spacing: -1px;
}
h2 {
    font-size: 2rem;
    margin-top: 2px;
    margin-bottom: 20px;
    color: #34495e;
    font-weight: 600;
    position: relative;
}
h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    border-radius: 2px;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}
p strong {
    color: #3498db;
    font-weight: 600;
}

.edit-button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}
.edit-button:hover {
    transform: translateY(-3px);
    background-color: #0056b3;
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
}

.update-button{
    background: linear-gradient(90deg, #3498db, #9b59b6);
}
.update-button:hover{
    background: linear-gradient(90deg, #2a4fb5, #63428d);
}

form {
    margin-top: 30px;
}
label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #34495e;
    font-weight: 500;
}
input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
    outline: none;
}
textarea {
    resize: vertical;
    min-height: 150px;
}
button[type="submit"] {
    padding: 12px 25px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}
button[type="submit"]:hover {
    transform: translateY(-3px);
    background: linear-gradient(90deg, #2a4fb5, #63428d);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
}
p a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
p a:hover {
    color: #9b59b6;
    text-decoration: underline;
}
@media (max-width: 768px) {
        h1 {
            font-size: 2.2rem;
    }
        h2 {
            font-size: 1.6rem;
    }
        p {
            font-size: 1rem;
    }
        .edit-button {
            font-size: 0.9rem;
            padding: 10px 18px;
    }
        input[type="text"], input[type="email"], textarea {
            font-size: 0.9rem;
    }
        button[type="submit"] {
            font-size: 0.9rem;
            padding: 10px 20px;
    }
    main {
        margin: 1% 2%;
    }
}
@media (max-width: 480px) {
    main {
        padding: 20px;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.4rem;
    }
    p {
        font-size: 0.9rem;
    }
    .edit-button {
        font-size: 0.8rem;
        padding: 8px 15px;
    }
    input[type="text"], input[type="email"], textarea {
        font-size: 0.8rem;
    }
    button[type="submit"] {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
}
