* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::selection {
    color: #3ECF8E;
}

body {
    font-family: Arial, sans-serif;
}

.portfolio-container .home {
    background-image: url("images/bg1.png");
    width: 100%;
    height:auto;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;

}

.portfolio-container .skillsSection {
    background-color: #141616;
}

.portfolio-container .projectSection {
    background-image: url("images/bg4.png");
    width: 100%;
    height:auto;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
.portfolio-container .certificationSection {
    background-color: #141616;
}
.portfolio-container .contactSection {
    background-image: url("images/bg3.png");
    width: 100%;
    height:auto;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* nav-bar */
nav {
    height: 3rem;
    width: 100vw;
    background-color: #141616;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    position: fixed;
    z-index: 10;
    color: #f2f5f7;
}
/*Styling logo*/
.logo {
    padding: 1vh 1vw;
    text-align: center;
    display: flex;
    align-items: center;
}
.logo i {
    color: #63E6BE;
    margin-right: 0.5rem;
}
.logo span {
    color: #63E6BE;
}
/*Styling Links*/
.nav-links {
    display: flex;
    list-style: none;
    width: 88vw;
    padding: 0 0.7vw;
    justify-content: space-evenly;
    align-items: center;
    text-transform: uppercase;
    margin-left: auto;

}
.nav-links li a {
    text-decoration: none;
    margin: 0 0.7vw;
    color: inherit;
}
.nav-links li a:hover {
    color: #63E6BE;

}
.nav-links li {
    position: relative;
}

/*Styling Buttons*/
.hire-button {
    background-color: transparent;
    border: 1.5px solid #63E6BE;
    border-radius: 2em;
    padding: 0.6rem 0.8rem;
    margin-left: 2vw;
    font-size: 1rem;
    cursor: pointer;
    color: #f2f5f7;
}
.hire-button:hover {
    color: #131418;
    background-color: #63E6BE;
    border: 1.5px solid #63E6BE;
    transition: all ease-in-out 350ms;
}
.resume-button {
    color: #131418;
    background-color: #63E6BE;
    border: 1.5px solid #63E6BE;
    border-radius: 2em;
    padding: 0.6rem 0.8rem;
    font-size: 1rem;
    cursor: pointer;
}
.resume-button:hover {
    color: #f2f5f7;
    background-color: transparent;
    border: 1.5px solid #63E6BE;
    transition: all ease-in-out 350ms;
}
/*Styling Hamburger Icon*/
.hamburger div {
    width: 30px;
    height: 3px;
    background: #f2f5f7;
    margin: 5px;
    transition: all 0.3s ease;
}
.hamburger {
    display: none;
}
/*Styling for small screens*/
@media screen and (max-width: 800px) {
    nav {
        background-color: #000;
    }
    .logo i, .logo span {
        color: #63E6BE;
    }
    .nav-links {
        background: #000;
        height: 100vh;
        width: 100%;
        flex-direction: column;
        clip-path: circle(50px at 90% -20%);
        -webkit-clip-path: circle(50px at 90% -10%);
        transition: all 1s ease-out;
        pointer-events: none;
    }
    .nav-links.open {
        clip-path: circle(1000px at 90% -10%);
        -webkit-clip-path: circle(1000px at 90% -10%);
        pointer-events: all;
    }
    .nav-links li a {
        color: #fff;
    }
    .nav-links li a:hover {
        color: #63E6BE;
    }
    .hire-button {
        border: 1.5px solid #fff;
        color: #fff;
    }
    .hire-button:hover {
        color: #000;
        background-color: #63E6BE;
        border: 1.5px solid #fff;
    }
    .resume-button {
        color: #fff;
        background-color: #63E6BE;
        border: 1.5px solid #63E6BE;
    }
    .resume-button:hover {
        color: #fff;
        background-color: transparent;
        border: 1.5px solid #fff;
    }
    .hamburger {
        display: block;
        position: absolute;
        cursor: pointer;
        right: 5%;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
        transition: all 0.7s ease;
    }
    .hamburger div {
        background: #fff;
    }
    .nav-links li {
        opacity: 0;
    }
    .nav-links li:nth-child(1) {
        transition: all 0.5s ease 0.2s;
    }
    .nav-links li:nth-child(2) {
        transition: all 0.5s ease 0.4s;
    }
    .nav-links li:nth-child(3) {
        transition: all 0.5s ease 0.6s;
    }
    .nav-links li:nth-child(4) {
        transition: all 0.5s ease 0.7s;
    }
    .nav-links li:nth-child(5) {
        transition: all 0.5s ease 0.8s;
    }
    .nav-links li:nth-child(6) {
        transition: all 0.5s ease 0.9s;
        margin: 0;
    }
    .nav-links li:nth-child(7) {
        transition: all 0.5s ease 1s;
        margin: 0;
    }
    li.fade {
        opacity: 1;
    }
}
/*Animating Hamburger Icon on Click*/
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    transition: all 0.7s ease;
    width: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Bio Image */
.home {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 70px 10% 0;
    color: aliceblue;
}

.home-content {
    max-width: 600px;
    color: aliceblue;
}

.home-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin: -3px 0;
    opacity: 1;
}

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: aliceblue;
    opacity: 1;
}

