*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.main{
    width: 100%;
    height: 100%;
    position: relative;
    font-family: "Staatliches", serif;
    overflow-x: hidden;
    
}
nav{
    display: flex;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    font-weight: 400;
   
}
nav h1{
    margin: 50px;
    font-size: 2rem;
    cursor: pointer;
    font-weight: 400;
}
nav h3{
  font-weight: 400;
}
.header{
    
    margin-right: 50px;
    cursor: pointer;
    display:flex;
    gap: 30px;
}
.header a{
  text-decoration: none;
  color: #333;
}


section{
  
  background:  linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url('bg.jpg');
  background-size: cover;
  background-position: center;  
  display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 180vh;
    
}
.form {
  display: flex;
  flex-direction: column;
  margin: 50px 0 50px 0;
    background-color: #fff;
    box-shadow: 0 10px 60px rgb(218, 229, 255);
    border: 1px solid rgb(159, 159, 160);
    border-radius: 20px;
    padding: 2rem .7rem .7rem .7rem;
    text-align: center;
    font-size: 1.125rem;
    max-width: 320px;
  }
.form-title {
    color: #000000;
    font-size: 1.8rem;
    font-weight: 500;
  }
  
  .form-paragraph {
    margin-top: 10px;
    font-size: 0.9375rem;
    color: rgb(105, 105, 105);
  }
  
  .drop-container {
    background-color: #fff;
    position: relative;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin-top: 2.1875rem;
    border-radius: 10px;
    border: 2px dashed rgb(171, 202, 255);
    color: #444;
    cursor: pointer;
    transition: background .2s ease-in-out, border .2s ease-in-out;
  }
  
  .drop-container:hover {
    background: rgba(0, 140, 255, 0.164);
    border-color: rgba(17, 17, 17, 0.616);
  }
  
  .drop-container:hover .drop-title {
    color: #222;
  }
  
  .drop-title {
    color: #444;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    transition: color .2s ease-in-out;
  }
  
  #file-input {
    
    width: 350px;
    max-width: 100%;
    color: #444;
    padding: 2px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(8, 8, 8, 0.288);
  }
  
  #file-input::file-selector-button {
    margin-right: 20px;
    border: none;
    background: #084cdf;
    padding: 10px 20px;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease-in-out;
  }
  
  #file-input::file-selector-button:hover {
    background: #0d45a5;
  }

  #imagePreview{
    display: flex;
    flex-direction: column;
    justify-content: space-between;

  }
  /* From Uiverse.io by cssbuttons-io */ 
button {
  margin-top: 40px;
  font-family: "Staatliches", serif;
  width: 100px;
  height: 50px;
  text-align: center;
  font-size: 0.8rem;
  padding: 1em 2.7em;
  font-weight: 500;
  background: #1f2937;
  color: white;
  border: none;
  position: relative;
  overflow: hidden;
  border-radius: 0.6em;
  cursor: pointer;
}

.gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 0.6em;
  margin-top: -0.25em;
  background-image: linear-gradient(
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.3)
  );
}

.label {
  text-align: center;
  position: relative;
  top: -1px;
}

.transition {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
  transition-duration: 500ms;
  background-color: rgba(16, 185, 129, 0.6);
  border-radius: 9999px;
  width: 0;
  height: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

button:hover .transition {
  width: 14em;
  height: 14em;
}

button:active {
  transform: scale(0.97);
}

.input{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.input input{
  width: 200px;
  height: 40px;
  border-radius: 15px;
  text-align: center;
}

textarea{
  text-align: center;
  border-radius: 15px;
  margin-top: 50px;
  height: 100px;
}

@media screen and (max-width:720px){
  nav h1{
      font-size: 2rem;
      margin: 20px;
  }
  nav h3{
      font-size: 0.8rem;
      font-weight: 400;
  }

  form{
    margin: 50px 0 50px 0;
  }
}  