body {
    font-family: 'Arial', sans-serif;
	    background-color: #333;
    color: white;
    margin: 0 ;
    padding-bottom: 30px;
    box-sizing: border-box;
}

#contenu {
    position: relative;
        overflow: hidden;
}


header {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 1em 0;
}

section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #444;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

h1, h2, h3 {
    color: white;
    border-bottom: 3px solid aquamarine;
    box-shadow: 0px 5px 10px -7px aquamarine;
    display: inline-block;
}

p {
    line-height: 1.6;
    color: #ccc;
}

.portfolio-item {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 1em 0;
    
    bottom: 0;
    width: 100%;
  height: 50px;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    50% {
        transform: scale(1) scaleY(1.5);
    }

    to {
        transform: rotate(360deg);
    }
}

#blob {
    background-color: white;
    height: 20vmax;
    aspect-ratio: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: linear-gradient(to right, aquamarine, white);
    animation: rotate 10s infinite;
    opacity: 0.8;
    z-index: -2;
    pointer-events: none; /* Make the blob non-interactive */
}

#blur {
    min-height: 100vh;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    backdrop-filter: blur(8vmax);
}
a{
    text-decoration: none;
    color: white;
}

/* Add styles for the skills section */
        #skills {
           max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #444;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    margin-top: 20px;
        }

        #skills h2 {
            margin-bottom: 15px;
        }

        .skill {
            display: inline-block;
            background-color: aquamarine;
            color: #444;
            padding: 10px 15px;
            border-radius: 20px;
            margin: 5px;
            font-weight: bold;
        }
        /* Carousel Styles */
/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }
  
  .carousel {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .carousel-item {
    flex: 0 0 100%;
    height: 400px;
    position: relative;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .carousel-item.active {
    opacity: 1;
    transform: scale(1.1); /* Slight zoom effect on active item */
  }
  
  .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
  }
  
  .carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 15px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(20px); /* Start below the image */
  }
  
  .carousel-item:hover .carousel-caption {
    opacity: 1;
    transform: translateY(0); /* Move into position */
  }
  
  .carousel-caption h4 {
    margin: 0;
    font-size: 1.5rem;
  }
  
  .carousel-caption p {
    margin-top: 5px;
    font-size: 1rem;
    opacity: 0.8;
  }
  
  /* Navigation Buttons */
  .nav-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
  }
  
  .nav-buttons button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: background 0.3s ease;
  }
  
  .nav-buttons button:hover {
    background: rgba(0, 0, 0, 0.7);
  }
  
  .nav-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
  }
  
  .nav-dots .dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .nav-dots .dot.active {
    background: white;
  }
  
  
  /* Blob Effect and Blur Background */
  #blob {
    background-color: white;
    height: 20vmax;
    aspect-ratio: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: linear-gradient(to right, aquamarine, white);
    animation: rotate 10s infinite;
    opacity: 0.8;
    z-index: -2;
    pointer-events: none;
  }
 /* Modal Styles */
#project-modal {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure the modal appears above other content */
}

.modal-content {
    background-color: #444;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

#close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    color: white;
    cursor: pointer;
}

#modal-title {
    font-size: 2em;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
    color: white;
}

#modal-description {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    color: white;
}

#modal-link {
    font-size: 1.2em;
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: aquamarine;
    transition: background-color 0.3s, box-shadow 0.3s;
}

#modal-link:hover {
    background-color: #ddd;
    box-shadow: 0 0 8px 2px rgba(0, 255, 255, 0.8); /* Slight glow */
}


/* Image inside the modal */
#modal-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}
h1 {
    overflow: hidden; /* Ensures the text appears letter by letter */
    border-right: .15em solid #000; /* Creates the typing cursor effect */
    white-space: nowrap; /* Prevents the text from wrapping */
    width: 0;
    animation: typing 3.5s steps(16) forwards, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 20%; /* Adjust to the width of the entire text */
        min-width: 255px;
    }
}

/* Cursor blinking effect (appears after typing animation ends) */
@keyframes blink-caret {
    50% {
        border-color: transparent; /* Hides the cursor halfway through the animation */
    }
}

/* Optional: If you want the cursor to stop blinking after the typing animation ends */
h1.done {
    animation: typing 3.5s steps(30) forwards;
}
form{
    display:flex;
    flex-direction: column;
}
input{
margin-bottom: 10px;

}
button{
color: #444;
background-color: aquamarine;
border-radius: 10px;
width: 10%;
min-width: 50px;
margin-top: 10px;

}