body {
  margin: 0;
  padding: 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-image: url("/Images/background.jpg");
  background-size: cover;
  overflow-x: hidden;

  font-family: "Inter";
  overflow-y: scroll;

  /* margin-bottom: 50px; */
  cursor: url("cursor.png"), auto;
}

@font-face {
  font-family: "Inter";
  src: url(/Quicksand-VariableFont_wght.ttf);
}

/* ------------------- Header ------------------- */

/* Flexbox container */
#headerBox2 {
  width: 95vw;
  background-color: rgba(0, 0, 0, 0.8);
  margin-left: auto;
  margin-right: auto;
  /* margin-left: 55px ; */
  /* margin-right: 55px; */
  margin-top: 25px;
  border-radius: 40px;
  border: 4px solid #1b1b1b;
}

#headerBox {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 5px;
  justify-content: center;
  display: flex;
  margin-right: auto;
  margin-left: auto;
  background-color: transparent;
  border: 0px;
}

#headerBox img {
  border-radius: 20px;
  border: 6px solid #191919;
}

#header img {
  width: 100%;
}

.header {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  min-width: fit-content;
}

/* Title at the top of navigator */
#headerTitle {
  width: fit-content;
  height: fit-content;

  transform: translateY(50%);
  margin-left: 8%;

  color: white;
  font-family: "Inter";
  margin-bottom: 38px;
}

#titleText span {
  font-size: 38px;
  margin-bottom: -5px;
  animation: waveText 5s ease-in-out infinite;
  display: inline-block;
}

#titleText span:nth-child(1) {
  animation-delay: 0s;
}
#titleText span:nth-child(2) {
  animation-delay: 0.2s;
}
#titleText span:nth-child(3) {
  animation-delay: 0.4s;
}
#titleText span:nth-child(4) {
  animation-delay: 0.6s;
}
#titleText span:nth-child(5) {
  animation-delay: 0.8s;
}
#titleText span:nth-child(6) {
  animation-delay: 1s;
}

@keyframes waveText {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

#subtitleText {
  margin-left: 4px;
}

/* Navigator box */
#navigator {
  height: 75px;
  /* change height to 75 */
  display: flex;

  background-image: linear-gradient(
    to bottom,
    rgba(99, 102, 104, 0.8),
    rgba(69, 71, 71, 0.8) 49%,
    rgba(52, 52, 52, 0.8) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );

  border: 2px solid #363636;

  border-radius: 20px;
  position: relative;

  justify-content: center;
  align-items: center;
}

#navigatorImages {
  display: grid;
  position: absolute;
  top: -125%;
  left: 20px;
  transform: translate(-50%);
  z-index: 2;
}

#navigatorImages img {
  grid-area: 1/1;

  width: 170px;
  height: 170px;
}

.links {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.links a {
  text-decoration: none;
  color: white;
  font-family: "Inter";
  font-size: 28px;
}

.links a + a {
  margin-left: 40px;
}

#selected {
  text-decoration: underline;
  text-decoration-color: aquamarine;
  /* background-image: linear-gradient(
    to bottom,
    rgba(71, 171, 97, 0.8),
    rgba(65, 134, 82, 0.8) 49%,
    rgba(65, 134, 82, 0.8) 50%,
    rgba(65, 139, 84, 0.8) 100%
  );

  border: 2px inline solid #363636;
  border-radius: 5px;
  
  height: 100%; */
}

/* animation */

.links > a:hover {
  animation: hoverText 0.2s ease-in-out forwards;
}

.links > a:not(:hover) {
  animation: unhoverText 0.1s ease-in-out forwards;
}

@keyframes hoverText {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-2px);
  }
}

