@import url("https://fonts.googleapis.com/css2?family=Pacifico&family=Poppins:wght@200;400;600;700&display=swap");

:root {
    --text-primary: #e1b12c;
    --text-black-900: #302e4d;
    --text-black-700: #504e70;

    --ff-primary: "Poppins", sans-serif;

    --bg-900: #f2f2fc;
    --bg-100: #fdf9ff;
    --bg-50: #e8dfec;
}

body.dark {
    --bg-900: #151515;
    --bg-100: #222222;
    --bg-50: #393939;
    --text-black-900: #ffffff;
    --text-black-700: #e9e9e9;
}

* {
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-100);
    font-family: var(--ff-primary);
    font-size: 16px;
    line-height: 1.5;
    transition: all 0.5s ease;
}

.padd {
    padding: 0 30px;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.row {
    display: flex;
    position: relative;
    width: 100%;
}

.btn {
    font-size: 16px;
    font-weight: 500;
    padding: 12px 35px;
    background: var(--text-primary);
    color: white;
    border-radius: 30px;
    display: inline-block;
    white-space: nowrap;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    transform: scale(1.10);
}

.section-title {
    width: 100%;
    display: flex;
    justify-content: center;
}

.section-title h2 {
    font-size: 30px;
    margin: 15px 0;
    color: var(--text-black-900);
}

.title {
    display: flex;
    justify-content: start;
    margin-bottom: 25px;
    font-size: 18px;
    color: var(--text-black-900);
}

.shadow-dark {
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

.row>*+* {
    margin-left: 40px;
}

ul li {
    list-style: none;
}

/*-----------SIDEBAR----------*/
.sidebar {
    z-index: 8;
    position: fixed;
    background: var(--text-primary);
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding-left: 50px;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.sidebar-open {
    transform: translateX(0);
}

.sidebar .settings .s-icon {
    height: 40px;
    width: 40px;
    text-align: center;
    font-size: 20px;
    background: white;
    margin-right: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.sidebar .settings .s-icon i {
    line-height: 40px;
    color: #302e4d;
}

.sidebar ul li {
    position: relative;
}

.sidebar ul:hover li a {
    color: #e9e9e9;
}

.sidebar ul li a {
    color: white;
    font-weight: 900;
    font-size: 50px;
}

.sidebar ul li:hover a {
    color: white;
}

.sidebar ul li p {
    color: white;
    text-align: start;
    position: absolute;
    top: 50%;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.sidebar ul li:hover p {
    transform: translateX(300px);
    opacity: 1;
}

/*-----------NAVBAR-----------*/

.nav {
    margin-top: 20px;
    width: 100%;
    position: fixed;
    display: flex;
    z-index: 10;
}

.nav .brand {
    flex-grow: 1;
}

.nav .brand a {
    color: var(--text-black-900);
}

.nav .brand a span {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 900;
}

.clr-white {
    background: #fdf9ff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav .sidebar-toggler {
    display: flex;
    height: 30px;
    width: 30px;
    position: fixed;
    top: 20px;
    right: 60px;
    cursor: pointer;
    border: 1px solid var(--bg-50);
    background: var(--bg-100);
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.nav .sidebar-toggler span {
    height: 2px;
    width: 18px;
    background: var(--bg-100);
    display: inline-block;
    position: relative;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.nav .sidebar-toggler.open span {
    background-color: transparent;
}

.nav .sidebar-toggler span::after {
    content: '';
    height: 2px;
    width: 18px;
    background: var(--text-primary);
    position: absolute;
    top: 6px;
    left: 0;
    transition: all 0.3s ease;
}

.nav .sidebar-toggler span::before {
    content: '';
    height: 2px;
    width: 18px;
    background: var(--text-primary);
    position: absolute;
    top: -6px;
    left: 0;
    transition: all 0.3s ease;
}

.nav .sidebar-toggler.open span::before {
    transform: rotate(45deg);
    top: 0;
}

.nav .sidebar-toggler.open span::after {
    transform: rotate(-45deg);
    top: 0;
}

/*-------------HOME SECTION-----------------*/

.home {
    padding-top: 50px;
    width: 95%;
    margin: auto;
    display: flex;
    justify-content: center;
}

.home .home-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-basis: 60%;
}

h1.intro-name {
    font-size: 48px;
    margin: 15px 0;
    color: var(--text-black-900);
}

h1.intro-name span {
    font-family: 'Pacifico', cursive;
    color: var(--text-primary);
    font-size: 50px;
    font-weight: 700;
}

.home .home-info .intro-profession {
    color: var(--text-black-900);
    font-size: 35px;
    margin: 15px 0;
}

.home .home-info p {
    color: var(--text-black-900);
    font-size: 20px;
}

.typing {
    color: var(--text-primary);
}

.home .home-info a {
    margin-top: 40px;
}

.home .home-img {
    flex: 0 0 35%;
    max-width: 40%;
    text-align: center;
    position: relative;
}

.home .home-img img {
    height: 400px;
    margin: auto;
    border-radius: 5px;
}

/*-------------ABOUT------------*/

.about {
    padding-top: 50px;
    width: 95%;
    margin: auto;
}

.about .about-content .about-text p {
    font-size: 16px;
    color: var(--text-black-700);
    width: 60%;
    text-align: center;
    margin: 15px auto;

}

.about .about-content .personal-info {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    flex-basis: 60%;
}


.about .about-content .personal-info .personal-info-items {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
}

.about .about-content .personal-info .personal-info-items .personal-info-item {
    flex: 0 0 50%;
    max-width: 50%;
    font-weight: 600;
    padding: 10px 0;
    font-size: 16px;
    color: var(--text-black-900);
    border-bottom: 1px solid var(--bg-50);
}

.about .about-content .personal-info .hire-me-btn {
    margin-top: 40px;
}


.about .about-content .personal-skills {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    flex-basis: 40%;
}

.about .about-content .personal-skills .personal-skill-items {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
}

.about .about-content .personal-skills .personal-skill-items .personal-skill-item {
    display: flex;
    border-radius: 10px;
    background: var(--text-primary);
    padding: 0 8px;
    margin-right: 10px;
    margin-top: 10px;
}

.about .about-content .personal-skills .personal-skill-items .personal-skill-item h5 {
    line-height: 40px;
    font-weight: 600;
    font-size: 16px;
    color: white;
    text-transform: capitalize;
}

.about .about-content .experience {
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 30px;
}

.about .about-content .experience .timeline-box {
    flex: 0 0 100%;
    max-width: 95%;
}

.about .about-content .timeline-box .timeline {
    background: var(--bg-100);
    padding: 30px 15px;
    border: 1px solid var(--bg-50);
    border-radius: 10px;
    width: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.about .about-content .timeline-box .timeline .timeline-item {
    position: relative;
    padding-left: 36px;
    padding-bottom: 50px;
}

.about .about-content .timeline .timeline-item:last-child {
    padding-bottom: 0;
}

.about .about-content .timeline .timeline-item::before {
    content: '';
    width: 1px;
    position: absolute;
    height: 100%;
    left: 7px;
    top: 0;
    background: var(--text-primary);
}

.about .about-content .timeline .timeline-item .circle-dot {
    position: absolute;
    left: 0;
    top: 0;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: var(--text-primary);
}

.about .about-content .timeline .timeline-date {
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-black-700);
}

.about .about-content .timeline .timeline-date .fa {
    margin-right: 10px;
}

.about .about-content .timeline .timeline-title {
    color: var(--text-black-900);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
}

.about .about-content .timeline .timeline-text {
    font-size: 16px;
    text-align: justify;
    color: var(--text-black-700);
}

.about .about-content .timeline .timeline-place {
    padding-top: 10px;
    font-size: 16px;
    text-align: justify;
    color: var(--text-black-700);
}

.about .about-content .education {
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 30px;
}

/*---------------SERVICE----------------*/

.service {
    padding-top: 50px;
    width: 95%;
    margin: auto;
}

.service .service-content .service-text {
    width: 100%;
}

.service .service-content .service-text p {
    font-size: 30px;
    color: var(--text-black-700);
    width: 40%;
    text-align: center;
    margin: 15px auto;
}

.service .service-content .service-items {
    display: flex;
    gap: 20px;
    margin-top: 50px;
}

.service .service-content .service-items .service-item {
    margin-bottom: 30px;
    flex: 0 0 33.33%;
    max-width: 33.33%;
}

.service .service-item .service-item-inner {
    background: var(--bg-100);
    border: 1px solid var(--bg-50);
    border-radius: 10px;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.service .service-item .service-item-inner:hover {
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

.service .service-item .service-item-inner .icon {
    height: 90px;
    width: 90px;
    border-radius: 50%;
    margin: 0 auto 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.service .service-item .service-item-inner .icon .fa {
    font-size: 40px;
    line-height: 90px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.service .service-item .service-item-inner:hover .icon {
    background: var(--text-primary);
}

.service .service-item .service-item-inner:hover .fa {
    font-size: 50px;
    color: white;
}

.service .service-item .service-item-inner h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-black-900);
    text-transform: capitalize;
}

.service .service-item .service-item-inner p {
    font-size: 16px;
    color: var(--text-black-700);
}

/*--------------PROJECT--------------*/

.project {
    padding-top: 50px;
    width: 95%;
    margin: auto;
}

.project .project-content .project-text {
    width: 100%;
}

.project .project-content .project-text p {
    font-size: 30px;
    color: var(--text-black-700);
    width: 80%;
    text-align: center;
    margin: 15px auto;
}

.project .project-content .project-items {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
}

.project .project-content .project-items .project-item {
    flex-basis: 50%;
    margin-top: 30px;
}

.project .project-item-inner {
    border: 6px solid var(--bg-black-100);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding: 10px 15px;
    height: 100%;
}

.project .project-item-inner .project-img img {
    width: 100%;
    display: block;
    margin-bottom: 15px;
}

.project .project-item-inner h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-black-900);
    text-transform: capitalize;
}

.project .project-item-inner p {
    font-size: 16px;
    color: var(--text-black-700);
    line-height: 25px;
    text-align: justify;
}

.project .project-item-inner .project-details {
    display: flex;
    gap: 20px;
}

.project .project-item-inner .project-details .technology {
    padding-top: 10px;
    flex-basis: 70%;
}

.project .project-item-inner .project-details .technology ul {
    display: flex;
    flex-wrap: wrap;
}

.project .project-item-inner .project-details .technology ul li {
    list-style: none;
    flex-basis: 33.33%;
}

.project .project-item-inner .project-details .date {
    padding-top: 10px;
    flex-basis: 30%;
}

/*---------------CONTACT---------------*/

.contact {
    padding-top: 50px;
    width: 95%;
    margin: auto;
}

.contact .contact-content .question {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-black-900);
}

.contact .contact-content .question h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 500;
}

.contact .contact-content .question h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact .contact-content .help {
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 50px;
    font-weight: 100;
    margin-top: 30px;
    color: var(--text-black-900);
}

.contact .contact-content .contact-form .row {
    width: 100%;
}

.contact .contact-content .contact-form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.contact .contact-content .contact-form .form-group {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact .contact-form .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.contact .contact-form .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.contact .contact-content .contact-form .form-control {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background: var(--bg-100);
    border: 1px solid var(--bg-50);
    padding: 10px 25px;
    font-size: 16px;
    color: var(--text-black-700);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contact .contact-content .contact-form textarea.form-control {
    height: 150px;
}

.contact .contact-form .form-control:focus {
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

.contact .contact-info-item {
    flex-basis: 33.33%;
    max-width: 33.33%;
    text-align: center;
    margin-bottom: 30px;
}

.contact .contact-info-item .icon {
    display: inline-block;
}

.contact .contact-info-item .icon .fa {
    font-size: 25px;
    color: var(--text-primary);
}

.contact .contact-info-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-black-900);
    text-transform: capitalize;
    margin: 15px 0 5px;
}

.contact .contact-info-item p {
    font-size: 16px;
    line-height: 25px;
    color: var(--text-black-700);
    font-weight: 400;
}

/*-------------FOOTER--------------*/

footer {
    font-size: 12px;
    color: var(--text-black-700);
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width:1000px) {

    .home .home-info,
    .contact .contact-form .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home .home-img {
        display: none;
    }

    .project .project-item-inner .project-details .technology ul li {
        list-style: none;
        flex-basis: 50%;
    }

    .sidebar {
        width: 60%;
    }

    .about .about-content .personal-info .personal-info-items .personal-info-item span {
        display: block;
        margin-left: 0;
    }

    .service .service-content .service-text p {
        width: 90%;
    }

    .service .service-content .service-items {
        justify-content: center;
        flex-wrap: wrap;
    }

    .service .service-content .service-items .service-item {
        flex: 0 0 48%;
        max-width: 48%;
    }


}

@media (max-width:800px) {

    .row>*+* {
        margin-left: 0;
    }

    .row {
        flex-wrap: wrap;
    }

    .nav .brand a {
        font-size: 12px;
    }

    .nav .brand a span {
        font-size: 12px;
    }

    .sidebar {
        align-items: flex-end;
        width: 100%;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .sidebar ul li {
        margin-right: 20px;
        text-align: end;

    }

    .sidebar ul li a {
        font-size: 35px;
        text-align: end;
    }

    h1.intro-name {
        font-size: 28px;
    }

    h1.intro-name span {
        font-size: 30px;
    }

    .home .home-info .intro-profession {
        font-size: 25px;
    }

    .home .home-info p {
        font-size: 20px;
    }

    .about .about-content .about-text p {
        width: 90%;
    }

        .contact .contact-info-item,
    .about .about-content .personal-info {
        flex-basis: 100%;
        max-width: 100%;
    }

    .about .about-content .personal-skills {
        flex-basis: 100%;
        max-width: 100%;
    }

    .about .about-content .experience {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .about .about-content .education {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .service .service-content .service-items .service-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .project .project-content .project-items .project-item {
        flex-basis: 100%;
        max-width: 100%;
    }

    .project .project-item-inner .project-details .technology ul li {
        flex-basis: 100%;
    }

    .contact .contact-content .question h3 {
        font-size: 18px;
    }

    .contact .contact-content .help p {
        font-size: 18px;
    }

    .sidebar ul li p {
        text-align: end;
        position: relative;
        opacity: 1;
    }

    .sidebar ul li:hover p {
        transform: translateX(0);
    }
}

@media (max-width:500px) {
    h1.intro-name {
        font-size: 20px;
    }

    h1.intro-name span {
        font-size: 20px;
    }

    .home .home-info .intro-profession {
        font-size: 18px;
    }

    .home .home-info p {
        font-size: 16px;
    }
}