html {
    scroll-behavior: smooth;
    scroll-padding-top: 15px;

}
@font-face {
    font-family: Montserrat;
    src: url("../assets/m.ttf");
}
@font-face {
    font-family: IBM;
    src: url("../assets/IBM.ttf");
}
@font-face {
    font-family: roboto;
    src: url("../assets/roboto.ttf");
}
body {
    max-width: 2400px;
    min-width: 320px;
    font-family: roboto;
    min-height: 100vh;
    margin: auto;
}

.section {
    padding-bottom: 5rem;
}

.hero-parent-container {
    min-height: 100vh;
}
.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-left: 1rem;
    padding-right: 1rem;

}
.hero-description-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 15rem;
    justify-content: space-between;
}
.hero-desc-cont-one {
    align-items: end;
}
.hero-desc-cont-two {
    align-items: start;
}
/* .description-one {
    width: 100%;
} */
.description-two {
    padding-bottom: 5rem;
}
.mobile-description-two {
    width: 100%;
    display: none;
}
.description-three {
    width: 100%;
    padding-top: 7rem;
}
.description-four {
    width: 100%;
}
.image-container {
    display: flex;
    justify-content: center;

}
.image-placeholder {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background-color: gray;
    animation-name: name-animation;
    animation-duration: 2s;
    overflow: hidden;
    object-fit: contain;
}
.profile-pic {
    width: 100%;
    height: 100%;
}
.name {
    font-size: 4rem;
    animation-name: name-animation;
    animation-duration: 2s;
    font-family: Montserrat;
}

.description {
    font-size: 1.25rem;
    position: relative;
}
.description-one > .description {
    animation-name: text-animation;
    animation-duration: 1s;
    animation-delay: 0.5s;
    animation-fill-mode: backwards;
}

.description-three > .description {
    animation-name: text-animation;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-fill-mode: backwards;
}

.description-two > .description{
    animation-name: text-animation;
    animation-duration: 1s;
    animation-delay: 1.5s;
    animation-fill-mode: backwards;
}

.description-four > .description{
    animation-name: text-animation;
    animation-duration: 1s;
    animation-delay: 2s;
    animation-fill-mode: backwards;
}

.mobile-description-two > .description {
    animation-name: text-animation;
    animation-duration: 1s;
    animation-delay: 1.5s;
    animation-fill-mode: backwards;
}

.subtitle {
    font-size: 2.5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    font-family: montserrat;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.subtitle-img {
    height: 40px;
}

/* Projects Section */
.projects-parent-container {
    background-color: #f4f4f4;
    
}
.projects-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    justify-content: center;
    row-gap: 5rem;
    overflow-x: hidden;

}

.project-card-container:nth-child(even) {
    transform: translateY(15rem);
}



.project-card-container {
    width: 900px;
    background-color: white;
    border: 1px solid black;
    padding: 1rem;
    border-radius: 20px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 1rem;
    padding-bottom: 1rem;
    
}

@keyframes project-card-animation-right {
    from {
        right: -100%;
        opacity: 0;
    }
    to {
        right: 0%;
        opacity: 1;
    }
}


@keyframes project-card-animation-left {
    from {
        left: -100%;
        opacity: 0;
    }
    to {
        left: 0%;
        opacity: 1;
    }
}

.project-right {
    right: 0%;
}

.project-left {
    left: 0%;
}
.project-show {
    animation-duration: 1.5s;
    
}
.project-detail-separator {
    width: 100%;
}
.project-description-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}
.project-description {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    width: 45%;
    font-family: roboto;

}
.project-title {
    font-family: IBM;
    font-size: 2.25rem;
}
.project-small-details {
    color: #898989;
    font-style: italic;
    font-size: 1rem;
}
.view-project-btn {
    width: fit-content;
    border: 1px solid black;
    border-radius: 10px;
    background-color: white;
    padding: 8px;
    text-decoration: none;
    color: black;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-family: roboto;

}

.view-project-btn:hover {
    background-color: #f4f4f4;
}

.project-summary {
    font-size: 1.5rem;
}
.project-img-container {
    width: 55%;
    display: flex;
    justify-content: center;
}
.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.project-details-container {
    display: flex;
    gap: 2rem;
}

