/* Stylesheet for majority of pages */

html {
  background-color:#272727;
  cursor:none;
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor:none;
  font-size: 14px;
  font-family: serif;
}

:root {
	--colLight: rgb(0, 255, 0);
	--colDark: rgb(0, 153, 0);
}

.kode-mono {
  font-size: 35px;
  transition: font-size 0.3s ease;
}

.kode-mono:hover {
  font-size: 45px;
}

#cursor {
  position: fixed;
  top: -100px;
  left: -100px;
  border: 2px solid var(--colLight);
  height: 2em;
  width: 2em;
  border-radius: 2em;
  z-index: 9999;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.level-links {
  padding: 10px 20px;
  border-radius: 8px;
  border:#272727;
  margin: auto;
  text-align: left;
  font-family: "Kode Mono", monospace;
  color: var(--colLight);
  cursor:none;
  font-size: 20px;
}

.resourcelevel-links {
  padding: 10px 20px;
  border-radius: 8px;
  border:#272727;
  font-size: medium;
  margin: auto;
  text-align: left;
  font-family: "Kode Mono", monospace;
  font-weight: 200;
  color: var(--colLight);
  cursor:none;
}

.resource-links {
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  border:#272727;
  margin: auto;
  text-align: left;
  font-family: "Kode Mono", monospace;
  font-weight: 200;
  cursor:none;
  font-size: 20px;
}

.resource-links:hover {
  color: white;
}

p {
  font-size:25px;
  transition: font-size 0.3s ease;
}

#mobileWarning {
  display: none; /* Hide the warning by default */
  background-color: #ffcccc;
  padding: 10px;
  text-align: center;
}

  /*  HEADER  */

h1 {
  font-family:"Kode Mono", monospace;
  text-align:center;
  margin:auto;
  width:fit-content;
  color: var(--colLight);
  cursor:none;
}  

h2 {
  font-size: 20px;
  transition: font-size 0.3s ease; /* Smooth transition */
  width: fit-content;
  margin:auto;
  text-align:center;
  font-family: "Kode Mono", monospace;
  padding:0px;
  color: var(--colLight);
  cursor:none;
}

h2:hover {
  font-size: 24px; /* Increase font size on hover */
}

.h2-hover { 
  font-size:15px;
  transition:font-size 0.3s ease;
}

.h2-hover:hover {
  font-size:18px;
}

.resource-sidebar h2 {
  text-align: center;
  color: var(--colLight)
}

.inlevel-text {
  padding-top: 20px;
  
}

.inlevel-text p {
  text-align: center; 
  color: #FFFFFF; 
  font-family: 'Kode Mono';
}

.inlevel-text p:hover {
  font-size: 28px;
}

/* ---- */

  /* FOOTER */

footer {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 10px;
  color:rgb(151, 151, 151);
  font-size:10px;
  text-wrap:nowrap;
  cursor:none;
  text-align: right;
}

footer p {
  font-size: 11px;
  font-family: sans-serif;
}

footer a {
  font-size: 14px;
  font-family:"Kode Mono", monospace;
  text-decoration: none;
  border-radius: 3px;
}

/* Style for the copyright symbol */
.copyright {
  width: 10px; /* Adjust size as needed */
  height: auto;
  display: inline;
  border:none;
  padding:none;
  background:none;
  cursor:none;
  font-size: 12px;
}

/* ---- */

  /* TITLE */

.link {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  cursor:none;
}

.fullscreen {
  font-family:Arial, monospace;
  font-weight:bold;
  color:#303030;
  position:absolute;
  align-self:left;
  align-self:bottom;
  bottom:0;
  left:20px;
  cursor:none;
}

.title {
  font-family: 'Aldrich', sans-serif;
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 24px;
  color: var(--colLight);
  font-weight:bold;
  cursor:none;
  transition: font-size 0.3s ease;
}

.title:hover {
  font-size:36px;
}

input {
  text-align: center;
  font-family: "Kode Mono", monospace;
  font-weight: 200;
}

/* ---- */

  /* NAV BAR CONTAINER / OTHER LINKS */

.container {
  height: 110vh;
  position: fixed;
  display: flex;
  justify-content: center;
  text-align: center;
  margin-left: 60px;
  top:0;
  cursor:none;
}

