body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: rgb(29, 29, 29);
  align-items: center;
  color: #fff;
  margin: 20px;
  line-height: 1.5;
  overflow-x: hidden;
  font-size: 1em;
}

a {
  text-decoration: none; 
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  color:#333;
  font-size: 1em;
}

a:hover {
  background-color: red; 
  color: white;
  font-size: 1em;
  border-radius: 1em;
}

a:visited {
  color:#333;
  font-size: 1em;
}

header,
nav,
main,
footer {
  width: 90%;
  margin:auto;
  font-size: 1em;
}

header, nav, footer {
    position: fixed;
}

header {
  top:0px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  background-color: whitesmoke;
  text-align: center;

}

img {
  max-width: 90%;
  max-height: 90%;
  justify-content: center;
}

nav {
  top:100px;
  display: flex;
  height: auto;
  background-color: #c5c5c5;
  align-items: center;
  text-align: left;
  color:#333;
  border-bottom-right-radius: 1em;
  border-bottom-left-radius: 1em;
}

nav a {
  display: inline-block;
  padding-left: 20px;
  padding-right: 20px;
  padding-top:  5px;
  padding-bottom: 5px;
  margin-right: 10px;
  text-decoration: none;
}

menu {
  display: none;
  flex-direction: column;
  align-items: center;
}

menu.active {
  display: flex;
}

.menu-icon {
  display: none;
  font-size: 3em;
  cursor: pointer;
  position: absolute;
  top: 0em;
  right: 0em;
  height: 80px;
  width:80px;
}

main {
  flex-grow: 1;
  max-width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 120px;
  padding-bottom: 50px;
  background-color: transparent;
  color: #fff;
  font-size: 1em;
}

main a.linkint {
  text-decoration: none; 
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  color: #818fcc;
}

main a.linkint:hover {
  background-color: transparent; 
  color: #818fcc;
}

main a.linkint:visited {
  color: #818fcc;
}

main h1, h2, h3 {
            color: #f0f0f0;
}
main h2, h3 {
            margin: 0;
}

main p {
            text-align: left;
            font-size: 1em;
}

main li {
            list-style-type: disc;
            padding: 0;
            font-size: 1em;
            text-align: left;
}

main li.second {
            list-style-type: none; 
            font-size: 1em;  
            text-align: left;
}
    
main.iframe-container {
      position: relative;
      width: 100%;
      height: 100%;
}

main.iframe-container iframe {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 90%;
      height: 90%;
}

main #box60,#box80 {
    max-width: 90%;
    margin:1em auto;
    border-radius: 1em;
    padding: 1em;  
    border: 0em;
    display: -webkit-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: block;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
  }

  main #box60 {
    background-color: rgb(60,60,60);
    color: rgb(240,240,240);    
  }

  main #box80 {
    background-color: rgb(80,80,80);
    color: rgb(240,240,240);
  }

main.divin {
    margin:auto;
    color:f0f0f0;
    font-size: 1em;  
    color: black;
}

/*.textbox {
  color: black;
  background-color: rgb(80,80,80);
  border-radius: 1em;
  padding: 1em;  
}*/

footer {
  bottom:0;
  display: flex;
  height: 30px;
  background-color: black;
  align-items: center;
  text-align: left;
  color: #f0f0f0;
  border-top-right-radius: 1em;
  border-top-left-radius: 1em;
}

footer a {
  display: inline-block;
  padding-left: 20px;
  padding-right: 20px;
  padding-top:  5px;
  padding-bottom: 5px;
  margin-right: 10px;
  text-decoration: none;
  color: #f0f0f0;
}

footer a:visited {
  color: #f0f0f0;
}

@media (max-width: 768px) {
  body {
    width: 100%;
    margin:auto;
    font-size: 1em;
  }

  header {
    height: 80px;
    width: 90%;
    justify-content: left ;
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
  }

  img {
    max-height: 60px;
    padding-top:0.4em;
    padding-bottom: 0.4em;
    padding-left: 1em;
  }

  .menu {
    display: none;
    flex-direction: column;
    background-color: darkred;
  }

  .menu.active {
    display: grid;
  }

  .menu-icon {
    display: block;
    color: white;
    background-color: darkred;
  }
 
  main {
    padding-top:80px;
  }

  main h1, h2, h3 {
    color: #f0f0f0;
    font-size: 1.4em;
  }

  main h3 {
    font-size: 1.2em;
  }

  main p {
    font-size: 1em;
  }

  main li {
    list-style-type: disc;
    padding: 0;
    font-size: 1em;
  } 

  main li.second {
    list-style-type: none; 
    font-size: 1em;           
  }

  nav{
    /*position:absolute;  */  
    width: 90%;
    top:80px;
    padding-right:0px;
    text-align: right;
    display: inline-block;
  }

  nav a {
    text-decoration: none; 
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color:whitesmoke;
  }

  nav a:hover {
    background-color: red; 
    color: whitesmoke;
  }

  nav a:visited {
    color:whitesmoke;
  }

  footer{
    width: 90%;
    margin:auto;
  }
}