.hide-view-project {
    visibility: hidden;
}

.mobile-view-project-btn {
    display: none;
    white-space: nowrap;
    height: fit-content;
    margin-bottom: 0;
    margin-left: 10px;
}

.desktop-view-project-btn {
    display: flex;
}

.project-visit-image {
    width: 12px;
}

.swiper {
    width: 350px;
    height: 275px;
}

.swiper-pagination-bullet {
    background-color: #f4f4f4 !important;
}

.swiper-pagination-bullet-active {
    background-color: white !important;
}

.project-swiper-slide {
    background-color: none;
}


.slide-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.85);
    z-index: 9999999999;
    display: flex;
    justify-content: center;
    visibility: hidden;
}

.slide-modal {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.project-modal-close {
    color: white !important;
    font-size: 30px;
    text-align: end;
    position: absolute;
    right: 0;
    top: 0;
    padding-right: 2rem;
    padding-top: 2rem;
}

.project-modal-close:hover {
    cursor: pointer;
}
.slide-modal-swiper-pagination {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}
.slide-modal-swiper-button-prev {
    padding-left: 2rem;
    color: white !important;
}

.slide-modal-swiper-button-next {
    padding-right: 2rem;
    color: white !important;
}

.slide-modal-swiper-button-prev::after,
.slide-modal-swiper-button-next::after {
    font-size: 35px !important;
}
.slide-modal-swiper {
    width: 100%;
    height: 50%;
}

.modal-slide {
    display: flex !important;
    justify-content: center !important;
}

.swiper-modal-image {
    width: 80%;
    /* height: 100%; */
    object-fit: contain;
}
/* Social Section */
.social-container {
    display: flex;
    justify-content: space-around;
    margin-top: 5rem;
    gap: 5rem;

}


.social-media-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 2rem;
    padding-top: 2rem;

}



.social-media {
    display: flex;
    align-items: center;
    transition: 0.25s;

}

.follower-count-container {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    place-items: center;
}

.follower-count {
    width: 350px;
    font-size: 1.75rem;
    text-align: center;
    height: fit-content;
    grid-row-start: 1;
}

.social-line {
    width: 0%;
    height: 1px;
    grid-row-start: 2;
    background-color: black;
    transition: width 1s;
    place-self: start;
    align-self: center;
}

.social-line-show {
    width: 100%;
}
.popular-videos-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5rem;
    justify-content: center;
    grid-column-start: 3;
    padding-top: 2rem;
    /* padding-right: 2rem; */
}


.tiktok-video-header {
    display: flex;
    justify-content: space-between;
}



.tiktok-visit-container {
    display: flex;
    align-items: center;
}

.tiktok-video-container1 {
    grid-column-start: 1;
}

.tiktok-video-container2 {
    grid-column-start: 2;
    padding-top: 3rem;
}

.tiktok-video-container3 {
    grid-column-start: 3;
}

.tiktok-video {
    width: 350px;
}
.social-subtitle {
    text-align: center;
    padding-bottom: 1rem;
    font-size: 1.75rem;
    font-family: montserrat;
}


.social-media:hover {
    transform: scale(1.10);
}

.tiktok-video-views {
    font-size: 1.1rem;
}

/* Skills Section */

.skills {
    background-color: #f4f4f4;
}
.all-skills-container {
    display: flex;
    justify-content: center;
}



.skills-container  {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-right: 3rem;
    padding-left: 3rem;
}

.skill-line-container {
    width: 1px;
    height: inherit;
}

.skill-line {
    background-color: black;
    transition: height 1s;
    width: 1px;
    height: 0%;
}

.skill {
    width: 110px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background-color: white;
    color: black;
    font-size: 1.25rem;
}
.skill-line-grow {
    height: 100%;
}

.skills-container:last-child {
    border: none;
}

.skill-category {
    font-size: 2rem;
}

@keyframes name-animation {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes text-animation {
    from {
        opacity: 0;
        top: 15px;
    }
    to {
        opacity: 1;
        top: 0px;
    }
}
.grow {
    animation-name: text-animation;
    animation-duration: 1s;
    opacity: 1;
    top: 0;
}

/* Contact Section */

.contact-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.contact-field-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 600px;
}

