/* Overall design 
There might be a lot of useless code in here because there are multiple fixes and I'm not too sure exactly which one worked but the site is fine*/
html {
    background: linear-gradient(#1b1b1b, #1d2a35);
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    height: 100%;
    color:rgb(0, 242, 255);
    font-family:'Courier New', Courier, monospace;
    font-size: 1.5em;
    max-width: 100%;
    overflow-x: hidden;
}

body {
  overflow: hidden;
}

/* Used for title headers */
h1 {
    transition: 0.25s ease-in;
    text-shadow: 0.1em 0.1em 0.2em rgb(0, 242, 255), 0 0 1em blue, 0 0 0.25em blue;
}

h1:hover {
  transition: 0.25s ease-in;
  text-shadow: 0.2em 0.2em 0.4em rgb(0, 242, 255), 0 0 1em blue, 0 0 0.25em blue;
}

.projects {
  margin: 0px auto;
}

p {
    margin-left: 15%;
    margin-right: 15%;
}

hr {
    color:rgb(0, 242, 255);
}

/* Styling tables */
table {
  width: 75%;
  margin: 0px auto;
}

td, th {
  text-align: left;
  margin: 0px auto;
  padding: 0.5%
}

dt {
    transform: scale(1.25);
    width: auto;
    max-width: 100%;
    overflow-x: hidden;
}

dd {
    max-width: 100%;
    width: auto;
    overflow-x: hidden;
}

ol {
    margin: 0px;
    padding: 0px;
    list-style-type: decimal;
    list-style-position: inside;
  }

ul {
    margin: 0px; list-style-type: none; padding: 0px;
}

a:link {
  color:aquamarine;
}

a:visited {
  color:aquamarine;
}

/* Styling the input */
input {
  text-align: center;
  transition: 0.15s ease-in;
  color:#f2f2f2;
  background-color: #1b1b1b; 
  border: 0.1em solid rgb(0, 242, 255);
  padding: 0.3%
}

input:focus {
  transition: 0.15s ease-in;
  outline: none;
  box-shadow: 0 0 0.9375em rgba(0,242,255,0.8);
  border-radius: 0px;
}

input[type=submit], input[type=reset] {
  font-family: 'Courier New', Courier, monospace;
  font-size: medium;
  width: 10%;
  margin: 0.5%;
  margin-bottom: 15%;
}


input[type=submit]:hover {
  background-color: rgb(29, 200, 143);
  transition: 0.25 ease-in;
  transform: scale(1.25);
  box-shadow: 0 0 2em rgba(0, 255, 162, 0.8);
}

input[type=reset]:hover {
  background-color: rgb(200, 29, 29);
  transition: 0.25 ease-in;
  transform: scale(1.25);
  box-shadow: 0 0 2em rgba(255, 0, 68, 0.8);
}

/* Animations for the image on main page */
#miku-thumbsup {
  transition: 0.35s ease-in;
  transform: scale(1);
}

#miku-thumbsup:hover {
  transition: 0.25s ease-in;
  transform: scale(1.20);
  filter: drop-shadow(0px 0px 40em rgba(72, 135, 202, 1));
}

form {
  height: auto;
  max-height: 20%;
}


#container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  height: auto;
}

#world_map_div {
  transform: scale(0.5);
  transform-origin: center;
}

audio {
  display: none;
}

/* Style the links inside the navigation bar */
.topnav a {
    transition: 0.20s ease-in;
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 0.875em 1em;
    text-decoration: none;
    font-size: 0.8em;
    font-weight: 550;
}
  
/* Change the color of links on hover */
.topnav a:hover {
    transition: 0.20s ease-in;
    transform: scale(1.25);
    text-shadow: rgba(0, 242, 255, 1) 0 0 0.9375em, rgba(0, 242, 255, 1) 0 0 1.875em, rgba(0, 242, 255, 1) 0 0 2.8125em;
}
  
/* Add a color to the active/current link */
.topnav a.active {
    font-weight: bold;
    transform: scale(1.25);
    text-shadow: 0 0 0.5em blue, 0 0 0.8em blue;
}

.topnav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3em;
    padding: 1em;
}