* {
  
  box-sizing: border-box; 
  
}

a:visited, a {
  color: white;
  text-decoration: none;
}

.site-top {
  position: sticky;
  top: 0;
  left: 0;
  margin-bottom: 40px;
  z-index: 1;
}

.site-top ul {
  flex-direction: row;
  display: flex;
  list-style: none;
  margin: 0;
  padding-inline: 0;
}

.site-top ul li {
  flex: 1;
  text-align: center;
  margin: auto;
  padding: 10px;
  border: 6px double white;
}

.site-top ul li {
  background: black;
}

.site-top ul li:not(:last-of-type) {
  margin-right: 10px; 
}

.construction {
  background: repeating-linear-gradient(-45deg, yellow, yellow 10px, black 10px, black 20px);
  border: 3px solid black;
  -webkit-text-stroke: 2px black;
  text-shadow: 4px 3px 4px #000;
  box-shadow: 0 0 0 5px yellow;
  font-family: Impact;
  padding: 0 !important;
  margin: 0 !important;
}

body {
  background-color: black;
  color: white;
  font-family: Verdana;
  margin: 0;
}

.container {
  width: 900px;
  margin: auto;
}

.box {
  padding: 20px;
  margin-bottom: 40px;
  max-width: 900px;
}

.fancy {
  border-width: 6px;
  border-color: white;
  border-style: double;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  background: black;
}

.right {
  display: flex;
  flex: 1;
  flex-flow: column;
}

.title {
  margin-bottom: 20px;
  font-size: 42px;
  width: 100%;
  text-align: center;
}

.videobox {
  aspect-ratio: 16/9;
  flex: 1;
  width: 100%;
}

.subcontainer {
  display: flex;
}

.left {
  margin-right: 20px; 
  display: flex;
  flex-flow: column;
}

.subbox {
  margin-bottom: 20px;
}

.list {
  width: 100%;
}

.list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-flow: column;
}

.list li {
  display: flex;
}

.list li:not(:last-child) {
  margin-bottom: 8px;
}

.list a {
  border: 2px solid white;
  padding: 4px;
  flex: 1;
  text-align: center;
}

.list a:hover {
  border-style: dotted;
}

footer {
  margin: auto;
  text-align: center;
}

#hitcount {
  font-size: xx-large;
}

#hitcount::after {
  content: "!!!";
}

.color-selector {
  display: flex;
}

.color-selector div {
  margin: auto;
}

/*
input[type="radio"]:checked {
  background-color: green;
}
*/

input[type="radio"] {
  width: 14px;
  height: 14px;
  margin-top: auto;
  margin-bottom: auto;
  border: 2px solid white;
  appearance: none;
  background-clip: content-box;
  padding: 2px;
}

#red {
  background-color: red;
}

#orange {
  background-color: orange;
}

#yellow {
  background-color: yellow;
}

#green {
  background-color: green;
}

#blue {
  background-color: blue;
}

#indigo {
  background-color: indigo;
}

#violet {
  background-color: violet;
}

@media (max-width: 900px) {

  .container, .box {
    width: auto !important;
  }

  .container {
    margin: 40px;
  }

  .subcontainer {
    flex-flow: column;
  }
  
  #dialogue {
    margin-bottom: 30px !important;
    height: 100% !important;
    width: 100% !important;
  }
  
}

/* model guy */

#modelbox {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  margin: auto;
  image-rendering: pixelated;
}

#dialogue {
  width: 25%;
  height: min-content;
  margin: auto;
  text-align: center;
  font-family: Courier, Helvetica, sans-serif;
  letter-spacing: 2px;
  font-size: 1.5em;
}

.right iframe {
  height: 100%;
}