@import 'utilities.css';

:root {
    --primary: #3DCFD3;
    --dark: #161616;
    --pure: #ffffff;
    --ternary: #898989;
    --light: #f2f2f2;
    --secondary: #070606;
}

.seo {
    display: none;
}

html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    z-index: 1;
    margin-top: 5rem;
}

body {
    font-family: 'Ibarra Real Nova', serif;
}

html {
    scroll-behavior: smooth;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    /* color: greenyellow; */
    text-decoration: none;
}

header {
    background: var(--dark);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 70% 88%, 0 100%);
}

.container {
    max-width: 1152px;
    padding: 0 15px;
    margin: 0 auto;
}

.image-slider {
    position: relative;
    width: 100%;
    max-width: 450px;
    /* Adjust to your desired width */
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    padding-bottom: 2rem;
    /* Optional: Add rounded corners */
}

.slides {
    display: flex;
    transition: transform 0.7s ease-in-out;
}

.slides img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    /* Match the container's corners */
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1152px;
    }
}

#sj {
    display: none;
}

.flex-1 h1 {
    font-family: 'Ibarra Real Nova', serif, 'lato';
}

nav .left a {
    color: var(--pure);
    text-decoration: none;
    margin-right: 7rem;
    font-size: 25px;
    transition: all 0.3s ease;

}

nav .left a:hover {
    color: var(--primary);
}

nav {
    padding: 0rem 0 0rem 0;
    position: fixed;
    z-index: 1;
    background: #000000;
    width: 100%;
    margin-top: -5.3rem;
}

nav .branding {
    margin-right: 0rem;
    margin-left: 3rem;
    margin-top: 0.35rem;
}

nav .right {
    margin-right: 6rem;
}


.hero {
    padding: 1rem 0 3rem 0;
}

.hero .right {
    color: var(--pure);
}

.hero .right h1 {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: -0.5rem;
    font-weight: 160;
    font-family: 'Ibarra Real Nova', serif, 'lato';
    text-align: center;
}

.hero .right h3 {
    font-size: 2rem;
    font-weight: 100;
    font-family: 'Ibarra Real Nova', serif, 'lato';
    margin-bottom: 2rem;
    color: #898989;
    text-align: center;
}


.hero .right p {
    line-height: 1;
    margin-bottom: 2rem;
    font-size: 22px;
    margin-left: 5rem;
}

.hero .right {
    margin-top: -3rem;
}

section {
    padding: 7rem 0;
}

section.about .about-me-image {
    height: 550px;
    margin-left: 5rem;
}

section.about h1 {
    margin-bottom: 4rem;
    font-size: 3rem;
    font-family: 'Ibarra Real Nova', serif;
    text-align: center;
}

section.about h1 span {
    color: var(--primary);
}

section.about h3 {
    font-size: 1.7rem;
    margin-bottom: 0.1rem;
    margin-top: 8rem;
    font-weight: 540;
    margin-top: 6rem;
}

section.about h4 {
    font-family: cookie;
    font-size: 1.9rem;
    margin-bottom: 0.2rem;
    font-weight: 400;
    margin-top: 2.6rem;
}

section.about p {
    font-size: 1rem;
    font-family: PT serif;
}

section.about .social a {
    margin-right: 0.45rem;
}

.section-heading {
    color: var(--secondary);
    text-align: center;
    margin-bottom: 0.6rem;
    font-family: 'Times New Roman', Times, serif;
    font-size: 3rem;

}

.section-heading+p {
    color: var(--ternary);
    font-family: lato;
    margin-bottom: 8rem;
    text-align: center;
}

.section-heading span {
    color: var(--primary);
}

section.services .card-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 2rem;
    grid-row-gap: 6rem;

}

section.services {
    background: var(--light);
    clip-path: polygon(0 3%, 67% 0, 100% 3%, 100% 100%, 0 100%);
    /* clip-path: polygon(0 0, 10% 4%, 20% 0%, 30% 4%, 40% 0%, 50% 4%, 60% 0%, 70% 4%, 80% 0%, 90% 4%, 100% 0, 100% 100%, 0 100%); */
}