@keyframes unhoverText {
  0% {
    transform: translateY(-2px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* ------------------- Everything that the following is encapsulated in ------------------- */
#websiteContent {
  width: 100vw;
  max-height: 75vh;
  min-height: fit-content;

  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 15px;
  margin-bottom: 8px;
  /* flex-wrap: wrap; */
}

/* ------------------- Deafult Item Styling ------------------- */
/* Titles */
#title {
  /* flex: 0 0 85%; */
  width: 95%;
  min-width: fit-content;

  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 5px;

  height: 35px;

  background-image: linear-gradient(
    to bottom,
    rgba(99, 102, 104, 1),
    rgba(69, 71, 71, 1) 49%,
    rgba(52, 52, 52, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  );

  align-items: center;
  justify-content: left;
  display: flex;

  font-size: 18px;
  color: white;
  font-family: Inter;

  border: 2px solid #363636;
  border-radius: 5px;
}

.content {
  background-color: rgba(9, 9, 9, 0.9);
  width: 95%;
  margin: 0 auto;
  margin-bottom: 20px;
  height: fit-content;
  border: 2px solid #484848;
  border-radius: 5px;

  color: white;
  line-height: 1.6;
  font-family: "Inter";
  padding: 10px;
  box-sizing: border-box;
}

.sideTitle {
  /* flex: 0 0 85%; */
  width: 90%;
  min-width: fit-content;

  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 5px;

  height: 35px;

  background-image: linear-gradient(
    to bottom,
    rgba(99, 102, 104, 1),
    rgba(69, 71, 71, 1) 49%,
    rgba(52, 52, 52, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  );

  align-items: center;
  justify-content: left;
  display: flex;

  font-size: 18px;
  color: white;
  font-family: "Inter";

  border: 2px solid #363636;
  border-radius: 5px;
}

.sideContentBox {
  background-color: rgba(0, 0, 0, 0.5);
  width: 90%;
  margin: 0 auto;
  min-height: fit-content;
  height: fit-content;
  margin-bottom: 16px;
  border: 1px solid #424242;

  color: white;
  line-height: 1.6;
  font-family: "Inter";
  padding: 10px;
  box-sizing: border-box;
}

#titleIcon {
  margin-right: 10px;
  width: 24px;
  margin-left: 10px;
  /* image-rendering: pixelated; */
}

/* --------------------------------------Web Content -------------------------------------- */

/* ------------------- Left Box -------------------*/
#leftBox {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 20px;
  border: 2px solid #363636;
  width: 16vw;
  min-height: fit-content;
  margin-right: 20px;
  margin-top: 25px;

  overflow-x: hidden;
  overflow-y: scroll;
}

#leftExplain {
  /* width: 95%; */
  width: 100%;

  min-width: fit-content;

  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 5px;

  height: 35px;

  /* background-image: linear-gradient(
    to bottom,
    rgba(27, 47, 24, 1),
    rgba(16, 32, 22, 1) 49%,
    rgba(5, 15, 9, 1) 50%,
    rgba(5, 20, 12, 1) 100%
  ); */

  /* background-color: rgba(9, 9, 9, 0.9); */

  align-items: center;
  justify-content: left;
  display: flex;

  font-size: 18px;
  color: white;
  font-family: "Inter";
  margin-left: 10px;

  /* border: 2px solid #363636; */
  /* border-radius: 5px; */
}

/* #blogUpdatesContent{
  background-color: rgba(255, 255, 255, 0.9);
} */

/* ------------------- Middle Box -------------------*/
#middleBox {
  background-color: rgba(0, 0, 0, 0.8);
  border-inline: 6px solid rgba(9, 9, 9, 0.7);
  border-bottom: 6px solid rgba(9, 9, 9, 0.7);
  border-top: 6px solid rgba(9, 9, 9, 0.7);
  border-radius: 40px 40px 60px 60px;

  min-height: fit-content;

  width: 58vw;
  min-width: 0;
  box-sizing: border-box;
  max-width: 58vw;

  overflow-x: hidden;
  overflow-y: scroll;
  padding: 30px;

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));;
  gap: 35px;

  margin-top: -5px;
  padding-bottom: 30px;
  /* padding-left: ; */
}

#siteBox {
  background-color: rgba(16, 16, 16, 0.8);
  max-width: 400px;
  height: 350px;
  border: 4px solid #3d3d3d;
  border-radius: 20px;

  color: white;
  font-family: "inter";

  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: center;

}

#siteTitle{
  margin-bottom: 5%;
  margin-top: 5px;
}

#previewImage{
  width: 95%;
  height: 50%;
  margin-bottom: 5%;
  margin-right: 8px;
}

#previewImage img{
  width: 100%;
  height: 100%;

  border-radius: 20px;
  border-inline: 4px solid #191919;
}

#siteDescription{
  text-align: center;
  margin-bottom: 5px;
}

#enterButton{
  display: flex;
  flex-grow: 1;
  align-items: end;
  margin-bottom: 5px;
  width: 100%;
}

#button{
    text-align: center;
    width: 100%;
  
    background-image: linear-gradient(

    to bottom,
    rgba(88, 164, 109, 1),
    rgba(39, 103, 58, 1) 49%,
    rgba(18, 69, 29, 1) 50%,
    rgba(10, 31, 14, 1) 100%
  );
}

a{
  text-decoration: none;
  color: white;
}

#enterButton a{
  width: 100%;
}




/* ------------------- Right Box -------------------*/
#rightBox {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 20px;
  border: 2px solid #363636;
  width: 16vw;
  min-height: fit-content;
  margin-left: 20px;

  margin-top: 25px;

  overflow-x: hidden;
  overflow-y: scroll;
}

#guestBook iframe {
  height: 370px;
  width: 100%;
}

/* does this work? */
@media (max-width: 900px) {
  #websiteContent {
    flex-wrap: wrap;
  }
  #leftBox,
  #rightBox {
    width: 100%;
    border-radius: 8px;
    margin: 0;
  }
  #middleBox {
    width: 90vw;
    max-width: 90vw;
  }
}
