* {
    margin: 0;
    padding: 0;
    font-family: ;
}
.montserrat-monserratfont {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}
* {
    font-family: "Montserrat", sans-serif;
}
body {
    background: linear-gradient(135deg, #f7f5f2, #f3e8e2, #eef1f6);
    color: #111;
}
.hero {
    padding-top: 120px;
    height: 100vh;
}
/*header */
.header__nav-ul a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.5;
}
.header__nav-ul a:hover {
    opacity: 1;
}
.header__nav-ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    text-decoration: none;
}

.header {
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    width: 90%;
    max-width: 1200px;
    margin: 24px auto;
    padding: 14px 32px;
    border-radius: 999px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
/* acceuil */
.home {
    display: flex;
    height: 80vh;
    justify-content: center;
    align-items: center;
}

.home-background {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 24px;
    padding: 48px 64px;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}
.home-image {
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-avatar {
    width: 160px;
    height: 160px;
    border-radius: 20px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.home-title {
    margin-bottom: 16px;
    font-size: 3.7rem;
    font-weight: 700;
}

.home-subtitle {
    color: #7a7a7a;
    opacity: 0.8;
}
/* à propos */
.about {
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 800px;
    display: flex;
    gap: 2rem;
}

.about-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
/* projets */
.projects {
    display: flex;
    justify-content: center;
}

.projects-grid {
    display: flex;
    gap: 1rem;
}
.projects-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.project-card {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-basis: 280px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.7);
}
.project-tech {
    list-style: none;
    display: flex;
    gap: 0.5rem;
}

.project-links {
    margin-top: auto;
    display: flex;
    gap: 1rem;
}
/* contact */
.contact {
    display: flex;
    justify-content: center;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgb(255, 255, 255);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-field input,
.contact-field textarea {
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
}

.contact-field textarea {
    height: 140px;
}
.contact-submit {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.027);
    background: rgba(0, 0, 0, 0.877);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