section.services .card-wrapper .card {
    background: var(--pure);
    padding: 3rem 1rem 2rem 1rem;
    position: relative;
    padding-top: 6rem;
    text-align: center;
    transition: all 0.3s ease;
}

section.services .card-wrapper .card img {
    position: absolute;
    top: -3.5rem;
    left: 50%;
    transform: translateX(-50%);
}

section.services .card-wrapper .card h2 {
    font-size: 1.5rem;
    font-weight: 550;
    margin-bottom: 0rem;
    margin-top: -1.8rem;
}



section.services .card-wrapper .card h3 {
    color: #4d4d4d;
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

section.services .card-wrapper .card h4 {
    color: #6e6e6e;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

section.services .card-wrapper .card p {
    font-family: lato;
    color: #585656;
}

section.services .card-wrapper .card li {
    text-align: left;
}

section.services .card-wrapper .card:hover {
    background: var(--secondary);
}

section.services .card-wrapper .card:hover h2 {
    color: var(--pure);
}

section.services .card-wrapper .card:hover h3 {
    color: #c4c1c1;
}

section.services .card-wrapper .card:hover h4 {
    color: #a2a2a2;
}

section.services .card-wrapper .card:hover li {
    color: #a8a8a8;
}

/* section.services .section-heading, */
section.services .para {
    display: none;
}

section.services .section-heading {
    background-color: #ffffff;
    padding: 1rem;
    margin-bottom: 6rem;
}

#critical,
#critical2,
#critical3 {
    margin-top: 4rem;
}

section.blog {
    background: var(--dark);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 67% 96%, 0 100%);
    padding-bottom: 12rem;
}

section.blog .section-heading {
    color: var(--pure);
}

section.blog .card-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2.5rem;

}

section.blog .card-wrapper .card {
    background: var(--pure);
}

section.blog .card-wrapper .card .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.blog .card-wrapper .card img {
    margin: 2rem 2rem 0 2rem;
    width: 500px;
    height: 300px;
}

section.blog .card-wrapper .card .card-content {
    padding-left: 2rem;
}

section.blog .card-wrapper .card h1 {
    font-size: 2.5rem;
    font-family: 'Ibarra Real Nova', serif;
    font-weight: 545;
    text-align: center;
    padding-top: 2rem;
    color: #0b8589;
}

section.blog .card-wrapper .card .edu1 {
    font-family: 'Ibarra Real Nova', serif;
    color: var(--ternary);
    margin-top: 0.8rem;
    margin-bottom: 1rem;
    padding: 1rem;
}

section.blog .card-wrapper .card .edu2 {
    display: none;
}

section.freelancer {
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../Images/camera.png);
    color: var(--pure);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 67% 80%, 0 100%);
    padding-bottom: 14rem;
}

section.freelancer h1 {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

section.freelancer p {
    margin-bottom: 2rem;
    font-family: lato;
    font-size: 1.6rem;
}

section.contact {
    flex-direction: column;
}

section.contact .card-wrapper {
    text-align: center;
}

section.contact .card-wrapper .card img {
    margin-bottom: 0.3rem;
    margin-top: -10rem;
}

section.contact .card-wrapper .card h1 {
    font-family: lato;
    font-weight: 400;
    font-size: 1.4rem;
}

section.contact .card-wrapper .card h6 {
    font-size: 1rem;
    font-family: 'Ibarra Real Nova', serif;
    color: var(--ternary);
}

section.contact .input-wrap {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 1.4rem;
    margin-bottom: 1.4rem;
    margin-top: 5rem;
}

section.contact .input-wrap-2 {
    display: flex;
    flex-direction: column;
}

section.contact .input-wrap-2 input {
    margin-bottom: 1.4rem;
    border: 0.5px solid var(--ternary);
}

section.contact input {
    padding: 0.8rem;
    border: 0.5px solid var(--ternary);

}

section.contact .input-wrap-2 textarea {
    padding: 0.8rem;
    border: 0.5px solid var(--ternary);
    margin-bottom: 1rem;
}

section.contact .btn-wrapper {
    text-align: center;
}

#status {
    width: 90%;
    max-width: 500px;
    text-align: center;
    padding: 10px;
    margin: 0 auto;
    border-radius: 8px;
    margin-top: 20px;
    font-family: 'Ibarra Real Nova', serif, lato;
    font-size: 20px;
}

