/*!
Theme Name: Wordpress_theme
Theme URI: http://underscores.me/
Author: Alicia_Faufra
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wordpress_theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# GÉNÉRAL
	- Typographies
	- HTML
  - Body
	- Liens
# DEVICE ORDI
	- Header
	- Header Hamburger Menu
	- Section
	- Newsletter
	- Blog
	- Footer
  - Bandeau défilant
  - Error 404
# DEVICE TABLETTE
	- Général
  - Header
  - Section
  - Footer
# DEVICE SMARTPHONE 480px
	- Header
	- Section
  - Bandeau défilant
# DEVICE SMARTPHONE 320px
  - Général

--------------------------------------------------------------*/

/* GÉNÉRAL */

@font-face {
    font-family: 'Bright Demo';
    src: url(typos/Bright\ DEMO.otf) format("opentype");
  }

@font-face {
    font-family: 'Awesome Lathusca';
    src: url(typos/Awesome\ Lathusca.ttf) format("opentype");
  }

html{
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  background-color: #FFD2E1;
  color: #FFF;
  scroll-behavior: smooth;
}

body{
  margin: 0;
}

.entry-header{
  display: inline;
  position: static;
  text-align: center;
  padding: 0px;
}

a{
  text-decoration: none;
  color: #FFF;
}

a:hover{
  color: #DF0714;
}

/* -------- DEVICE : ORDI -------- */

/* HEADER */

header{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 15px 15%;
  height: 100px;
  background-color: #FFD2E1;
}

.header_logo{
  height: 70px;
}

.main_menu ul{
  display: flex;
  list-style-type: none;
  border: 2.5px solid #FFF;
  border-radius: 20px;
  padding: 5px 15px;
}

.main_menu li{
  padding: 0 1rem;
}

.main_menu a{
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  text-decoration: none;
  color: #DF0714;
  transition-duration: 0.3s;
}

.main_menu a:hover{
  color: #FFF;
}

/* HEADER - HAMBURGER MENU */

/* Cacher le bouton hamburger sur desktop */
.menu_icon {
  display: none;
  font-size: 3rem;
  cursor: pointer;
  color: #FFF;
  padding: 1rem;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1001;
}

/* Cacher le checkbox */
#menu_toggle {
  display: none;
}

/* SECTION */

section{
  padding: 0 15%;
}

h1{
  font-family: 'Bright Demo', serif;
  font-size: 4rem;
  font-weight: 100;
  color:#DF0714
}

h2{
  font-family: 'Awesome Lathusca', serif;
  font-size: 2.5rem;
  font-weight: 100;
  margin: 0;
}

h3{
  font-family: 'Bright Demo', serif;
  font-size: 1.8rem;
  font-weight: 100;
  color:#DF0714;
  margin: 0;
}

p{
  line-height: 1.6rem;
}

ul{
  padding-left: 20px;
}

button{
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 600;
  background-color: #DF0714;
  color: #FFF;
  border: none;
  border-radius: 40px;
  padding: 10px 25px;
  margin-top: 20px;
  cursor: pointer;
  transition-duration: 0.3s;
}

button:hover{
  background-color: #FFF;
  color: #DF0714;
}

#partie_1{
  display: flex;
}

#partie_2{
  display: flex;
}

#photos_rotate_droit{
  height: 400px;
  border-radius: 70px;
  border: 4px #FFF solid;
  transform: rotate(8deg);
}

#photos_rotate_gauche{
  height: 400px;
  border-radius: 70px;
  border: 4px #FFF solid;
  transform: rotate(-8deg);
}

.encart_intro{
  display: flex;
  background-color: #FFB5CD;
  color: black;
  border-radius: 42px;
  height: auto;
}

.encart_intro b{
  color: #DF0714;
}

.encart_intro div{
  padding: 30px 30px 40px 40px;
}

.bandeau_rouge{
  background-color: #DF0714;
  padding: 30px 15%;
  margin: 80px 0px;
}

#partie_3{
  display: flex;
  align-items: center;
}

#steps_container{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#steps_items{
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #FFB5CD;
  padding: 20px 20px 20px 60px;
  border-radius: 42px;
}

