@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@500&family=Playfair+Display:ital@1&display=swap');


    {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f9f6f7;
    color: #333;
    font-family: 'Comfortaa', sans-serif;
    line-height: 1.6;
}


h1,
h2,
h3 {
    font-family: 'Elephant', serif;
    color: #ff7dcf;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.8em;
}


header {
    background-color: #fff;
    padding: 30px 0;
    border-bottom: 2px solid #ffb4e6;
    text-align: center;
}

nav a {
    text-decoration: none;
    color: #333;
    margin: 0 10px;
    padding: 8px 16px;
    border: 2px solid #333;
    border-radius: 20px;
    transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
    background-color: #333;
    color: #fff;
}


main {
    padding: 40px 20px;
    text-align: center;
}

.portrait {
    width: 400px;
    border-radius: 50%;
    margin-top: 20px;
    border: 4px solid #ffb4e6;
}


.apropos p {
    max-width: 700px;
    margin: 20px auto;
    font-size: 1.1em;
}


.inspirations {
    margin: 70px auto;
    text-align: center;
    animation: fadeUp 1.5s ease;
}

.inspirations h2 {
    margin-bottom: 40px;
}

.inspi-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    overflow-y: auto;
    max-height: 90vh;
    padding-right: 10px;
    scroll-behavior: smooth;
}

.inspi-container::-webkit-scrollbar {
    width: 8px;
}

.inspi-container::-webkit-scrollbar-thumb {
    background-color: #ffb4e6;
    border-radius: 10px;
}

.inspi-container::-webkit-scrollbar-track {
    background-color: #f9f6f7;
}

.inspi-item {
    position: relative;
    text-align: center;
    animation: floatSlow 6s ease-in-out infinite;
    transition: all 0.3s ease;
}

.inspi-item img {
    width: 300px;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.inspi-item img:hover {
    filter: brightness(1.1) sepia(0.4) hue-rotate(310deg) saturate(2);
    transform: scale(1.05);
}

.inspi-item p {
    font-family: 'Reenie Beanie', cursive;
    font-size: 1.4em;
    color: #ff7dcf;
    margin-top: 10px;
    transform: rotate(-2deg);
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}


.univers-section {
    padding: 50px 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subtitle {
    text-align: center;
    font-size: 1.8em;
    color: #ff7dcf;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 40px 0 30px;
}

.introspection-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.text-side,
.image-side {
    flex: 1;
    min-width: 300px;
}

.introspection-text {
    margin-top: 20px;
}

.introspection-text h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.image-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.image-side img,
.small-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.small-img {
    width: 90%;
    max-width: 400px;
    margin-bottom: 20px;
}


.inspiration-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    margin-bottom: 40px;
}

.inspiration-container img {
    width: 370px;
    height: 370px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.boxcontainers {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.box {
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box:hover {
    transform: scale(1.05);
}


.page-projet {
    max-width: 1000px;
    margin: 60px auto;
    animation: fadeUp 1.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.section-images {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: nowrap;
}

.projet-image,
.projet-video {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
    flex: 1 1 0;
}

.projet-image:hover {
    transform: scale(1.02);
}

video.projet-video {
    background-color: black;
}

.projet-description {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.projet-description h2 {
    margin-bottom: 10px;
    font-size: 1.8em;
}

.projet-description p {
    font-size: 1.05em;
    line-height: 1.7;
    color: #000000;
}


footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    color: #777;
    border-top: 1px solid #ffb4e6;
    margin-top: 50px;
}