@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root{
    --primary-color: #ED1D02;
    --text-color: #F5F5F5;
}
html{
    font-size: 10px;
}
body{
    font-family: 'Inter', sans-serif;
    background-color: black;
    color: white;
}

.dev {
    border: 2px solid red;
}

.info {
    width: 100%;
}

.group {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    padding: 0px 10px;
    gap: 20px;
}

.group > div {
    flex: 1;
}

/*common styles*/

.description{
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-color)
    ;
}
.title{
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2rem;
    text-transform: uppercase;
    margin-top: 4rem;
}
.item_subtitle{
    font-size: 1.5rem;
    font-weight: 700;
}
.item_title{
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/*layouts*/
.container{
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    padding: 5rem;
    background: #1E1E1E;
    gap: 5rem;  
}
@media only screen and (max-width: 768px){
    .container{
        width: 100%;
        grid-template-columns: 1fr;
        padding: 3rem;
        gap: 3rem;
    }
}
.profile{
    grid-column: 1 / -1;
    margin-bottom: 2rem;
}

.contact-wrapper{
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 5rem;
}

.contact-wrapper > div{
    flex: 1;
}
@media only screen and (max-width: 768px){
    .profile{
        margin-bottom: 0;
    }
    .contact-wrapper{
        flex-direction: column;
    }
}

/*profile*/
.profile_container{
    display: flex;
    gap: 2rem;
}
.profile_profileimage img{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover; 
}
.profile_name_firstname{
    color: white;
    font-weight: 200;
    font-size: clamp(2rem, 8vw, 4rem);
    text-transform: uppercase;
    display: block;
    margin-bottom: -0.8rem;
}
.profile_name_lastname{
    color: var(--primary-color);
    font-weight: 700;
    font-size: clamp(2.5rem, 15vw, 7rem);
    text-transform: uppercase;
    display: block;
}
.profile_title{
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.downloadButton{
    display: inline-block;
    font-size: 1.6rem;
    margin-top: 1rem;
}
@media only screen and (max-width: 768px){
    .profile_container{
        flex-direction: column;
    }
}
/*expertise*/
.skill_list{
    margin-top: 1rem;
    margin-left: 2rem;
    line-height: 2;
}
/*education*/
.education_item{
    margin-top: 2rem;
}
.education_name{
    font-size: 1.8rem;
    font-weight: 700;
}

.education_list{
    margin-top: 1rem;
    margin-left: 2rem;
    line-height: 2;
}
/*languages*/
.languages_list{
    margin-top: 1rem;
    margin-left: 0rem;
    line-height: 1.5;
}
.lang_description{
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
}
/*experience*/
.experience_name{
    margin-top: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
}
/*employment*/
.employment_name{
    margin-top: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
}
/*contact*/
.contact_info{
    margin-top: 1rem;
    margin-left: 0rem;
    line-height: 1.5;
}
hr{
    grid-column: 1 / -1;
    width: 90%;
    margin: 0 auto;
    margin-top: 5rem;
    margin-bottom: 1rem;
    border-top: 2px solid gray;
}
@media only screen and (max-width: 768px){
    hr{
        margin: 0 auto;
    }
}