@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/*Makes text center*/
.center {
    text-align: center;
}

.right {
    text-align: right;
}

.center1 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }

body {
    height: 100dvh;
    background-color: #ffffff; 
    font-family: 'Inter', sans-serif;
}

.dark-mode {
  background-color: #404040;
  color: white;
}

/* Style the header */
header {
    background-color: #666;
    padding:1px;
    text-align: center;
    font-size: 30px;
    color: white;
    border-radius: 12px;
    height: 230px;
    font-family: 'Inter', sans-serif;
  }

/* Style the footer */
footer {
    
    position: relative;
    background-color: #666;
    padding: 10px;
    text-align: center;
    font-size: 20px;
    color: white;
    border-radius: 12px;
    height: 80px;
    font-family: 'Inter', sans-serif;
  }

/* Create two columns/boxes that floats next to each other */
nav {
    float: center;
    height: 55px;
    width: auto;
    background: #ccc;
    padding: 15px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
  }
  
  article {
    float: left;
    padding: 20px;
    width: 100%;
    background-color: #ffffff;
  }

/* Clear floats after the columns */
section::after {
    content: "";
    display: table;
    clear: both;
  }

  .button {
    background-color: #666;
    padding: 15px 25px;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.1s;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
  }

  .button1 {
    background-color: #666; 
    color: white; 
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
  }
  
  .button1:hover {
    background-color: white;
    color: black;
    font-family: 'Inter', sans-serif;
  }

  .button2 {
    background-color: transparent;
    color: white;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
  }

  .button2:hover {
    background-color: #ccc;
    color: black;
    font-family: 'Inter', sans-serif;
  }

  .button4 {
    background-color: #666; 
    color: white; 
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
  }
  
  .button4:hover {
    background-color: white;
    color: black;
    font-family: 'Inter', sans-serif;
  }
  
  .button4:hover {
    background-color: white;
    color: black;
    font-family: 'Inter', sans-serif;
  }

  .button5:hover {
    background-color: #ccc;
    color: black;
    font-family: 'Inter', sans-serif;
  }

  .button5 {
    background-color: #666;
    color: white;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
  }

  .button6 {
    background-color: #666; 
    color: white; 
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
  }

  .button6:hover {
    background-color: #ccc;
    color: black;
    font-family: 'Inter', sans-serif;
  }

  .button7 {
    background-color: #666; 
    color: white; 
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
  }
  
  .button7:hover {
    background-color: white;
    color: black;
    font-family: 'Inter', sans-serif;
  }

  .button8 {
    background-color: #666; 
    color: white; 
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
  }
  
  .button8:hover {
    background-color: #ccc;
    color: black;
    font-family: 'Inter', sans-serif;
  }

  .button:active {
    background-color: #ffffff;
    box-shadow: 0 3px #666;
    transform: translateY(4px);
    font-family: 'Inter', sans-serif;
  }

  .icon {
    width: 32px;
    height: 32px;
  }

  .relative {
    position: relative;
  }
  

  .absolute {
    position: absolute;
    top: 0;
    right: 0;
  }

  @media screen and (max-width: 980px) {
    .button7{
      display: none;
      }
  } 
@media screen and (max-width: 980px) {
  .button4{
    scale: 80%;
    float: left;
    display: none;
    }
}

@media screen and (min-width: 980px) {
  .dropbtn{
    display: none;
    }
}

@media screen and (max-width: 650px) {
  nav{
    height: 100%;
    float: left;
    }
}

@media  screen and (max-width: 750px) {
  .column2{
display: none;
  }
}

@media screen and (max-width: 700px) {
  img.favicon {
    width: 150px;
    height: 150px;
    padding-top: 45px;
    transition: 1s;
  }
}

@media screen and (max-width: 1200px) {
  img.favicon {
    transition: 1.5s;
  }
}

.dropbtn {
  background-color: #666;
  color: white;
  padding: 17px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 12px;
}

.dropbtn:hover, .dropbtn:focus {
  background-color: white;
  color: black;
}

.dropdown {
  position: relative;
  display: inline-block;
  border-radius: 12px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 12px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {background-color: #ddd;}

.show {display: block;}

p.solid {border-style: solid;}

/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 70%;
  padding: 18px;
}

.column2 {
  position: absolute ;
  right: 10px;
  float: right;
  background-color: #666;
  width: 27%;
  height: 500px;
  padding: 5px;
  border-radius: 12px;
}

/* Clear floats after the columns */
.row::after {
  content: "";
  clear: both;
}

input[type="radio"]{
  visibility:hidden;
}

.H1toH5 input { display: none; }
.H1toH5 .seatButton { padding: 5px; border: 1px solid white; border-radius: 12px; background: #666; }
.H1toH5 input:checked + .seatButton { background: #8dbb78; }
.H1toH5 .seatButton:active {background-color: white; color: black;}
.H1toH5 .seatButton:hover {background-color: #ccc; color: black;}

/* Found out I didn't need to have the .switch thing, I deleyed it and it worked fine without it, and it stuck on the header which it wouldnt do before hand. */

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

/* Slider background */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: none;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

/* Slider button with sun/moon image */
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background: rgb(255, 255, 255);
  /* Sun icon as background */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffd700'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M12 1v2m0 18v2M4.22 4.22l1.42 1.42m12.72 12.72l1.42 1.42M1 12h2m18 0h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42'/%3E%3C/svg%3E");
  background-size: 18px;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

/* Checked state */
input:checked + .slider {
  background-color: none;
}

input:checked + .slider:before {
  -webkit-transform: translateX(0px);
  -ms-transform: translateX(0px);
  transform: translateX(0px);
  background: rgb(31, 31, 31);
  /* Moon icon as background */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffd700'%3E%3Cpath d='M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1-8.313-12.454z'/%3E%3C/svg%3E");
}


canvas {
  border: 1px solid #d3d3d3;
  background-color: #f1f1f1;
  padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 800px;
    margin-top: 50px;
}