@import url('https://fonts.googleapis.com/css2?family=Baloo+2&family=DM+Serif+Display&family=Source+Serif+4:opsz@8..60&display=swap');
:root{
    --primary-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --heading-font: 'DM Serif Display', serif;
    --secondary-font: 'Baloo 2', cursive;
    --primary-color:#c5c6c5;
    --font-color:#420909;
    --background-color: #8f9892;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    width: 100%;
    height: 100vh;
    background:var(--primary-color);
}
h1{
    background: #8f9892;
    text-align: center;
    padding: 0.5em;
    font-size: 2.3em;
    font-weight: 700;
    font-family: var(--secondary-font);
    color:var(--font-color);
}
#input-form{
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
}
#intro-input-div{
      display: flex;
      padding: 20px;
      flex-direction: column;
      background: var(--background-color);
      width: 60%;
      border: 2px solid var(--font-color);
      border-radius: 10px;
      margin-top: 40px;
}
#intro-input-div input{
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--font-color);
    border-radius: 8px;
}
#intro-input-div textarea{
    padding: 10px;
    border: 1px solid var(--font-color);
    border-radius: 8px;
    margin-bottom: 20px;
    height: 100px;
}
#intro-input-div label{
    font-size: larger;
}
#work-experience-input-div{
    display: flex;
    padding: 20px;
    flex-direction: column;
    width: 60%;
    background: var(--background-color);
    border: 2px solid var(--font-color);
    border-radius: 10px;
    margin-top: 40px;
}
#work-experience-input-div h2{
    font-weight: 600;
    font-size: 1.5em;
    font-family:var(--primary-font);
}
.experience-input{
    padding: 10px;
    border: 1px solid var(--font-color);
    border-radius: 8px;
    margin-top: 20px;
    height: 50px;
}
#work-btn{
    width: 5em;
    padding: 0.4em ;
    margin-top: 13px;
    background:var(--font-color);
    border-radius: 5px;
    color:#fff;
    font-weight: 500;
    font-size: 1em;
    cursor: pointer;
    border: 2px solid var(--font-color);
    box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
    font-family:var(--primary-font);
}
#work-btn:hover{
    background: #fff;
    color:var(--font-color);
}
.btn{
    width: 5em;
    padding: 0.4em ;
    margin-top: 13px;
    background:var(--font-color);
    border-radius: 5px;
    color:#fff;
    font-weight: 500;
    font-size: 1em;
    cursor: pointer;
    border: 2px solid var(--font-color);
    box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
    font-family:var(--primary-font);
}
.btn:hover{
    background: #fff;
    color:var(--font-color);
}
#education-input-div{
    display: flex;
    padding: 20px;
    flex-direction: column;
    width: 60%;
    background: var(--background-color);
    border: 2px solid var(--font-color);
    border-radius: 10px;
    margin-top: 40px;
}
#education-input-div h2{
    font-weight: 600;
    font-size: 1.5em;
    font-family:var(--primary-font);
}
.education-input{
    padding: 10px;
    border: 1px solid var(--font-color);
    border-radius: 8px;
    margin-top: 20px;
    height: 50px;
}
#technical-knowledge-div{
    display: flex;
    padding: 20px;
    flex-direction: column;
    width: 60%;
    background: var(--background-color);
    border: 2px solid var(--font-color);
    border-radius: 10px;
    margin-top: 40px;
}
#technical-knowledge-div h2{
    font-weight: 600;
    font-size: 1.5em;
    font-family:var(--primary-font);
}
.technical-info{
    padding: 10px;
    border: 1px solid var(--font-color);
    border-radius: 8px;
    margin-top: 20px;
    height: 50px;
}
#personal-info-div{
    display: flex;
    padding: 20px;
    flex-direction: column;
    width: 60%;
    background: var(--background-color);
    border: 2px solid var(--font-color);
    border-radius: 10px;
    margin-top: 40px;
}
#personal-info-div-label{
    font-weight: 600;
    font-size: 1.5em;
    font-family:var(--primary-font);
}
#personal-info-contain{
    display: flex;
    padding: 20px;
    flex-direction: column;
}
#gender-input,
    #martial-input {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        background: #fff;
        margin-bottom: 20px;
        border: 1px solid var(--font-color);
        border-radius: 8px;
        padding: 10px;
        padding-left: 20px;
        align-items: center;
    }
    #martial-input input {
        margin-left: 5px;
        margin-right: 40px;
        padding: 10px;
    }
    
    #gender-input input {
        margin-left: 5px;
        margin-right: 40px;
        padding: 10px;
    }
    
    #martial-input input:hover {
        cursor: pointer;
    }
    
    #gender-input input:hover {
        cursor: pointer;
    }
    #dob-input{
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid var(--font-color);
        border-radius: 8px;
    }
    #father-input,#nationality-input,#lang-input,
    #hobbies-input{
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid var(--font-color);
        border-radius: 8px;
    }
    #declaration-input-div{
        display: flex;
        padding: 20px;
        flex-direction: column;
        width: 60%;
        background: var(--background-color);
        border: 2px solid var(--font-color);
        border-radius: 10px;
        margin-top: 40px;
    }
    #declaration-input-div label{
        font-weight: 600;
        font-size: 1.5em;
        font-family:var(--primary-font);
    }
    #declaration-input{
        padding: 10px;
        margin-top: 20px;
        border: 1px solid var(--font-color);
        border-radius: 8px;
    }
    #generate-resume-btn{
        width: 5em;
        padding: 0.4em ;
        margin-top: 1em;
        margin-bottom: 2em;
        background:var(--font-color);
        border-radius: 5px;
        color:#fff;
        font-weight: 500;
        font-size: 1.3em;
        cursor: pointer;
        border: 2px solid var(--font-color);
        box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
        font-family:var(--primary-font);
    }
    #generate-resume-btn:hover{
        background: #fff;
        color: var(--font-color);
        font-size:1.4em ;
    }
    #edit-resume-nav {
        background-color: #eeee;
        display: none;
       
    }
    #edit-resume-nav ul {
        list-style: none;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
    }
    #edit-resume-nav ul li .edit-keys {
        padding: 10px;
        font-size: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    #edit-resume-nav ul li {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    
    #edit-resume-nav ul li .edit-keys:hover {
        color: white;
        background-color: #333;
        cursor: pointer;
    }
    
    #edit-resume-nav ul li span {
        font-family: var(--secondary-font);
        font-size: 15px;
    }
    .edit-values i,
    .edit-values span {
        margin-left: 5px;
        padding: 8px;
        color: black;
    }
    
    .edit-values span:hover {
        background-color: #333;
        cursor: pointer;
        border-radius: 4px;
        color: white;
    }
    
    .edit-values i:hover {
        background-color: #333;
        cursor: pointer;
        border-radius: 4px;
        color: white;
    }
    
    #colors,
    #fonts,
    #text-sizes {
        display: none;
        flex-wrap: wrap;
        border-bottom-right-radius: 4px;
        border-top-right-radius: 4px;
    }
    
    #color1 {
        color: red;
    }
    
    #color2 {
        color: blue;
    }
    
    #color3 {
        color: green;
    }
    
    #color4 {
        color: orangered;
    }
    
    #color5 {
        color: #df4859;
    }
    
    #color6 {
        color: #5086d9;
    }
    
    #custom-color {
        height: 20px;
        width: 20px;
        margin-top: 6px;
        margin-left: 6px;
        border-radius: 100%;
        font-family: var(--secondary-font);
        font-size: 2px;
        cursor: pointer;
    }
    
    #custom-color-btn {
        font-family: var(--secondary-font);
        margin-left: 10px;
        cursor: pointer;
    }
    
    #fonts #font1 {
        font-family: 'Roboto', sans-serif;
    }
    
    #fonts #font2 {
        font-family: 'Koulen', cursive;
    }
    
    #fonts #font3 {
        font-family: 'Source Serif 4', serif;
    }
    
    #fonts #font4 {
        font-family: 'DM Serif Display', serif;
    }
    
    #fonts #font5 {
        font-family: 'Baloo 2', cursive;
    }
    
    #fonts label {
        font-family: var(--secondary-font);
        font-size: 15px;
    }
    
    #fonts #fonts-label-div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: 5px;
    }
    
    #fonts span {
        border: 1px solid gray;
        border-radius: 4px;
        width: 40px;
        height: 40px;
        margin: 5px;
    }
    
    #text-sizes label {
        font-family: var(--secondary-font);
        font-size: 15px;
    }
    
    #text-sizes #size-label-div {
        display: flex;
        flex-direction : column;
        justify-content: center;
        align-items: center;
        margin-left: 5px;
    }
    /*output*/
    #resume{
        width: 90%;
        background: #fff;
        margin-left: 5%;
        margin-top: 5%;
        box-shadow: 5px 2px 5px 2px rgba(0,0,0,0.4),
        -5px -2px 5px rgba(0,0,0,0.4); 
        display: none;
    }
    #resume-output-heading{
        text-align: center;
        padding: 0.5em 0 0.2em 0;
        font-family: var(--secondary-font);
        color: var(--font-color);
        font-size: 2em;
    }
    #intro-output-div{
       
    padding: 0.3em 0em 0.3em 3em;
    font-size: 1.2em;
    }
    #name-output{
        margin-bottom: 8px;
        font-size: 1.5em;
        font-weight: 600;
        color: var(--font-color);
        font-family: var(--secondary-font);
    }
    #address-output{
        margin-bottom: 4px;
    }
    #contact-num-output{
        margin-bottom: 4px;
    }
    #email-output{
        margin-bottom: 4px;
    }
    #personal-output-div{
        padding: 0em 0em 0em 3em;
    }
    #heading-personalinfo{
        border: 2px solid var(--font-color);
        font-family: var(--secondary-font);
        padding: 0.3em 0 0.2em 0.2em;
        width: 90%;
        border-left: none;
        border-top: none;
        border-right: none;
    }
    table,
    tr,
    td {
        border: 1px solid var(--font-color);
        border-collapse: collapse;
    }
    
    td {
        padding: 10px;
    }
    
    table {
        width: 70%;
        margin: 20px;
    }
    #declaration-output-div{
        padding: 1em 0em 5em 3em;
    }
    #declaration-output-heading{
        border: 2px solid var(--font-color);
        font-family: var(--secondary-font);
        padding: 0.3em 0 0.2em 0.2em;
        width: 90%;
        border-left: none;
        border-top: none;
        border-right: none;
    }
    .btn-holder{
        display: flex;
        justify-content: center;
        gap: 1em;
    }
    .btns{
        width: 5em;
        padding: 0.4em ;
        margin-top: 1em;
        margin-bottom: 2em;
        background:var(--font-color);
        border-radius: 5px;
        color:#fff;
        font-weight: 500;
        font-size: 1.3em;
        cursor: pointer;
        border: 2px solid var(--font-color);
        box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
        font-family:var(--primary-font);
        display: none;
    }
    .btns:hover{
        background: #fff;
        color:var(--font-color);
    }
    #declaration-output{
        padding-right:0.5em;
        padding-top: 1em;
        font-family: var(--secondary-font);
    }
    #personal-output-div{
        font-family: var(--secondary-font);
    }
     #heading-personalinfo{
        color: var(--font-color);
     }
     #declaration-output-heading{
        color: var(--font-color);
     }
    #w-ul,
    #e-ul,
    #t-ul {
        list-style: inside;
    }
    #education-output-div{
        padding: 0em 0em 0em 3em;
        font-family: var(--secondary-font);
        color: var(--font-color); 
    }
    #education-output-heading{
        border: 2px solid var(--font-color);
        font-family: var(--secondary-font);
       
        width: 90%;
        border-left: none;
        border-top: none;
        border-right: none;
    }
    #work-output-div{
        padding: 0em 0em 0em 3em;
        font-family: var(--secondary-font);
        color: var(--font-color); 
    }
    #work-output-heading{
        border: 2px solid var(--font-color);
        font-family: var(--secondary-font);
        width: 90%;
        border-left: none;
        border-top: none;
        border-right: none;
    }
    #tech-output-div{
        padding: 0em 0em 0em 3em;
        font-family: var(--secondary-font);
        color: var(--font-color); 
    }
    #tech-output-heading{
        border: 2px solid var(--font-color);
        font-family: var(--secondary-font);
        width: 90%;
        border-left: none;
        border-top: none;
        border-right: none;
    }
   