@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
/* Variables */
html, body {
  overscroll-behavior: none; /* Bloque l'effet de rebond sur Android */
  touch-action: none; /* Empêche les interactions tactiles comme le scroll */
  overflow: hidden; /* Empêche le scroll vertical */
  width: 100%;
  height: 100%;
}

/* Styles globaux */
body {
  font-family: "Roboto", sans-serif;
  background-color: #fff;
  color: #333;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  text-align: center;
  margin: 1rem 0;
}

button.btn {
  appearance: none;
  border: none;
}

.btn {
  display: block;
  margin-top: 1rem;
  text-align: center;
  color: #333;
  text-decoration: none;
  font-size: 0.8rem;
  background-color: #ddd;
  padding: 0.5rem 1.2rem;
  border-radius: 0.5rem;
  transition: all 0.3s;
  width: fit-content;
  margin: 0 auto 1rem;
  cursor: pointer;
}
.btn:hover {
  background-color: #ccc;
}
.btn.primary {
  background: #00A8DB;
  font-size: 1.2rem;
  padding: 0.8rem 2rem;
  color: #FFF;
}
.btn.primary:hover {
  background: #007f9d;
}
.btn.secondary {
  background: none;
  color: #333;
  margin: 0 auto 1rem;
  border: 1px solid #ddd;
}
.btn.secondary:hover {
  color: #777;
  border-color: #999;
  background: none;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  margin: 0 auto;
}
@media (max-width: 550px) {
  .flex {
    display: block;
  }
  .flex * {
    margin-bottom: 0.5rem;
  }
  .flex *:last-child {
    margin-bottom: 0;
  }
}

#flash {
  position: absolute;
  top: -5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 0.5rem 1rem;
  text-align: center;
  margin: 1rem 0;
  width: fit-content;
  border-radius: 0.5rem;
  margin: 0 auto 2rem;
  font-size: 0.9rem;
  transition: all 0.3s ease-in-out;
  z-index: 999;
}
#flash.success {
  background-color: #539e47;
}
#flash.error {
  background-color: #c35a5a;
}
#flash.show {
  top: 1rem;
}

#loader {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loader-container {
  width: 80vw;
  font-size: 0.8rem;
  text-align: center;
  color: #acaacc;
  opacity: 1;
}
.loader-container p {
  margin: 0;
  padding-bottom: 0.3rem;
}
.loader-container #progress-bar {
  background: #acaacc;
  transition: all 0.3s;
  text-align: center;
  color: #FFF;
  padding: 0.4rem 0;
  border-radius: 0.3rem;
  margin: 0 auto;
}
.loader-container.fadeOut {
  opacity: 0;
  transition: all 0.3s;
}

#animatedBackground {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page.ppk header {
  position: absolute;
  display: flex;
  justify-content: space-between;
  top: 0;
  width: 100%;
  z-index: 99;
}
.page.ppk header button, .page.ppk header a {
  appearance: none;
  background: transparent;
  border: none;
  color: #AAA;
  font-size: 1rem;
  padding: 1rem;
  cursor: pointer;
}
.page.ppk header button:hover, .page.ppk header a:hover {
  color: #333;
}
.page.ppk .slide-restart {
  position: absolute;
  bottom: 10rem;
  width: 100%;
  display: block;
  margin: 0 auto;
}
.page.settings main {
  overflow-y: scroll;
}
.page.settings main form {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
}
@media (max-width: 550px) {
  .page.settings main form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
  }
}
.page.settings main form label {
  color: #666;
}
@media (max-width: 550px) {
  .page.settings main form label {
    font-size: 0.8rem;
  }
}
.page.settings main form input[type=number] {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  margin-bottom: 0.8rem;
}
.page.settings main form textarea {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  min-height: 80px;
  margin-bottom: 0.8rem;
}
.page.settings main form .flex {
  grid-column-start: 1;
  grid-column-end: 3;
}

main {
  flex: 1;
  position: relative;
}
main .wrap {
  width: 60vw;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  margin: 0 auto 1rem;
  background: #FFF;
}
@media (max-width: 550px) {
  main .wrap {
    width: 80vw;
    padding: 0.8rem;
  }
}
main .form-group {
  margin-bottom: 1rem;
  display: block;
}
main #slide-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 1.8rem;
  font-weight: 100;
  color: #a19fbd;
}

#slide-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 2rem;
}
#slide-container img {
  border-radius: 1rem;
}

footer {
  background: #111;
  color: #fafafa;
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 1rem;
}
@media (max-width: 550px) {
  footer {
    display: block;
    text-align: center;
    font-size: 0.7rem;
  }
}
footer p {
  padding: 0;
  margin: 0;
}
footer .credits {
  font-size: 0.7rem;
}
footer .tips {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 550px) {
  footer .tips {
    display: none;
  }
}

#ratio {
  display: flex;
  align-items: center;
  justify-content: center;
}
#ratio .ratioValue {
  padding: 1rem;
}

/*# sourceMappingURL=style.css.map */