#steps_items h2{
  font-size: 3.5rem;
  margin: 0px 30px;
}

#steps_items p{
  font-size: 0.9rem;
  line-height: 1.3rem;
  margin-top: 5px;
  margin-bottom: 0;
}

#photo_steps{
  height: 500px;
  border-radius: 70px;
  border: 4px #FFF solid;
  transform: rotate(-8deg);
}

#bandeau_image{
  background-image: url("https://www.sheworks.be/wp-content/uploads/2026/01/valeria-nikitina-lyEGEDHPXCU-unsplash-scaled.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 300px;
  margin-bottom: 100px;
}

#packs_container{
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
}

#packs_items{
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #FFB5CD;
  padding: 40px;
  border-radius: 42px;
  width: 350px;
}

.packs_items_3{
  flex-basis: 800px;
}

#packs_items img{
  height: 60px;
}

#packs_container p, li{
  font-size: 0.9rem;
  line-height: 1.3rem;
}

#teams_container{
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#teams_container p{
  font-size: 0.9rem;
  line-height: 1.3rem;
}

#teams_items{
  display: flex;
  flex-direction: row;
  align-items: center;
}

#teams_text{
  background-color: #FFB5CD;
  padding: 20px 40px;
  border-radius: 42px;
}

/* NEWSLETTER */

#newsletter{
  text-align: center;
  justify-items: center;
}

#newsletter h3{
  font-size: 2.5rem;
  margin: 20px 0;
}

#newsletter p{
  color: #DF0714;
  font-style: italic;
  font-size: 0.8rem;
}

/* BLOG */

main {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 15%;
}

.type-post{
  background-color: #FFF;
  color: black;
  border-radius: 42px;
  padding: 20px 0px;
}

.type-post p{
  margin: 0px 40px;
}

#breadcrumbs, #breadcrumbs a{
  color: #FFB5CD;
  font-size: 0.8rem;
  text-align: left;
}

article img{
  width: auto;
  height: auto;
}

.entry-title{
  font-size: 3rem;
  margin: 20px 0 30px;
}

.entry-content a{
  font-size: 20px;
  font-weight: bold;
  color: #DF0714;
}

.entry-content a:hover{
  color: #81050d;
}

.wp-block-latest-posts__list li{
  background-color: #FFF;
  border-radius: 42px;
  padding: 20px;
}

.wp-block-latest-posts__featured-image{
  overflow: clip;
  max-height: 200px;
  margin-bottom: 20px;
  border-radius: 22px;
}

.wp-block-latest-posts__post-excerpt{
  color: #DF0714;
}

.wp-block-image{
  font-size: 0.8rem;
  text-align: center;
  margin: 30px 0;
}

.post-thumbnail{
  overflow: clip;
  max-height: 500px;
  margin-bottom: 40px;
}

.navigation post-navigation{
  background-color: #DF0714;
  border-radius: 20px;
  height: 40px;
  text-align: center;
  align-content: center;
}

.nav-links{
  font-weight: 500;
  margin-top: 50px;
  padding: 20px;
  border: 3px #FFF solid;
  border-radius: 42px;
}

/* FOOTER */

footer{
  background-color: #FFB5CD;
  justify-items: center;
  padding: 30px 0 10px;
  margin-top: 100px;
  border-top: 4px solid #FFF;
}

footer p{
  font-weight: 600;
}

.contact{
  display: flex;
  align-items: center;
}

.bi-envelope-fill{
  padding: 0 10px;
}

footer ul{
  list-style-type: none;
  padding: 0;
  margin: 0;
}

footer li{
  display: inline-block;
}

footer a{
  font-size: 0.8rem;
  text-decoration: none;
  color: #FFF;
  padding: 0 10px;
}

footer a:hover{
  color: #DF0714;
}

.reseaux_sociaux{
  margin-bottom: 20px;
}

.copyright{
  font-size: 0.7rem;
  font-weight: 400;
  font-style: italic;
  margin: 20px 0 0 0;
}

/* bandeau defilant */

@keyframes defilement-rtl {
  0% {transform: translate3d(0,0,0); /* position initiale à droite */}
  100% {transform: translate3d(-100%,0,0); /* position finale à gauche */ }
}

