@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: Calibri; */
    font-family: 'Poppins', sans-serif;
}
*::selection {
    background: rgb(92, 255, 42);
    color: navy
}
::-webkit-scrollbar {
    width: 0px;
}
body {
    background: #add8e6;
    /* background: #323840; */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.light {
    position: relative;
    width: 100%;
    min-height: 1040px;
    max-width: 1040px;
    margin: 50px;
    background: #add8e6;
    display: grid;
    grid-template-columns: 1fr 2fr;
    box-shadow: 0px 35px 55px rgba(0, 0, 0, 0.1);
	border-radius: 50px;
}
.light .down {
    position: absolute;
    top: -20px;
    left: -6px;
    background: #ddf0ff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 1000ms;
}
.dark .down {
    background: #323840;
}
.light .down .fas{
    color: #03a9f4;
}
.dark .down .fas{
    color: #fff;
}
.light .down a:visited {
    color: #03a9f4;
}
.light .left {
    position: relative;
    background: #003147;
    padding: 40px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    transition: 1000ms;
}
.dark .left {
    background: #222;
}
.profile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.dark .profile {
    border-bottom: 1px solid rgba(15, 14, 14, 0.6);
}
.profile .pic {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
}
.profile .pic img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile h2 {
    color: #fff;
    font-size: 1.5em;
    margin-top: 20px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
    line-height: 1.4em;
    display: flex;
    gap: 10px;
    flex-direction: column;
}
.dark .profile h2 {
    color: rgb(199, 199, 199);
}
.profile h2 span {
    font-size: 0.8em;
    font-weight: 900;
    letter-spacing: 2px;
    color: rgb(0, 102, 255);
}
.dark .profile h2 span {
    color: rgb(255, 96, 96);
}
.contact {
    padding-top: 40px;
}
.title {
    color: #fff;
    text-transform: uppercase;
    font-weight: 600px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.dark .title {
    color: rgb(131, 131, 131);
}
.contact ul {
    position: relative;
}
.contact ul li {
    position: relative;
    margin: 10px 0px;
    list-style: none;
}
.contact ul li .icon {
    display: inline-block;
    width: 30px;
    font-size: 18px;
    color: #03a9f4;
    animation: scaling 1s linear infinite alternate;
}
.dark .contact ul li .icon {
    color: rgb(255, 96, 96);
}
.contact ul li span {
    color: #fff;
    font-weight: 300px;
}
.dark .contact ul li span {
    color: rgb(199, 199, 199);
}
.contact ul li span a {
    color: #fff;
    font-weight: 300px;
    text-decoration: none;
}
.dark .contact ul li span a {
    color: rgb(199, 199, 199);
}
.education li {
    margin-bottom: 15px;
}
.education h5 {
    color: #03a9f4;
    font-weight: 600;
    margin-top: 19px;
}
.dark .education h5 {
    color: rgb(255, 96, 96);
}
.education h4 {
    color: #fff;
    font-weight: 400;
    margin-top: 9px;
}
.education h4:nth-child(3) {
    font-size: 14px;
    font-weight: 600;
}
.dark .education h4 {
    color: rgb(199, 199, 199);
}
h4.flt {
    color: #03a9f4;
    float: right;
    font-weight: bolder;
}
.dark h4.flt {
    color: rgb(182, 65, 90);
}
.lang ul li {
    margin: 15px 0;
}
.lang .per {
    position: relative;
    width: 100%;
    height: 5px;
    background: #081921;
    display: block;
    border-radius: 10px;
    margin: 8px 0;
    transition: 1000ms;
    /* margin-bottom: 10px; */
}
.dark .lang .per {
    background: #333;
}
.lang .per div {
    position: relative;
    top: 0;
    left: 0;
    height: 100%;
    background: transparent;
    border-radius: 10px;
    transition: 1000ms;
}
.lang .per div::after {
    content: '';
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: #03a9f4;
    animation: inc 1s linear infinite alternate, animate 1s 3s ease-in-out;
}
.dark .lang .per div::after {
    background: rgb(182, 65, 90);
}
.light .right {
    position: relative;
    background: #fff;
    padding: 40px;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    transition: 1000ms;
}
.dark .right {
    background: #111;
}
.right .toggle1, .left .toggle2 {
    position: absolute;
    top: 20px;
    right: 40px;
    background: #444;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: content 1000ms;
    z-index: 999;
}
.left .toggle2 {
    right: 30px;
    top: 27px;
    display: none;
}
.dark .right .toggle1, .dark .left .toggle2 {
    background: #eee;
    transition: content 1000ms;
}
.right .toggle1:before, .left .toggle2:before {
    content: '\f186';
    font-weight: 900;
    font-family: "fontAwesome";
    color: #fff;
    transition: 1000ms;
    animation: scaling 1s linear infinite alternate;
}
.dark .right .toggle1:before, .dark .left .toggle2:before {
    content: '\f185';
    color: #111;
    font-weight: 900;
    animation: scaling 1s linear infinite alternate;
}
.about {
    margin-bottom: 50px;
}
.about:last-child {
    margin-bottom: 0;    
}
.title2 {
    color: #003147;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.dark .title2 {
    color: #eee;
}
p {
    color: #333;
    text-align: justify;
    font-weight: 500;
}
.dark p {
    color: #aaa;
}
.marmar {
    margin-top: 20px;
}
.about .box1 {
    display: grid;
    /* grid-template-columns: repeat(4, 1fr); */
    margin: 0 0 15px 0;
    align-items: center;
    grid-template-columns: 2fr 6fr 4fr 2fr;
}
.about .moreprojects {
    text-align: center;
    color: #03a9f4;
    font-weight: 600;
    margin-top: 30px;
}
.dark .about .moreprojects {
    color: rgb(255, 96, 96);
}
.about .moreprojects a {
    text-decoration: none;
    color: inherit;
    background: #03a9f4;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    font-weight: 600;
    margin: 0 5px;
}
.dark .about .moreprojects a {
    background: rgb(182, 65, 90);
}
.about .box .years h5 {
    text-transform: uppercase;
    color: #848c90;
    font-weight: 600;
    font-size: 14px;
}
.dark .about .box .years h5 {
    color: #999;
}
.about .box .topic,
.about .box .links,
.about .box .langs {
    text-transform: uppercase;
    font-size: 14px;
    display: inline-block;
    color: #2a7da2;
    font-weight: 700;
}
.dark .about .box .topic {
    color: rgb(255, 176, 176);
}
.about .box .langs {
    display: inline-block;
    color: #03a9f4;
}
.dark .about .box .langs {
    color: rgb(182, 65, 90);
}
.about .box .links {
    display: inline-block;
    text-align: right;
}
.about .box .links a {
    font-size: 17px;
    margin: -5px 0 0 8px;
    color: #03a9f4;
}
.dark .about .box .links a {
    color: rgb(182, 65, 90);
}
.about .box .links a .fab {
    animation: scaling 1s linear infinite alternate;
}
span.flt2 {
    position: absolute;
    top :-5px;
    right: -45px; 
    color: #03a9f4;
    font-weight: bolder;
}
.dark span.flt2 {
    color: rgb(182, 65, 90);
}


.skills .boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 10px;
    height: auto;
}
.skills .boxes .box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    gap: 10px;
    background: #03a9fa;
    flex:  1 1 max-content;
    border-radius: 10px;
}
.dark .skills .boxes .box {
    background: rgb(182, 65, 90);
}
.skills .boxes .box img {
    height: 25px;
}
.skills .boxes .box h4 {
    color: #fff;
}
/* css for bar percentage of skills */
/* .skills .box .per {
    position: relative;
    width: 100%;
    height: 10px;
    background: #f1f1f1;
    border-radius: 20px;
    transition: 1000ms;
}
.dark .skills .box .per {
    background: #414141;
}
.skills .box .per div {
    position: relative;
    top: 0;
    left: 0;
    height: 100%;
    background: transparent;
    border-radius: 20px;
    transition: 1000ms;
    width: calc(1% * var(--i));
}
.skills .box .per div::after {
    content: '';
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: #03a9f4;
    animation: inc 1s linear infinite alternate, animate 1s 3s ease-in-out;
}
.dark .skills .box .per div::after {
    background: rgb(182, 65, 90);
} */
.hobbies ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.hobbies ul li {
    list-style: none;
    color: #333;
    font-weight: 500;
    margin: 10px 0;
}
.dark .hobbies ul li {
    color: #bbb;
}
.hobbies ul li .fas {
    color: #03a9fa;
    font-size: 18px;
    width: 24px;
}
.fas {
    animation: scaling 1s linear infinite alternate;
}
.dark .hobbies ul li .fas {
    color: rgb(255, 96, 96);
}
sup {
    text-transform: lowercase;
}
.btnprt {
    position: fixed;
    top: 20px;
    right: 20px;
    text-align: end;
}
.btnprt2 {
    top: 70px;
}
.btnprt .btnbtn{
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
    color: #03a9fa;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #03a9fa;
    transition: 500ms;
    overflow: hidden;
    width: 215px;
}
.btnprt:hover a{
    background: #03a9fa;
    color: #fff;
}
.dark ~ .btnprt a {
    color: rgb(255, 96, 96);
    border: 2px solid rgb(255, 96, 96);
}
.dark ~ .btnprt:hover a {
    background: rgb(255, 96, 96);
    color: #111;
}


