@charset "UTF-8";

/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body Structure */
body {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  line-height: 2;
  text-align: center;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  padding: 10px 0 5px 0;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 25px;
}

h4 {
  font-size: 20px;
}

.flex-container {
  display: flex;
}

.flex-item {
  flex: 1;
  margin: 20px;
  padding: 15px;
  border: 2px solid black;
  text-align: left;
}

/* Header */
header {
  background-color: cornflowerblue;
  width: 100%;
  padding: 60px;
}

/* Navigation */
nav {
  background-color: #212121;
  margin-bottom: 0;
}

nav ul {
  list-style-type: none;
  padding: 0;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 80%;
}

nav ul li {
  flex: 1 0 auto;     
}

nav ul li a {
  display: block;
  text-decoration: none;
  color: grey;
  padding: 20px;
  font-weight: bold;
}

nav ul li a:hover {
  color: cornflowerblue;
}

.current {
  color: blue;
}

/* Page Structure */
section {
  padding: 20px;
  max-width: 80%;
  margin: 20px auto;
}

ul.overview {
  display: inline-block;
  text-align: left;
}

.criteria p {
  float: left;
  margin: 20px;
  border: 2px groove black;
  outline: 5px double blue;
  outline-offset: 5px;
  padding: 10px;
}

.clear {
  content: "";
  clear: left;
  display: table;
}

#portfolio {
  width: 70%;
}

iframe {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 5px;
}

.project-image {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.checked {
  color: orange;
}

.alert {
  background-color: yellow;
}

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 75px; /* Place the button at the bottom of the page */
  right: 10px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  /* visual styling */
  text-decoration: none;
  padding: 10px;
  font-family: sans-serif;
  color: #fff;
  background: #212121;
  border-radius: 100px;
  white-space: nowrap;
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

/* Footer */
footer {
  background-color: cornflowerblue;
  width: 100%;
  padding: 20px;
}

/* Media Queries */
@media (max-width: 767px) {
  .content-container {
    max-width: 100%;
    margin: 30px auto 0;
  }
  .flex-container {
    flex-direction: column;
  }
}
  
  