.home-content h3 span {
    color: #3ECF8E;
}

.home-content p {
    font-size: 20px;
    margin-top: 2%;
    opacity: 1;
    color: aliceblue;
}

.home-social ul {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    list-style: none;
    margin-top: 3%;
}

.home-social li {
    padding: 10%;
}

.Image {
    padding-left: 15%;
}


.resizeme:hover {
    transform: scale(1.1);
    transition: transform 0.5s;
    color: dodgerblue;
}

.resizeme :visited {
    text-decoration: none;
    color: inherit; /* Assure que la couleur du lien est héritée */

}

/* Media Queries for Responsiveness (Mobile/Tablets) */
@media (max-width: 768px) {
    .home {
        flex-direction: column;
        height: auto;
        padding: 50px 5% 0;
    }

    .Image {
        order: -1;
        padding-left: 0;
        text-align: center;
        margin-bottom: 20px;
    }

    .Image img {
        max-width: 90%;
        height: auto;
    }

    .home-content {
        text-align: center;
        padding: 0 5%;
    }

    .home-social ul {
        margin-top: 20px;
        justify-content: center;
    }

    .home-social li {
        padding: 0 10px
    }
}

@media (max-width: 480px) {
    .home-content h1 {
        font-size: 32px;
        color: aliceblue;
    }

    .home-content h3 {
        font-size: 24px;
        color: aliceblue;
    }

    .home-content p {
        font-size: 16px;
        color: aliceblue;
    }

    .home-social ul {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0;
    }

    .home-social li {
        padding: 5px;
    }

    .Image img {
        max-width: 100%;
    }
}

/* competences */
.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2%;
    text-align: center;
}

.skills-title, .experience-tittle, .project-tittle {
    width: 100%;
    font-size: 2em;
    font-weight: bold;
    color: #fff;
}

.skill-content {
    width: 100%;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 400;
}

.skills > div {
    width: 23%;
    height: auto;
    margin: 10px;
    text-align: center;
    gap: 10px;
    animation: slideTop 0.5s ease-out;
    padding: 10px;
    box-sizing: border-box;
}

