@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700&display=swap');

:root {
    --body-bg-color: #22212C;
    --text-color: #837E9F;
    --bg-cards: #302F3D;
    --bg-techs: #CB92B1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Merriweather Sans, Arial, Helvetica, sans-serif;
    word-spacing: 0.3rem;
}

body {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    background-color: var(--body-bg-color);
    overflow-x: hidden;
}

.leftSide {
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
}

.profilePicture {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border-radius: 20px;
    background-color: var(--bg-cards);
    margin-bottom: 1.5rem;
    box-shadow: 1px 1px 3px #000;
}

.profilePicture img {
    width: 100px;
    border-radius: 50%;
    border: 2px solid #4cd137;
}

.profilePicture h1 {
    font-size: 1rem;
    color: var(--text-color);
    margin-top: 1rem;text-align: center;
}

.profilePicture span {
    font-size: 0.7rem;
    color: var(--text-color);
    margin-top: 0.6rem;
    text-align: center;
}

.personalInfo,
.academicFormation,
.workExperiences,
.techStudyng {
    width: 70%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: 20px;
    background-color: var(--bg-cards);
    margin-bottom: 1.5rem;
    box-shadow: 1px 1px 3px #000;
}

.location,
.work,
.github,
.email,
.linkedin {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-color)
}


.location img,
.work img,
.github img,
.email img,
.linkedin img {
    fill:  var(--text-color);
    width: 25px;
}

.location span,
.work span,
.email span {
    font-size: 0.7rem;
    margin-left: 1rem;
}

.github a,
.linkedin a {
    text-decoration: none;
    font-size: 0.7rem;
    margin-left: 1rem;
    color: var(--text-color)
}

.academicFormation h1,
.workExperiences h1,
.techStudyng h1 {
    font-size: 1rem;
    color: var(--text-color);
}

.academicFormation ul,
.workExperiences ul {
    margin-left: 15%;
    margin-top: 10%;
}

.academicFormation ul li,
.workExperiences ul li {
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: bold;
}

.academicFormation ul span,
.workExperiences ul span {
    color: var(--text-color);
    font-size: 0.7rem;
}

.techStudyng img{
    width: 12%;
    border-radius: 5px;
    box-shadow: 1px 1px 5px #000;
    margin: 10px 5px;
}

.line {
    display: flex;
    align-items: center;
}

.rightSide {
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 3rem 0;
}

.myProjects {
    width: 93%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: 20px;
    background-color: var(--bg-cards);
    margin-bottom: 1.5rem;
    box-shadow: 1px 1px 3px #000;
}

.myProjects h1 {
    font-size: 1rem;
    color: var(--text-color);
}

.projectCard {
    width: 93%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: 20px;
    background-color: var(--bg-cards);
    box-shadow: 1px 1px 3px #000;
}

.projectCardTitle {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.projectCardDescription {
    font-size: 0.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.projectCardFooter {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.projectCardGithub {
    font-size: 0.7rem;
    color: var(--text-color);
}

.projectCardGithub a{
    text-decoration: none;
    color: #0984e3;
}

.technologies {
    display: flex;
    align-items: center;
}

.html {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #e67e22;
}

.css {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #3498db;
}
.javascript {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #f1c40f;
}

.technologies span {
    font-size: 0.7rem;
    color: var(--text-color);
    margin-right: 15px;
    margin-left: 2px;
}

@media (max-width: 1200px) {
    body {
        flex-direction: column;
    }

    .leftSide {
        width: 100%;
    }

    .rightSide {
        width: 90%;
        align-items: center;
        margin-left: 1rem;
        margin-top: -5rem;
    }

    .profilePicture,
    .personalInfo,
    .academicFormation,
    .workExperiences,
    .techStudyng  {
        width: 90%;
    }

    .techStudyng img {
        width: 5%;
    }
}

@media (max-width: 500px) {
    .techStudyng img {
        width: 10%;
    }

    .html, .css, .javascript {
        width: 10px;
        height: 10px;
    } 

    .technologies span {
        font-size: 0.7rem;
        color: var(--text-color);
        margin-right: 10px;
    }
}
