@font-face {
  font-family: 'MS Sans Serif 12pt';
  src: url("/fonts/MS Sans Serif 12pt.ttf");
}

@font-face {
  font-family: 'MS Sans Serif 8pt';
  src: url("/fonts/MS Sans Serif.ttf");
}

body {
  background: url("/img/win95setup.jpg"); /* Version de base */
  color: black;
  margin: 0;
  padding: 0;
  text-align: center;
  /* ça fait ramer du cul */
  background-attachment: fixed;

  background-image:
    linear-gradient(rgba(255, 105, 180, 0.5), rgba(135, 206, 235, 0.5)),
    url("/img/win95setup.jpg");
  cursor: url('/cur/default.cur'), default;
  transform-origin: 0 0;
}

a, button {
  cursor: url('/cur/pointer.cur'), pointer;
}

input[type="text"], textarea {
  cursor: text;
}

h1 {
  margin-top: 10px;
  font-size: 32px;
  font-family: 'Courier New', Courier, monospace;
}

h2 {
  font-size: 24px;
  font-family: 'Courier New', Courier, monospace;
}

h3 {
  font-size: 20px;
  font-family: 'Courier New', Courier, monospace;
}

ul {
  margin-left: 0;
  padding-left: 22px;
}

p, li {
  font-size: 16px;
  font-family: 'MS Sans Serif 12pt', 'MS Sans Serif';

  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
}

hr {
  margin-left: 10px;
  margin-right: 10px;
}

.wrapper {
  width: 900px;
  margin: 50px auto 0 auto;
  overflow: hidden;
  text-align: left;
}

.main-container {
  width: 580px;
  float: left;
  padding: 12px;
  background-color: lightgrey;
  border: 2px solid blueviolet;
  margin-right: 5px;
}

#header {
  background-color: rgb(160, 160, 160);
  padding: 10px;
  border: 10px ridge blue;
  text-align: center;
}

#nav {
  background-color: gray;;
  padding: 0px;
  margin: 10px 0;
  border: 5px outset #000;
  text-align: center;
}

table{
  display: inline;
}

.nav-button {
  font-family: 'MS Sans Serif 12pt', 'MS Sans Serif';
  padding: 2px 4px;
  font-size: 16px;
  background-color: lightgrey;
  border: 2px solid #000;

  transform: translateZ(0);
  box-shadow: 3px 3px 0px #000;
}

.nav-button img {
  vertical-align: middle;
  margin-right: 3px;
  border: none;
}

.nav-button:hover {
  background-color: #e5e5e5;
  color: #333;
}

.nav-button:active {
  position: relative;
  top: 3px;
  left: 3px;

  box-shadow: none;
}

#blinking-text {
  font-size: 16px;
  color: blue;
  font-family: 'MS Sans Serif 12pt', 'MS Sans Serif';

  animation: blinking 1s infinite;
  transform: translateZ(0);
}

@keyframes blinking {
  0% { opacity: 1; }
  50% { opacity: 0; }
}

#main {
  margin-top: 20px;
}

.section h2 {
  margin-left: 25px;
}

.section p {
  margin-left: 25px;
}

.image-container {
  display: grid;
  text-align: center;
}

.image-container img{
  justify-self: center;
}

.image-container p{
  margin-right: 25px;
}

.section ul {
  padding-left: 22px;
  margin-left: 25px;
}

.section li {
  margin-bottom: 10px;
}

#footer {
  margin-top: 20px;
  padding: 10px;
  background-color: rgb(160, 160, 160);
  border-top: 10px ridge blue;
  text-align: center;
}

.side-container {
  width: 275px;
  float: right;
  background-color: lightgrey;
  padding: 4px;
  margin-left: 0px;
  padding-top: 12px;
  border: 2px solid blueviolet;
}

.side-wrapper{
  float: left;
}

.counter-wrapper{
  height: 24px;
  margin: 0;

  display: flex;
}

.visitor{
  margin-top: 8px;
}

