body {
    font-family: 'Archivo', sans-serif;
    margin: 0;
    background-color: #371A51;
}

* {
    box-sizing: border-box;
}

h1 {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    font-display: swap;
    font-style: normal;
    margin: 0;
}

h2 {
   font-family: 'Clash Display', sans-serif;
   font-weight: 600;
   font-display: swap;
   font-style: normal;
   margin: 0;
}

h3 {
   font-family: 'Clash Display', sans-serif;
   font-weight: 600;
   font-display: swap;
   font-style: normal;
   margin: 0;
}

h4 {
   font-family: 'Clash Display', sans-serif;
   font-weight: 600;
   font-display: swap;
   font-style: normal;
   margin: 0;
}

a {
   font-family: 'Clash Display', sans-serif;
   font-weight: 600;
   font-display: swap;
   font-style: normal;
   font-size: clamp(25px, 4vw, 40px); 
}

.Logo {
    text-decoration: none;
    color: #EBD66C;
    font-weight: bolder;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    background-color: #371A51;
    padding: clamp(10px, 2vw, 20px) clamp(15px, 4vw, 40px);
    z-index: 50;
}

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #371A51;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
    z-index: 99;
    padding: 40px;
    padding-top: 70px;
}

.fullscreen-menu.active {
    transform: translateY(0);
}

.menu-links {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.menu-links li {
    margin: 30px 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.fullscreen-menu.active .menu-links li {
    opacity: 1;
    transform: translateY(0);
}

.fullscreen-menu.active .menu-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.fullscreen-menu.active .menu-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.fullscreen-menu.active .menu-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.fullscreen-menu.active .menu-links li:nth-child(4) {
    transition-delay: 0.4s;
}

.fullscreen-menu.active .menu-links li:nth-child(5) {
    transition-delay: 0.5s;
}

.menu-links a {
    color: #F8F2CD;
    text-decoration: none;
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.menu-links a:hover {
    transform: scale(1.1);
    color: #EBD66C;
}

.navbar {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: clamp(80px, 12vw, 100px);
    background-color: #371A51;
    z-index: 200;
}

.burger-icon {
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: fixed;
    top: clamp(25px, 4vw, 40px);
    right: clamp(25px, 4vw, 40px);
    z-index: 200;
}

.burger-icon span {
    width: 100%;
    height: 3px;
    background: #E8DDF7;
    transition: all 0.3s ease;
}

.burger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.burger-icon.active span:nth-child(2) {
    opacity: 0;
}

.burger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: clamp(15px, 4vw, 50px);
    min-height: clamp(50vh, 90vh, 100vh);
    padding: clamp(15px, 4vw, 80px);
    background-color: #7845AD;
    position: relative;
    overflow: hidden;
}

.header img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: clamp(200px, 35vw, 480px);
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.title_header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    z-index: 1;
}

.title_header h1 {
    font-size: clamp(50px, 8vw, 90px);
    color: #EBD66C;
    text-decoration: #F8F2CD wavy underline 5px;
}

.title_header h2 {
    font-size: clamp(35px, 6vw, 50px);
    color: #F8F2CD;
}

.tags {
    display: flex;
    flex-direction: row;
    gap: clamp(10px, 3vw, 40px);
    flex-wrap: wrap;
    justify-content: center;
    z-index: 1;
}

.tags button {
    font-family: 'Clash Display', sans-serif;
    font-weight: 500;
    font-display: swap;
    font-style: normal;
    background-color: #7845AD;
    border: 1px solid #EBD66C;
    color: #EBD66C;
    padding: clamp(10px, 2vw, 15px) clamp(15px, 3vw, 25px);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    
}

.tags button:hover {
    background-color: #EBD66C;
    color: #371A51;
    transform: scale(1.05);
}

.Section_Projets {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: clamp(50px, 10vw, 100px) auto;
}

.h1_section {
    color: #EBD66C;
    font-size: clamp(30px, 5vw, 48px);
}

.Projets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(20px, 5vw, 50px);
    width: 100%;
    padding: clamp(30px, 5vw, 80px) clamp(30px, 5vw, 80px);
}