@keyframes animate {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}
@keyframes inc {
    0% {
        width: 100%;
    }
    100% {
        width: 101%;
    }
}
@keyframes scaling {
    0% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1.05);
    }
}


@media (max-width: 1000px) {
    .right .toggle1 {
        display: none;
    }
    .left .toggle2 {
        display: grid;
        place-items: center;
    }
    .light .right {
        padding: 40px;
    }
    .light {
        margin: 30px;
        grid-template-columns: 1fr;
    }
    .light .left {
        border-top-right-radius: 50px;
        border-bottom-left-radius: 0px;
    }
    .left .down {
        top: -13px;
    }
    .light .right {
        border-bottom-left-radius: 50px;
        border-top-right-radius: 0px;
    }
    .right .toggle {
        top: -1195px;
    }
    .hobbies ul {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .light {
        margin-top: 150px;
    }
    .about .box .topic,
    .about .box .links,
    .about .box .langs {
        font-size: 12px;
    }
    .about .box .langs,
    .about .box .topic {
        margin-left: 15px;
    }
    .about .box1 {
        grid-template-columns: 2fr 5fr 4fr 3fr;
    }
    .skills .box .per {
        width: 90%;
    }
    .hobbies ul {
        grid-template-columns: 1fr;
    }
    .skills .box {
        grid-template-columns: 1fr;
    }
    .btnprt {
        position: absolute;
        left: 50%;
        right: unset;
        transform: translateX(-50%);
    }
    .btnprt2 {
        top: 80px;
    }
}
