*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html{
    font-size: 10px;
}
body{
    font-size: 1.6rem;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    background-color: #040404;
}
.nav{
    width: 50%;
    background-color: rgb(79, 66, 85);
    border-radius: 2rem;
}
.nav>h1,p{
    padding-left: 2rem;
    color: #fff;
}
.n1{
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.n2>img{
    width: 5rem;
    border-radius: 50%;
}
.build>p{
    text-align: right;
}
img{
    width: 100%;
    display: block;
}

a{
    text-decoration: none;
}
.text{
    color: #fff;
    opacity: 0.9;
    margin: 2rem 0;
    line-height: 1.6;
}
#about-sc{
    padding: 1rem;
    color: floralwhite;
}
.cv-form-row{
    background-color: rgb(42, 39, 43);

}
.cv-form-row-title{
    background-color: rgb(119, 87, 235);
    padding: 0.8rem 1.6rem;
    margin-bottom: 2rem;
    border-radius: 1rem;
    box-shadow: rgba(227, 234, 241, 0.411) 0px 8px 24px;
}

.cv-form-row-title h3{
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 2.2rem;
}
.cv-form-blk{
    margin: 3rem 0;
}
.cv-form-row{
    padding: 3rem 2rem 0 2rem;
    border: 1px solid rgba(102, 34, 248, 0.841);
    margin-bottom: 1rem;
    position: relative;
    border-radius: 1rem;
}
textarea{
    resize: none;
}
.form-elem{
    margin-bottom: 3rem;
    position: relative;
}
.form-label{
    display: block;
    font-weight: 600;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}
.form-control{
    border-radius: 1rem;
    font-size: 14px;
    padding: 0.8rem 1.6rem;
    font-family: inherit;
    width: 100%;
    outline: none;
    border: none;
    transition: .5s;
}

.form-control:hover{
    background-color: rgb(209, 199, 251);
}
.form-control:focus{
    scale: 1.05;
}
.form-text{
    color: #dfb8ff;
    font-size: 13px;
    position: absolute;
    letter-spacing: 0.5px;
    top: calc(100% + 2px);
    left: 0;
    width: 100%;
}
.opt-text{
    color: rgb(180, 151, 254);
}
.cols-3, .cols-2{
    display: grid;
}
.repeater-add-btn{
    width: 5rem;
    height: 25px;
    background-color: rgb(253, 163, 84);
    font-size: 1.6rem;
    color: #fff;
    margin: 1rem 0;
    border-radius: 1rem;
    transition: .5s;
    font-weight: 600;
    box-shadow: rgba(227, 234, 241, 0.7) 0px 8px 24px;
}
.repeater-add-btn:hover{
    background-color: #f1c234;
}
.repeater-remove-btn{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 999;
    width: 5rem;
    height: 25px;
    border-radius: 1rem;
    background-color: #ff5b63;
    color: var(--clr-white);
    font-size: 1.6rem;
    font-weight: 800;
    box-shadow: rgba(227, 234, 241, 0.589) 0px 8px 24px;

}
.repeater-remove-btn:hover{
    background-color: #f6263b;
}
/* preview section */
.preview-cnt{
    border-radius: 2rem;
    display: grid;
    grid-template-columns: 34% auto;
    box-shadow: rgb(227, 234, 241) 0px 8px 24px;
    overflow: hidden;
}

.preview-cnt-l{
    padding: 3rem 3rem 2rem 3rem;
    background-color: rgb(169, 132, 255);
}
.preview-cnt-r{
    padding: 3rem 3rem 3rem 4rem;
    background-color: #f3edff;
}
.preview-cnt-l .preview-blk:nth-child(1){
    text-align: center;
}
.preview-image{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: auto;
    margin-left: auto;
}
.preview-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.preview-item-name{
    font-size: 2.4rem;
    font-weight: 600;
    margin: 1.8rem 0;
    position: relative;
}
.preview-item-name::after{
    position: absolute;
    content: "";
    bottom: -10px;
    width: 50px;
    height: 1.5px;
    background-color: rgba(255, 255, 255, 0.66);
    left: 50%;
    transform: translateX(-50%);
}
.preview-blk{
    padding: 1rem 0;
    margin-bottom: 1rem;
}
.preview-blk-title h3{
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 0.5px solid rgba(21, 21, 21, 0.295);
    padding-bottom: 0.5rem;
}
.preview-blk-title{
    margin-bottom: 1rem;
}
.preview-blk-list .preview-item{
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    opacity: 0.95;
}
.preview-cnt-r .preview-blk-title{
    color: #1e2532;
}
.preview-cnt-r .preview-blk-list .preview-item{
    margin-top: 1.8rem;
}

.achievements-items.preview-blk-list .preview-item span:first-child,
.educations-items.preview-blk-list .preview-item span:first-child,
.experiences-items.preview-blk-list .preview-item span:first-child{
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    background-color: rgba(0, 0, 0, 0.03);
}

.educations-items.preview-blk-list .preview-item span:nth-child(2),
.experiences-items.preview-blk-list .preview-item span:nth-child(2){
    font-weight: 600;
    margin-right: 1rem;
}

.educations-items.preview-blk-list .preview-item span:nth-child(3),
.experiences-items.preview-blk-list .preview-item span:nth-child(3){
    font-style: italic;
    margin-right: 1rem;
}

.educations-items.preview-blk-list .preview-item span:nth-child(4),
.educations-items.preview-blk-list .preview-item span:nth-child(5),
.experiences-items.preview-blk-list .preview-item span:nth-child(4),
.experiences-items.preview-blk-list .preview-item span:nth-child(5){
    margin-right: 1rem;
    background-color: #a4b8fb;
    color: #fff;
    padding: 0 1rem;
    border-radius: 0.6rem;
}

.educations-items.preview-blk-list .preview-item span:nth-child(6),
.experiences-items.preview-blk-list .preview-item span:nth-child(6){
    font-size: 13.5px;
    display: block;
    opacity: 0.8;
    margin-top: 1rem;
}
.projects-items.preview-blk-list .preview-item span{
    display: block;
}

@media screen and (min-width: 768px){
    .cols-3{
        grid-template-columns: repeat(3, 1fr);
        column-gap: 2rem;
    }
    .cols-2{
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
    }
}

@media screen and (min-width: 992px){
    .cv-form-row{
        padding: 3rem 3rem 0rem 3rem;
    }
    .cols-3{
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 480px) {
    .nav{
        width: 80%;
    }
    .build{
        margin-right: -4.8rem;
    }
}
.print-btn-sc{
    margin: 2rem 5rem;
}
.container>.print-btn{
    background-color: rgb(251, 106, 106);
    border-radius: 1rem;
    padding: .5rem 1rem;
    color: #fff;
    font-size: 1.8rem;
    transition: .5s;
    cursor: pointer;
}
.container>.print-btn:hover{
    scale: 1.2;
}
/* print section */
@media print{
    body *{
        visibility: hidden;
    }

    .non_print_area{
        display: none;
    }

    .print_area, .print_area *{
        visibility: visible;
    }

    .print_area{
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
        overflow: hidden;
    }
}
