* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html,
body {
    height: 100%;
    overflow-x: hidden;
}

body {
    background-image: url('../img/ResumeTemplates/bacground2.PNG');
    background-repeat: no-repeat;
    background-size: 100% 100vh;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    margin: 0;
    width: 100vw;
    height: 100vh;
}




header {
    display: flex;
    width: 100%;
    background-color: #F3F3F3;
    position: fixed;
    z-index: 1111;
    top: 0;
    left: 0;

}

.header_left {
    width: 15%;
    position: relative;
}



.site_name {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-weight: 900;
    font-size: 22px;
    white-space: nowrap;
    text-decoration: none;
    color: #000;
    cursor: pointer;
}


.header_middle {
    width: 60%;
    padding-left: 1rem;
}

.header_middle ul {
    display: flex;
    list-style-type: none;
    margin-top: 2rem;
    gap: 1rem;


}

.header_middle ul li {
    font-size: 18px;
    margin-left: 1rem;
    margin-bottom: 1rem;

}

.header_middle ul li a {
    text-decoration: none;
    color: #000;
}

.header_right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20%;
    margin-left: 15px;
    text-decoration: none;
    font-weight: bold;
}

.header_right a {
    font-weight: 700;
    margin-left: 15px;
    text-decoration: none;

}

.sign_part {
    color: #4b2cff;

}

.log_in {
    background: #4b2cff;
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;

}

/* RIGHT */
.section_right {
    display: block;
    flex-direction: column;
    justify-content: center;
    margin-top: 3rem;
    font-family: 'Montserrat', sans-serif;
    width: 210mm;
}


.section_right_top_corner {
    display: flex;
    flex-direction: column;
    background: #FFF9E3;
    width: 210mm;
    height: fit-content;
    min-height: 70vh;
    margin-top: 2rem;
    margin: 10px 0;
    box-sizing: border-box;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    position: relative;
}

.section_right_top {
    width: 210mm;
    height: auto;
    background: #946C18;
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.3);

}

.section_right h3 {
    margin-top: 1rem;
    margin-left: -6rem;
    margin-bottom: 1rem;
}

#fileInput2 {
    display: none;
}

#preview2 {
    width: 90%;
    height: fit-content;
    margin: 10px 5px;
}

.section_right_l_side {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 2px solid #946C18;
    margin-bottom: 30px;
    position: relative;
}

.info_input {
    width: 60%;
}

.top_form input {
    width: 100%;
    border: none;
    outline: none;
    background: #FFF9E3;

}

.input_h1,
.input_h1::placeholder {
    width: 10rem;
    min-height: 50px;
    height: auto;
    resize: none;
    border: none;
    outline: none;
    color: #000000;
    font-family: 'Georgia', serif;
    font-size: 15px;
    height: auto;
    background-color: #FFF9E3;
    font-weight: 700;
    color: #946C18;
    text-transform: uppercase;


}


.outputArea,
.place li {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #444;
    background: transparent !important;
}

