*{
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
}

body 
{
    background: #F1F2F3;
    margin:0;
}

main 
{
    max-width: 1300px;
    /* min-height: 756px; */
    padding: 30px;
    margin:auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
}

.heading-div {
    margin-top: 20px;
}

.heading-div h2
{
    font-size: 37px;
    margin-top: 0;
}

.input-row
{
    width: 100%;
    margin-bottom: 20px;
}

.input 
{
   
    width: 100%;
    border-radius: 4px;
    padding: 16px 19px;
    font-size: 14px;
    border: 1px solid #D4D5DA;
}

.email 
{
    position: relative;
    z-index: 10;
    margin-bottom: 3px;
}

.desc 
{
    height: 130px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #D4D5DA;
    padding: 16px 19px;
    font-size: 14px;
    line-height: 16px;
}

.desc:focus
{
    outline-color: #4A90E2;
}

.input:focus
{
    outline-color: #4A90E2;
}

.input-row label
{
    display: block;
    margin-bottom: 10px;
    color: #242424;
}

form 
{
    padding: 50px;
    background-color: white;
    display: flex;
    flex-direction: column;
}

form.sent
{
    opacity: 0;
    pointer-events: none;
}


.file-input {
    background: rgba(74, 144, 226, 0.2);
    border: 1px solid #4a90e2;
    box-sizing: border-box;
    border-radius: 10px;
    margin-top: 6px;
  }
  
  .file-input label {
    font-weight: 400;
    font-size: 14px;
    padding: 15px 25px;
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0;
    display: inline-flex;
    cursor: pointer;
    color: #4a90e2;
    align-items: center;
    grid-gap: 7px;
    justify-content: center;
  }
  
  .file-input input {
    border: none;
    display: none;
  }
  
  .file-input.file-added {
    background: #ffffff;
    border: 2px solid #d4d5da;
    box-sizing: border-box;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
  }
  
  .file-input.file-added label {
    display: none;
  }
  
  .picture-name,
  .delete-icon {
    display: none;
  }
  
  .file-input.file-added .picture-name {
    display: flex;
    align-items: center;
  }
  
  .file-input.file-added .file-name {
    display: inline-block;
    color: #4a4a4a;
    padding: 0 10px;
  }
  
  .file-input.file-added .delete-icon {
    display: inline-block;
    cursor: pointer;
  }

  .report-btn 
  {
    background: #4A90E2;
    
    border-radius: 4px;
    width:100%;
    padding:15px;
    font-weight: 500;
    font-size: 18px;
    color:white;
    border: none;
    /* margin-top: 100px; */
    cursor: pointer;
    transition: background-color 0.15s ease-in-out ;
  }
  .report-btn:hover 
  {
      background-color: #3a7ecc;
  }
  .report-btn:focus
  {
    outline-color: #4A90E2;
  }

  .report-btn.disabled
  {
      background-color:#D3D3D3;
      cursor: default;
      outline: none;
  }

  .report-btn.submitting 
  {
    background: linear-gradient(270deg, #37bdff, #4A90E2, #37bdff, #4A90E2);
    animation: loading-anim 2s ease-in-out infinite;
    background-size: 300%;
  }

  @keyframes loading-anim {
    from {
      background-position: 0% 0%;
    }
    to {
      background-position: 100% 0%;
    }
  }

  .errorlist
  {
    display: block;
    list-style: none;
    padding: 0;
    font-size: 13px;
    margin-top: 00;
    background: #ffd2d2;
    margin-top: -7px;
    padding-top: 8px;
    padding-bottom: 5px;
    padding-left: 14px;
    color: #e83838;
    border-radius: 0 0px 10px 10px;
  }

  .error .form-input 
  {
      border-color:#ffd2d2;
  }
  .error .form-input:focus{
    outline-color:#f5a9a9;
  }

.messages img 
{
    display: inline-block;
    height: 100px;
    margin-bottom: 20px;
}

  
.messages {
    display: none;
    animation: fade-in 0.2s ease-in-out;
  }
  
  @keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .messages h3 {
    margin-top: 0;
    color: #5e5e5e;
    font-weight: 500;
    font-size: 23px;
  }
  
  .messages.sent {
    display: block;
    position: absolute;
    top: 50%;
    width: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    text-align: center;
  }
  
  @media(max-width:786px)
  {
      form
      {
        margin: 0 -30px;
        padding: 60px 30px;
        min-height: 600px;
        box-sizing: border-box;
        height: calc(100vh - 115px);
        margin-bottom: -30px;
      } 

      .heading-div 
      {
          margin-top: 0;
      }
      .heading-div h2 {
          font-size: 32px;
          
      }

      .heading-div img 
      {
          height:16px;
      }
      .report-btn 
      {
          margin-top: auto;
      }
  }

  @media(max-height:756px)
  {
      main{
          justify-content: flex-start;
          height: unset;
      }
  }