/*****************************************************/
/*ROOT*/
:root {
  --bg-color: #0000ff;
  --box-bg-color: #ffffff;
  --link-color: #0000ff;
  --link-hover: #7171ff;
  --link-active: #ff0000;
  --font-family-header: "Trebuchet MS", Arial;
  --font-family-main: Consolas, Tahoma, Arial;
  --font-size: 1rem;
  --box-border: 3px solid #0000ff;
  --border-bottom: 3px solid #d3e6ff;
}

/*ROOT*/
/*****************************************************/
/*NAVIGATION*/
.nav {
  position: relative;
  font-family: var(--font-family-header);
  font-size: 0.9em;
  width: 100%;
  padding-bottom: 1px;
  border-bottom: var(--border-bottom);
  background-color: #ffffff;
}

.nav a {
  color: #686867;
  padding-left: 3px;
  padding-right: 5px;
}

.nav a:hover,
.home:hover {
  color: #0000ff;
}

.nav a:active,
.home:active {
  color: #0000ff;
}

/*NAVIGATION*/
/*****************************************************/
/*HEADER AND FOOTER*/
header {
  grid-area: header;
  background-color: #ffffff;
  border-radius: 7px 7px 0 0;
  border-right: 3px solid #0000ff;
  border-left: 3px solid #0000ff;
  border-top: 3px solid #0000ff;
  font-family: var(--font-family-header);
  font-size: 0.875em;
  color: #686867;
  margin-bottom: 0;
}

header img {
  width: 100%;
  height: auto;
  margin-bottom: 0;
  padding-bottom: 0;
}

footer {
  grid-area: footer;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #0871e8;
}

.taskbar {
  position: relative;
  bottom: 0 !important;
}

.tskbar {
  width: 100vw;
}

.startbtn {
  position: absolute;
  z-index: 999;
  height: 100%;
}

.startbtn:active {
  content: url(/assets/site-elements/startbtnhover.png) !important;
}
/*HEADER AND FOOTER*/
/*****************************************************/
/*MAIN*/

.bonzi img {
  position: relative;
  width: 150px;
  height: 150px;
  bottom: -50px;
  left: -150px;
}

.bonzi img:hover {
  content: url(/assets/site-elements/bonzi2.webp);
  width: 185px;
  height: 163px;
  bottom: -45px;
  left: -186px;
}

.popup {
  z-index: 999;
  position: absolute;
  right: 100px;
  bottom: 200px;
  user-select: none;
}

.popup .popuptext {
  visibility: hidden;
  max-width: 160px;
  height: 50px;
  background-color: #fff1bc;
  border: 2px solid black;
  padding: 5px;
  color: black;
  text-align: center;
  font-family: var(--font-family-header);
  border-radius: 7px;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.371);
}

.popup .popuptext::after {
  content: "◥";
  position: absolute;
  top: 99%;
  left: 90%;
  margin-left: -5px;
  color: #fff1bc;
  text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px #fff1bc;
}

.popup .show {
  visibility: visible;
  animation: fadeIn 0.2s;
  z-index: 9999;
}

.clippy img {
  position: relative;
  width: 150px;
  height: 150px;
  bottom: -160px;
  right: -280px;
  cursor: pointer;
  transition: transform 0.2s ease-in;
  filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.371));
}

.clippy img:hover {
  transform: rotate(10deg);
  transition-duration: 0.2s;
}

.layout {
  display: grid;
  display: -ms-grid;
  width: 1200px;
  grid-template: "header" auto "main" auto "footer" auto / auto;
  gap: 0;
  padding-top: 150px;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 115vh;
  margin-top: 30px;
  margin-bottom: 30px;
  background-image: url(/assets/site-elements/bg.png);
  background-attachment: unset;
  background-size: cover !important;
  font-size: var(--font-size);
  overflow-x: hidden;
}

