@font-face {
    font-family: "Segoe UI Variable";
    src: url("https://db.onlinewebfonts.com/t/d33f4ed55868f7d505a1390fbb283be6.eot");
    src: url("https://db.onlinewebfonts.com/t/d33f4ed55868f7d505a1390fbb283be6.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/d33f4ed55868f7d505a1390fbb283be6.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/d33f4ed55868f7d505a1390fbb283be6.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/d33f4ed55868f7d505a1390fbb283be6.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/d33f4ed55868f7d505a1390fbb283be6.svg#Segoe UI Variable")format("svg");
}

* {
  font-family: "Segoe UI Variable", sans-serif;
}

body {
  width: 100%;
  /* background-color: rgb(32, 25, 77); */
  background-image: url(../images/oh-dear-background.png);
  margin: 0;
  color: white;

  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
}

h1 {
  font-size: 4em;
  text-shadow: #000000 0px 0px 15px;
}

header {    
  width: 100%;  
  margin: 0;
}

nav {
  position: fixed;
  top: 100;
  width: 100%;
}
nav ul {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;

  justify-content: space-between;
}
nav ul li {
  list-style-type: none;
  flex: 1;
  height: fit-content;
  background: linear-gradient(170deg, #ffffff, #ffffff, rgba(255, 0, 179, 0.479));
  background-size: 400% 400%;

  transition: background-position 0.5s ease-out;
}
nav ul li a {
  display: block;
  width: 100%;
  padding: 0.7em 0;

  text-align: center;
  text-decoration: none;
  font-size: 1.1em;
  color: rgb(0, 0, 0);
  font-weight: bold;

  transition: all 0.5s;
}
nav ul li:hover {
  background-position: 100% 50%;
}
nav ul li a:hover {
  color: rgb(255, 255, 255);
}

/* déroulage */
nav li ul {
  display: none;

  background-color: #0000004f;
  width: 100%;

  flex-direction: column;
}
nav li:hover > ul {
  display: flex;
}


.header-image {
  height: 10em;
}

/*  */
article {
  background-image: linear-gradient(160deg, rgb(255, 153, 0), black,  rgb(76, 0, 255));

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-items: center;
  align-items: center;
  justify-content:space-around;
}

section {
  box-shadow: 0px 0px 10px #ffbb00;
  border: 5px solid #ffffff ;
  margin: 2em auto;
  padding: 0.1em;
  display: flex;
  align-items: center;
  flex-direction: column;

  align-self: stretch;
  min-height: 15em;

  width: 23%;

  font-size: 1em;
}

div.tictactoe {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-items: center;
  align-items: center;
  justify-content:space-around;

  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: rgba(38, 0, 109, 0.466);
}
div.tictactoe a.case-tictactoe {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 25%;
  min-height: 25%;
  max-width: 33%;
  max-height: 33%;

  margin: 1px; /* idk */

  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);

  border-radius: 5%;

  text-decoration: none;
  text-align: center;
  font-size: 300%;
  align-content: center;
}

h2 {
  text-shadow: -2px 2px 4px #ff0000;
  padding: 20px;
        
  font-size: 2em; 
}
p {
  padding: 10px;
  width: 80%;
  text-shadow: -2px 2px 4px #ff8800;
  text-align: justify;
  line-height: 130%;

  background-color: rgba(0, 162, 255, 0.493);
}
.image {
  width: 80%;
  padding: 10px;
  background-color: rgba(132, 0, 255, 0.493);
}
img {
  width: 100%;
  -webkit-user-drag: none;
}
