* {
    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;

}


/* R I G H T  */
.section_right {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    width: 210mm;
    height: 70vh;
    position: relative;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    margin-top: 10rem;

}


.section_right h3 {
    font-size: 30px;
    margin-left: -11rem;
}

.section_right_top {
    width: 100%;
    height: auto;
    display: flex;
    background: #F0F0F0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    box-shadow: 2px 2px 12px 0px rgba(0, 0, 0, 0.3);

}

#fileInput2 {
    display: none;
}

.section_right_top_header {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    background: #F0F0F0;
    box-shadow: 2px 2px 14px 0px rgba(0, 0, 0, 0.3);

}

.namesTop {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin-top: 6rem;
}

.section_right_top_left {
    position: relative;
    width: 40%;
    display: flex;
    flex-direction: column;
    background: #F0F0F0;
    box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.3);

}

.section_right_r_side_r {
    margin-left: 1.8rem;
    margin-top: 1rem;
    z-index: 111;
}

.section_right_r_side_r img {
    width: 80%;
    position: absolute;
    top: -2.5rem;
    left: 1rem;
}

.section_right_top_right {
    width: 100%;
}

.info_input {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.name_form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border: none;
    outline: none;
    border: none;
    color: #000000;
    margin-top: 1rem;
    resize: none;
    background: #F0F0F0;
    width: 40%;


}

.input_h1,
.input_h1::placeholder {
    width: 100%;
    height: auto;
    resize: none;
    text-align: left;
    white-space: pre-wrap;
    word-wrap: break-word;
    border: none;
    outline: none;
    color: #000000;
    font-size: 15px;
    font-weight: 900;
    background: #F0F0F0;
    margin: 0;
}

.top_form {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100px;
    height: auto;
    text-align: center;
    border: none;
    color: #000000;
    resize: none;


}




.phoneR,
.emailR,
.adressR,
.linkedinR,
.linkedinR::placeholder {
    width: 80%;
    height: auto;
    resize: none;
    white-space: pre-wrap;
    word-wrap: break-word;
    border: none;
    outline: none;
    color: #000000;
    font-size: 8px;
    background: #F0F0F0;
    text-align: center;
    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,
.emailR::placeholder,
.adressR::placeholder {
    color: #000000;
    font-size: 8px;
    width: 100%;



}


.section_right_top_hr {
    margin-bottom: 5px;
}

.section_right_r_side {
    position: relative;
    width: 60%;
    padding-left: 2rem;
    background: #ffff;
}


.input_h1,
.input_h2 {
    border: none;
    outline: none;
    color: #000;
    text-align: center;
    white-space: pre-wrap;
    word-wrap: break-word;
    border: none;
    width: 100%;
    min-height: 50px;
    height: auto;


}

.section_right_side_2 {
    margin-left: 0.5rem;
    text-align: center;
    width: 90%;
    margin-top: 7rem;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;

}

.section_right_side_2 p {
    font-size: 12px;
}

.section_right_side_2 .outputArea {
    resize: none;
    text-align: center;
    width: 100%;
    height: 50px;
    border: none;
    outline: none;
    font-size: 8px;
    color: #000;
    background: #F0F0F0;

}

.section_right_side_2 .outputArea::placeholder {
    color: #000;
    font-size: 8px;
}


.section_right_side_2 p {
    padding: 5px;
    color: #000000;
    font-weight: 700;
    font-size: 12px;

}



#itemListLanguage_right1 {
    list-style: none;
    text-align: right;
    padding-left: 0;
    margin: 0;
}








.rightSideContainer {
    margin-left: 0.5rem;
    margin-top: 2rem;
    width: 80%;
    height: auto;
}

.section_right_top_skills {
    margin-left: 0.5rem;
    text-align: center;
    width: 80%;
    height: auto;
}

.right_hr {
    width: 70%;
    border: none;
    border-top: 2px solid black;
    opacity: 0.6;
    margin-left: 4rem;

}

.section_right_top_language,
.section_right_top_certificat {
    padding-right: 1rem;
    margin-top: 1rem;
}

.section_right_top_certificat h2,
.section_right_top_language h2 {
    text-align: right;
}

.section_right_top_certificat h2,
.section_right_top_skills h2,
.section_right_top_language h2,
#sendedParts h2 {
    font-size: 12px;
    font-weight: 700;
    padding: 5px;

}

.skill_list_right {
    list-style-type: none;
    padding-bottom: 0.5rem;
}

.skill_list_right li {
    font-size: 8px;
}

#itemListCertificate_right1 {
    list-style-type: none;
    text-align: right;
}

#itemListCertificate_right1 li {
    font-size: 8px;
}

#sendTitle1 {
    display: block;
    word-break: break-word;
    white-space: normal;
    max-width: 90%;
}

.section_right_top_skills i {
    margin: 0.5rem 1rem;
}





#sendList {
    font-size: 8px;
}

.rightSideContainer {
    margin-bottom: 5px;
}


.section_right_side_2 .outputArea::placeholder {
    color: #000000;
    font-size: 10px;
    background: #F0F0F0;

}

#sendList {
    list-style-type: none;
}



#sendList1 {
    list-style-type: none;
    text-align: center;
}

#sendList1 li {
    font-size: 8px;
    margin: 0.5rem;
}


#itemListLanguage_right1 {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

#itemListLanguage_right1 li {
    font-size: 8px;
}

.language-name {
    width: 30%;
    height: 3px;
    border-radius: 5px;
    color: #000;

}






.work_experience_right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.work_experience_right h2,
.right_skills h2,
.language_right h2 {
    margin-top: 1rem;



}

.rightSideContainer h2 {
    font-size: 12px;
    text-align: center;
    font-weight: 700;
}




.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 {
    width: 210mm !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}


.html2pdf__container .section_right_top {
    width: 210mm !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 297mm !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
}
.html2pdf__container .section_right_side_2{
margin-top: 20rem;
}
.html2pdf__container  .section_right_top_header{
    background: #F0F0F0;
   
    border-bottom: 4px solid rgba(0, 0, 0, 0.3);
}
.html2pdf__container #qr-result-container {
    display: block;
    position: absolute;
    right: 40rem;
    width: 30px;
}
div.outputArea {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* end */