@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: rgb(128, 138, 226);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height:100vh;
}

.container {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 1000px;
    background: #fff;
    margin:50px;
    display: grid;
    grid-template-columns: 1fr 2fr ;
    box-shadow: 0 35px 55px rgba(211, 68, 68, 0.1);
}

.container .left_Side {
    position: relative;
    background: #054792;
    padding: 40px;
}

.profileText {
    position: relative;
    display:flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(46, 50, 179, 0.2);
}

.profileText .imgBx {
    position:relative;
    width: 200px;
    height:200px;
    border-radius: 50%;
    overflow:hidden;
}

.profileText .imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    line-height: 20pc;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: box-shadow 0.3s;
}

.profileText .imgBx:hover img {
    box-shadow: rgba(0,0,0,05);
}

.profileText h2 {
    color: #e0eaff;
    font-size: 1.5em;
    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: 40px ;
}

.title {
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.contactInfo ul {
position: relative;
}

.contactInfo ul li .icon:hover {
    color: #032344;
    transform: scale(1.2);
    transition: 0.3s;
}

.skills .box:hover .percent div {
    background-color: #1e90ff;
}

.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: #032344;
    color: #1e90ff;
}

.contactInfo ul li span {
    color: #fff;
    font-weight: 300;
}

.contactInfo.education li {
   margin-bottom: 15px;
}

.contactInfo.education h5 {
    color: rgb(191, 185, 246);
    font-weight: 500;
}

.contactInfo.education h4 {
    color: rgb(252, 248, 248);
    font-weight: 500;
}

.contactInfo.education h4:nth-child(2) {
    color: #fff;
    font-weight: 300;
}

.container .right_Side {
    position: relative;
    background: linear-gradient(to bottom right, #ffffff, #e0eaff);
    padding: 40px;
}

.about {
    margin-bottom: 50px;

}

.about:last-child {
    margin-bottom: 0;
}

.title2 {
    color:#003147;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

p {
    color: #585858;
    letter-spacing: 0.2em;
    font-weight: 500;
    font-size: large;
}

.about .box {
    display:flex ;
    flex-direction: row;
    margin: 20px 0;
}

.about .box .year_company {
    min-width: 150px;
}
.about .box .year_company h5 {
    text-transform: uppercase;
    color: #848c90;
    font-weight: 600;
}

.about .box .text h4 {
    text-transform: uppercase;
    color: rgb(18, 6, 121);
    font-size: 16px;
}

.skills .box {
    position: relative;
    width: 100%;
    display:grid;
    grid-template-columns: 150px 1fr;
    justify-content: center;
    align-items: center;
}

.skills .box h4 {
    text-transform: uppercase;
    color: #848c99;
    font-weight: 500;

}

.skills .box .percent {
    position: relative;
    width: 100%;
    height: 10px;
    background: #c1baba;
}

.skills .box .percent div {
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 00;
    height: 100%;
    background: rgb(31, 8, 148);
    transition: width 1s ease-in-out;
}


.toggle-button {
    padding: 20px;
    background-color: #054792;
    color: #fff;
    border: #588ecc;
    border-radius: 30px;
    font-size: medium;
    letter-spacing: 0.2em;
}

.toggle-button:hover {
    background-color: #032344;
    cursor: pointer;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr; 
        margin: 20px; 
    }

    .left_Side, .right_Side {
        padding: 20px; 
    }

    .skills .box {
        flex-direction: column;
    }

    .skills .box h4 {
        margin-bottom: 5px; 
}
}