/*
Theme Name: Emma Lobaloba
Theme URI: https://emmalobascio.fr
Author: Riri 
Author URI: https://emmalobascio.fr
Description: Le thème des nullos
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: emmalobascio
*/
/* Reset CSS */
html{
    min-height: 100vh;
    min-width: 100vw;
    --couleur-1: #020E1B;
    --couleur-2: #e7e7e7;
    --couleur-3: #457B9D;
    --couleur-4: #A8DADC;
    --couleur-5: #E63946;
    color: var(--couleur-2);
    --breakpoint: 900px;
}

body{
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-width: 100vw;
    background-color: var(--couleur-1);
    display: flex;
    flex-direction: column;
    font-family: "Inter";
}

main{
    flex: 1;
}

h1{
    margin: 0;
}

article>h1{
    display: none;
}

/*--------------------------MOBILE----------------------------*/

/* En-tête */
header{
    background-color: blueviolet;
    box-sizing: border-box;
    height: 8vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1vh 5vw;
    position: sticky;
    top: 0;
    z-index: 99999999;
}
header a{
    display: block;
    height: 80%;
}
header img{
    height: 100%;
    
}
header nav{
    display: none;
    position: absolute;
    top: 8vh; /* ajuster selon ton header */
    right: 0px;
    background: var(--couleur-1);
    padding: 5vw;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 50vw;
    box-sizing: border-box;
}
header nav.active{
    display: block;
}
header nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5em;
}
header nav ul li a{
    text-decoration: none;
    color: var(--couleur-2);
    font-size: 3em;
    text-align: center;
}

.burger {
  width: 4em;          /* largeur dépend de la taille de la police */
  aspect-ratio: 30 / 22; /* ratio largeur / hauteur (comme ton ancien px) */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 9999;
}

/* Barres proportionnelles */
.burger span {
  display: block;
  height: 0.4em;      /* hauteur relative au conteneur de 10% */
  width: 100%;
  background: var(--couleur-2);
  border-radius: 0.125em;
  transition: all 0.3s ease;
}

/* Animation quand actif */
.burger.active span:nth-child(1) {
  transform: translateY(300%) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-300%) rotate(-45deg);
}



/* Pied de page */
footer{
    background-color: var(--couleur-1);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3vh;
}
footer p{
    margin: 0;
    font-size: 2em;
}

/* Portfolio */

div.conteneur-projets{
    box-sizing: border-box;
    padding: 7vw;
}
div.conteneur-projets>div{
    display: flex;
    flex-direction: column;
    gap: 5vh;
}
div.conteneur-projets figure{
    margin: 0;
    padding: 0;
}


/* Conteneur du slider */
.carousel-slider-outer, 
.carousel-slider-outer div,
.carousel-slider-outer img{
    min-height: 100vh;
}

.carousel-slider-outer img{
    object-fit: cover;
}
.carousel-slider__caption{
    display: none;
}
.owl-nav{
    display: none;
}

/* Contact */
label{
    color: var(--couleur-2) !important;
}
.wpforms-container{
    max-width: 85%;
}
@media only screen and (max-width: 900px) {
    .wpforms-field-row {
        flex-direction: column;
    }
    .wpforms-field-row>div{
        padding: 0 !important;
    }
}

