body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  height: 100%;
}

ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 5px;
  overflow: hidden;
  background-image: linear-gradient(to top right, gray, gainsboro);
  color: black;
  border: solid 1px black;
}

ul.topnav li {float: left;}

ul.topnav li.rightLock {float: right;}

@media screen and (max-width: 300px) {
  ul.topnav li.rightLock,
  ul.topnav li {float: none;}
}

.header {
  padding: 3px;
  overflow: hidden;
  text-align: center;
  background-image: linear-gradient(to bottom right, darkslategray, gray);
}

/* Style the header links */
.header a {
  float: left;
  color: white;
  text-align: center;
  padding: 6px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
}

/* Style the logo link (notice that we set the same value of line-height and font-size to prevent the header to increase when the font gets bigger */
.header a.logo {
  font-size: 36px;
  font-family: Georgia;
  font-weight: bold;
  color: red;
  text-shadow: 1px 1px 2px yellow;
  text-decoration: underline;
}

/* Change the background color on mouse-over */
.header-right a:hover {
  background-color: #ddd;
  color: black;
}

/* Float the link section to the right */
.header-right {
  float: right;
}

/* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */
@media screen and (max-width: 640px) {
  .header a {
    font-size: 16px;
  }
  .header a.logo {
    padding-bottom: 5px;
    font-size: 32px;
  }
  .dropbtn .dropdown {
   font-size: 16px;
  }
}

/* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */
@media screen and (max-width: 520px) {
  .header a {
    float: left;
    text-align: left;
    font-size: 15px;
  }
  .header a.logo {
    padding-bottom: 10px;
    font-size: 30px;
  }
  .header-right {
    float: left;
  }
  .dropdown-content a {
    text-align: none;
    font-size: 15px;
  }
  .dropbtn .dropdown {
   font-size: 15px;
  }
}

/* The dropdown container */
.dropdown {
 float: left;
}

/* Dropdown button */
.dropbtn {
 font-size: 18px;
 border: none;
 color: white;
 padding: 12px 16px;
 background-color: inherit;
 font-family: inherit; /* Important for vertical align on mobile phones */
 margin: 0; /* Important for vertical align on mobile phones */
}

/* Dropdown content (hidden by default) */
.dropdown-content {
 display: none;
 position: relative;
 background-color: #f9f9f9;
 max-width: 120px;
 box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

@media screen and (max-width: 600px) {
  .dropdown-content {
   display: none;
   position: relative;
   background-color: #f9f9f9;
   max-width: 120px;
   box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
   z-index: 1;
  }
}

/* Links inside the dropdown */
.dropdown-content a {
 float: left;
 color: white;
 padding: 6px;
 text-decoration: none;
 display: block;
 text-align: left;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
 display: block;
 background-color: grey;
}

.headers {
  padding: 1px;
  text-align: center;
  font-size: 24px;
  margin: auto;
  color: black;
  text-shadow: 1px 1px 1px lightblue;
  background-color: rgba(0, 20, 245, 0.6);
  border-bottom: 1mm ridge rgba(15, 15, 15, 0.8);
  min-width: 200px;
  max-width: 1000px;
}

* {
  box-sizing: border-box;
}

.card {
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.4);
  background-color: rgba(255, 255, 255, 0.5);
  border: 1mm ridge rgba(15, 15, 15, 0.8);
  margin: 0 auto;
  text-align: center;
  min-width: 200px;
  max-width: 1000px;
}

.cards {
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.8);
  background-color: rgba(110, 110, 110, 0.2);
  border: 1mm ridge rgba(15, 15, 15, 0.8);
  margin: 0 auto;
  text-align: center;
  padding: 5px;
  min-width: 200px;
  max-width: 1000px;
}

.border {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(55, 55, 55, 0.95) 0%, rgba(35, 35, 35, 0.95) 100%);
  margin: 0 auto 8px;
  text-align: center;
  min-width: 200px;
  max-width: 1000px;
  color: #f5f5f5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  border-radius: 6px;
}

.borders {
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.4);
  border: 2mm ridge rgba(70, 70, 70, 0.8);
  background-color: rgba(110, 110, 110, 0.9);
  margin: 0 auto;
  text-align: center;
  min-width: 200px;
  max-width: 1000px;
  color: rgba(245, 245, 245, 1);
  text-shadow: 1px 1px 2px black;
}
.columnS {
  text-align: center;
}

.row {
  background-image: url("../images/icebgDark.jpg");
  min-height: 80vh;
  padding: 10px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.line {
  font-size: 18px;
  padding-top:40px;
}

.info_img {
  position: relative;
  height: 10px;
  width: 30px;
}

.info_desc {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  color: green;
  background: white;
  width: 120px;
  border: 2px solid black;
  border-radius: 5px;
  visibility: hidden;
  opacity: 0;
  /* transition effect. not necessary */
  transition: opacity .2s, visibility .2s;
}

.info_img:hover .info_desc {
  visibility: visible;
  opacity: 1;
}

/* Set a style for all buttons */
button {
  background-color: red;
  color: white;
  border: 1px solid black;
  cursor: pointer;
  padding: 10px;
  width: 70%;
}

button:hover {
  opacity: 0.8;
}

table {
  background-image: url("../images/icebg.jpg");
  border-collapse: collapse;
  width: 100%;
  border-width: 4px;
  border-style: outset;
  margin: auto;
  min-width: 200px;
  max-width: 1000px;
}

th, td {
  text-align: left;
  padding: 8px;
  border-bottom: solid 1px;
}

tr:nth-child(even) {background-color: #f2f2f2;}

/* Footer */
.footer {
  border: 1px solid black;
  padding: 10px;
  text-align: center;
  background-image: linear-gradient(to top, gray, gainsboro);
  height: 10%;
  bottom: 0;
  width: 100%;
  clear: both;
}