#counter{
  color: lime;
  background-color: black;
}

/*Lecteur de cassette*/

.cassette-player-container {
  margin-left: 10px;
  padding: 5px;
  width: 224px;
  background-color: #333;
  overflow: hidden;
}

.cassette-player-wrapper{
  float: left;
  width : 190px;
  height : 150px;
  background-color: #000;
}

.cassette-holder{
  width: 190px;
  height: 107px;
}

.cassette-player-buttons{
  width: 100%;
  background-color: lightgrey;
  height: 41px;
}

.player-labels{
  margin: 0;
  padding-top: 2px;
  font-family: 'MS Sans Serif 8pt', 'MS Sans Serif';
  text-align: center;
  font-size: 11px;
}

.cassette-player-buttons-container{
  text-align: center;
  white-space: nowrap;

  display: flex;
  justify-content: center;
}

.cassette-player-buttons-container button {
  float: center;
}

.cassette-button{
  background-color: silver;
  border: 2px solid black;
  width: 25px;
  height: 25px;
  padding: 0;
  font-size: 11px;
  font-family: 'MS Sans Serif 8pt', 'MS Sans Serif';
}

#eject-button{
  width: 12px;
  height: 25px;
  margin-right: 20px;
}

#play-button{
  width: 35px;
  height: 25px;
}

.cassette-button:active{
  background-color: rgb(155, 155, 155);
}

.equalizer {
  float: right;
  height: 150px;
  width: 19px;
  margin-left: 10px;
  margin-right: 5px;
  padding-top: 4px;
  background-color: #000;
  text-align: center;
  overflow: hidden;

  display: flex;
  align-items: flex-end;
}

#bar {
  height: 0px;
  width: 10px;
  margin-left: 4px;
  margin-bottom: 4px;
  background-color: red;
  overflow: hidden;
}

.website-buttons-container {
  text-align: center;
  margin: 0 auto;
}

.website-buttons-container a {
  display: inline-block;
  margin: 0px;
  width: 88px;
  height: 31px;
}

.website-buttons{
  width: 88px;
  height: 31px;
  border: none;
}

/* éléments bonus */

#cat {
  position: absolute;
  width: 90px;
  height: 111px;
  overflow: hidden;

  position: fixed;
  right: 4%;
  bottom: 5%;
}

#cat img {
  width: 100%;
  height: auto;
}

embed{
  visibility: hidden;
}

/*scroll bar*/

::-webkit-scrollbar {
  width: 16px;
  height: 16px;
  background: none;
}

::-webkit-scrollbar-thumb, ::-webkit-scrollbar-button {
  width: 16px;
  height: 16px;
  background: silver;
  box-shadow: inset 1px 1px #dfdfdf, inset -1px -1px gray;
  border: 1px solid;
  border-color: silver #000 #000 silver;
}

::-webkit-scrollbar-track {
  image-rendering: optimizeSpeed;
  image-rendering: pixelated;
  image-rendering: optimize-contrast;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgLTAuNSAyIDIiIHNoYXBlLXJlbmRlcmluZz0iY3Jpc3BFZGdlcyI+CjxtZXRhZGF0YT5NYWRlIHdpdGggUGl4ZWxzIHRvIFN2ZyBodHRwczovL2NvZGVwZW4uaW8vc2hzaGF3L3Blbi9YYnh2Tmo8L21ldGFkYXRhPgo8cGF0aCBzdHJva2U9IiNjMGMwYzAiIGQ9Ik0wIDBoMU0xIDFoMSIgLz4KPC9zdmc+");
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 2px;
}

::-webkit-scrollbar-button {
  background-repeat: no-repeat;
  background-size: 16px;
}

