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

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-width: 1200px;
    background: #f5f5f5;
    padding: 50px;
}

.container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    min-width: 1000px;
    /* min-height: 1000px; */
    background: #fff;
    margin: 50px;
    box-shadow: 0 35px 55px rgba(0, 0, 0, 0.1);
    border-radius: 40px;
    overflow: hidden;
}

.top {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #ef745c, #34073d);
    padding: 50px;
}

h2 {
    font-size: 3em;
    color: #fff;
    text-transform: uppercase;
    line-height: 0.7em;
    letter-spacing: 0.1em;
}

h2 span {
    font-size: 0.4em;
    font-weight: 300;
}

.group {
    position: relative;
    display: grid;
    gap: 40px;
    width: 100%;
    grid-template-columns: 2fr 3fr;
    margin-top: 20px;
}

.group .imgBox {
    position: relative;
    width: 100%;
}

.group .imgBox img {
    width: 100%;
    height: 328px;
    border-radius: 20px;
    object-fit: cover;
}

.group p {
    color: #fff;
    font-size: 1.05em;
}

.bottom {
    position: relative;
    display: grid;
    margin: 50px 50px 0;
    gap: 40px;
    grid-template-columns: 2fr 3fr;
}

.bottom .left_side {
    margin-top: 50px;
}

h4 {
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #fff;
    background: #ef745c;
    font-weight: 600;
    padding: 0 15px;
    margin-top: 40px;
    display: inline-flex;
    border-radius: 20px;
}

.contactInfo {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.contactInfo li {
    list-style: none;
    display: flex;
    gap: 10px;
}

.contactInfo li .icon {
    color: #ef745c;
}

.contactInfo li .text {
    color: #555;
    transition: 0.3s;
    text-decoration: none;
}

.contactInfo li .text:hover {
    word-spacing: 1px;
}

.skills {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.skills .skillsBox {
    position: relative;
    display: grid;
    align-items: center;
    grid-template-columns: 2fr 3fr;
}

.skills .skillsBox p {
    color: #333;
}

.skills .skillsBox .value {
    position: relative;
    width: 100%;
    height: 10px;
    background: #eee;
    border-radius: 10px;
}

.skills .skillsBox .value::before {
    content: '';
    position: absolute;
    width: var(--i);
    height: 100%;
    border-radius: 10px;
    background: #ef745c;
}

.right_side {
    position: relative;
}

.right_side::before {
    content: '';
    width: 1px;
    height: 80%;
    position: absolute;
    top: 55px;
    left: -20px;
    background: #55555554;
}

.adjustMargin {
    margin-top: -10px;
}

.edu_group {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.edu_groupBox {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 3fr;
}

.edu_groupBox p:nth-child(1) {
    font-weight: 500;
}

.edu_groupBox b {
    font-weight: 600;
    color: #ef745c;
}

.edu_groupBox b span {
    position: relative;
    top: -2px;
    font-size: 0.8em;
    color: #666;
}
.hobbies,
.projects {
    padding: 0 50px 50px;
}
.hobbies ul {
    display: flex;
    margin-top: 30px;
    gap: 20px;
    justify-content: space-between;
}
.hobbies ul li {
    list-style: none;
    color: #333;
    width: calc(100% / 6);
    padding: 20px 0;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: #f3f3f3;
    text-align: center;
    /* cursor: pointer; */
    transition: 1s;
}
.hobbies ul li:hover {
    transition: 0s;
    background: #ef745c;
    color: #fff;
}
.hobbies ul li i {
    font-size: 2em;
}
.text-white {
    color: #fff;
}
.projects-inner{
    margin-top: 30px;
    /* columns: 3; */
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.projects-inner .single-project{
    background: #eee;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 280px;
    width: 280px;
}
.projects-inner .single-project img{
    width: 100%;
    transition: 0.3s;
}
.projects-inner .single-project .img-layer{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #0000004e;
    z-index: 12;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.projects-inner .single-project .img-layer h6{
    color: #fff;
    font-size: 26px;
}
.projects-inner .single-project .img-layer i{
    color: #fff;
    font-size: 40px;
    rotate: -45deg;
    transition: 0.3s;
}
.projects-inner .single-project:hover img{
    scale: 1.1;
}
.projects-inner .single-project .img-layer i:hover{
    scale: 1.1;
}
/* Popup */
.popup {
    width: 600px;
    background: #000000;
    position: absolute;
    z-index: 1000;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
}
.popup .close-pop {
    position: absolute;
    top: 18px;
    right: 18px;
    border-radius: 20px;
    background: transparent;
    border: 0;
    outline: none;
    filter: grayscale(1);
    cursor: pointer;
}
.open-popup {
    display: block;
    visibility: visible;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
}
.popup h3 {
    font-size: 30px;
}
.contact-inputs {
    width: 400px;
    height: 40px;
    border: 0;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: #666;
    margin-top: 10px;
    border-radius: 30px;
}
.contact-left textarea {
    height: 140px;
    padding-top: 15px;
    resize: none;
    border-radius: 30px;
}
.contact-inputs:focus {
    border: 2px solid #ef745c;
}
.contact-inputs::placeholder {
    color: #a9a9a9;
}
.contact-left button {
    width: 400px;
    display: block;
    margin: auto;
    padding: 15px 38px;
    color: #fff;
    border: 0;
    border-radius: 30px;
    background: linear-gradient(45deg, #ef745c, #34073d);
    cursor: pointer;
    transition: 0.3s all ease-in;
}
.contact-left button:hover {
    background: linear-gradient(45deg, #34073d, #ef745c);
}
/* Fullscreen overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}
#overlay.active {
    display: block;
}