body {
  background: rgb(41, 70, 51);
  margin: 0;
  padding: 0;
  font-family: "Georgia", Georgia, sans-serif;
  width: 2560px;
  height: 1440px;
  overflow: hidden;
}

@font-face {
  font-family: "Georgia";
  src: url("Fonts/georgia.ttf");
}

@font-face {
  font-family: "Oldspaper";
  src: url('Fonts/Oldspaper.woff') format('woff'),
       url('Fonts/Oldspaper.ttf') format('truetype');
}

.border {
  background: rgb(41, 55, 51);
  padding: 26px;        /* 1% of 2560px */
  height: 1440px;
  box-sizing: border-box;
}

.mainbackground {
  background: rgb(123, 158, 131);
  padding: 512px;      /* 20% of 2560px */
  height: 1440px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 1);
  border-radius: 100px;
  box-sizing: border-box;
  font-weight: bold;
}

h1 {
  color: rgb(139, 44, 142);
  font-size: 64px;      /* 4em × 16px */
  font-family: "Georgia", Georgia, sans-serif;
  margin: 0;
}

h2 {
  color: rgb(139, 44, 142);
  background: rgb(33, 80, 82);
  font-size: 64px;     /* 4em × 16px */
  font-family: "Georgia", Georgia, sans-serif;
  font-weight: bold;
  padding: 1px;
  margin: 0;
}

h3 {
  color: rgb(139, 44, 142);
  font-size: 22px;      /* 1.4em × 16px */
  font-family: "Georgia", Georgia, sans-serif;
  text-align: left;
  margin: 0;
  padding: 30px;
}

h4 {
  color: rgb(139, 44, 142);
  font-size: 22px;      /* 1.4em × 16px */
  font-family: "Georgia", Georgia, sans-serif;
  text-align: center;
  margin: 0;
  padding: 30px;
}

h5 {
  color: white;
  background: black;
  font-size: 56px;      /* 3.5em × 16px */
  font-family: "Oldspaper", Georgia, sans-serif;
  margin: 0;
  padding: 5px;
}

.mainbox {
  background: rgb(93, 128, 101);
  padding: 0 2px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  height: 140px;
  width: 520px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  transform: translate(-845px, -482px);
  gap: 3px;
  border: 10px solid rgb(64, 92, 70);
  justify-content: center;
}

.textframe {
  background: rgb(106, 140, 104);
  padding: 0 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: baseline;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  transform: translate(-768px, -1124px);
  gap: 10px;
  border: 10px solid rgb(64, 92, 70);
}

@keyframes shake {
  0%   { transform: rotate(20deg); opacity: 1; }
  20%  { transform: rotate(17deg); opacity: 0.7; }
  40%  { transform: rotate(20deg); opacity: 1; }
  60%  { transform: rotate(23deg); opacity: 0.7; }
}

.maille1 {
  position: absolute;
  width: 260px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  left: 896px;          /* 35vw of 2560px */
  top: 700px;           /* 65vh of 1440px */
  transform: rotate(20deg);
}

.maille1:hover {
  animation: shake 0.7s infinite;
}

.lake1, .lake2, .lake3, .lake4, .lake5, .lake6 {
  position: absolute;
  border-radius: 20px;
}

.lake1 {
  top: 50px;
  right: 50px;
  width: 160px;
}

.lake2 {
  top: 230px;
  right: 130px;
  width: 200px;
}

.lake3 {
  top: 360px;
  right: 50px;
  width: 160px;
}

.lake4 {
  top: 460px;
  right: 130px;
  width: 160px;
}

.lake5 {
  top: 60px;
  right: 200px;
  width: 160px;
}

.lake6 {
  top: 160px;
  right: 230px;
  width: 160px;
}

@keyframes quikshake {
  0%   { transform: rotate(0deg); }
  20%  { transform: rotate(5deg); }
  40%  { transform: rotate(0deg); }
  60%  { transform: rotate(-5deg); }
}

.backarrow {
  position: absolute;
  top: 60px;
  left: 140px;
  width: 70px;
}

.backarrow:hover {
  animation: quikshake 0.5s infinite;
}

.TheRing {
  position: absolute;
  top: 0px;
  left: 800px;
  width: 1278px;
  pointer-events: none;
}

.Fry {
  position: absolute;
  width: 32px;
  pointer-events: none;
  border: 3px solid black;
  background-color: black;
}
.conveyor1 {
  position: absolute;
  top: 20px;
  left: 50% !important;
  transform: translateX(-50%);
  padding: 5px;
  font-size: 24px;
  z-index: 9999;
  width: auto;
  margin: 0;
}
