@font-face {
  font-family: "Parkinsans";
  src: url("../fonts/Parkinsans-Bold.ttf");
  font-weight: 700;
}
@font-face {
  font-family: "Parkinsans";
  src: url("../fonts/Parkinsans-ExtraBold.ttf");
  font-weight: 800;
}
@font-face {
  font-family: "Parkinsans";
  src: url("../fonts/Parkinsans-Light.ttf");
  font-weight: 300;
}
@font-face {
  font-family: "Parkinsans";
  src: url("../fonts/Parkinsans-Medium.ttf");
  font-weight: 500;
}
@font-face {
  font-family: "Parkinsans";
  src: url("../fonts/Parkinsans-Regular.ttf");
  font-weight: 400;
}
@font-face {
  font-family: "Parkinsans";
  src: url("../fonts/Parkinsans-SemiBold.ttf");
  font-weight: 600;
}

html,
body {
  scroll-behavior: smooth;
  background-color: #050505;
  color: white;
  font-family: "Parkinsans", Georgia, serif;
  overflow: auto;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  overflow-x: hidden;
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

#topbar {
  display: flex;
}

#title {
  padding: 8px 0px 0px 8px;
  font-weight: bold;
  text-decoration: none;
  color: white;
}

#usermenu {
  color: white;
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: 2vw;
  margin-left: 2vw;
}

#usermenu img {
  margin-left: 1vw;
  border-radius: 50%;
  width: 32px;
  height: 32px;
}

#topbar > nav {
  position: relative;
  margin-left: auto;
  display: flex;
}

#topbar > nav > a {
  flex: 1 1 0;
  padding: 15px;
  white-space: nowrap;
  z-index: 1;
  text-decoration: none;
  text-align: center;
  color: white;
  cursor: pointer;
}

 #topbar > nav > i {
  padding: 16px;
  text-align: center;
  color: white;
  cursor: pointer;
}

#topbar nav .animation {
  position: absolute;
  top: 0;
  z-index: 0;
  transition: all 0.5s ease 0s;
  border-radius: 8px;
}

footer > p {
  font-size: 1vw;
    text-align: center;
    opacity: 0.2;
    padding-bottom: 10px;
}

.topnav .icon {
  display: none;
}

dialog {
	background-color: rgba(0,0,0,0.5);
	height: 100vh;
	width: 100%;
  min-width: 100%;
  padding: 2vh 2vw 2vh 2vw;
  justify-content: center;
  align-items: center;
  color: white;
  border: none;
}

.form-button-frame {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

dialog .button{
  padding: 1vh 1vw 1vh 1vw;
  margin: 1.5vh 1.5vw 1.5vh 1.5vw;
  text-decoration: none;
  color: white;
  border-radius: 14px;
  background: rgba(20,55,140,1);
      -webkit-transition: all .2s ease-in;
  -ms-transition: all .2s ease-in;
  transition: all .2s ease-in;
  border: none;
cursor: pointer;
}

dialog .button:hover {
  background: rgba(85,30,140,1);
    transform: scale(1.1) translateY(-2px);
}

.popup-content {
	position: relative;
	margin: 5vh 5vw 5vh 5vw;
  padding: 1.5vh 1.5vw 1.5vh 1.5vw;
	background-color: rgba(5, 5, 5, 0.9);
  border-radius: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 10px 10px 60px -8px rgba(0,0,0,0.2);
}

form > p {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.5vh;
  width: 100%;
}

form > p > label{
  font-size: clamp(0.1em, 2vmin, 0.8em);
  opacity: 0.8;
}

input[type=file]::file-selector-button {
  border: none;
  background: rgba(20,55,140,1);
  height: 100%;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
}

input[type=file]::file-selector-button:hover {
  background: rgba(85,30,140,1);
}

form > p > input, form > p > select, form > p > textarea{
  border: 1px solid rgba(50, 50, 50, 1);
  border-radius: 4px;
  background-color: rgba(5, 5, 5, 1);
  color: white;
  width: 100%;
}
form > p > input:focus{
  border: rgba(20,55,140,1);
}

button{
  padding: 1vh 1vw 1vh 1vw;
  margin: 1.5vh 1.5vw 1.5vh 1.5vw;
  border-radius: 14px;
  background: rgba(20, 55, 140, 1);
  -webkit-transition: all 0.2s ease-in;
  -ms-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  cursor: pointer;
  border: none;
  color: white;
}

button:hover {
  background: rgba(85, 30, 140, 1);
  transform: translateY(-2px);
}

@media screen and (max-width: 700px) {
  .topnav a, .topnav i {
    display: none;
  }
  .topnav a.icon {
    text-align: center;
    display: block;
    text-transform: none;
    line-height: 1;
  }
}

@media screen and (max-width: 700px) {
  .topnav.responsive {
    flex-direction: column;
    align-items: flex-end;
    position: absolute !important;
    background-color: #050505;
    border-radius: 8px;
    box-shadow: #050505;
    z-index: 1000;
    right: 0;
  }
  .topnav.responsive a, .topnav.responsive i {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}