* {
  margin: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: #a00;
}

html {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  /* Prevent the entire page from scrolling */
}

#container {
  width: 100vw;
  height: 100vh;
  background-color: black;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

button,
input,
select {
  background-color: black;
  color: white;
  border-radius: 2px;
  border: 3px solid blue;
  box-sizing: border-box;
}

input {
  width: 50%;
}

input:hover {
  border: 3px solid #b00;
}

button:hover {
  border: 3px outset #0b0;
}

input:focus input:active {
  outline: none;
  border: 3px solid #00b;
}

button:active {
  border: 3px inset red;
  color: orange;
}

#sidebar {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 17.5vw;
  min-width: 17.5vw;
  /* Responsive width for sidebar */
  background-color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  box-sizing: border-box;
}

#blankerWarn {
  width: 100%;
}

#title {
  display: block;
  align-self: center;
  justify-content: start;
  text-align: center;
  width: 100%;
  text-decoration: none;
  border: none;
  outline: none;
}

#title:hover {
  background-color: #444;
}

#tImg {
  max-width: 100%;
  height: auto;
}

#links {
  list-style: none;
  text-align: left;
}

.sideLink {
  font-size: 2em;
  /* Responsive font size */
}

#mainContent {
  padding: 1%;
  /* Responsive padding */
  overflow-y: auto;
  /* Enable vertical scrolling */
  flex-grow: 1;
  /* Allow it to grow and fill available space */
  display: flex;
  flex-direction: column;
  margin: 0;
}

#contentTitle {
  border: 2vmin inset red;
  font-size: 2.5em;
  /* Responsive font size */
  text-align: center;
  padding: 1%;
  /* Responsive padding */
}

#gridGmes {
  display: grid;
  gap: 2vmin;
  /* Reduced gap for closer items */
  grid-template-columns: repeat(5, 1fr);
  /* Fixed 5 columns */
}

.griditem {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-radius: 1vmin;
  border: 0.5vmin solid blue;
  padding-bottom: .5vmin;
  padding: 0;
  text-align: center;
  color: white;
  text-decoration: none;
  transition: all .2s;
  background-color: #111;
}

.griditem:hover {
  transform: scale(1.05);
}

.griditem:active {
  transform: scale(.95);
}

.gImg {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

#gframe {
  width: 100%;
  height: 100%;
}

.gTitle {
  opacity: 1;
  width: 100%;
  margin-top: auto;
  position: relative;
  padding-top: 1vmin;
  border-top: 1vmin solid #a00;
}

/*stole from w3schools!*/
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #2196F3;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/*End of theft*/

/*i didnt like the way they hid the switch so i did this*/
#blank3rbox {
  position: absolute;
  left: 100000000000000px;
}

#controlButtons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.cbutton {
  width: 49%;
}

#settingCont {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 5vmin;
}

.setting {
  border-radius: .5vmin;
  box-sizing: content-box;
  width: 35vw;
  padding: 2vmin;
  background-color: #111;
  align-items: center;

  h1 {
    color: #a00;
    text-align: center;
  }

  select,
  input {
    width: 89%;
  }

  p {
    color: #b00;
    text-align: center;
    padding: .5vmin;
  }
}

.sidebutton {
  display: block;
  justify-self: center;
  align-self: center;
}

#topstuff {
  display: flex;
  flex-shrink: 1;
  flex-direction: row;
}