.textarea_part {
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.phoneR,
.emailR,
.adressR,
.linkedinR,
.linkedinR::placeholder {
    font-size: 8px !important;
    text-align: right;
    height: 15px;
    border: none;
    outline: none;
    line-height: 1.1;
    margin-bottom: 1px;
    padding: 0 !important;
    resize: none;
    border: none;
    outline: none;
    overflow: hidden;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.phoneR::placeholder,
.phoneR::placeholder,
.emailR::placeholder .linkedinR,
.linkedinR::placeholder {
    color: #868693;
    font-size: 8px;
    background: #FFF9E3;

}

.adressR,
.adressR::placeholder {
    color: #DB9605;
    font-size: 8px;
    background: #FFF9E3;
    resize: none;
    white-space: pre-wrap;
    word-wrap: break-word;
    border: none;
    outline: none;
    resize: none;

}

.section_right_r_side {
    display: flex;
    width: 100%;
    gap: 30px;
}

.input_h1,
.phoneR,
.emailR,
.adressR,
.outputArea {
    overflow: hidden;
    background: transparent !important;
    width: 100%;
}


.section_right_r_side_l {
    width: 65%;
    padding-right: 20px;
}

.section_right_side_2 {
    margin-left: 0.5rem;
    border-radius: 6px;
    width: 90%;
}

.section_right_side_2 p {
    color: #946C18;
    padding: 5px;
    font-size: 12px;
}

.section_right_side_2 {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;

}

.section_right_side_2 .outputArea,
.section_right_side_2 .outputArea::placeholder {
    resize: none;
    height: auto;
    border: none;
    outline: none;
    font-size: 8px;
    padding-left: 0.5rem;
    color: #000;
    background: #FFF9E3;
    display: block !important;
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    overflow: hidden !important;
    height: auto;
    min-height: 100px;
}

.section_right_side_2 .outputArea::placeholder {
    color: #000;

}

.section_right_r_side_r {
    width: 35%;
    border-left: 1px solid #d1ccb7;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
}

.section_right_top_skills,
.section_right_top_language,
.work_experience_right,
.rightSideContainer {
    background: #FFF9E3;
    border: none;
    outline: none;
    margin-left: 0.5rem;
    width: 80%;
    height: auto;
    margin-top: 1rem;
}

.work_experience_right {
    margin-top: 0;
    margin-bottom: 20px;
}

.section_right_top_skills i {
    margin: 0.5rem 1rem;
}


#aboutMeTextarea {
    margin-top: 0;
    padding-top: 0;
    font-family: 'Georgia', serif;
    color: #946C18;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    border-bottom: none;
}


#sendTitle,
#sendTitle1,
.section_right_top_skills h2,
.section_right_top_language h2 {
    font-family: 'Georgia', serif;
    color: #946C18;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    border-bottom: none;
    margin-bottom: 10px;
}

.section_right_top_skills h2,
.section_right_top_language h2 {
    text-align: center;
    margin-left: 0 !important;
}

.section__right_l_side_1 img {
    width: 180px;
    width: 100%;
    max-width: 180px;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    margin: 0 auto 20px auto;
}




#itemListLanguage_right1 {
    list-style-type: none;
}

#itemListLanguage_right1 li {
    font-size: 8px;
}

.work_experience_right hr {
    margin-top: 5px;
}

#sendList {
    list-style-type: none;
}

#sendList li {
    font-size: 8px;
}

#entry_list {
    list-style-type: none;
}

#entry_list li {
    font-size: 8px;
}

#itemListCertificate_right1 {
    list-style-type: none;
    padding: 1rem;
}

#itemListCertificate_right1 li {
    font-size: 8px;
}

.rightSideContainer {
    margin-bottom: 5px;
}

.rightSideContainer h2,
#sendedParts h2 {
    padding: 1px;
}

.section_right_side_2 .outputArea::placeholder {
    color: #000000;
    font-size: 12px;

}

#sendList {
    list-style-type: noe;
}



#sendList1 {
    font-size: 8px;
    list-style-type: none;
    margin: 0.5rem;
}

.skill_list_right {
    width: 100%;
    text-align: center;
    list-style: none;
    padding: 0;
}

.skill_list_right li {
    margin-bottom: 5px;
    font-size: px;
    color: #555;
    font-style: italic;
}


.section_right_top_certificat h2,
.work_experience_right h2,
.rightSideContainer h2,
.section_right_top_skills h2 {
    flex-direction: column;
    margin-top: 1rem;
    margin-left: 1rem;
    font-size: 12px;
    margin-left: 1rem;
    color: #946C18;


}

.section_right_top_skills h2 {
    text-align: center;
}

.section__right_l_side_1 img {
    margin-left: 2rem;
    margin-top: 1rem;
    width: 70%;
    margin-bottom: 1rem;
}


.work_experience_right form,
.education_right form {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 1rem;
    margin-left: 1rem;

}





.button-container {
    display: flex;
    width: 100%;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    margin-left: 14rem;
}

