/* --- GENERAL --- */
* {
    margin: 0;
}

body {
    width: 100vw;
    min-height: 300vh;
    overflow-x: hidden;
}

h1, 
h2, 
h3 {
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    font-weight: 300;
}

p,
a,
button {
    font-family: "Josefin Sans", sans-serif;
}

/* --- HERO BACKGROUND --- */
header > img {
    max-width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    object-fit: cover;
}


/* --- HEADER --- */
header {
    padding: 0 10vw;
    max-width: 80%;
    height: 100vh;
    flex-direction: column;
}

header h1 {
    font-size: 3.3rem;
    min-width: 300px;
    max-width: 475px;
    border: 1px solid white;
    padding: 2%;
    color: white;
}

#nav_barre {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 7vh;
    width: 100%;
    min-height: 40vh;
}

/* --- MENU BURGER --- */
#toggle {
    display: none;
}

#burger label {
    color: white;
    font-size: 2rem; 
}

.fa-solid {
    position: absolute;
    top: 8vh;
    right: 11vw;
    cursor: pointer;
    z-index: 1;
}

.fa-xmark {
    visibility: hidden;
}

#nav_barre_list {
    list-style: none;
    padding: 0;
    padding-top: 50px;
    text-align: center;
}

#nav_barre_list li a {
    text-decoration: none;
    color: white;
}

#nav_barre_list li {
    padding: 7px 0;
}

#nav_burger {
    width: 150px;
    height: 30vh;
    background-color: black;
    border-radius: 10px;
    padding: 15px;
    transform: translateX(60vw);
}

#toggle:checked ~ #nav_burger {
    animation: slide-in 1s ease 1 forwards;
}

#toggle:checked ~ label span .fa-bars {
    visibility: hidden;
}

#toggle:checked ~ label span .fa-xmark {
    visibility: visible;
}

@keyframes slide-in {
    0% {
        transform: translateX(40vw);
    }

    100% {
        transform: translateX(0);
    }
}

/* --- MAIN --- */
main {
    width: 80%;
    padding: 0 10vw;
}

/* --- SECTION VR --- */
#vr_section {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    width: 100%;
    min-height: 60vh;
    margin: 25vh 0 20vh 0;
}

#vr_section_text {
    padding: 5vw 0 0 5vw;
    width: 600px;
    height: 200px;
    background-color: white;
    margin-left: -10vw;
}

#vr_section_text h2 {
    font-size: 2.7rem;
    padding-bottom: 1.2rem;
}

#vr_section_text p {
    font-size: 1.2rem;
    color: #868686;
    min-width: 100%;
}

#vr_section > img {
    z-index: -1;
    min-width: 50vw;
}

/* --- SECTION CREATIONS --- */
#creations_section {
    display: flex;
    flex-direction: column;
    gap: 10vh;
}

#creations_section_title {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3vh;
}

#creations_section_title h2 {
    font-size: 3.5rem;
}

#creations_section_title button {
    border: 1px solid black;
    border-radius: 2px;
    text-transform: uppercase;
    height: 5vh;
    width: 200px;
    letter-spacing: 0.3rem;
    background-color: white;
    transition: 0.7s;
}

/* --- GALLERY SECTION CREATIONS --- */
#creations_section_images {
    display: flex;
    width: 80vw;
    flex-wrap: wrap;
    gap: 1vw;
    margin-bottom: 20vh;
}

#creations_section_images div {
    position: relative;
    margin: auto;
}

#creations_section_images div img {
    flex: 1;
    min-width: 19.2vw;
    z-index: -1;
}

#creations_section_images div h3 {
    position: absolute;
    bottom: 6vh;
    left: 3vw;
    z-index: 1;
    color: white;
    font-size: 2rem;
    text-shadow: black 2px 0 10px;;
}

/* --- FOOTER --- */
footer {
    padding: 0 10vw;
    height: 15vh;
    background: black;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3vh;
}

#footer_logos {
    display: flex;
    justify-content: space-between;
}

#footer_social_media {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 1vw;
}

#footer_social_media a {
    color: white;
    text-decoration: none;
}

#footer_links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2vh;
}

#footer_links_list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 2vw;
    flex-wrap: wrap;
}

#footer_links_list li a {
    text-decoration: none;
    color: white;
}

#footer_links p {
    color: #868686;
}

/* --- ANIMATIONS / HOVER --- */

/* Barre de soulignement quand hover les a du heeader et du footer */
#nav_barre_list a::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 20%;
    padding-top: 0.5vh;
    border-bottom: 2px solid white;
    opacity: 0;
}

#nav_barre_list a:hover::after {
    opacity: 1;
}

#footer_links_list a::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 40%;
    padding-top: 0.5vh;
    border-bottom: 2px solid white;
    opacity: 0;
}

#footer_links_list a:hover::after {
    opacity: 1;
}

/* Idem pour les réseaux sociaux*/
#footer_social_media a::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 80%;
    padding-top: 0.5vh;
    border-bottom: 2px solid white;
    opacity: 0;
}

#footer_social_media a:hover::after {
    opacity: 1;
}

/* Changement de couleur bouton quand hover */
#creations_section_title button:hover {
    background: black;
    color: white;
    cursor: pointer;
}


/* Changement d'opacité sur les images de la gallerie */
#creations_section_images img:hover {
    opacity: 0.3;
    cursor: pointer;
}

#creations_section_images img {
   transition: 0.5s;
}