.contact-divider {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.input-field {
    background-color: #f4f4f4;
    border: none;
    outline: none;
    border-radius: 5px;
    font-size: 1.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
}

.input-message {
    width: auto;
    height: 150px;
    font-size: 1.25rem;
}

.input-submit {
    align-self: center;
    border: 1px solid black;
    outline: none;
    border-radius: 5px;
    background-color: black;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: background-color 0.5s, color 0.5s;

}

.input-submit:hover {
    cursor: pointer;
    background-color: #f4f4f4;
    color: black;
}

.form-result {
    text-align: center;
}

.error {
    color: red;
}

.success {
    padding-top: 2rem;
    padding-bottom: 2rem;
    font-size: 1.5rem;
}



@media (max-width: 2000px) {
    .project-card-container {
        width: 800px;
    }
}

@media (max-width: 1800px) {
    .project-card-container {
        width: 700px;
    }
    .project-description {
        gap: 4rem;
    }
    .swiper {
        width: 325px;
        height: 250px;
    }
    .popular-videos-container {
        gap: 3rem;
    }
    .tiktok-video {
        width: 300px;
    }
}


@media (max-width: 1600px) {
    .project-card-container {
        width: 600px;
    }

    .project-description {
        gap: 1.5rem;
        
    }
    .project-summary {
        font-size: 1.25rem;
    }
    .project-title {
        font-size: 2rem;
    }
    .swiper {
        width: 275px;
        height: 200px;
    }
    .view-project-btn {
        font-size: 0.90rem;
    }
    .tiktok-video {
        width: 250px;
    }
}


@media (max-width: 1400px) {
    .name {
        font-size: 3.5rem;
    }
    .subtitle {
        font-size: 2.25rem;
    }
    .description {
        font-size: 1.10rem;
    }
    .image-placeholder {
        width: 400px;
        height: 400px;
    }
    .project-card-container {
        width: 500px;
    }
    .project-summary {
        font-size: 1rem;
    }
    .project-title {
        font-size: 1.75rem;
    }
    .swiper {
        width: 250px;
        height: 175px;
    }
    .project-details-container {
        margin-top: 0rem;
    }
    .project-small-details {
        font-size: 0.90rem;
    }
    .popular-videos-container {
        gap: 1.5rem;
    }
    .tiktok-video {
        width: 225px;
    }

    .social-container {
        gap: 4rem;
    }
    .follower-count {
        width: 300px;
    }
    .social-image {
        width: 65px;
    }
}


@media (max-width: 1200px) {
    .name {
        font-size: 3rem;
    }
     .subtitle {
        font-size: 2rem;
    }
    .description {
        font-size: 1rem;
    }
    .image-placeholder {
        width: 300px;
        height: 300px;
    }
    .project-card-container {
        width: 425px;
        height: auto;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .project-description-container {
        flex-direction: column;
    }
    .project-description {
        width: 100%;
        gap: 0.75rem;
        
    }
    .project-title {
        display: flex;
        justify-content: space-between;
    }
    .project-img-container {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    .swiper {
        width: 225px;
        height: 175px;
    }
    .view-project-btn {
        font-size: 0.80rem;
    }
    .desktop-view-project-btn {
        display: none;
    }
    .mobile-view-project-btn {
        display: flex;
    }
    .social-subtitle {
        font-size: 1.5rem;
    }
    /* .follower-count {
        width: 250px;
    } */
    /* .tiktok-video-container2 {
        padding-top: 3rem;
    } */
    .tiktok-video {
        width: 200px;
    }

    .social-container {
        gap: 3rem;
    }
    .follower-count {
        width: 200px;
    }
    .social-image {
        width: 60px;
    }

    
}


@media (max-width: 1000px) {
     .subtitle {
        text-align: center;
        padding-right: 1rem;
        font-size: 1.75rem;
    }

    .description-two {
        display: none;
    }
    .mobile-description-two {
        display: block;
    }
    .hero-container {
        flex-direction: column;
    }
    .hero-description-container {
        gap: 3rem;
    }
    .description-one {
        padding-bottom: 4rem;
    }
    .description-three {
        padding-top: 4rem;
    }
    .name {
        font-size: 3.5rem;
    }
    .description {
        font-size: 1.10rem;
    }
    .image-placeholder {
        width: 400px;
        height: 400px;
    }
    .projects-container {
        display: flex;
        flex-direction: column;
        row-gap: 1rem;
        padding-bottom: 0 !important;
    }
    .project-card-container:nth-child(even) {
        transform: translate(0);
        /* align-self: unset; */
    }
    .project-card-container {
        width: 600px;
    }

    .project-summary {
        font-size: 1.25rem;
    }
    .project-title {
        font-size: 2rem;
    }
    .swiper {
        width: 275px;
        height: 200px;
    }
    .view-project-btn {
        font-size: 1rem;
    }
    .project-small-details {
        font-size: 1rem;
    }

    .social-container {
        flex-direction: column;
    }
    .popular-videos-parent-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .popular-videos-container {
        padding-right: 0;
        gap: 3rem;
    }
    .social-media-container {
        width: 100%;
    }
    .follower-count-container {
        width: 50%;
    }
    .follower-count {
        width: 100%;
    }
    .social-subtitle {
        text-align: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .social-image {
        width: 70px;
    }

    .slide-modal-swiper-button-next {
        padding-right: 1rem;
    }

    .slide-modal-swiper-button-prev {
        padding-left: 1rem;
    }

    .skill-group {
        width: 90%;
    }
    .skill-last-container {
        width: 90%;
    }
    .skill-name {
        font-size: 1.75rem;
    }
    .skill-description {
        font-size: 1.25rem;
    }

    .contact-field-container {
        width: 500px;
    }

    .input-field {
        font-size: 1.25rem;
    }
}


@media (max-width: 750px) {
   
    .projects-container {
        row-gap: 0.5rem;
    }
    .project-card-container {
        width: 500px;
    }
    .swiper {
        width: 250px;
        height: 175px;
    }
     .all-skills-container {
        flex-direction: column;
        gap: 1rem;
    }
    .skill-line-container {
        width: auto;
        padding-right: 3rem;
        padding-left: 3rem;
    }
    .skill-line {
        width: 0%;
        height: 1px;
        transition: width 1s;
    }
    .skill-line-grow {
        width: 100%;
    }
    .popular-videos-container {
        display: flex;
        flex-direction: column;
    }
    .tiktok-video {
        width: 275px;
    }
    
    .slide-modal-swiper-button-next {
        padding-right: 0;
    }

    .slide-modal-swiper-button-prev {
        padding-left: 0;
    }

    
}


@media (max-width: 600px) {
    .project-card-container {
        width: 400px;
    }
    .project-title {
        font-size: 1.75rem;
    }
    .project-summary {
        font-size: 1rem;
    }
    .view-project-btn {
        font-size: 0.90rem;
    }
    /* .project-details-container {
        margin-top: 0rem;
    } */
    .project-small-details {
        font-size: 0.90rem;
    }
    .swiper {
        width: 225px;
    }
    .contact-field-container {
        width: 300px;
        gap: 1.5rem;
    }
    .contact-divider {
        flex-direction: column;
        gap: 1.5rem;
        width: auto;
    }
    .input-field {
        width: auto;
    }
    
}


@media (max-width: 500px) {
    .name {
        font-size: 3rem;
    }
    .description {
        font-size: 1rem;
    }
    .image-placeholder {
        width: 275px;
        height: 275px;
    }
    .description-one {
        padding-bottom: 2rem;
    }
    .description-two {
        padding-right: 0;
    }
    .description-three {
        padding-top: 2rem;
        padding-left: 0;
    }
    .description-four {
        padding-left: 0;
    }
    .hero-desc-cont-one {
        text-align: center;
    }
    .hero-desc-cont-two {
        text-align: center;
    }
    
    /* .projects-container {
        row-gap: 0.5rem;
    } */
    .project-card-container {
        width: 80%;
    }
    /* .project-description-container {
        flex-direction: column;
    } */
    .slide-modal-swiper-button-prev::after,
    .slide-modal-swiper-button-next::after {
        font-size: 20px !important;
    }
    .project-modal-close {
        font-size: 25px;
    }
    .project-title {
        font-size: 1.60rem;
    }
    .view-project-btn {
        padding: 6px;
    }


    
}