@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Éléments principaux */

html {
    background-color: #fff;
    font-family: "Barlow", "Poppins", sans-serif;
    margin: 0;
    scroll-behavior: smooth;
}

h1, h2 {
    margin: 0;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

body {
    margin: 0;
}

a {
    text-decoration: none;
}

p {
    font-size: 1.5rem;
}

h1::selection, h2::selection, p::selection, a::selection, img::selection {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Navigation */

.nav {
    width: 100%;
    height: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav {
    position: fixed;
    width: 90%;
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #000;
    padding: 1rem;
    display: flex;
    height: 4rem;
    text-align: center;
    justify-content: center;
    align-items: center;
}

nav ul li a img {
    width: 4rem;
}

/* En-tête */

header {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 50vh;
    background: linear-gradient(45deg, rgb(216, 44, 44, 0.75), rgb(210, 225, 47, 0.75), rgb(61, 206, 45, 0.75), rgb(54, 105, 206, 0.75));
    background-size: 400% 400%;
    padding: 2rem;
    color: #fff;
    margin: 0 5%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    animation: animation 60s ease-in-out infinite;
}

@keyframes animation {

    0% {
      background-position: 0 100%;
    }
  
    50% {
      background-position: 100% 0;
    }
  
    100% {
      background-position: 0 100%;
    }
    
  }

header div {
    margin: 4rem 0;
}

/* Présentation */

.presentation {
    margin: 5%;
}

.presentation .content {
    display: flex;
    justify-content: space-between;
}

.presentation .content div {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    padding: 1rem;
    margin: 1rem;
}

.presentation img {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    max-height: 20rem;
    width: 100%;
    object-fit: cover;
}

.board_game {
    object-position: top;
}

/* Mes avancées */

.progress {
    margin: 5%;
}

.progress div {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    padding: 1rem;
    margin: 1rem;
}

.progress img {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    max-height: 33rem;
    width: 100%;
    object-fit: cover;
}

.progress .reset {
    max-height: 14rem;
}

/* Tester */

.test, .demo {
    margin: 5%;
    border-radius: 1rem;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.test div {
    margin: 1rem;
}

.test a {
    border-radius: 1rem;
    padding: 1rem;
    color: #fff;
    margin: 1rem;
    font-weight: 500;
    font-size: 2rem;
    background-color: rgb(54, 105, 206, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.5s ease;
}

.test a:hover {
    box-shadow: 0 0 1rem rgb(54, 105, 206, 0.75);
}