@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

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

:root {
    --primary-color: #F0E68C;
    --text-color: #F0F8FF;
}

html {
    font-size: 12px;
}

body {
    font-family: "Libre Baskerville", sans-serif;
    background-color: black;
    color: white;
}

/* common styles */
img {
    width: 100%;
}

a {
    text-decoration: none;
    color: white;
}

.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;
}

.item_preTitle {
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: 300;
}

.item_title {
    font-size: 1.6rem;
    color: white;
    font-weight: 500;
    margin: 0.8rem 0;
}

.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: #070707;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

@media only screen and (max-wwidth: 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: 5rem;
}

.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) {
    .group-3 {
        flex-direction: column;
    }
}

/* profile */

.profile_container {
    display: flex;
    gap: 2rem;

}

.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: 400;
    font-size: clamp(2.5rem, 7vw, 7rem);
    text-transform: uppercase;
    display: block;
}

.profile_title {
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
}

.download {
    display: block;
    text-decoration: underline;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.download:hover {
    color: var(--primary-color)
}

@media only screen and (max-width: 768px) {
    .profile_container {
        flex-direction: column;
    }
}

/* skills */

.skill_list {
    margin-top: 1rem;
    margin-left: 2rem;
    line-height: 2;

}

/* education */
.edu_item {
    margin-top: 2rem;

}

/* certification */
.certification_item {
    margin-top: 2rem;
}

/*exp*/
.exp_item {
    margin-top: 2rem;
}

/* socials */
.social_items {
    margin-top: 2rem;
}

.social_item {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    gap: p.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: 90%;
    margin: 0 auto;
    margin-top: 5rem;
    margin-bottom: 1rem;
    border: none;
    border-top: 2px solid rgba(128, 128, 128, 0.363);
}

@media only screen and (max-width: 768px) {
    hr {
        margin: 0 auto;
    }
}