#status.success {
    background-color: rgb(117, 217, 117);
    animation: status 4s ease forwards;
}

#status.error {
    background-color: red;
    animation: status 4s ease forwards;
}

@keyframes status {
    0% {
        opacity: 1;
        pointer-events: all;
    }

    50% {
        opacity: 0.8;
        pointer-events: all;
    }

    90% {
        opacity: 0.5;
        pointer-events: all;
    }

    100% {
        opacity: 0;
        pointer-events: none;
    }
}

footer {
    background: var(--dark);
    text-align: center;
    padding: 5rem, 0;
}

footer .footer-logo {
    margin-bottom: 2rem;
    margin-top: 3rem;
}

footer .footer-socials a {
    margin-right: 0.5rem;
}

footer .footer-socials {
    margin-bottom: 2rem;
    margin-right: -1rem;
}

footer .copyright {
    color: var(--ternary);
    margin-top: -3rem;
    padding: 3rem;
    font-family: lato;
}

#copy {
    color: var(--primary);
}

.site-main-wrapper {
    position: relative;
}

.mobile-nav ul {
    text-align: center;
    margin-left: 30rem;
}

.hamberger {
    position: fixed;
    top: 29px;
    right: 20px;
    z-index: 11;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

.hamberger img {
    width: 30px;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    background: rgba(224, 213, 213, 0.5);
    width: 100%;
    height: 100%;
    padding: 2rem;
    transform: translateX(-100%);
    transition: all 0.5s ease-in-out;
    text-align: right;
    padding-top: 12.4rem;

}

.open {
    transform: translateX(-60%);
}

.times {
    position: fixed;
    top: 30px;
    right: 30px;
    border: none;
    background: none;
    outline: none;
    cursor: pointer;
}

.times img {
    width: 30px;
}

.mobile-nav ul {
    list-style-type: none;
}

.mobile-nav ul li a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 2rem;
}

/* #resume {
    display: none;
} */

a {
    color: #217679;
}

.progress-wrap {
    width: 100%;
    float: left;
    margin-bottom: 10px;
}

.progress-wrap h3 {
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
    float: left;
    width: 100%;
}

.progress-wrap h3 .name-left {
    float: left;
    /* margin-left: 10rem; */
}

.progress-wrap h3 .value-right {
    float: right;
    /* margin-right: 10rem; */
}

.progress {
    width: 100%;
    float: left;
    height: 5px;
    box-shadow: none;
    display: grid;
    background-color: #d2d2d2;
    /* grid-template-columns: repeat(3, 1fr); */
    /* margin-left: 10rem; */
}

.progress-bar {
    background-color: #2F3C4F;
    height: 5px;
    display: block;
    box-shadow: none;
}

.progress-bar.progress-bar-1 {
    background-color: #3DCFD3 !important;
}

#python {
    margin-top: 0rem;
}

section.bar {
    height: 630px;
    background: var(--pure);
    padding: 5rem 10rem;
}

section.bar h1 {
    margin-bottom: 3rem;
    margin-top: 1rem;
    background: var(--light);
    padding: 1rem;
}

section.bar .progress-wrap {
    display: grid;
    /* grid-template-rows: repeat(2, 1fr); */
}

.bar_left {
    width: 80%;
    transform: translateX(10%);
    /* margin-top: 10rem; */
}

.bar_right {
    width: 80%;
    transform: translateX(10%);
}

#tech {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

footer .chu {
    margin-bottom: -0.2rem;
    margin-right: -0.2rem;
    margin-left: -0.2rem;
}

