*{
  margin: 0;
  padding: 0;
}
html{
  font-size: 12pt;
  font-family: Helvetica, Arial, sans-serif;
  color:white
}


nav{
  height: 75px;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  color: rgba(212, 212, 212, .85);
  z-index: 20;
}

.contents-nav {
  background-image: linear-gradient(to bottom,rgba(0, 0, 0, 1),rgba(0, 0, 0, 0));
  background-blend-mode: multiply;
  position: fixed;
  height: 80px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

nav svg {
  fill: white;
}
#sidebar-active {
  display: none;
}
.open-sidebar-button, .close-sidebar-button {
  z-index: 21;
  position: fixed;
  display: none;
}

nav .home-link{
  box-sizing: content-box;
  width: min-content;
  margin-right: auto;
}

.logo:hover{
  background-image: linear-gradient(rgba(120, 240, 255, 0.7),rgba(0, 0, 0, 0) 90%);
  background-blend-mode: lighten;
}

.logo {
  display: flex;
  padding: 5px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 15px;
  padding-bottom: 20px;
  width: 90%;
  min-width: 100px;
}

nav .links{
  height: 100%;
  padding: 0 25px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  text-decoration: none;
}

nav .links:hover{
  background-image: linear-gradient(rgba(255, 255, 255, 1),rgba(0, 0, 0, 0));
  background-blend-mode: multiply;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-self: flex-end;
}

.nav-links li {
  margin-right: 5px;
  margin-left: 5px;
  height: 100%;
  min-width: 5%;
}

.nav-links>li a{
  box-sizing: border-box;
  padding: 25px;
  height: 100%;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 20px;
}

@media(max-width: 640px){
  .contents-nav .nav-links {
    flex-direction: column;
    align-items: flex-start;

    position: fixed;
    top: 0;
    right: 0;
    z-index: 101;
    width: 300px;
    height: 100%;

    background-color: black;
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
    transition: 0.75s ease-out;
  }

  nav .links:hover  {
  width: 100%;
  background-image: linear-gradient(to left,rgba(255, 255, 255, 1),rgba(0, 0, 0, 0) 120%);
  background-blend-mode: multiply;
  }

  nav li a  {
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding: 20px 30px;
    justify-content: flex-start;
  }
  .open-sidebar-button, .close-sidebar-button {
    padding: 20px;
    display: block;
  }
  #sidebar-active:checked ~ .contents-nav .nav-links  {
    right: 0;
  }
  #sidebar-active:checked ~ #overlay  {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
  }
}

body {
  background-image: url("raw.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: rgba(80,120,125,0.7);
  background-blend-mode: multiply;
}

.contents-main {
  position: absolute;
  z-index: -1;
  top: 200px;
  left: 0;
  height: 100%;
}

.main-page-top {
  position: relative;
  left: 150px;
  max-width: 60%;
  width: auto;
  height: auto;
  margin-bottom: 50px;
}

.button-action {
  display: flex;
  height: 50px;
  width: fit-content;
  background-color:#7fffd4;
  border-style: none;
  border-radius: 10px;
  padding: 0 20px;
  font-size: large;
  color: black;
}

.button-action-label {
  padding-top: 10px;
  justify-content: center;
  text-align: justify;
  font-size: larger;
}

#fillout-chckbx {
  display: none;
}

#fillout-chckbx:checked + div {
  display:flex;
}

.hide-fillout {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #7fffd400;
}

.button-action:hover {
  background-color:#7fffd4a8;
}

.main-page-content {
  position: relative;
  background-color: rgba(240, 248, 255, 0.7);
  height: 100%;
  width: 100vw;
}

.main-content-card {
  color: black;
  box-sizing: border-box;
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 80%;
  height: 100%;
  left: 10%;
  background-color: rgba(240, 248, 255, 1);
  box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.2);
  padding: 5%;
}

@media( max-width: 1000px) {
  .main-content-card {
    left: 0;
    width: 100%;
    padding-left: 10%;
    padding-right: 10%;
  }
}

.settings-circle {
  box-sizing: border-box;
  position: fixed;
  display: block;
  background-image: url(settings_24dp_7FFFD4A8_FILL0_wght400_GRAD0_opsz24.svg);
  background-color: #7fffd4;
  background-size: contain;
  background-blend-mode: difference;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  z-index: 21;
  left: calc(100% - 60px);
  top: calc(100% - 60px);
  align-items: center;
  box-shadow: 3px 2px 7px rgba(0, 102, 68, 0.4);
}

.settings-circle:hover {
  opacity: 0.66;
  background-color: hsl(160, 100%, 60%);
}

.fillout {
  display: flex;
  background-color: azure;
  top: 100px;
  left: calc(50% - 200px);
  position: fixed;
  height: 80%;
  max-height: 500px;
  width: 400px;
  border-radius: 25px;
}

.fillout-bg {
  display: none;
  position: fixed;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: multiply;
} 

.language-select {
  box-sizing: border-box;
  position: relative;
  height: max-content;
  padding-top: 26px;
  padding-bottom: 25px;
  padding-right: 10px;
}

.settings-form {
  overflow: hidden;
  display: none;
  position: fixed;
  justify-self: right;
  align-items: top;
  margin-right: 40px;
  background-color: aliceblue;
  border-radius: 10px;
  box-shadow: 1px 1px 6px rgba(0, 102, 68, 0.6);
  height: fit-content;
  width: 200px;
  bottom: 20px;
  right: 60px;
  z-index: 20;
}

#settings {
  display: none;
}

#settings:checked + label{

  .settings-form {
    display: flex;
  }
}
* ul {
  list-style-type: none
}

.font {
  width: 100%;
}
.settings-form ul {
  width: 100%;
  overflow: hidden;
}

.settings-form ul li {
  overflow: hidden;
  color: black;
  border-left-style: none;
  /*border-top-style: inset;
  border-top-color: white;
  border-width: 2px;*/
}
.settings-form ul li:after {
    content: "";
    display: block;
    margin: 10px auto;
    width: 80%;
    padding-bottom: 10px;
    border-top: 2px inset white;
}

.settings-top {
  height: 10px;
  width: 100%;
}

.settings-dropdown {
  display: block;
  width: 100%;
  height: 30px;
  margin-top: 10px;
  padding: 0 10px 0 10px;
  background-color: aliceblue;
  border: none;
}
.settings-dropdown:hover {
  background-color: hsl(208, 10%, 75%);
}

.font-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 25px;
  background: #d3d3d300;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
  padding: 15px;
}
.font-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 15px;
  background: rgb(0, 255, 170);
  border-radius: 50%;
  border-color: hsl(160, 100%, 20%);
  cursor: pointer;
  box-shadow: 2px 1px black;
}
.font-slider::-moz-range-thumb {
  width: 20px;
  height: 15px;
  background: rgb(0, 255, 170);
  border-radius: 50%;
  border-color: hsl(160, 100%, 20%);
  cursor: pointer;
  box-shadow: 2px 1px grey;
}
.font-slider::-moz-range-progress {
  background-color: hsl(160, 100%, 25%);
}
.font-slider::-moz-range-track {
  background-color: hsl(160, 40%, 60%);
}
/*@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .hamburger {
    display: block;
  }

  .navbar.responsive .nav-links {
    display: flex;
  }
}*/