:root {
  --color-bg: #fff2cc;
  --color-text-main: #000000;
  --color-primary: #ffff00;
  --wrapper-height: 87vh;
  --image-max-width: 300px;
  --image-margin: 3rem;
  --font-family: "Yet R";
  --font-family-header: "Yet R";
}

/* Basic page style resets */
* {
  box-sizing: border-box;
}
.hidden {
  display: none;
}

/* Import fonts */
@font-face {
  font-family: Yet R;
  src: url("/assets/fonts/yet-r.ttf")
    format("opentype");
}
@font-face {
  font-family: Yet R;
  font-weight: bold;
  src: url("/assets/fonts/yet-r.ttf")
    format("opentype");
}

/* Our remix on glitch button */
.btn--remix {
  font-family: Yet R;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  line-height: 1rem;
  font-weight: 500;
  height: 2.75rem;
  align-items: center;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #000000;
  box-sizing: border-box;
  border-radius: 4px;
  text-decoration: none;
  color: #000000;
  white-space: nowrap;
  margin-left: auto;
}
.btn--remix img {
  margin-right: 0.5rem;
}
.btn--remix:hover {
  background-color: #d0fff1;
}

.parent {
  display: flex;
  flex-direction: row;
}

.column {
  flex: 1 1 0px;

  flex-direction: column;
  align-items: left;
}

a:link {
  color: #000000;
}

a:hover {
  color: #ffa500;
}

a:active {
  color: #f05b28;
}

a:visited {
  color: #9f5817;
}

iframe {
  width: 90%;
  height: auto;
  aspect-ratio: 39/22;
  border: none;
  margin: auto;
  display: block;
  background: black;
  border-radius: 5px;
  border: 3px black solid;
}

canvas {
  width: 95%;
  max-width: 1000;
  max-height: 1000;
}

ul.breadcrumb {
  margin-bottom: 0px;
  padding: 10px 16px;
  list-style: none;
}
ul.breadcrumb li {
  display: inline;
  font-size: 18px;
}
ul.breadcrumb li + li:before {
/*   color: black; */
  content: "/\00a0";
}
ul.breadcrumb li a {
/*   color: #0275d8; */
  text-decoration: none;
}
ul.breadcrumb li a:hover {
/*   color: #01447e; */
  text-decoration: underline;
}

.topnav {
  overflow: hidden;
  background-color: #e5ba84;
  border-bottom: 3px solid #5b2913;
}

.topnav a {
  float: left;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #5b2913;
  color: white;
}

.topnav a.active {
  background-color: #04aa6d;
  color: white;
}

.container {
  padding: 16px;
}

.iframe-container {
  padding: 0px;
  position: relative;
}

.games-container {
  padding: 16px;
}

.games-child {
  float: left;
  padding: 20px;
  border: 3px solid;
  border-radius: 8px;
  margin: 0.5%;
}

body {
  font-family: Yet R;
  background-color: var(--color-bg);
  margin: 0;
}

.home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Very light scaling for our illustration */
.title {
  color: #2800ff;
  font-family: Yet R;
  font-style: normal;
  font-weight: bold;
  font-size: 100px;
  line-height: 105%;
  margin: 0;
}

/* Very light scaling for our illustration */
.illustration {
  max-width: 100%;
  max-height: var(--image-max-width);
  margin-top: var(--image-margin);
}

table, th, td {
  border: 2px solid black;
  border-collapse: collapse;
}

tr {
  background: white;
}

/* Button - Add it from the README instructions */
button {
  background-color: #d99b2e; /* dark orange */
  border: none;
  color: white;
  padding: 14.5px 32px;
  text-align: left;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  font-family: inherit;
  border-radius: 8px;
}

button:active {
  background: #9f5817;
}

input[type=text], input[type=password], input[type=file] {
  background-color: white;
  font-family: inherit;
  border: 2px solid black;
  border-radius: 3px;
  font-size: 16px;
  padding: 5px;
}

/* Subheading */
h2, h3, b {
  color: #9f5817;
}

h1 {
  margin: 0;
  text-align: center;
}

.illustration:active {
  transform: translateY(5px);
}

/* Button dip
- Toggling this class on and off will move it down and up again
- The button transition property above determines the speed of the translate (500ms)
*/
.dipped {
  transform: translateY(5px);
}

.enlarge {
  transform: scale(1.05);
}

.modal {
  /*display: flex;*/
  width: 450px;
  padding: 1.3rem;
  min-height: 250px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%); /* IE 9 */
  -webkit-transform: translate(-50%, -50%); /* Chrome, Safari, Opera */
  background-color: white;
  border: 1px solid #000000;
  border-radius: 15px;
  z-index: 2;
}

@media (min-width: 300px) and (max-width: 600px) {
  .modal {
    width: 250px;
  }
}

.modal .flex {
  /*display: flex;*/
  align-items: center;
  justify-content: space-between;
}

.modal input {
  padding: 0.7rem 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9em;
}

.modal p {
  font-size: 0.9rem;
  color: #777;
  margin: 0.4rem 0 0.2rem;
}

.btn-close {
  padding: 0.5rem 0.8rem;
  background: #bbb;
  border-radius: 50%;
}

.slider {
  -webkit-appearance: none;
  width: 15%;
  height: 15px;
  border-radius: 5px;  
  background: #e5ba84;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%; 
  background: #9f5817;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #9f5817;
  cursor: pointer;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.button-semicircle-left {
  width: 100px;
  height: 50px;
  background-color: #9f5817;
  border: none;
  border-radius: 25px 0 0 25px;
  display: inline-block;
  text-align: center;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

.button-semicircle-right {
  width: 100px;
  height: 50px;
  background-color: #9f5817;
  border: none;
  border-radius: 0 25px 25px 0;
  display: inline-block;
  text-align: center;
  opacity: 0.5;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

.button-semicircle-container {
  display: inline-flex;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: black;
  padding: 14.5px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

.dropdown .dropbtn:hover {
  border-radius: 0px;
  background-color: #5b2913;
  color: white;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #e5ba84;
  color: black;
  min-width: 160px;
  border-bottom: 3px solid #5b2913;
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #5b2913;
  color: white;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.same{
  display:inline-block;
}