@media (max-width:1024px) {

    /* header #main-nav{
        display: none;
    }  */
    body {
        margin-top: 4.9rem;
    }

    nav .left a:hover {
        color: var(--primary);
    }

    nav {
        padding-top: 6rem;
        padding-bottom: 0rem;
        margin-left: -1rem;

    }

    nav .left a {
        color: var(--pure);
        text-decoration: none;
        margin-right: 0rem;
        margin-bottom: 2rem;
        font-size: 0px;
        transition: all 0.3s ease;
        line-height: 2rem;

    }

    nav {
        padding: 0rem 0 0rem 0;
        position: fixed;
        z-index: 1;
        background: #000000;
        ;
        width: 120%;
        margin-top: -4.89rem;
    }

    nav .branding {
        margin-right: 0rem;
        margin-left: 3rem;
        margin-top: 0rem;
    }

    nav .right {
        display: none;
    }

    #sj {
        display: block;
        color: #3DCFD3;
        /* background:rgb(193, 178, 158); */
        transform: translateX(30%);
        padding: 0.6rem;
        /* margin-left: 2.8rem; */
        font-family: 'cookie';
        font-size: 2.2rem;
        transition: all 0.3s ease;
    }


    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        font-weight: 600;
        border: 2px solid transparent;
        cursor: pointer;
        text-transform: uppercase;
        transition: all 0.3s ease;
        text-align: center;
    }


    /* .container{
        max-width:1152px;
        padding:15px 0px;
        margin: 0 -15px; 

    } */

    .hamberger {
        display: block;
    }

    .hero .left img {
        width: 400px;
        height: 400px;
        margin-top: -8rem;
    }

    .hero {
        padding-top: 3rem;
    }

    section.about .about-me-image {
        height: 400px;
        padding-left: 5rem;
        margin-right: 5rem;
        margin-left: -5rem;
    }

    section.about h1 {
        margin-bottom: -3rem;
        font-size: 2.4rem;
    }

    section.blog .card-wrapper .card img {
        padding: 0 2rem 0 0;
        margin: 1rem 1rem 0 1rem;
        width: 100%;
        height: 100%;
    }

    section.about .social a {
        margin-right: 0.3rem;
    }

    section.services .card-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width:821px) {
    .hero {
        flex-direction: column;
    }

    header {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 69% 94%, 0 100%);
    }

    header.branding img {
        position: absolute;
        top: 2rem;
        left: 2rem;
    }

    .open {
        transform: translateX(-40%);
    }

    .mobile-nav ul {
        text-align: center;
        margin-left: 10rem;
    }

    section.blog .card-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 3rem;
    }


    section.blog .card-wrapper .card img {
        padding: 0 1rem 0 0;
        margin: 0.5rem 0.5rem 0 0.5rem;
        width: 100%;
        height: 100%;
    }

    .hero .right h1 {
        font-size: 2.7rem;
        color: var(--primary);
        margin-bottom: 0rem;
        font-weight: 160;
        font-family: 'Ibarra Real Nova', serif;
        padding: 3rem 0 0 0;

    }

    .about-inner-wrap {
        flex-direction: column;
    }

    .about .right {
        text-align: center;
        margin-top: 2rem;
    }


    section.about .about-me-image {
        height: 400px;
        padding-left: 5rem;
        margin-right: 5rem;
        margin-left: 0rem;
    }

    section {
        padding: 2rem;
    }

    section.services {
        background: var(--light);
        clip-path: polygon(0 1%, 70% 0.5%, 100% 1%, 100% 100%, 0 100%);
        /* clip-path: polygon(0 0, 10% 1%, 20% 0%, 30% 1%, 40% 0%, 50% 1%, 60% 0%, 70% 1%, 80% 0%, 90% 1%, 100% 0, 100% 100%, 0 100%); */
    }

    section.services .section-heading {
        margin-top: 5rem;
    }

    #por {
        font-size: 1.8rem;
        margin-bottom: 0rem;
        margin-top: -4rem;
    }

    #intern {
        margin-top: 5rem;
        margin-bottom: 2rem;
        font-size: 2rem;
    }

    section.services li {
        font-size: 1rem;
    }

    section.services .card-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    #critical {
        margin-top: 8rem;
    }

    #critical2 {
        margin-top: 8rem;
    }

    #critical3 {
        margin-top: 0;
    }


    section.freelancer {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 67% 90%, 0 100%);
        padding-bottom: 8.5rem;
    }

    section.freelancer h1 {
        font-size: 2.5rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
        margin-top: 3rem;
        color: var(--pure);
    }

    section.freelancer p {
        margin-bottom: 2rem;
        font-family: 'cookie';
        font-size: 2rem;
    }

    section.blog {
        background: var(--dark);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 70% 99%, 0 100%);
        padding-bottom: 8rem;
    }

    section.blog .card-wrapper .card h1 {
        font-size: 1.7rem;
        margin: -1rem 1rem;
    }

    section.blog .section-heading {
        margin-top: 4rem;
        font-size: 2.4rem;
    }

    section.blog .section-heading+p {
        margin-bottom: 4rem;
    }

    section.contact .input-wrap {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 1.4rem;
        margin-bottom: 1.4rem;
        margin-top: 4rem;
    }

    section.contact .section-heading {
        font-size: 2.4rem;
    }

    /* #resume {
        display: block;
        margin-left: 6rem;
    } */

    /* #cv {
        display: none;
    } */

    .hero .right p {
        font-size: 18px;
        margin: 0rem;
    }


    .progress-wrap {
        width: 100%;
        float: left;
        margin-bottom: 10px;
    }

    .progress-wrap h3 {
        font-size: 16px;
        display: block;
        margin-bottom: 10px;
        float: left;
        width: 100%;
    }

    .progress-wrap h3 .name-left {
        float: left;
        /* margin-left: 10rem; */
    }

    .progress-wrap h3 .value-right {
        float: right;
        /* margin-right: 10rem; */
    }

    .progress {
        width: 100%;
        float: left;
        height: 5px;
        box-shadow: none;
        display: grid;
        /* grid-template-columns: repeat(3, 1fr); */
        /* margin-left: 10rem; */
    }

    .progress-bar {
        background-color: #2F3C4F;
        height: 5px;
        display: block;
        box-shadow: none;
    }

    #python {
        margin-top: 0rem;
    }

    section.bar {
        height: 950px;
        background: var(--pure);
        margin-top: 2rem;
        padding: 2rem;
    }

    section.bar h1 {
        margin-bottom: 3rem;
        margin-top: 2rem;
        background: var(--light);
        padding: 1rem 0rem;
        font-size: 2.5rem;
    }

    section.bar .progress-wrap {
        display: grid;
        /* grid-template-rows: repeat(2, 1fr); */
    }

    #tech {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .bar_right,
    .bar_left {
        width: 100%;
        transform: translateX(0%);
    }

    #home h1 {
        padding: 3rem 0rem 0rem 0rem;
    }

}

@media (max-width:680px) {
    section.services .card-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    section.blog .card-wrapper {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    section.blog .card-wrapper .card .edu2 {
        font-family: 'Ibarra Real Nova', serif;
        color: var(--ternary);
        margin-top: 0.8rem;
        margin-bottom: 1rem;
        padding: 1rem;
        display: block;
    }

    section.blog .card-wrapper .card .edu1 {
        display: none;
    }

    #critical2 {
        margin-top: 0rem;
    }
}

@media (max-width:363px) {
    .hero .right h1 {
        font-size: 2rem;
    }

    .hero .right h3 {
        font-size: 1.5rem;
    }

    section.blog .card-wrapper .card h1 {
        font-size: 1.5rem;
    }
}

@media (max-width:385px) {
    section.about .image {
        height: 35px;
        width: 35px;
    }

    section.about h4 {
        font-size: 1.68rem;
    }
}