/* Polices */
@font-face {
  font-family: 'ArialRoundedBold';
  src: url('../fonts/ArialRoundedMT-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'ArialRoundedRegular';
  src: url('../fonts/ArialRoundedMT-Regular.ttf') format('truetype');
}

* {
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'ArialRoundedRegular', sans-serif;
  color: white;
  background: #1C1E85;
  background: -webkit-linear-gradient(180deg, rgba(28, 30, 133, 1) 0%, rgba(8, 8, 52, 1) 50%);
  background: -moz-linear-gradient(180deg, rgba(28, 30, 133, 1) 0%, rgba(8, 8, 52, 1) 50%);
  background: linear-gradient(180deg, rgba(28, 30, 133, 1) 0%, rgba(8, 8, 52, 1) 50%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1C1E85", endColorstr="#080834", GradientType=0);
  background-attachment: fixed;
  text-align: center;
  position: relative;
}

/* Japonneige */
#snow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}

/* Texte principal */
.intro {
  position: relative;
  z-index: 1;
  padding-top: 8vh;
  margin-bottom: 6vh;
}

h1 {
  font-family: 'ArialRoundedBold', sans-serif;
  font-size: 8vh;
  margin: 0;
}

h2 {
  font-family: 'ArialRoundedRegular', sans-serif;
  font-size: 2.5vh;
  margin-top: 1vh;
  margin-bottom: 2vh;
  font-weight: normal;
}

a {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

/* Aiko */
.aikochan {
  z-index: 1;
  position: relative;
  margin-top: 4vh;
}

.aikochan img {
  width: 20vh;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.container {
  display: flex;
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 2vh;
}

.box {
  background-color: rgba(0, 0, 0, 0.50);
  padding: 3vh;
  border-radius: 1.5vh;
  flex: 1 1 300px;
  max-width: 300px;
  box-sizing: border-box;
}

input, textarea {
    background-color: #575757bb;
    border: none;
    border-radius: 5px;
    color: #fff;
    height: 3vh;
    margin-top: 1vh;
    padding: 0.3vh;
}

button {
    background-color: black;
    color: white;
    font-size: 1.75vh;
    padding: 1vh 2vh;
    border: none;
    border-radius: 1vh;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #666;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #2a2a2a;
  color: #aaa;
}

.alert {
    background-color: rgba(244, 67, 54, 0.3);
    color: #ef9a9a;
    padding: 1.5vh;
    border-radius: 1vh;
    margin-bottom: 2vh;
}