* {
    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: flex !important;
    flex-direction: column;
    justify-content: center;
    width: 210mm;
    height: auto;
    min-height: 60vh;
    margin-top: 3rem;
    font-family: 'Montserrat', sans-serif;

}


.section_right h3 {
    font-size: 30px;
    margin-left: -11rem;
}

.section_right_top {
    width: 100%;
    min-height: 10rem;
    height: auto;
    display: flex;
    background: #F0F0F0;

    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.3);

}

#fileInput2 {
    display: none;
}

.section_right_top_left {
    position: relative;
    width: 50%;
    display: flex;
    flex-direction: column;
    background: #F0F0F0;

}

.section_right_r_side {
    width: 50%;
    position: relative;
}

.section_right_r_side_r img {
    width: 45%;
    border-radius: 30px;
    position: absolute;
    left: 12rem;
    top: 1rem;
    z-index: 111;
}

.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;
    width: 60%;
    border: none;
    text-align: right;
    background: #F0F0F0;
    color: #000000;
    padding-bottom: 1rem;
    resize: none;


}

.input_h1,
.input_h1::placeholder {
    width: 98%;
    height: 100%;
    resize: none;
    white-space: pre-wrap;
    word-wrap: break-word;
    border: none;
    outline: none;
    color: #000000;
    background: #F0F0F0;
    font-size: 15px;



}

#preview2 {
    width: 30%;
    height: fit-content;
    margin: 10px 5px;
    border-radius: 50px;

}

.top_form {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100px;
    height: auto;
    text-align: center;
    margin-top: 5px;
    border: none;
    color: #000000;
    background: #070707;
    resize: none;


}


.phoneR {
    margin-top: 10px;
}

.phoneR,
.emailR,
.adressR,
.linkedinR,
.linkedinR::placeholder {
    resize: none;
    white-space: pre-wrap;
    word-wrap: break-word;
    border: none;
    outline: none;
    color: #000000;
    font-size: 8px;
    margin-left: 4rem;
    text-align: right;
    background: #F0F0F0;
    width: 100%;
    max-width: 15rem;
    height: auto;
    min-height: 20px;
    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%;



}

.seperate {
    min-height: 20%;
    height: auto;
    margin-top: 3rem;
}

.section_right_side_2 {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;

}

.section_right_side_2 {
    margin: 0 auto;
    margin-left: 0.5rem;
    margin-top: 2rem;
    width: 80%;
    align-items: stretch;
    height: auto;
    background-color: #D9D9D9;
    border: 1px solid #000;
    border-radius: 15px;
}

.section_right_side_2 .outputArea {
    resize: none;
    width: 100%;
    height: 50px;
    border: none;
    outline: none;
    font-size: 8px;
    color: #000;
    background-color: #D9D9D9;
    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;
    font-size: 8px;
    background-color: #D9D9D9;
    border: none;
    outline: none;


}


.section_right_side_2 p {
    padding: 5px;
    color: #000000;
    font-weight: 700;
    font-size: 12px;

}




#itemListLanguage_right1 {
    list-style: none;
    padding-left: 0;
    margin: 0;
}



.section_right_top_skills,
.section_right_top_language,
.rightSideContainer {
    padding-left: 2rem;
    margin-top: 3rem;
    width: 80%;
    height: auto;
    padding-bottom: 10px;
}

.section_right_top_skills h2,
.section_right_top_language h2 {
    font-size: 12px;
    font-weight: 700;
    padding: 5px;

}



.skill_list_right {
    list-style-type: none;
}

.skill_list_right li {
    font-size: 8px;

}

#entry_list {
    font-size: 8px;

}

.language_form_range {
    display: flex;
    width: 90%;
    background: #F0F0F0;


}

.language_input {
    border: none;
    outline: none;
    width: 48%;
    font-size: 10px;

}

.language_input::placeholder {
    font-size: 10px;
    background: #F0F0F0;


}



#sendedParts h2 {
    margin: 5px;
    font-size: 12px;
}

#itemListCertificate_right1 {
    list-style-type: none;
}

#itemListCertificate_right1 li {
    font-size: 8px;
}

#sendTitle1 {
    white-space: pre-wrap;
    word-wrap: break-word;
    width: 70%;
}

#sendList {
    font-size: 8px;
    list-style-type: none;
}

.rightSideContainer {
    margin-bottom: 5px;
}


.section_right_side_2 .outputArea::placeholder {
    color: #000000;
    font-size: 10px;
    background: #F0F0F0;

}

#sendList {
    list-style-type: none;
}




#sendList1 {
    font-size: 8px;
    margin: 0.5rem;
    list-style-type: none;
}



#itemListLanguage_right1 {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.work_experience_right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    padding-left: 2rem;
}


.section_right_top_certificat {
    padding-left: 2rem;
}

.section_right_top_certificat h2,
.work_experience_right h2,
.right_skills h2,
.language_right h2,
.rightSideContainer h2 {
    margin-top: 1rem;
    font-size: 12px;
    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:1280px) {
    #sendTitle1 {
        white-space: pre-wrap;
        word-wrap: break-word;
        width: 62%;
    }
}

@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 div {
    max-width: 100% !important;
    margin: 0;
}

.html2pdf__container .section_right_top {
    height: 297mm;
}

.html2pdf__container .section_right_top_left,
.html2pdf__container .rightSideContainer,
.html2pdf__container .section_right_top_certificat,
.html2pdf__container .section_right_top_right,
.html2pdf__container .section_right_top_skills {
    margin-top: 2rem;
}

div.outputArea {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* end */