nav {
  margin: auto;
  display: flex;
  flex-direction: column;
  height: fit-content;
  width: fit-content;
  border: 3px solid var(--colLight);
  border-radius: 1em;
  cursor:none;
  font-family: serif;
}

nav a {
  text-decoration: none;
  color: var(--colLight);
  padding: 12px;
  font-size: 1.25em;
  transition: color 0.15s, background-color 0.15s;
  cursor:none;
  text-align: center;
}

nav a:hover {
  background-color: var(--colDark);
  color: #272727;
  cursor:none;
}

a {
  color: var(--colDark);
  font-size: 1.25em;
  transition: color 0.15s, background-color 0.15s;
  cursor:none;
}

a:hover {
  background-color: var(--colDark);
  color: #272727;
  cursor:none;
}

nav div {
  padding-top: 12px;
  width: 50%;
  border-right: 1px solid var(--colLight);
  cursor:none;
}

a.button {
  padding: 1px 6px;
  border: 1px outset;
  border-radius: 3px;
  color: var(--colLight);
  background-color: #272727;
  text-decoration: none;
}

  /* INDEX NAV */

.grid-container {
  display: flex;
  cursor:none;
  flex-wrap: wrap;
  max-width: 640px;
  padding: 20px;
  border-radius: 10px;
  background-color: #303030;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  align-items:center;
  align-self:center;
  position:center;
}

/* ---- */

  /* IMAGES VIDEO AUDIO */

img {
  width:600px;
  align-self:center;
  border: 5px solid #000000;
  cursor:none;
  transition:width 0.3s ease;
}
img:hover {
  width:620px;
}

video {
  width: 50%;
  align-self:center;
  cursor:none;
  transition: width 0.3s ease;
}

video:hover {
  width: 33%
}

audio {
  align-self: center;
  cursor:none;
  width:20%;
  transition: width 0.3s ease;
}

audio:hover {
  width: 21%;
}

.stereogram {
  width: 780px;
  transition: width 0.3s ease;
  cursor:none;
}

.stereogram:hover {
  width: 795px;
}

/* ---- */

  /* LEVEL SIDEBAR */

.sidebar {
  position: fixed;
  top: 0;
  right: -200px; /* Adjust as needed */
  height: 100vh;
  width: 200px;
  background-color: #333;
  transition: right 0.3s ease;
}

.sidebar.open {
  right: 0;
}

#sidebar-toggle {
  font-family: Kode Mono; 
  color: var(--colLight);
}

#sidebar-toggle:hover {
  background-color: var(--colDark);
  color: #333;
}

.tab {
  position: fixed;
  top: 50%;
  right: 0; /* Initially aligned with the sidebar */
  transform: translateY(-50%);
  background-color: #333;
  color: #fff;
  padding: 10px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  cursor: none;
  z-index:1;
  transition: right 0.3s ease; /* Added transition */
}

.tab.open {
  right: 200px; /* Adjust based on sidebar width */
}

.content {
  margin-right: 220px; /* Adjust based on sidebar width */
  padding: 20px;
  margin: auto;
  margin-top:1em;
  font-size: 1.4em;
  max-width: 50%;
  z-index: 99;
  cursor:none;
}

.current-level {
  text-decoration: underline;
  font-weight: bolder;
  color: var(--colLight);
}

/* FLAG SUBMISSION PAGE */

.FGheader1 {
  font-family: "Kode Mono", monospace;
  color: var(--colLight);
  text-shadow:10px 10px 10px rgba(0, 0, 0, 0.5);
  text-align:center;
  font-size:x-large;
  text-decoration:underline;
  font-weight:bolder;
  cursor:none;
  padding: 4px;
}

.FGcontainer {
  font-family: Arial, Helvetica, sans-serif;
  max-width: 280px;
  margin: 50px auto;
  padding: 20px;
  background-color: #5a5a5a;
  border-radius: 10px;
  border:black solid 5px;
  cursor:none;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
}

.label {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color:#ffffff;
  text-align:center;
  cursor:none;
}

#flag-entry {
  width: calc(100% - 20px);
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid white;
  border-radius: 3px;
}

