/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}
/* 2. Remove default margin */
* {
  margin: 0;
}
/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}
body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}
/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}
/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}
/*
  10. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

/* Custom Styles */

html {
    background-color: #0e0525;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    background-image: url("/public/medias/bg_mark.png");
}

.mid-logo-L {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.mid-logo-L img {
    width: 30vh;
    height: auto;
}

.title-container {
    width: 80vw;
    margin-left: 10vw;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2em;
    margin-bottom: 2em;
}

.bg-title-primary {
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0%,
        rgb(0, 183, 255) 50%,
        rgba(0, 0, 0, 0) 100%
    );
}

.bg-title-secondary {
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0%,
        rgb(255, 251, 0) 50%,
        rgba(0, 0, 0, 0) 100%
    );
}

.bg-title-rmtm {
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0%,
        rgb(0, 110, 255) 50%,
        rgba(0, 0, 0, 0) 100%
    );
}

.title-container h1 {
    color: #ffffff;
    font-size: 2em;
    text-shadow: 0 0 10px #000000;
}

.short-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    height: 75vh;
}

.short-container video {
    width: auto;
    height: 100%;
    border: 0.2em solid #ffffff;
    border-radius: 0.5em;
    margin: 2em;
}

.short-container img {
    width: auto;
    height: 80%;
    border: 0.15em solid #ffffff;
    border-radius: 0.4em;
}

.short-container button {
    background-color: #ffffff00;
    color: #ffffff;
    border: none;
    font-size: 2em;
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    text-align: center;
    cursor: pointer;
    transition: font-size 0.3s ease;
}

.short-container button:hover {
    font-size: 2.5em;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2em;
    gap: 1em;
}

.video-container video {
    display: block;
    width: 18vw;
    border: 0.2em solid #ffffff;
    border-radius: 0.5em;
}

.video {
  display: block;
}

.video .overlay {
  position: absolute;
  display: block;
  width: 18vw;
  height: calc(((1080*18vw) / 1920) + 0.2em);
  border: 0.2em solid #ffffff;
  border-radius: 0.5em;
  background-color: #13354200;
  z-index: 2;
  color: #ffffff00;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.video .overlay:hover {
  background-color: #13354259;
  color: #ffffffc0;
}

.overlay i {
  font-size: 5em;
}

.footer-container {
  width: 100%;
  background-color: #1f1242;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5em;
}

.footer-container a {
  text-decoration: none;
  color: #ffffff;
  margin-left: 1em;
  margin-right: 1em;
}

.footer-container a:hover {
  color: #85dcff;
}

.sondage-container {
  display: flex;
  width: 75vw;
  margin-left: 12.5vw;
  justify-content: center;
  align-items: center;
  gap: 2em;
}

.sondage {
  width: 48%;
  background-color: #1d133a;
  text-align: center;
  color: #ffffff;
  padding: 1em;
  border-radius: 1em;
  border: 0.2em solid #ffffff;
}

.sondage .progresse-bar {
  background-color: #d32020;
  margin-top: 1em;
}

.spacer-container {
    height: 5em;
}

.btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4em;
    margin-top: 2em;
    margin-bottom: 2em;
}

.btn-container .btn-icon-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    cursor: pointer;
    width: 6em;
    height: 6em;
    border-color: #ffffff;
    border-width: 0.15em;
    border-style: solid;
    border-radius: 1em;
    padding: 1em;
    font-size: 2em;
    transition: transform 0.3s ease;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    background: rgba(20, 20, 20, 0.8);
}

.btn-container .btn-icon-text:hover {
    transform: scale(1.1);
    background-color: #1c4758;
}

.container {
  width: 30vw;
  margin: auto;
  margin-top: 10vh;
  display: block;
}

form {
    background: rgba(20, 20, 20, 0.8);
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 255, 255, 0.4);
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #00f6ff;
    text-shadow: 0 0 5px #00f6ff;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 18px;
    border: none;
    outline: none;
    border-radius: 8px;

    background: #111;
    color: #00f6ff;
    font-size: 15px;

    box-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.4);
}

input[type="text"]:focus,
input[type="password"]:focus {
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
    border-color: #00f6ff;
}

input[type="submit"] {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: transparent;
    color: #00f6ff;
    font-size: 16px;
    border: 2px solid #00f6ff;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    text-shadow: 0 0 6px #00f6ff;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

input[type="submit"]:hover {
    background: #00f6ff;
    color: #000;
    box-shadow: 0 0 15px #00f6ff;
}

.upload-form {
  display: block;
  background: rgba(20, 20, 20, 0.8);
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 255, 255, 0.4);
  color: #ffffff;
}