@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
:root{
    --primary-color:  royalblue;
    --text-color: #727171;
    --title-color: black;
}
html{
    font-size: 10px;
}
body{
    font-family: Montserrat;
    background-color:  black;
    color: black;
}
/* common styles */
img{
    width: 50%;
}
a{
    text-decoration: none;
    color: blue;
}
.description{
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-color);
}

.title{
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.2rem;
    text-transform: uppercase;
}
.item_preTitle{
    color: var(--title-color);
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: 400;
}
.item_title{
    font-size: 1.6rem;
    color: var(--title-color);
    font-weight: 600;
}
.item_subtitle{
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: 400;
}

/* layouts */
.container{
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    padding: 5rem;
    background: #dddddd;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
@media only screen and (max-width: 768px){
    .container{
        width:100%;
        grid-template-columns: 1fr;
        padding: 3rem;
        gap: 7rem;
    }
}
.profile{
    grid-column: 1 / -1;
    margin-bottom: 2rem;
}
.group-1,
.group-2{
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.group-3{
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    grid-column: 1/-1;
    display: flex;
    flex-direction: row;
    gap: 5rem;
}
.group-3 > div {
    flex: 1;
}
@media only screen and (max-width:768px){
    .profile{
        margin-bottom: 0;
    }
    .group-3{
        flex-direction: column;
    }
}
.group-4{
    grid-column: 1/-1;
    width: 100%;
    margin: 0 auto;
    margin-left: -5rem;
    align-items: center;
    display: flex;
    flex-direction:column;
    gap: 2rem;
}
.group-5{
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    grid-column: 1/-1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* profile */

.profile_container{
    display: flex;
    gap: 2rem;
}
.profile_name_first{
    color: var(--title-color);
    font-weight: 200;
    font-size: clamp(2rem, 8vw, 4rem);
    text-transform: uppercase;
    display: block;
    margin-bottom: -0.8rem;
}
.profile_name_last{
    color: var(--primary-color);
    font-weight: 700;
    font-size: clamp(2.5rem, 15vw, 7rem);
    text-transform: uppercase;
    display: block;
    margin-bottom: -0.8rem;
}
.profile_title{
    font-size: 1.5rem;
    font-weight: 500;
    text-transform:uppercase;
}
.downloadBtn{
    color: var(--title-color);
    display: block;
    text-decoration: underline;
    font-size: 1.6rem;
    margin-top: 1rem;
}
.downloadBtn:hover{
    color: var(--primary-color)
}
@media only screen and (max-width: 768px){
    .profile_container{
        flex-direction: column;
    }
}

/* skills */

.skill_list{
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-left: 2rem;
    line-height: 2;
    gap: 6rem;
}
.skill_list_2{
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-left: 4rem;
    line-height: 2;
}
.sub_list{
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-left: 2rem;
    line-height: 1.5;
    color: var(--text-color);
}

/* Education */
.edu_item{
    margin-top: 2rem;
}

/* Certification */

.certification_item{
    margin-top: 2rem;
}

/* Experience */
.exp_item{
    margin-top: 2rem;
    margin-bottom: 3rem;
}

/* Interests */
.interest_items{
    margin-top: 2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5rem;
}
.interest_item{
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .10rem;
    color: var(--text-color)
}

/* contact */

.email{
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-color);
}

.email:hover{
    color: var(--primary-color);
}

/* socials */
.social_items{
    margin-top: 2 rem;
}
.social_item{
    margin-top: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start;
    color: var(--text-color);
}
.social_item:hover {
    color: var(--primary-color)
}
.social_item svg {
    width: 2rem;
}

hr{
    grid-column: 1/-1;
    width: 80%;
    margin: 0 auto;
    margin-top: 5rem;
    margin-bottom: 1rem;
    border: none;
    border-top: 2px solid gray;
}
@media only screen and (max-width:768px){
    hr{
        margin: 0 auto;
    }
}

.counter-1{
    margin-top: 1rem;
    font-size: 3rem;
    font-weight: 500;
    display:flex;
    align-items: center;
    color: blue;
    justify-content: flex-start;
}