/* 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;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow: auto;
  font-family: 'ArialRoundedRegular', sans-serif;
  color: white;
  background: #080834;
  background: -webkit-linear-gradient(180deg, rgba(28, 30, 133, 1) 0%, rgba(8, 8, 52, 1) 100%);
  background: -moz-linear-gradient(180deg, rgba(28, 30, 133, 1) 0%, rgba(8, 8, 52, 1) 100%);
  background: linear-gradient(180deg, rgba(28, 30, 133, 1) 0%, rgba(8, 8, 52, 1) 100%);
  background-attachment: fixed;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1C1E85", endColorstr="#080834", GradientType=0);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Japonneige */
#snow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}

/* Barre de navigation */
.navbar {
    font-family: 'ArialRoundedRegular', sans-serif;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.navbar * {
    box-sizing: border-box;
    transition: all 0.35s ease;
}

.navbar li {
    display: inline-block;
    list-style: outside none none;
    margin: 0 1.5vh;
    overflow: hidden;
    font-size: 2vh;
}

.navbar a {
    padding: 1vh;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    display: inline-block;
    margin: 0;
    text-decoration: none;
}

.navbar li:hover a{
    color: white;
}

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;
    display: inline-flex;
    align-items: center;
    gap: 1vh;
}

button:hover {
    background-color: #666;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #2a2a2a;
    color: #aaa;
}

/* Texte principal */
.intro {
  position: relative;
  z-index: 1;
  padding-top: 8vh;
  margin-bottom: 2vh;
}

h1 {
  font-family: 'ArialRoundedBold', sans-serif;
  font-size: 6vh;
  margin: 0;
}

h2 {
  font-family: 'ArialRoundedBold', sans-serif;
  font-size: 3vh;
  margin: 0;
}

footer {
  width: 100%;
  color: white;
  text-align: center;
  padding: 2vh 0;
  margin-top: auto;
  font-size: 1.8vh;
  font-family: 'ArialRoundedRegular', sans-serif;
  opacity: 0.5;
}

/* Aiko */
.aikochan {
  z-index: 1;
  position: relative;
  margin-top: 4vh;
}

.aikochan img {
  width: 40vh;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}