main {
  grid-area: main;
  display: flex;
  background: var(--box-bg-color);
  border-radius: 0;
  border-color: #0000ff;
  border-style: solid;
  border-width: 0 3px 3px 3px;
  padding: 2px;
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 0;
  height: 235px;
  font-family: var(--font-family-main);
  filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.371));
  overflow-y: scroll;
}

main p {
  margin: 2px;
}
/*MAIN*/
/*****************************************************/
/*MOBILE*/
@media (max-width: 1300px) {
  body {
    background-color: #0000ff;
    background-image: url(/assets/site-elements/bg-mobile.jpg);
    overflow: hidden;
    touch-action: none;
  }

  .tskbar {
    width: 100vw;
    height: 26px;
  }

  .bonzi img {
    position: relative;
    left: 0;
    bottom: -135px;
  }

  .bonzi img:hover {
    left: -36px;
    bottom: -130px;
  }

  .popup {
    z-index: 999;
    position: absolute;
    right: 100px;
    bottom: 200px;
    user-select: none;
  }

  .popup .popuptext {
    visibility: hidden;
    max-width: 160px;
    height: 50px;
    background-color: #fff1bc;
    border: 2px solid black;
    padding: 5px;
    color: black;
    text-align: center;
    font-family: var(--font-family-header);
    border-radius: 7px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.371);
  }

  .popup .popuptext::after {
    content: "◥";
    position: absolute;
    top: 99%;
    left: 90%;
    margin-left: -5px;
    color: #fff1bc;
    text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px #fff1bc;
  }

  .popup .show {
    visibility: visible;
    animation: fadeIn 0.2s;
    z-index: 9999;
  }
}

@media (max-width: 800px) {
  body {
    background-color: #0000ff;
    background-image: url(/assets/site-elements/bg-mobile.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: 800px 1000px;
    max-height: 100vw auto;
    overflow: hidden;
    touch-action: none;
  }

  .tskbar {
    width: 100vw;
    height: 30px;
  }

  .startbtn {
    position: absolute;
    z-index: 999;
  }

  .startbtn:active {
    content: url(/assets/site-elements/startbtnhover.png) !important;
  }

  .layout {
    padding-top: 150px;
  }

  header {
    border-radius: 7px 7px 0 0;
    border-right: 2px solid #0000ff;
    border-left: 2px solid #0000ff;
    border-top: 2px solid #0000ff;
    font-family: var(--font-family-header);
    font-size: 0.7em;
    color: #686867;
    margin-bottom: 0;
  }

  main {
    max-height: 350px;
    border-width: 0 2px 2px 2px;
  }

  main p {
    font-size: 0.9rem;
  }

  .clippy img {
    position: absolute;
    width: 75px;
    height: 75px;
    bottom: -110px;
    right: -50px;
    cursor: pointer;
    transition: transform 0.2s ease-in;
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.371));
  }

  .popup {
    z-index: 999;
    position: absolute;
    right: 50px;
    bottom: 150px;
    user-select: none;
  }

  .popup .popuptext {
    visibility: hidden;
    max-width: 160px;
    height: 50px;
    background-color: #fff1bc;
    border: 2px solid black;
    padding: 5px;
    color: black;
    text-align: center;
    font-family: var(--font-family-header);
    border-radius: 7px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.371);
  }

  .popup .popuptext::after {
    content: "◥";
    position: absolute;
    top: 93%;
    left: 70%;
    margin-left: -5px;
    color: #fff1bc;
    text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px #fff1bc;
  }

  .popup .show {
    visibility: visible;
    animation: fadeIn 0.2s;
    z-index: 9999;
  }

  .bonzi {
    display: flex;
    position: absolute;
  }

  .bonzi img {
    position: relative;
    width: 75px;
    height: 75px;
    left: -5px;
    bottom: -445px;
  }

  .bonzi img:hover {
    width: 90px;
    height: 82px;
    left: -21px;
    bottom: -442px;
  }
}

/*MOBILE*/
/*****************************************************/
