﻿@import "normalize.css";


@font-face {
  font-family: 'Vintage Video Games';
  src: url('font/videogames/vintagevideogames.ttf') format('truetype');
}

:root {
  --theme-orange: #ff6600;
  --theme-orange-light: #ff9f44;
  --theme-black: #1a1a1a;
  --theme-white-transparent: rgba(255, 255, 255, 0.2);
  --theme-white: #ffffff;

  --theme-border-radius: 0.5rem;
}

html {
  font-family: 'Audiowide', sans-serif;
  font-size: 48px;
  background-color: var(--theme-black);
  color: var(--theme-orange);
}

#liste-jeu {
  list-style-type: none;
  padding: 0;
}

.liste-jeu-item {
  color: var(--theme-orange);
  text-transform: capitalize;
  text-decoration: none;
}

#liste-jeu li {
  position: relative;
  display: block;
  margin-bottom: 0.5rem;
  background-color: var(--theme-white-transparent);
  border-radius: var(--theme-border-radius);
  padding: 0.5rem 1.5rem;
  box-shadow: 2px 2px var(--theme-orange-light);
}

#liste-jeu li::before {
  content: "G";
  text-align: center;
  color: var(--theme-orange);
  font-size: 1.25rem;
  position: absolute;
  top: 0.3rem;
  left: 0.5rem;
  font-family: 'Vintage Video Games', sans-serif;
}

fieldset {
  color: var(--theme-orange);
  border-color: var(--theme-orange);
  border-radius: var(--theme-border-radius);
  padding: 1rem;
}

input[type="text"],
textarea {
  display: block;
  width: 100%;
  border: none;
  background-color: var(--theme-white-transparent);
  color: var(--theme-orange);
  border-radius: var(--theme-border-radius);
  padding: 0.5rem;
}

#page-chargement-application {
  position: relative;
  height: 100vh;
  background-image: url(illustration/FULL.webp);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom center;
  background-attachment: fixed;

  text-align: center;
  font-size: 2rem;
  font-weight: normal;
  line-height: 1.8rem;

  padding: 10%;
  color: var(--theme-white);
  text-shadow: 2px 2px var(--theme-black);
  animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
  0% {
    background-color: #331a00;
  }
  100% {
    background-color: #663300;
  }
}

.page {
  position: relative;
  background-color: var(--theme-orange-light);
  padding: 5%;
  min-height: 100vh;
  box-sizing: border-box;

  background-image: url(illustration/god.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-attachment: fixed;
  background-size: 40%;
  color: var(--theme-orange);
}

.page h1 {
  text-align: center;
  font-size: 2rem;
  font-weight: normal;
  line-height: 1.8rem;
  color: var(--theme-orange);
  text-shadow: 2px 2px var(--theme-black);
}

.page h2,
.page p {
  background-color: var(--theme-white-transparent);
  border-radius: var(--theme-border-radius);
  padding: 0.5rem;
}

.action {
  display: block;
  font-family: sans-serif;
  background-color: var(--theme-orange-light);
  color: var(--theme-black);
  border-radius: var(--theme-border-radius);
  padding: 0.5rem;
  font-size: 1rem;
  text-align: center;
  width: 60%;
  margin: 0.5rem auto;
  box-shadow: 2px 2px var(--theme-orange);
  text-decoration: none;
}

.action:active {
  background-color: var(--theme-orange);
}
