@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    background: #fff;
    margin: 20px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 20px;
    box-shadow: 0 35px 55px rgba(211, 68, 68, 0.1);
}

/* Section gauche */
.container .left_Side {
    position: relative;
    background: #800b0d;
    padding: 20px;
}

.profileText {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(179, 46, 46, 0.2);
}

.profileText .imgBx {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
}

.profileText .imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profileText h2 {
    color: #fff;
    font-size: 1.2em;
    margin-top: 20px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
    line-height: 1.4em;
}

.profileText h2 span {
    font-size: 0.8em;
    font-style: 300;
}

.contactInfo {
    padding-top: 20px;
}

.title {
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.contactInfo ul {
    position: relative;
}

.contactInfo ul li {
    position: relative;
    list-style: none;
    margin: 10px 0;
    cursor: pointer;
}

.contactInfo ul li .icon {
    display: inline-block;
    width: 30px;
    font-size: 18px;
    color: #e37b7d;
}

.contactInfo ul li span {
    color: #fff;
    font-weight: 300;
}

.contactInfo.education h5 {
    color: rgb(241, 141, 141);
    font-weight: 500;
}

.contactInfo.education h4 {
    color: #fff;
    font-weight: 300;
}

.contactInfo.language .percent {
    position: relative;
    width: 100%;
    height: 6px;
    background: #f18384;
    margin-top: 5px;
}

.contactInfo.language .percent div {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #620305;
}

/* Section droite */
.container .right_Side {
    position: relative;
    background: #fff;
    padding: 20px;
}

.about {
    margin-bottom: 30px;
}

.title2 {
    color: #003147;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

p {
    color: #333;
}

.skills .box {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
}

.skills .box .percent {
    height: 10px;
    background: #c1baba;
}

.skills .box .percent div {
    height: 100%;
    background: rgb(148, 8, 8);
}

.interest ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.about .box .year_company h5
{
    text-transform: uppercase;
    color: #848c90;
}

.about .box .text h4{
    text-transform: uppercase;
    color: rgb(148, 8, 8);
}

/* Media Queries */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .profileText .imgBx {
        width: 120px;
        height: 120px;
    }

    .contactInfo {
        padding-top: 10px;
    }

    .skills .box {
        grid-template-columns: 1fr;
    }

    .interest ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        margin: 10px;
    }

    .profileText h2 {
        font-size: 1em;
    }

    .title, .title2 {
        font-size: 0.9em;
    }

    .interest ul {
        grid-template-columns: 1fr;
    }
}