*{
  margin: 0px;
  padding: 0px;
  font-family: sans-serif;
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}
body{
  max-width: 100%;
  background: url(../images/bg.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.main{
  text-align: center;
}

h1{
  color: red;
  margin-top: 20px;
  margin-bottom: 10px;
}
.navbar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #202020;
  color: #fff;
}
.navbar-links ul{
  margin: 0;
  padding: 0;
  display: flex;
  font-size: 20px;
  padding: 10px;
}
.navbar-links li{
  list-style: none;
  transition: 0.5s all;
  border-radius: 10px;
}
.navbar-links li a{
  text-decoration: none;
  display: block;
  color: #fff;
  padding: 1rem;
  transition: 0.5s all;
}
nav ul li a:hover{
  color: #00FFFF;
  border-radius: 10px;
}
.toggle-button{
  position: absolute;
  top: 25px;
  right: 20px;
  display: none;
  flex-direction:column;
  justify-content:space-between;
  width: 30px;
  height: 21px;
}
.toggle-button .bar{
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
}
.mainlogo{
  padding-left: 30px;
  margin: 10px;
}
.mainlogo img{
  width: 150px;
}
.account {
  margin-right: 50px;
  font-size: 23px;
  color: white;
  background-color: #808080;
  padding: 15px;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  text-align: center;
  display: flex;
  align-items: center;
  transition: 0.5s all;
}
.account:hover{
  background-color: #00ffff;
  color: black;
}
.accmenu{
  display: none;
}
.accmenu a{
  transition: 0.5s all;
}
.accmenu a:hover{
  background-color: #00ffff;
  color: black;
}
#upload {
  display: flex;
  justify-content: center;
  align-items: center;
}
.upload-box {
  width: clamp(100px, 90%, 1000px);
  margin: 80px 50px;
  display: flex;
  flex-wrap: wrap;
}
.upload-links, .upload-form-wrapper {
  width: 50%;
  padding: 8% 5% 10% 5%;
}
.upload-links {
  background:#202020;
  border-radius: 10px 0 0 10px;
}
.upload-form-wrapper {
  background-color: #0009;
  border-radius: 0 10px 10px 0;
}
.file-uploaded{
  margin-top: 40px;
}
.file-uploaded p.success{
  color: greenyellow;
  /* display: none; */
}
.file-uploaded p.unknown-file{
  color: orange;
  /* display: none; */
}
.file-uploaded p.bigger-file{
  color: orange;
  /* display: none; */
}
.file-uploaded p.unknown-error{
  color: red;
  /* display: none; */
}

h2 {
  color: #fff;
  font-size: 60px;
  letter-spacing: 2px;
  text-align: center;
  transform: scale(.95, 1);
}
.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 50px;
}
.link {
  margin: 10px;
  cursor: pointer;
}
.form-item {
  background-color: transparent;
  position: relative;
  margin: 1.25em 0 1.87em 0;
  padding: 3.12em 1.25em;
  border-radius: 0.43em;
  box-shadow: 0 1.25em 2.18em rgb(1, 28, 71, 0.3);
}
label{
  display: block;
  position: relative;
  background-color: #808080;
  color: #ffffff;
  font-size: 1.12em;
  font-weight: bold;
  text-align: center;
  width: 245px;
  padding: 1.12em 0;
  margin: auto;
  border-radius: 0.31em;
  cursor: pointer;
  transition: 0.5s;
}
label:hover {
  background-color: #00ffff;
  color: black;
}
#num-of-files{
  font-weight: 400;
  text-align: center;
  color: white;
  margin: 1.25em 0 1.87em 0;
}
.form-item ul{
  list-style-type: none;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: solid 2px #00ffff;
}
.form-item li{
  font-weight: 500;
  background-color: transparent;
  color: #fff;
  margin-bottom: 1em;
  padding: 1.1em 1em;
  border-radius: 0.3em;
  display: flex;
  justify-content: space-between;
}

input[type="file"] {
  display: none;
}
.submit-btn {
  background-color: #808080;
  color: #fff;
  font-size: 18px;
  font-weight:bold;
  display: block;
  padding: 12px 20px;
  margin: 2px auto;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  transition: 0.5s;
}
.submit-btn:hover {
  background-color: #00ffff;
  color: black;
}
.description{
  margin-top: 10px;
  border: solid 2px #00ffff;
  border-left: none;
  border-right: none;
  border-bottom: none;
  padding-top: 20px;
}
.description p{
  text-align: left;
  font-size: 15px;
  color: #fff;
  margin-bottom: 10px;
}
.fotter{
  padding: 10px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #202020;
  color: #fff;
  text-align: center;
}
.logo{
  margin-top: 50px
}
.logo img{
  width: 200px;
}
.fotter p:first-child{
  font-size: 20px;
}
.fotter a{
  color: #00FFFF;
  text-decoration: none;
}
.fotter p{
  font-size: 15px;
}
@media (max-width: 820px){
  .toggle-button{
    display: flex;
  }
  .navbar-links{
    display: none;
    width: 100%;
  }
  .navbar{
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar-links ul{
    width: 100% ;
    flex-direction: column;
  }
  .navbar-links li{
    text-align:center;
  }
  .navbar-links li a{
    padding: .5rem 1rem;
  }
  .navbar-links.active{
    display: flex;
  }
  .account{
    display:none;
  }
  .accmenu{
    display: flex;
    text-align: center;
    width: 100% ;
    flex-direction: column;
    background-color: #808080;
  }
}
@media (max-height: 1000px){
  .fotter{
    padding: 10px;
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #202020;
    color: #fff;
    text-align: center;
  }
}
@media (max-width: 600px){
  .logo img{
    width: 200px;
  }
}
@media (max-width: 800px){
  .logo{
    margin-top: 100px;
  }
}
@media only screen and (max-width: 800px) {
  .upload-links, .upload-form-wrapper {
    width: 100%;
  }
  .upload-links {
    border-radius: 10px 10px 0 0;
  }
  .upload-form-wrapper {
    border-radius: 0 0 10px 10px;
  }
}
@media only screen and (max-width: 400px) {
  .upload-box {
    width: 95%;
  }
}
@media only screen and (max-width: 800px) {
  h2 {
    font-size: 60px;
  }
}
@media only screen and (max-width: 400px) {
  h2 {
    font-size: 40px;
  }
  .links {
    padding-top: 30px;
  }
}