.webTools, .programming, .dataBase, .DevTools {
    height: auto;
    box-shadow: 0 8px 32px 0 #006c1480;
    backdrop-filter: blur(8.5px);
    -webkit-backdrop-filter: blur(8.5px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 10px;
}

.webTools ul, .programming ul, .dataBase ul, .DevTools ul {
    display: flex;
    list-style: none;
    padding: 10px;
    margin: 15px;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.webTools li, .programming li, .dataBase li, .DevTools li {
    padding: 5%;
}
/* Experince */
.experience {
    display: flex;
    flex-direction: column;
    padding: 5%;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.experience1, .experience2, .experience3 {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    width: 40%;
    padding: 2%;
    background: rgba(43, 54, 28, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.experience1, .experience3,.education1, .education3 {
    margin-left: 15%;
    color: #fff;
}

.date, .education-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5%;
    font-size: small;
    font-weight: bolder;
}

.icon-org, .education-icon-org {
    display: flex;
    align-items: center;
    color: #ffffff;
}

.view {
    display: flex;
    padding: 2%;
    align-self: self-start;
}

.view a {
    color: #3ECF8E;
    text-decoration: none;
}

.start {
    align-self: flex-start;
    color: #000;
}

.end {
    align-self: flex-end;
}

.date {
    margin-right: 20px;
}

.experienceInfo {
    flex: 1;
    color: #fff;
}

/* Responsive adjustments for tablets and mobile */
@media (max-width: 768px) {
    .experience1, .experience2, .experience3 {
        width: 90%;
        margin-left: 0;
        margin-right: 0;
    }

    .experience1, .experience3 {
        margin-left: 0;
    }

    .date {
        display: flex;
        align-items: center;
    }

    .view {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .experience1, .experience2, .experience3 {
        width: 100%;
    }

    .date {
        font-size: smaller;
    }

    .experienceInfo {
        font-size: smaller;
    }
}
/* Project */
.project{
    display: flex;
    flex-wrap: wrap;
    padding: 5%;
    justify-content: space-around;
}
.project-container {
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(17, 25, 40, 0.25);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.125);
    padding: 38px;
    filter: drop-shadow(0 30px 10px rgba(0, 0, 0, 0.125));
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 400px;
    padding: 2%;
    margin-block: 2%;
}

.wrapper {
    width: 100%;
}

.banner-image {
    background-image: url("images/pokehome.png");
    background-position: center;
    background-size: cover;
    height: 200px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.255);
}
.banner-image1 {
    background-image: url("images/portfolio.png");
    background-position: center;
    background-size: cover;
    height: 200px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.255);
}

.button-wrapper {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.btn {
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    cursor: pointer;
    margin: 0 10px;
}

.outline {
    background: transparent;
    color: rgb(62, 207, 142,0.9);
    border: 1px solid rgb(62, 207, 142,0.9);
    transition: all .3s ease;
}

.outline:hover {
    transform: scale(1.125);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    transition: all .3s ease;
    background: rgb(62, 207, 142,0.9);
}

.fill {
    background: rgb(62, 207, 142,0.9);
    color: rgba(255, 255, 255, 0.95);
    font-weight: bold;
    transition: all .3s ease;
}

.fill:hover {
    background: none;
    transform: scale(1.125);
    border-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgb(62, 207, 142,0.9);
    filter: drop-shadow(0 10px 5px rgba(0, 0, 0, 0.125));
    transition: all .3s ease;
}


@media (max-width: 992px) {
    .project {
        justify-content: center;
    }

    .project-container {
        max-width: 45%;
        margin: 2.5%;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.75rem;
        margin: 0 5px;
    }

    .banner-image, .banner-image1 {
        height: 180px;
    }
}

/* For smartphones */
@media (max-width: 600px) {
    .project {
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .project-container {
        max-width: 90%;
        margin: 5% 0;
        padding: 5%;
    }

    .banner-image, .banner-image1 {
        height: 150px;
    }

    h2 {
        font-size: 1.5rem;
        margin: 15px 0;
    }

    p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.7rem;
        margin: 0 5px;
    }


    .button-wrapper {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-top: 20px;
    }

    .btn {
        margin: 5px 0;
        width: 48%;
    }
}

/* animation */
@keyframes slideTop {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1200px) {
    .skills > div {
        width: 30%;
    }
}

@media (max-width: 992px) {
    .skills > div {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .skills > div {
        width: 90%;
    }
}


/* Animations */
@keyframes slideTop {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideBottom {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@font-face {
    font-family: 'AmsterdamFour';
    src: url('kk.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

.name {
    font-family: 'AmsterdamFour', Arial, sans-serif;
}


/* Animations */
@keyframes slideTop {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideBottom {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@font-face {
    font-family: 'AmsterdamFour';
    src: url('kk.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

.name {
    font-family: 'AmsterdamFour', Arial, sans-serif;
}
/* certification */
.Certification{
    /*margin: 10%;*/
    height: 100%;
}

.skills-title {
    margin-top:35px;
    margin-bottom: 25px;
}

.project-tittle {
    margin-top:35px;
    margin-bottom: 25px;
}

.slider {
    position: relative;
    max-width: 50%;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Slides */
.slides {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
    margin-bottom: 50px;
}

.slide img {
    width: 100%;
    height: 665px;
    border-radius: 10px;
    display: block;
}

/* Text overlay */
.text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
}

/* Navigation buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.4);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Indicator dots */
.dot-container {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #fff;
}

/* Responsive design adjustments */
@media screen and (max-width: 768px) {
    .slide img {
        height: 400px;
    }

    .text {
        font-size: 16px;
        bottom: 10px;
        left: 10px;
        padding: 8px;
    }

    .prev, .next {
        padding: 12px;
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .slide img {
        height: 300px;
    }

    .text {
        font-size: 14px;
        bottom: 5px;
        left: 5px;
        padding: 6px;
    }

    .prev, .next {
        padding: 10px;
        font-size: 18px;
    }

    .dot {
        height: 10px;
        width: 10px;
        margin: 0 3px;
    }
}

/* contact */
.contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.card {
    background: rgba(62, 207, 142, 0.1);
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(62, 207, 142, 0.3);
    padding: 30px;
    width: 100%;
    max-width: 600px;
    color: #fff;
}

.card h2 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

p {
    margin-bottom: 20px;
    color: #ccc;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    color: #000;
    background-color: rgba(255, 255, 255, 0.7);
}

.contact-form button {
    width: 100%;
    padding: 10px;
    background-color: #3ECF8E;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #34b17e;
}

/* Responsive design */
@media (max-width: 768px) {
    .card {
        padding: 20px;
    }

    .card h2 {
        font-size: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
        padding: 8px;
    }

    .contact-form button {
        font-size: 16px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 15px;
    }

    .card h2 {
        font-size: 18px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
        padding: 6px;
    }

    .contact-form button {
        font-size: 14px;
        padding: 6px;
    }
}
.copyRights{
    display: flex;
    justify-content: space-between;
    padding-inline: 5%;
    color: #ccc;
}