.Card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(15px, 3vw, 30px);
    width: 100%;
    height: auto;
    padding: clamp(20px, 3vw, 30px);
    background-color: #E8DDF7;
}

.description p {
    font-size: 1rem;
    line-height: 1.6;
}

.description h2 {
   font-size: clamp(20px, 5vw, 30px); 
}

.card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.projet-1 {
    background-image: url("/images/projets/projet_1/e98d9034-f612-45a2-a877-238af27020be_rw_1200.png");
}

.projet-2 {
    background-image: url("/images/projets/projet_2/MockupCards.jpg");
}

.projet-3 {
    background-image: url("/images/projets/projet_3/PostGaco_1.png");

}
.description {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #371A51;
}

.tags_2 {
    display: flex;
    flex-direction: row;
    gap: clamp(10px, 3vw, 40px);
    flex-wrap: wrap;
}

.tags_2 button {
    font-family: 'Clash Display', sans-serif;
    font-weight: 500;
    font-display: swap;
    font-style: normal;
    border: solid 2px #7845AD;
    background-color: transparent;
    color: #7845AD;
    padding: clamp(5px, 2vw, 10px) clamp(10px, 3vw, 15px);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tags_2 button:hover {
    background-color: #7845AD;
    color: #EBD66C;
    transform: scale(1.05);
}

.card_button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: 'Clash Display', sans-serif;
    font-weight: 600;
    font-display: swap;
    font-style: normal;
    background-color: transparent;
    border: none;
    text-decoration: underline;
    color: #7845AD;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.card_button:hover {
    color: #371A51;
    transform: scale(1.05);
}

.card_button svg {
    width: 25px;
    stroke: 2px;
}

footer {
    background-color: #7845AD;
    padding-right: clamp(50px, 7vw, 132px);
    padding-left: clamp(50px, 7vw, 132px);
    padding-top: clamp(20px, 3vh, 50px);
    padding-bottom: clamp(20px, 3vh, 50px);
    color: #F8F2CD;
    margin-top: auto;
}

footer h3 {
    color: #EBD66C;
    margin: 0;
    font-size: clamp(20px, 3vw, 32px);
}

footer h4 {
    color: #EBD66C;
    margin: 0;
    font-size: clamp(16px, 3vw, 24px);
}

footer p {
    margin: 0;
    font-size: 1rem;
}

.footer_content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(5px, 5vw, 20px);
}

.coordonnées {
    display: flex;
    flex-direction: column;
    gap: clamp(5px, 2vw, 20px);
}

.détails_coo {
    display: flex;
    flex-direction: column;
}

.plan_site {
    display: flex;
    flex-direction: column;
    gap: clamp(5px, 2vw, 20px);
}

.plan_site a {
    color: #F8F2CD;
    text-decoration: none;
    font-size: 1rem;
    font-family: Archivo;
    font-weight: normal;
}

.plan_site a:hover {
    color: #EBD66C;
}

.liens_plan {
    display: flex;
    flex-direction: column;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(5px, 2vw, 20px);
}

.contact p {
    width: clamp(50px, 30vw, 218px);
}

.contact_button {
    font-family: 'Clash Display', sans-serif;
    font-weight: 500;
    font-display: swap;
    font-style: normal;
    background-color: transparent;
    border: 1px solid #EBD66C;
    padding: clamp(10px, 2vw, 15px) clamp(15px, 3vw, 25px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact_button {
    text-decoration: none;
    font-size: 1rem;
    color: #EBD66C;
}

.contact_button:hover {
    background-color: #EBD66C;
    color: #371A51;
    transform: scale(1.05);
}

.social_media {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
}

.social_media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 2px solid #EBD66C;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social_media a:hover {
    background-color: #EBD66C;
    transform: scale(1.1);
}

.social_media a svg {
    width: 20px;
    height: 20px;
    fill: #EBD66C;
    transition: fill 0.3s ease;
}

.social_media a:hover svg {
    fill: #7845AD;
}