/*
Theme Name: Mon thème
Author: Adrien LAGRANGE VERGAUWEN
Description: Thème George Lucas
Requires at least: WordPress 5.0
Version: 1.0
*/


:root {
    --color-gray-light: #74747C;
    --color-gray: #1D1E1F;
    --color-argent: #c0c0c0;
    --color-wheat: #f7f2d7;
}

/* Gilmer Regular */
@font-face {
    font-family: 'Gilmer';
    src: url('./assets/fonts/Gilmer\ Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Gilmer Bold */
@font-face {
    font-family: 'Gilmer';
    src: url('./assets/fonts/Gilmer\ Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

/* Gilmer Heavy */
@font-face {
    font-family: 'Gilmer';
    src: url('./assets/fonts/Gilmer\ Heavy.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* Gilmer  Light*/
@font-face {
    font-family: 'Gilmer';
    src: url('./assets/fonts/Gilmer\ Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

/* Gilmer Medium */
@font-face {
    font-family: 'Gilmer';
    src: url('./assets/fonts/Gilmer\ Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

/* Gilmer  Outline*/
@font-face {
    font-family: 'Gilmer Outline';
    src: url('./assets/fonts/Gilmer\ Outline.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Starwars';
    src: url('./assets/fonts/Starjedi.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h2,
h3,
p,
a {
    color: white;
    font-family: 'Gilmer';
}

.typo_starwars {
    color: #F1EA58;
    font-family: 'Starwars';
}

.typo_starwars_gray{
    color: #1D1E1F;
    font-family: 'Starwars';
}

/*******************************************/
/************* DEBUT HEADER ****************/
/*******************************************/
header {
    position: fixed;
    padding: 25px;
    width: 100%;
    z-index: 900;
}

.container-header {
    display: flex;
    justify-content: space-between;
}

.site-logo img {
    width: 150px;
    height: auto;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 25px
}

.main-navigation ul li {
    list-style: none;
}

.main-navigation ul li a {
    color: white;
    text-decoration: none;
    padding: 15px 0;
    position: relative;
}

.main-navigation ul li a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    bottom: 10px;
    left: 0;
    transition: width 200ms ease-in-out;
}

.main-navigation ul li a:hover::before {
    width: 100%;
}

/*******************************************/
/*************** FIN HEADER ****************/
/*******************************************/






/*******************************************/
/************* DEBUT FOOTER ****************/
/*******************************************/
footer {
    position: relative;
    background-color: var(--color-gray);
}

.section_footer {
    position: fixed;
    bottom: 0;
    left: 0;
    transform: translateY(100%);
    /* caché par défaut */
    background: var(--color-gray);
    width: 100%;
    padding: 25px;
    transition: transform 0.3s ease-in-out;
    z-index: 999;
}

.section_footer.visible {
    transform: translateY(0);
    /* visible */
}

#menu-menu-footer {
    display: flex;
    justify-content: center;
    gap: 50px;
}

#menu-menu-footer li {
    list-style: none;
}

#menu-menu-footer a {
    text-decoration: none;
    font-weight: 800;
}

#menu-menu-footer a:hover {
    text-decoration: underline;
}

/*******************************************/
/*************** FIN FOOTER ****************/
/*******************************************/



.home-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.home-section>div {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.home-section * {
    text-align: center;
}

.accueil_btn {
    border-radius: 999px;
    margin-top: 25px;
    padding: 6px 15px;
    border: 3px  solid white;
    text-decoration: none;
}

.logo_accueil img {
    width: 550px;
    height: auto;
}


/* add keyframes for animation*/
@keyframes animate1 {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

/* 2nd line animation*/
.accueil_btn span:nth-child(2) {
    top: -100%;
    background: linear-gradient(180deg, transparent, white);
    animation: animate2 1000ms linear infinite;
    right: 0;
    width: 3px;
    height: 100%;
    animation-delay: 250ms;
}

/* add keyframes*/
@keyframes animate2 {
    0% {
        top: -100%;
    }

    50%,
    100% {
        top: 100%;
    }
}

/* 3rd line animation*/
.accueil_btn span:nth-child(3) {
    bottom: 0;
    right: 0;
    background: linear-gradient(270deg, transparent, white);
    animation: animate3 1000ms linear infinite;
    width: 100%;
    height: 3px;
}

@keyframes animate3 {
    0% {
        right: -100%;
    }

    50%,
    100% {
        right: 100%;
    }
}

/* 4th line animation*/
.accueil_btn span:nth-child(4) {
    bottom: -100%;
    left: 0;
    background: linear-gradient(360deg, transparent, white);
    animation: animate4 1000ms linear infinite;
    width: 3px;
    height: 100%;
    animation-delay: 250ms;
}

@keyframes animate4 {
    0% {
        bottom: -100%;
    }

    50%,
    100% {
        bottom: 100%;
    }
}

.container_axe {
    max-width: 1140px;
    margin: auto auto;
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px 50px;
    position: relative;
    z-index: 900;
}

.card_axe {
    width: 100%;
    max-width: 400px;
    height: 100%;
    background-color: var(--color-gray);
    list-style: none;
    place-self: center;
    z-index: 1;
}

.card_axe a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: white;
    text-decoration: none;
}

.image_container_axe {
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.image_container_axe::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 50;
    transition: all 200ms ease-in-out;
    opacity: 0;
}

.image_container_axe img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: all 200ms ease-in-out;
}

.card_axe:hover .image_container_axe::before {
    opacity: 1;
}

.card_axe:hover .image_container_axe img {
    scale: 1.05;
}

.description_container_axe {
    padding: 25px;
    padding-top: 30px;
    flex-grow: 1;
    position: relative;
}

.description_container_axe::before {
    content: "";
    position: absolute;
    width: 55%;
    height: 25px;
    background-color: var(--color-gray);
    ;
    bottom: 0;
    left: 0;
    transform: translateY(calc(100% + 2px));
    border-bottom-left-radius: 15px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}

.description_container_axe::after {
    content: "";
    position: absolute;
    width: 20%;
    height: 25px;
    background-color: var(--color-gray);
    ;
    bottom: 0;
    right: 0;
    transform: translateY(calc(100% + 2px));
    border-bottom-right-radius: 15px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%);
}

.laser_container_axe {
    position: absolute;
    top: 12px;
    left: 25px;
    display: flex;
}


.laser_container_axe span:first-child {
    width: 35px;
    height: 7px;
    background-color: var(--color-argent);
    border-radius: 50px 0 0 50px;
    z-index: 1;
}

.laser_container_axe span:nth-child(2) {
    width: 5px;
    height: 11px;
    background-color: var(--color-argent);
    border-radius: 50px;
    margin-top: -2px;
    margin-left: -7px;
    z-index: 1;
}

.laser_container_axe span:nth-child(3) {
    width: 0;
    height: 5px;
    background-color: white;
    border-radius: 0 50px 50px 0;
    margin-top: 1px;
    transition: width 200ms ease-in, box-shadow 200ms ease-in;
}

.card_axe:hover .laser_container_axe span:nth-child(3) {
    width: 135px;
    box-shadow: 0 0 5px 2px red;
    transition: width 200ms ease-in, box-shadow 50ms ease-in;
}

.card_axe:hover .laser_container_axe.green span:nth-child(3) {
    box-shadow: 0 0 5px 2px green;
}

.card_axe:hover .laser_container_axe.blue span:nth-child(3) {
    box-shadow: 0 0 5px 2px blue;
}

.card_axe:hover .laser_container_axe.yellow span:nth-child(3) {
    box-shadow: 0 0 5px 2px yellow;
}



.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}



.single-axe {
    background-image: url("https://george-lucas.adrien-lv.fr/wp-content/uploads/2025/04/fond-etoile.jpg");
}

.single-axe h1{
    font-size: 50px;
}

.single-axe article {
    max-width: 1350px;
    margin: 0 auto;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.single-axe .content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
}

.single-axe .content>div{
    width: 100%;
}

.single-axe .content>div>*{
    width: 100%;
}

.description{
    font-size: 25px;
    line-height: 35px;
    text-align: justify;
}

.video iframe{
    height: 100%;
}

.back_axe{
    font-size: 18px !important;
    padding: 10px 15px;
    border-radius: 999px;  
    border: 4px solid #1D1E1F; 
    background-color: transparent;
    position: absolute;
    top: 25px;
    right: 25px;
    text-decoration: none;
}
.back_axe:hover{
    background-color: white;
    border: 4px solid white; 
}

