@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');
:root {
  --text-color: #000;
  --text-color-form: #838181;
  --bg-color: #ebebeb;
  --bg-color-two: #f5f5f5;
  --border-color: #ccc;
  --border-color-focus: #aabba1;
  --section-title-color: #9f988e;
  --linear-gradient: linear-gradient(to bottom right, rgba(255, 255, 255, 0.6), rgba(172, 170, 170, 0.4));
  --url: url("../img/background-white.png");
  --burger-color: #333;
}

:root.dark-mode {
  --text-color: #e6e6e6;
  --text-color-form: #b0b0b0;
  --bg-color: #1e1e1e;
  --bg-color-two: #2a2a2a;
  --border-color: #444;
  --border-color-focus: #6b8e23;
  --section-title-color: #c2b89c;
  --linear-gradient: linear-gradient(to bottom right, rgba(0, 0, 0, 0.753), rgba(37, 32, 32, 0.733));
  --burger-color: #dad9d9;
  --url: url("../img/background-dark.png");
}


html{
    scroll-behavior: smooth;
    color: var(--text-color)
}
body{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    
}
a{
    text-decoration: none;
    color: inherit;
}

.section-title {
    color: var(--section-title-color);
    font-size: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 7vh;
}

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

footer {
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
}
h3{
    font-size: 2.5vh;
    margin-bottom: 0px;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}


.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.toggle {
  font-size: 0.8rem;
  border: .125em solid currentColor;
  border-radius: 2em;
  cursor: pointer;
  display: block;
  height: 2em;
  position: relative;
  width: 3.75em;
  color: #1e1e1e; 
}

.toggle span {
  background-color: currentColor;
  border-radius: 2em;
  display: block;
  height: 1.5em;
  left: .25em;
  overflow: hidden;
  position: absolute;
  top: .25em;
  text-indent: -9999px;
  transition: left .25s;
  width: 1.5em;
  z-index: 2;
}

.toggle::before,
.toggle::after {
  content: '';
  display: block;
  border-radius: 1em;
  position: absolute;
  z-index: 1;
}


.toggle::before {
  background-color: #ffc409;
  height: .625em;
  outline: .25em dotted #ffc409;
  outline-offset: .125em;
  left: .7em;
  top: .7em;
  width: .625em;
}


.toggle::after {
  box-shadow: .25em .25em #5901d8;
  height: 1.125em;
  right: .9em;
  top: .125em;
  width: 1.125em;
}


input:checked ~ .toggle span {
  left: 2em;
}


input:checked ~ .toggle {
  color: #d0d0d0;
}

/* Accessibilité */
.sr-only {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

@media (max-width: 768px) {
    .toggle {
        display: none;
    }
}