body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #f3e5f5, #e0f7fa, #f3e5f5);
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: white;
    border-bottom: 1px solid #eaeaea;
    position: relative;

}

.navbar-left {
    display: flex;
    align-items: center;
    margin-left: 2%;
}

.logo {
    width: 70px;
    height: 70px;
    margin-right: 10px;
}

.app-name {
    font-size: 1.5em;
    background: linear-gradient(45deg, #36e2d9, #4B0082, #003366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 2%;
}

.navbar-right a {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 1em;
}

.sign-in {
    color: #38b2ac;
    border: 1px solid #38b2ac;
}

.get-started {
    background-color: #38b2ac;
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background-color: #333 !important;
    margin: 4px 0;
}

/* Mobile responsive design */
@media (max-width: 768px) {
    .navbar-right {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .navbar-right.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: white;
        border-top: 1px solid #eaeaea;
    }
}










.container {
    width: 800px;
    background-color: #ffffff;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    margin-top: 5%;
    flex-wrap: wrap;
}

#cv-form {
    padding: 20px;
    width: 50%;
    box-sizing: border-box;
}

.preview-cv {
    padding: 20px;
    width: 50%;
    box-sizing: border-box;
    background-color: #f9f9f9;
    position: relative;
}

.preview-cv .header {
    background-color: #2b3a67;
    color: white;
    padding: 5px 20px !important;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.preview-cv .header h1 {
    font-size: 28px;
    margin: 0;
}

.preview-cv .header h2 {
    font-size: 20px;
    margin: 5px 0 0 0;
}

.preview-cv .header .contact-info {
    font-size: 14px;
    margin-top: 10px;
}

.preview-cv .header .contact-info p {
    margin: 0;
    line-height: 1.5;
}

.preview-cv .section {
    margin-top: 20px;
}

.preview-cv .section h3 {
    font-size: 18px;
    color: #2b3a67;
    border-bottom: 2px solid #2b3a67;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.preview-cv .section p, .preview-cv .section div {
    font-size: 14px;
    margin-bottom: 10px;
}

.preview-cv .experience h4 {
    font-size: 16px;
    margin: 0;
    color: #2b3a67;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: calc(100% - 10px);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    resize: vertical;
}

button {
    background-color: #2b3a67;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #1d2748;
}

.generate-cv {
    text-align: center;
    margin-top: 20px;
}

.no-print {
    display: inline-block;
    margin-top: 10px;
}

.preview-cv .buttons-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

@media screen and (max-width: 1024px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    #cv-form, .preview-cv {
        width: 100%;
    }

    .preview-cv .header {
        padding: 10px;
    }

    .preview-cv .header h1, .preview-cv .header h2 {
        text-align: center;
    }

    .preview-cv .header .contact-info {
        text-align: center;
    }

    .preview-cv .buttons-container {
        position: static;
        transform: none;
        margin-top: 20px;
    }
}

.remove-section-icon {
    font-size: 18px;
    color: #ff0000;
    cursor: pointer;
    margin-left: 10px;
    vertical-align: middle;
}

.remove-section-icon:hover {
    color: #cc0000;
}

@media print {
    .no-print {
        display: none;
    }
}

@media screen {
    .no-screen {
        display: none;
    }
}























.footer {
    background-color: #fff;
    color: #333; 
    padding: 2rem;
    border-top: 1px solid #ddd; 
    margin-top: 5%;
}

.footer h3 {
    background: linear-gradient(45deg, #36e2d9, #4B0082, #003366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 1.5rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.footer-top > div {
    flex: 1;
    padding: 0 1rem;
    min-width: 200px; /* Ensure blocks don't shrink too much */
}

.logo img {
    max-width: 150px; /* Adjust logo size */
    width: 100%; /* Make logo responsive */
    height: auto;
}

.logo h4 {
    font-size: 1.25rem; /* Responsive text size */
    margin-top: 0.5rem;
}

.quick-links, .social-media, .contact {
    margin-top: 1rem;
}

.quick-links ul, .social-media ul {
    list-style: none;
    padding: 0;
}

.quick-links li, .social-media li {
    margin-bottom: 0.5rem;
}

.quick-links a, .social-media a {
    color: black; 
    text-decoration: none;
}

.quick-links a:hover, .social-media a:hover {
    text-decoration: underline;
}

.social-icon::before {
    content: ''; 
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #007bff; 
    border-radius: 50%;
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3%;
    height: 20px;
}

.footer-bottom hr {
    border: 0;
    border-top: 1px solid #0e0e0e72;
    margin: 1rem 0;
}

.footer-bottom p {
    margin: 0.5rem 0;
    font-size: 0.875rem; /* Adjusted for better readability on small screens */
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center; /* Center align content for smaller screens */
    }
    
    .footer-top > div {
        padding: 0.5rem 0;
    }

    .footer h3 {
        font-size: 1.25rem; /* Adjusted heading size for mobile */
    }
}
