body {
    font-family: 'Roboto', sans-serif;
    background-color: #ddd;
}
.container {
    padding-top: 1em;
    border-radius: 1em;
    background-color: #eee;
    width: 70%;
    left: 15%;
    position: relative;
    opacity: 0.9;
}
.header {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: auto;
    padding-bottom: 1em;
    
}
.header .text {
    align-self: center;
    font-weight: 900;
    font-size: 3em;
    text-decoration: underline;

}
.header .text a, .header .text a:visited {
    color: black;
}

.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 5px;
  /* background-color: #8cc5ff; */
}
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-weight: 600;
  font-size: 1em;
}

.tab button:hover {
  background-color: #ddd;
}

.tab button.active {
  background-color: #222;
  color: #ccc;
}

.tabcontent {
  animation: fadeEffect 1s;
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
}

  /* Go from zero to full opacity */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
  }

@media (prefers-color-scheme: dark) {
    body {
        background-color: #111;
        color: #ccc;
    }

    .container {
        background-color: #333;
    }

    .header .text a, .header .text a:visited {
        color:#ccc;
    }

    .tab button.active {
        background-color: #ddd;
        color: #333;
      }

      .tab button {
        color: #ccc;
      }

      .tab button:hover {
        background-color: #ddd;
        color: #222;
      }
}

@media (max-width: 750px) {
    .container {
        width: 100%;
        left: 0;
    }

    .header a {
      font-size: .8em;
    }

    .container .tab button {
        font-size: 1.5em;
    }
    .container p {
        font-size: 2em;
    }
}