.bandeau_defilant{
  display: flex;
  font-family: 'Bright Demo', serif;
  font-size: 1.5rem;
  letter-spacing: 5px;
  color: #FFF;
  margin: 70px 0;
  overflow: hidden;
}

.bandeau_defilant > :first-child{
  display: inline-block;
  white-space: nowrap;
  animation: defilement-rtl 15s infinite linear;
}

.bandeau_defilant > :last-child{
  display: inline-block;
  white-space: nowrap;
  animation: defilement-rtl 15s infinite linear;
}

/* fin du bandeau defilant */

/* ERROR 404 */

.error-404-not-found{
  text-align: center;
  margin: 150px 0px 200px;
  padding: 0;
}


/* -------- DEVICE : TABLETTE -------- */

@media only screen and (max-width: 768px){

/* GÉNÉRAL */

  html{
    font-size: 18px;
  }

/* HEADER MENU */

  .header_logo{
    height: 50px;
  }

  .main_menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #DF0714;
    text-align: center;
    padding: 3rem 1rem;
    z-index: 1000;

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
  }

  .main_menu ul {
    flex-direction: column;
    gap: 3rem;
    border: none;
    margin-top: 30px;
  }

  .main_menu ul li a {
    color: #FFF;
    font-size: 1.6rem;
  }

  /* Afficher le bouton hamburger */
  .menu_icon {
    display: block;
  }

  /* Quand on clique, afficher le menu */
  #menu_toggle:checked + .menu_icon + .main_menu {
    max-height: 300px; /* hauteur suffisante pour afficher le menu */
    opacity: 1;
  }

  /* SECTION */

  #partie_2, #partie_3{
    flex-direction: column;
    align-items: center;
  }

  .encart_intro div{
    padding: 20px 30px 40px 30px;
    text-align: center;
  }

  #steps_items{
    padding: 20px;
  }

  #photo_steps{
    height: auto;
    width: 300px;
  }

  #teams_items{
    flex-direction: column-reverse;
  }

  /* FOOTER */

  .bi-envelope-fill{
    width: 32px;
    height: 32px;
  }

  footer li{
    display: block;
    text-align: center;
    margin: 20px 0;
  }

  footer a{
    font-size: 1rem;
  }

  .reseaux_sociaux{
    margin: 40px 0 50px 0;
  }

  svg{
    padding: 0 10px;
    width: 45px;
    height: 45px;
  }
  
}

/* -------- DEVICE : SMARTPHONE 480px -------- */

@media only screen and (max-width: 480px){

  /* HEADER */

  header{
    padding: 10px 8%;
  }

  /* SECTION */

  section{
    padding: 0 8%;
  }

  h1{
    margin: 100px 0 20px 0;
  }

  #photos_rotate_droit, #photos_rotate_gauche, #photo_steps{
    height: auto;
    width: 250px;
  }

  #partie_1{
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 90px;
  }

  #partie_1 img{
    max-width: 120px;
  }

  .bandeau_rouge{
    padding: 20px 8%;
    margin: 0 0 50px 0;
  }

  #a-propos{
    display: none;
  }

  #bandeau_image{
    height: 200px;
    margin-bottom: 70px;
  }

  #steps_items{
    padding: 30px;
  }

  #steps_items h2{
    margin: 0 30px 0 0;
  }

  #packs_container, #teams_container{
    gap: 20px;
  }

  #packs_items{
    padding: 30px;
  }

  .packs_items_3{
    flex-basis: auto;
  }

  #teams_items h2{
    text-align: center;
  }  

  #teams_text{
    padding: 30px;
  }

  /* BLOG */

  main {
    padding: 0 8%;
  }

  .wp-block-latest-posts.is-grid li {
    margin: 0 0 30px;
  }

  .type-post p{
    margin: 0px 25px;
  }
  
  /* BANDEAU DÉFILANT*/

  .bandeau_defilant{
    margin: 50px 0;
  }

}

/* -------- DEVICE : SMARTPHONE 320px -------- */

@media only screen and (max-width: 320px){

/* GÉNÉRAL */

  html{
    font-size: 14px;
  }
}