/*
beige = #e5dcca
gris = #695f58
taupe texture = #bfa195
jaune texture = #f5bf77
sombre = #35312f
ombre = rgba(34, 17, 1, 0.8)

*/

/****  BASES  ****/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;    
}

body {
    background-color: #c3b29e;
    color: #35312f;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    background: url('img/texturepatine2000repeatLight.jpg') center/cover no-repeat; 
}

h1 {
    font-size: 1.4em;
    font-family: "Roboto", sans-serif;
    color: #35312f;
    text-transform: uppercase;
}

a {
    color: #35312f;
}

p {
    font-size: 1.4em;
}

.page-container {
    max-width: 96%;
    min-height: 800px;
    margin: auto;
    margin-top: 100px;
}

.barre {
    margin: auto;
    width: 180px;
    filter: drop-shadow(0px 0px 5px rgba(34, 17, 1, 0.8));
    margin-top: 20px; 
}

/****  HEADER  ****/

header {
    max-width: 96%;
    margin: auto;
}

.header-bigscreen {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.header-bigscreen nav {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    min-width: 30%;
    margin-top: 155px;
}

header nav a {
    text-decoration: none;
    color: #35312f;
    font-size: 1.5em;
}

header nav a:hover {
    color: #f5bf77;
    filter: drop-shadow(0px 0px 5px rgba(34, 17, 1, 0.8));
}

.header-smallscreen {
    display: none;
}

.logo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 220px;
}

.texture-header {
    max-width: 280px;
}

.texture-footer {
    transform: rotate(180deg);
    display: none;
    margin-top: 20px;
}

.reseau-container-bigscreen {
    display: flex;
    text-align: center;
    justify-content: center;
    max-width: 100px;
    gap: 20px;
}

.reseau-item {
    width: 4%;
    height: 4%;
    min-width: 26px;
    min-height: 26px;
}

.a-reseaux img {
    transition: all 0.3s ease-in-out;
}

.facebook-icone:hover img {
    content: url('img/fbjaune.png');
}

.instagram-icone:hover img {
    content: url('img/instajaune.png');
}

/****  SMALL SCREEN HEADER  ****/

.menu-smallscreen-item {
    width: 5%;
    height: 5%;
    min-width: 30px;
    min-height: 30px;
}

.header-smallscreen nav {
    display: flex;
}

.burger-icone {
    cursor: pointer;
}

.burger-icone img {
    transition: all 0.3s ease;
}

.burger-icone:hover img {
    content: url('img/burgerjaune.png');
    filter: drop-shadow(0px 0px 6px rgba(34, 17, 1, 0.8)); 
}

.burger-menu {
    display: none; /* Caché par défaut */
}

.burger-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.burger-menu ul li {
    padding: 5px 0;
}

.burger-menu ul li a {
    text-decoration: none;
    color: #35312f;
    font-size: 1.5em;
}

.burger-menu ul li a:hover {
    color: #f5bf77;
    filter: drop-shadow(0px 0px 5px rgba(34, 17, 1, 0.8)); 
}


/****  FOOTER  ****/

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 96%;
    margin: auto;
}

footer a, footer p {
    color: #35312f;
    font-size: 0.8em;
    margin: 10px;
}

.simlink {
    display: flex;
    flex-direction: row;
}

.simlink a, .simlink p {
    margin-left: 2px;
    margin-right: 2px;
}



/**************************/
/********  OMBRES  ********/
/**************************/

.ombre-container {
    position: fixed;
    top: -5%;
    left: -5%;
    width: calc(100% + 10%); /* pas evident */
    height: 100%;
    background: url('img/ombre.png') center/cover no-repeat; 
    background-position: center top;
    opacity: 0.4;
    filter: drop-shadow(10px 10px 10px rgba(34, 17, 1, 0.8));
    overflow: visible;
    /* Définition de l'animation */
    /*animation: rotateScaleAnimation 10s linear infinite;*/ /* 5 secondes, linéaire, en boucle */
    animation: matrixAnimation 16s cubic-bezier(.35,.19,.77,.87) infinite;
    z-index: -1;
}

.shadow {
    filter: drop-shadow(10px 10px 10px rgba(34, 17, 1, 0.8)); 
}

@keyframes matrixAnimation {
    0% {
      transform: matrix(1, 0, 0, 1, 0, 0);
    }
    33% {
      transform: matrix(1, -0.03, 0, 1, 15, 0);
    }
    50% {
        transform: matrix(0.99, 0, 0, 0.99, 0, 0);
      }
    66% {
      transform: matrix(1, 0.03, 0, 1, -15, 0);
    }
    100% {
      transform: matrix(1, 0, 0, 1, 0, 0);
    }
  }


/********************************/
/********  MEDIA SCREEN  ********/
/********************************/

  @media screen and (min-width: 1700px) {
    .ombre-container {
        position: fixed;
        top: -5%;
        left: -5%;
        width: calc(100% + 10%); /* pas evident */
        height: 120%;
    }
  }

  @media screen and (max-width: 1480px) {
    .header-bigscreen nav {
        flex-direction: column-reverse;
        align-items: center;
        margin-top: 0px;
    }

    .header-bigscreen nav a {
        display: flex;
        justify-content: center;
    }

    .logo {
        max-width: 200px;
    }
    
    .texture-header {
        max-width: 260px;
    }
  }

  @media screen and (max-width: 800px) {
    .header-bigscreen {
        display: none;
    }

    .header-smallscreen {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    
    header nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 30px;
        margin-top: 10px;
    }

    .logo {
        max-width: 180px;
    }
    
    .texture-header {
        max-width: 230px;
    }

    .page-container {
        margin-top: 10px;
    }

    .burger-menu {
        margin-bottom: 20px;
    }

    footer nav{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: auto;
    }

    .texture-footer {
        display: block;
    }

  }