/* Import custom fonts */
@font-face {
    font-family: 'TitleFont';
    src: url('../font/nowtext-black.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ButtonFont';
    src: url('../font/nowtext-bold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BodyFont';
    src: url('../font/OpenSans-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* Apply custom fonts */
body {
    font-family: 'BodyFont', sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    color: #1D1234;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'TitleFont', serif;
}

button, input[type="submit"] {
    font-family: 'ButtonFont', sans-serif;
}

.upload-header {
    color: #fff;
    background: #090013;
    position: relative;
    overflow: hidden;
}

.upload-header__round:after {
    content: '';
    position: absolute;
    width: 1000vw;
    height: 1000vw;
    background: #fff;
    top: 85%;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
}

.upload-header__header {
    background: radial-gradient(91.91% 91.91% at 0% 0%, #2A1343 0%, rgba(42, 19, 67, 0.00) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0 160px 0;
    position: relative;
    overflow: hidden;
}

.upload-header__decor {
    position: absolute;
    top: 0;
    left: 0;
}

.upload-header__body {
    width: 100%;
    text-align: center;
    padding: 0 0 160px 0;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.inline-link {
    color: #7F9E17;
    text-decoration: none;
    display: block;
}

.upload-footer {
    color: #fff;
    background: #090013;
}

.upload-footer__body {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

a {
    color: #9AD327;
}

.form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

input[type="text"], input[type="email"] {
    box-shadow: 0px 0px 60px 0px rgba(0, 0, 0, 0.07);
    border: none;
    padding: 26px;
    margin-top: 35px;
}

input {
    font-size: 16px;
}

input[type="file"] {
    outline: none;
    padding: 4px;
    margin-top: 35px;
    margin-left: -4px;
  }
  
  input[type="file"]:focus-within::file-selector-button,
  input[type="file"]:focus::file-selector-button {
    outline: 2px solid #0964b0;
    outline-offset: 2px;
  }
  
  input[type="file"]::before {
    top: 16px;
  }
  
  input[type="file"]::after {
    top: 14px;
  }
  
  /* ------- From Step 2 ------- */
  
  input[type="file"] {
    position: relative;
  }
  
  input[type="file"]::file-selector-button {
    width: 136px;
    color: transparent;
  }
  
  /* Faked label styles and icon */
  input[type="file"]::before {
    position: absolute;
    pointer-events: none;
    top: 26px;
    left: 70px;
    color: #777185;
    content: "Upload File";
  }
  
  input[type="file"]::after {
    position: absolute;
    pointer-events: none;
    top: 25px;
    left: 46px;
    height: 20px;
    width: 20px;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239AD327'%3E%3Cpath d='M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z'/%3E%3C/svg%3E");
  }
  
  /* ------- From Step 1 ------- */
  
  /* file upload button */
  input[type="file"]::file-selector-button {
    border-radius: 4px;
    padding: 0 36px;
    height: 60px;
    width: 200px;
    cursor: pointer;
    background-color: white;
    border: 1px dotted #9AD327;
    margin-right: 16px;
    transition: background-color 200ms;
  }
  
  /* file upload button hover state */
  input[type="file"]::file-selector-button:hover {
    background-color: #f3f4f6;
  }
  
  /* file upload button active state */
  input[type="file"]::file-selector-button:active {
    background-color: #e5e7eb;
  }

  .form input[type="submit"] {
    background-color: #9AD327; /* Green background */
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 20px;
    border-radius: 500px;
    margin-top: 30px;
    transition: .25s all ease;
}

.form input[type="submit"]:hover {
    background: #7F9E17
}

.form__tooltip {
    opacity: .7;
    font-size: 11px;
}

.form__tooltip--alert {
    font-size: 11px;
    color: red;
    display: none;
}

.upload-body__block {
    display: block;
    margin: 80px 0;
}

img {
    display: block;
    max-width: 100%;
}