:root{
    --main-color:rgb(175, 14, 46);
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Common CSS */
body{
    font-family: Arial, Helvetica, sans-serif;
    background-color: #c2c2c2;
}

h2{
    padding-bottom: 10px;
    color: var(--main-color);
}

.pad{
    padding: 20px 0;
}

main{
    width: 1170px;
    display: flow-root;
    margin: 30px auto;
    padding-top: 30px;
    background-color: #fff;
    border-right:20px solid var(--main-color);
    padding: 20px 10px 20px 30px;
}

#name{
    display: flex;
}

#name .image{
    margin-right: 30px;
}

#name .details{
    width: 65%;
    margin-top: 20px;
}

#name .my_img{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

#name h1{
    font-size: 50px;
}

#name h2{
    font-size: 30px;
    padding-bottom: 5px;
}

#contact-info{
    display: flex;

}

#contact-info .col{
    width: 50%;
}

#contact-info .com{
    padding:5px 10px;
    border-left: 4px solid var(--main-color);
}

#contact-info a{
    text-decoration: none;
    color: rgba(16, 16, 16, 1);
}

#contact-info a:hover{
    color: var(--main-color);
}

#summary{
    border-top: 2px dashed #000;
    border-bottom: 2px dashed #000;
    margin-right: 20px;
}

#summary p{
    line-height: 1.5;
    text-align: justify;
}

#skills{
    border-bottom: 2px solid var(--main-color);
    margin-right: 20px;
}

#skills ul{
    list-style: none;
  
}

#skills ul li{
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background-color: #000;
    border-radius: 5px;
    margin-bottom: 10px;
    opacity: 0.8;
    transition: all 0.3s;
}

#skills ul li:hover{
    background-color: var(--main-color);
    opacity: 1;
}

#education{
    border-bottom: 2px solid var(--main-color);
    margin-right: 20px;
}

#education strong{
    display: inline-block;
}

#education .col{
    margin-bottom: 10px;
}

#education .edu{
    width: 25%;
}

#education .from{
    width: 45%;
}

#education .percentage{
    width: 4%;
    margin-right: 25px;
}

#education .passing_year{
    width: 15%;
}

#work{
    
    border-bottom: 2px solid var(--main-color);
    margin-right: 20px;
}

#work strong{
    display: inline-block;
    margin-bottom: 20px;
    font-size: 18px;
}

#work .desiganation{
    width: 20%;
}

#work .comp{
    width: 45%;
}

#work .date{
    width: 20%;
    margin-left: 30px;
}

#projects ul,
#work ul{
    list-style-position: inside;
}

#projects ul li,
#work ul li{
    padding-bottom: 10px;
}

#projects{
    border-bottom: 2px solid var(--main-color);
    margin-right: 20px;
}

#projects ul > strong{
    display: block;
    padding-bottom: 10px;
}

#certification{
    border-bottom: 2px solid var(--main-color);
    margin-right: 20px;
}

#certification ul{
    list-style-position: inside;
}

#certification .course_date,
#certification .course_name{
    width:48%;
    display: inline-block;
    margin-bottom: 10px;
    padding-top: 12px;
}

#certification .course_date{
    text-align: right;
}

#certification .com_link{
    color: var(--main-color);
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
}

#certification .com_link:hover{
   color: #000;
}

#accomplishments ul{
    list-style-position: inside;
}

#accomplishments strong{
    display: block;
    padding-bottom: 10px;
}

/* Print  */
@media print {
    body{
        background-color: #000;
    }
}