.hint {
  font-size: 16px;
  color: white;
  margin-bottom: 10px;
  cursor:none;
  font-weight: bold;
}

#submit-button {
  width:280px;
  padding: 10px 15px;
  background-color: #272727;
  color: var(--colLight);
  border: none;
  border-radius: 3px;
  cursor: none;
  font-family: "Kode Mono", monospace;
  font-weight: bold;
}

#submit-button:hover {
  background-color: rgba(0, 0, 0, 0.3);
  color: rgba(0, 255, 0, 0.3);
}

.result {
  font-size: 14px;
  margin-top: 10px;
}

/* HINT STYLE BUTTON */

/*creates hint alert*/
.hintalert {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--colLight);
  padding: 5px 10px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 30px #ffffae; /*change color if needed*/
  z-index: 1000;
  font-family: 'Aldrich', sans-serif;
  font-size: 12px;
  transition:font-size 0.3s ease;
  cursor: none;
  background-color: rgb(39, 39, 39, 0.93);
}

.hintalert p {
  font-family: "Kode Mono", sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 25px;
  padding: 2px;
}

#hintalert {
  cursor: none
}

/*creates hint close button*/
.hintclose {
  background-color: #333;
  color: var(--colLight);
  border: none;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 25px;
  cursor: none;
  border-radius: 5px;
  padding: 2px;
  width: 110px;
  height: 35px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
}

.hintclose:hover {
  background-color: var(--colDark);
  color: #333;
}

/*can make button different color*/
.buttonforhint {
  background-color: #333;
  font-family: 'Aldrich', monospace;
  color: var(--colLight);
  font-size: 16px;
  margin: auto;
  padding: 2px;
  width: 110px;
  height: 35px;
  border: none;
  border-radius: 5px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
  cursor: none;
  transition: font-size 0.3s ease;
}

button {
  height: 44px; /* Set height of the button */
  width: 100px;
  font-size: 14px; /* Font size of the button text */
  padding: 5px 10px; /* Padding for the button */
  cursor: none; /* Change cursor to pointer on hover */
}

.buttonforhint:hover {
  background-color: var(--colDark);
  color: #333;

/*  if you want to make the text go bigger when hovering over it  
  font-size: 20px;
  width: 120px;
  height: 40px;
  padding: 4px;
  transition: font-size 0.3s ease; */
}


/* ---- */

  /* ANIMATION */

  .animated-text {
    display:flex;
    font-size: 4em;
    color: var(--colLight);
    position:relative;
    font-size:150px;
    font-weight:700;
    text-shadow:#000000 3px 12px;
    cursor:none;
  }
  
  .animated-text::after{
    content: '|';
    position:absolute;
    right:0;
    text-align:left;
    color:white;
    background-color:#272727;
    width:0%;
    animation: typing 3s steps(16, end), 3.5s blink 0.5s steps(5, start) infinite;
  }
  
  @keyframes blink {
    from {
      visibility:show;
    }
    to {
      visibility:hidden;
    }
  }
  @keyframes typing {
    from {
      width:100%;
    }
    to{
      width: 0%;
    }
  }
  
/* ---- */


/* LEVEL 1 name / input */

#greeting {
  color: #ffffaa;
  font-family: 'Aldrich', sans-serif;
}

.input-container {
  display: block;
  justify-content: center; /* Horizontally center */
  align-items: center; /* Vertically center */
  text-align: center;
}

#userName {
    width: 200px; /* Set width of the textbox */
    height: 30px; /* Set height of the textbox */
    font-size: 14px; /* Font size inside the textbox */
    padding: 5px; /* Padding inside the textbox */
}

.vertical {
  width: 200px;
}

.vertical:hover {
  width: 300px;
}

#model-proportions {
  display: block;
  width: 80vw;
  height: 60vh;
  margin: 0 auto;
  position: relative;   
}

/* MEDIA SIZE */

/* stuff to figure out what it does
form {
  width: fit-content;
  margin: auto;
  cursor:none;
}
  pre {
  text-align:left;
  margin:auto;
  width:fit-content;
  color:rgb(14, 236, 14);
  cursor:none;
}
  .vertical {
  width: 200px;
}

.vertical:hover {
  width: 300px;
}

p:hover {
  font-size:30px;
}

  */