::-webkit-scrollbar-button:single-button:vertical:decrement {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgLTAuNSAxNiAxNiIgc2hhcGUtcmVuZGVyaW5nPSJjcmlzcEVkZ2VzIj4KPG1ldGFkYXRhPk1hZGUgd2l0aCBQaXhlbHMgdG8gU3ZnIGh0dHBzOi8vY29kZXBlbi5pby9zaHNoYXcvcGVuL1hieHZOajwvbWV0YWRhdGE+CjxwYXRoIHN0cm9rZT0iIzAwMDAwMCIgZD0iTTcgNWgxTTYgNmgzTTUgN2g1TTQgOGg3IiAvPgo8L3N2Zz4=");
}

::-webkit-scrollbar-button:single-button:vertical:increment {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgLTAuNSAxNiAxNiIgc2hhcGUtcmVuZGVyaW5nPSJjcmlzcEVkZ2VzIj4KPG1ldGFkYXRhPk1hZGUgd2l0aCBQaXhlbHMgdG8gU3ZnIGh0dHBzOi8vY29kZXBlbi5pby9zaHNoYXcvcGVuL1hieHZOajwvbWV0YWRhdGE+CjxwYXRoIHN0cm9rZT0iIzAwMDAwMCIgZD0iTTQgNWg3TTUgNmg1TTYgN2gzTTcgOGgxIiAvPgo8L3N2Zz4=");
}

::-webkit-scrollbar-button:single-button:horizontal:decrement {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgLTAuNSAxNiAxNiIgc2hhcGUtcmVuZGVyaW5nPSJjcmlzcEVkZ2VzIj4KPG1ldGFkYXRhPk1hZGUgd2l0aCBQaXhlbHMgdG8gU3ZnIGh0dHBzOi8vY29kZXBlbi5pby9zaHNoYXcvcGVuL1hieHZOajwvbWV0YWRhdGE+CjxwYXRoIHN0cm9rZT0iIzAwMDAwMCIgZD0iTTggM2gxTTcgNGgyTTYgNWgzTTUgNmg0TTYgN2gzTTcgOGgyTTggOWgxIiAvPgo8L3N2Zz4=");
}

::-webkit-scrollbar-button:single-button:horizontal:increment {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgLTAuNSAxNiAxNiIgc2hhcGUtcmVuZGVyaW5nPSJjcmlzcEVkZ2VzIj4KPG1ldGFkYXRhPk1hZGUgd2l0aCBQaXhlbHMgdG8gU3ZnIGh0dHBzOi8vY29kZXBlbi5pby9zaHNoYXcvcGVuL1hieHZOajwvbWV0YWRhdGE+CjxwYXRoIHN0cm9rZT0iIzAwMDAwMCIgZD0iTTYgM2gxTTYgNGgyTTYgNWgzTTYgNmg0TTYgN2gzTTYgOGgyTTYgOWgxIiAvPgo8L3N2Zz4=");
}

::-webkit-scrollbar-corner {
  background: silver;
}

/*effet cathodique*/

body::after { 
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.05);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: flicker 0.30s infinite;
}

body::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: 
    linear-gradient(rgba(18, 16, 16, 0.05) 50%, rgba(0, 0, 0, 0.15) 50%),
    linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.03));
  z-index: 2;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}

@keyframes flicker {
  0% {
    opacity: 0.50;
  }
  5% {
    opacity: 0.35;
  }
  10% {
    opacity: 0.15;
  }
  15% {
    opacity: 0.05;
  }
  20% {
    opacity: 0.45;
  }
  25% {
    opacity: 0.40;
  }
  30% {
    opacity: 0.30;
  }
  35% {
    opacity: 0.35;
  }
  40% {
    opacity: 0.45;
  }
  45% {
    opacity: 0.05;
  }
  50% {
    opacity: 0.10;
  }
  55% {
    opacity: 0.40;
  }
  60% {
    opacity: 0.45;
  }
  65% {
    opacity: 0.50;
  }
  70% {
    opacity: 0.10;
  }
  75% {
    opacity: 0.35;
  }
  80% {
    opacity: 0.30;
  }
  85% {
    opacity: 0.25;
  }
  90% {
    opacity: 0.50;
  }
  95% {
    opacity: 0.45;
  }
  100% {
    opacity: 0.35;
  }
}