* {
    font-family: 'Poppins', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: #080808;
    color: #fff;
}

#home-section {
    height: 100vh;
    background-image: url(/images/personal/personal_full_img.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right 20% top 20px;
}

nav .fa-bars {
    display: none;
}
nav .fa-xmark {
    display: none;
}

/* section layout */
#services-section, 
#portfolio-section, 
#contact-section {
    padding: 80px 5vw;
}

/* home-section */
/*Header nav*/
#header {
    width: 100%;
    /* position: fixed; */
}
#header .container {
    padding: 10px 5%;
    background-color: black;
}
.header_nav, 
.header_nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.header_nav {
    justify-content: space-between;
}

.header_nav ul li {
    display: inline-block;
    list-style: none;
    padding: 15px 20px;   
    font-size: 20px;
}
.header_nav ul li a {
    color: #fff;
    text-decoration: none;
    position: relative;
}
.header_nav ul li a:after {
    content: '';
    width: 0;
    height: 3px;
    background-color: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 500ms;
}
.header_nav ul li a:hover:after {
    width: 100%;
}

.nav_logo {
    height: 80px;
}

/*header text*/
#header-text {
    padding: 30vh 6vw;
    font-size: 40px;
    font-weight: 900;
}

#header-text p:first-child {
    font-size: 20px;
    margin-bottom: 2vh;
    font-weight: 400;
}

#header-text span {
    color: #ff004f;
}

/* about section */
#about-section {
    padding: 80px 5vw;
    color: #ababab;
}

#about-section .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: 80%;
}

.about-col-1 {
    flex-basis: 35%;
}
.about-col-1 img {
    width: 100%;
    border-radius: 15px;
    height: 70vh;
    object-fit: cover;
}

.about-col-2 {
    flex-basis: 60%;
}
.about-subtitle {
    font-size: 60px;
    font-weight: 700;
    color: white;
}
.about-text .emp-text {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.756);
}

.tabs-title {
    display: flex;
    margin: 20px 0 40px;
}
.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background-color: #ff004f;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 500ms ease-in-out;
}
.tab-links:hover::after {
    background-color: aqua;
    width: 100%;
}
.tab-links.active-link::after {
    width: 50%;
}

.tab-contents ul li {
    margin-bottom: 2vh;
    line-height: 2.5vh;
    list-style: none;
}
.tab-contents ul li span {
    font-weight: 700;
    color: #ff0051ce;
    margin-bottom: 5px;
}

.tab-contents {
    display: none;
    min-height: 30vh;
}
.active-tab {
    display: block;
}

/* ----------services------- */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.services-list div {
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 15px;
    transition: background-color 0.5s, transform 0.5s;
}
.services-list div:hover {
    background-color: #ff004f;
    transform: translateY(-10px);
}
.services-list div i {
    font-size: 50px;
    margin-bottom: 30px;
}
.section-title {
    font-weight: 700;
    font-size: 70px;
}
.services-subtitle {
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 15px;
    min-height: 7vh;
    align-content: center;
}
.services-list div a {
    text-decoration: none;
    color: white;
    font-size: 12px;
}
.services-text {
    margin-bottom: 20px;
}

/* ------portfolio------ */
.project img {
    height: 30vh;
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
    display: block;
    transition: transform 0.5s;
}
.project:hover img {
    transform: scale(1.1);
}
.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.project {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.layer {
    width: 100%;
    height:0;
    background: linear-gradient(rgba(0,0,0,0.6), #ff004f);
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    transition: height 0.5s;
}
.project:hover .layer{
    height: 100%;
}
.layer-title {
    font-weight: 700;
    margin-bottom: 20px;
}
.layer a{
    color: #ff004f;
    text-decoration: none;
    font-size: 20px;
    line-height: 60px;
    background-color: #fff;
    width: 60px;
    /* height: 60px; */
    border-radius: 50%;
}

.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}
.btn:hover {
    background: #ff004f;
}


/* -------contact------ */
#contact-section .row {
    display: flex;
    flex-direction: row;
}
.contact-left {
    flex-basis: 35%;
}
.contact-right {
    flex-basis: 60%;
}

.contact-title {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 30px;
}
.phone-contact {
    margin: 10px 0 30px;
}
.contact-left p {
    display: flex;
    align-items: center;
}
.contact-left p i {
    color: #ff004f;
    margin-right: 15px;
    font-size: 30px;
}
.social-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}
.linkedin-icon {
    height: 40px;
    width: 40px;
}
.github-icon {
    height: 30px;
    width: 30px;
}
.social-icons a {
    transition: transform 500ms;
}
.social-icons a:hover {
    transform: translateY(-5px);
}
.download-btn {
    display: inline-block;
    background-color: #ff004f;
    transition: background-color 500ms, color 500ms;
}
.download-btn:hover {
    background-color: #fff;
    color: #ff004f;
}
.submit-btn {
    background: #ff004f;
    cursor: pointer;
    font-size: 18px;
    margin: 20px auto 10px;
}
.contact-right form {
    width: 100%;
    background: rgba(128, 128, 128, 0.539);
    padding: 20px;
    border-radius: 10px;
}
form input, form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}

/* -----footer---- */
.copyright-footer {
    place-items: center;
    padding: 20px;
    width: 100%;
    background: #262626;
}

/* -----responsive----- */
@media only screen and (max-width: 768px){
    #contact-section .row {
        gap: 20px;
    }
}

@media only screen and (max-width: 425px){
    .header_nav ul {
        flex-direction: column;
        position: fixed;
        right: -200px;
        top: 0;
        background: #ff004f;
        width: 30vw;
        height: 100vh;
        padding-top: 100px;
        z-index: 2;
        transition: right 0.5s;
    }

    #contact-section .row {
        flex-direction: column;
    }

    nav .fa-bars {
        display: block;
        font-size: 30px;
        position: absolute;
        right: 5vw;
        top: 4vh;
    }
    nav .fa-xmark {
        display: block;
        font-size: 35px;
        position: absolute;
        right: 12vw;
        top: 5vh;
    }

    #home-section {
        background-size: auto;
        background-position: 125px 30px;
    }
    
    #about-section {
        padding-top: 0;
    }

    .about-subtitle {
        font-size: 40px;
    }
    .about-col-1, 
    .about-col-2 {
        flex-basis: 100%;
    }
    .about-col-1 {
        margin-bottom: 30px;
    }
    .about-col-2 {
        font-size: 14px;
    }
    .tab-links {
        font-size: 16px;
        margin-right: 20px;
    }

    #services-section {
        padding-top: 40px;
    }
    .section-title {
        font-size: 40px;
    }

}