.btn {
    padding: 12px 32px;
    border-radius: 50px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


.btn-change {
    background: linear-gradient(to right, #5C17FC, #0D5EFF);

}

.btn-change a {
    text-decoration: none;
    color: #FFFF;
}

.btn-change:hover,
.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.btn-download {
    background: linear-gradient(to right, #5C17FC, #0D5EFF);
}


.btn:active {
    transform: translateY(-1px);
}

@media(max-width:1024px) {
    .section_right {
        margin-top: -11rem;
    }

    .section_right h3 {
        margin-top: 1rem;
        margin-left: -6rem;
        margin-bottom: 1rem;
    }
}

@media(max-width:912px) {
    .section_right {
        margin-top: -11rem;
    }

    .section_right h3 {
        margin-top: 1rem;
        margin-left: -6rem;
        margin-bottom: 1rem;
    }
}

@media(max-width:853px) {
    .section_right {
        margin-top: -11rem;
    }

    .section_right h3 {
        margin-top: 1rem;
        margin-left: -6rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 600px) {
    .container {
        width: 100%;
        justify-items: center;
    }

    .header {
        width: 80%;
    }

    .card {
        width: 70%;
    }

}

@media(max-width: 430px) {
    header {
        flex-direction: column;
        text-align: center;
        padding-bottom: 10px;
    }

    .header_left {
        width: 100%;
        height: 60px;
    }

    .site_name {
        position: static;
        padding-top: 15px;
        display: block;
    }

    .header_middle {
        width: 100%;
        padding-left: 0;
    }

    .header_middle ul {
        justify-content: center;
        margin-top: 10px;
        gap: 0.5rem;
    }

    .header_middle ul li {
        font-size: 14px;
        margin-left: 0.5rem;
    }

    .header_right {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
    }

    .section_right,
    .info_input {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
    }

    .section_right h3 {
        margin-left: 0 !important;
        margin-top: 10rem;
        font-size: 22px;
        text-align: center;
    }

    .info_input {
        flex-direction: column;
        align-items: center;
        padding: 10px 0 !important;
    }

    .phoneR,
    .emailR,
    .adressR,
    .linkedinR {
        width: 90% !important;
        font-size: 12px !important;
        margin-bottom: 5px;
    }

    .button-container {
        margin-left: 0 !important;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn {
        width: 80%;
        padding: 10px 20px;
        font-size: 14px;
    }

    .place,
    .situation,
    .position {
        width: 90% !important;
        margin-left: 0 !important;
    }

    .section_right_r {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 0 10px;
    }

    hr.vertical_for_left_right {
        display: none;
    }

    .container {
        width: 90%;
        justify-items: center;
    }

    .header {
        width: 50%;
        margin-top: 4rem;
    }

    .card {
        width: 50%;
    }
}

.html2pdf__container .section_right_top {
    display: flex !important;
    flex-direction: column !important;
    width: 210mm !important;
    height: auto !important;
    min-height: 297mm !important;
    background: #946C18 !important;
    box-sizing: border-box !important;
}

.html2pdf__container .section_right_top_corner {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 210mm !important;
    max-width: 210mm !important;
    height: auto !important;
    min-height:  295mm  !important;
    padding: 0 !important;
    margin: 0 !important;
    margin: 1rem 0;
    box-sizing: border-box !important;
    background: #FFF9E3 !important;
}

.html2pdf__container .section_right_l_side {
    position: relative !important;
    z-index: 2 !important;
    min-height: 0 !important;
    height: fit-content !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    flex-basis: auto !important;
    align-self: flex-start !important;
}

.html2pdf__container .section_right_l_side::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 210mm !important;
    height: 2px !important;
    background: #946C18 !important;
}

.html2pdf__container .info_input {
    width: 135mm !important;
    flex: 0 0 135mm !important;
}

.html2pdf__container .input_h1 {
    width: 100% !important;
    font-size: 18px !important;
    min-height: 0 !important;
    height: auto !important;
}

.html2pdf__container .textarea_part {
    width: 45mm !important;
    padding-right: 1rem;
    flex: 0 0 45mm !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
}

.html2pdf__container .section_right_r_side {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    width: 210mm !important;
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    gap: 0 !important;
    box-sizing: border-box !important;
    padding: 0 5mm !important;
    height: auto !important;
    min-height: auto !important;
    position: relative !important;
    z-index: 1 !important;
}

.html2pdf__container .section_right_r_side_l {
    flex: 0 0 133mm !important;
    width: 133mm !important;
    min-height: 0 !important;
    height: auto !important;
    padding-right: 5mm !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    align-self: flex-start !important;
}

.html2pdf__container .section_right_r_side_r {
    flex: 0 0 62mm !important;
    width: 62mm !important;
    min-height: 0 !important;
    height: auto !important;
    padding-left: 5mm !important;
    box-sizing: border-box !important;
    border-left: 1px solid #d1ccb7 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    align-self: flex-start !important;
}

.html2pdf__container .section__right_l_side_1 img {
    width: 70% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 3/4 !important;
    object-fit: cover !important;
    margin: 8mm auto 5mm 2rem !important;
    display: block !important;
}

.html2pdf__container .section_right_side_2,
.html2pdf__container .work_experience_right,
.html2pdf__container .rightSideContainer,
.html2pdf__container .section_right_top_certificat,
.html2pdf__container .section_right_top_skills,
.html2pdf__container .section_right_top_language {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    overflow: visible !important;
    margin-left: 0 !important;
}

.html2pdf__container .outputArea {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    white-space: pre-wrap !important;
    word-break: break-word !important;
    font-size: 8px !important;
}
/* end */