/* General Styling */
body {
    font-family: sans-serif;
    background-color: #e0f7f9ad;
    margin: 0;
    padding: 50px;
}

/* Form Container Styling */
.form-container {
    width: 80%;
    margin: 0 auto 50px;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 19px 38px, rgba(0, 0, 0, 0.12) 0px 15px 12px;
}

.form-container h2 {
    color: #266b5d;
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    
}

/* Input Fields Styling */
label {
    display: block;
    margin: 10px 0 5px;
    color: #266b5d;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Button Styling */
button {
    font-family: sans-serif;
    background-color: #266b5d;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: block;
    margin: 0 auto;
    font-size: 18px;
}

button:hover {
    background-color: #266b5da0;
}

#shareResumeButton , #download-pdf {
    display: flex;
    margin: 10px;
    padding: 10px 20px;
    justify-content: center;
}

/* Resume Container Styling */
#resume-preview-section {
    display: flex;
    background-color: #ffffff;
    width: 80%;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 19px 38px, rgba(0, 0, 0, 0.12) 0px 15px 12px;
    
}

/* Left Section Styling */
.left-section {
    background-color: #266b5d;
    color: white;
    padding: 20px;
    width: 35%;
    text-align: center;
    border-right: 5px solid #e59e3b69;
}

.profile-picture {
    width: 150px;
    height: 150px;
    margin-top: 10%;
    border-radius: 50%;
    border: 5px solid #e59e3b69;
    margin-bottom: 20px;
}

h1 {
    font-size: 24px;
    margin: 10px 0;
    margin-bottom: 30px;
    text-align: center;
}

h3 {
    font-size: 18px;
    text-align: center;
    padding: 2%;
    margin: 5% 0;
    color: #006d77;
    border-radius: 10px;
    border: #266b5d 1px solid;
    box-shadow: 0 0 15px #266b5d75;
    font-weight: bold;
}

ul {
    list-style-type: disc;
    padding: 10px;
    margin: 10px 0;
}

ul li {
    margin: 5px 0;
}

/* Right Section Styling */
.right-section {
    padding: 20px;
    width: 65%;
    text-align: left;
}

#summary-h3 , #profile-info-h3 {
    border: #266b5d 1px solid;
    box-shadow: 0 0 15px #9cb1ad75; 
    color: #ffffff;
    font-weight: bold;

}


/* Media Queries for Responsiveness */

/* For Tablets and Medium Devices */
@media (max-width: 768px) {
    .resume-container {
        flex-direction: column; /* Stack the sections vertically */
    }

    .left-section, 
    .right-section {
        width: 100%; /* Full width for both sections */
        padding: 15px;
        text-align: center; /* Center-align content for smaller screens */
    }

    .left-section {
        border-right: none; /* Remove the border for stacked layout */
    }

    .right-section h1 {
        font-size: 20px;
    }

    .right-section p {
        text-align: center;
    }

    .form-container {
        width: 95%;
    }

    h3 {
        font-size: 16px;
    }
}

/* For Mobile Devices */
@media (max-width: 480px) {
    body {
        padding: 20px;
    }

    .form-container {
        width: 100%; /* Full width for form */
    }

    .resume-container {
        width: 100%; /* Full width for resume container */
    }

    .profile-picture {
        width: 120px;
        height: 120px; /* Adjust profile picture size */
        margin: 10% auto; /* Center it on mobile */
    }

    .right-section p {
        text-align: left;
    }

    h1, h3 {
        font-size: 18px;
    }

    button {
        padding: 8px 15px;
        font-size: 16px;
    }
}

/* Print Media Query */
@media print {
    body * {
        visibility: hidden;
    }
    #resume-preview-section, #resume-preview-section * {
        visibility: visible;
    }
    #resume-preview-section {
        position: absolute;
        left: 0;
        top: 0;
    }
}
