/* global scope */
:root {
  --light-text-color: #000000;
  --dark-text-color: #ffffff;
  --secondary-text-color: #48cffd;
  --dark-color: #000000;
  --light-color: #ffffff;
  --dark-transparent: rgba(0, 0, 0, 0.5);
  --light-transparent: rgba(255, 255, 255, 0.5);
}

.no-margin {
  margin: 0px;
}

.my-border {
  border: 2px solid var(--dark-text-color);
  border-radius: 5px;
}

.my-chart {
  width:100%;
  max-width:800px;
  margin: 10px;
  padding: 5px;
}

html {
  color: var(--dark-text-color);
  font-family: "Atkinson Hyperlegible Mono", sans-serif;
}
body {
  
  background-image: linear-gradient(
    var(--dark-transparent), 
    var(--dark-transparent)
    ), url("../assets/background.gif");
}
a {
  color: var(--secondary-text-color);
}

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

.content-block {
  background-color: var(--dark-color);
  border: 2px solid var(--dark-text-color);
  border-radius: 5px;
  width: 90%;
  max-width: 1200px;
  padding: 10px 20px;
  margin: 10px;
}

.blog-container {
  background-color: var(--dark-color);
  border: 2px solid var(--dark-text-color);
  border-radius: 5px;
  width: 90%;
  max-width: 400px;
  height: 400px;
  padding: 10px 20px;
  margin: 10px;
}

.hero {
  margin-top: 20px;
  text-align: center;
}

.my-form input {
  width: 100%;
  height: 40px;
  margin-bottom: 0px;
  font-size: 24px;
}

.my-button {
  border: 2px solid var(--dark-text-color);
  font-size: 24px;
  padding: 10px;
  margin: 10px;
}

footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.alert {
  border: 4px solid var(--secondary-text-color);
  padding: 5px 10px;
  text-align: center;
}

table, thead, tbody, th, td {
  border: 1px solid var(--light-color);
}

/* Add a black background color to the top navigation */
.topnav {
  background-color: var(--dark-color);
  overflow: hidden;

  border: 2px solid var(--dark-text-color);
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: var(--dark-text-color);
  text-align: center;
  padding: 16px 20px;
  text-decoration: none;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: var(--dark-text-color);
  color: var(--dark-color);
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: var(--secondary-text-color);
  color: var(--dark-color);
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {
    display:block;
    position: relative;
  }
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}