body {
  background-color: #fff;
  font: 15px/22px "Eina 03 Regular", Arial, Helvetica, sans-serif;
  color: #404040;
}

* {
  box-sizing: border-box;
}

/**
 * Smooth loading.
 */
.smooth-loading {
  display: none;
  transition-property: opacity;
  -webkit-transition: opacity 250ms ease-in;
  -moz-transition: opacity 250ms ease-in;
  -ms-transition: opacity 250ms ease-in;
  -o-transition: opacity 250ms ease-in;
  transition: opacity 250ms ease-in;
}

/**
 * Header
 */

header {
  background: #e30613;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  height: 86px;
}

header .wrapper {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: inherit;
}

header .logo {
  flex-shrink: 0;
}

header .logo img {
  width: auto;
  height: 40px;
}

/**
 * Typography.
 */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Eina 03 Semi Bold", Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-style: normal;
  color: #404040;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 48px;
  line-height: normal;
  word-break: break-word;
}

h3 {
  font-size: 24px;
  line-height: normal;
  padding-bottom: 20px;
  padding-top: 30px;
}

h3#personal{
  padding-top: 0px;
}
a,
p {
  font-family: "Eina 03 Regular", Arial, Helvetica, sans-serif;
}

p {
  margin: 0;
  padding: 0;
}

/* MAIN */
main {
  padding-top: 86px; /*to be under the header*/
}

.banner-wrapper::before {
  position: absolute;
  left: 43vw;
  top: 0;
  right: 0;
  height: 435px;
  z-index: -1;
  border-radius: 0px 0px 80px 80px;
  background-color: #fffcbe;
  opacity: 1;
  top: 0px;
  content: "";
}
.banner-wrapper {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  flex-direction: column-reverse;
  gap: 40px;
}

.banner-wrapper h4{
  font-size:24px;
  margin: 24px 0;
}

.banner-img {
  flex-shrink: 0;
  width: 100%;
  object-fit: cover;
  border-radius: 0 0 25px 25px;
  box-shadow: 5px 5px 50px 0px rgba(0, 0, 0, 0.08);
}

/**
 * Layout
 */

.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
}
.flex-between {
  display: flex;
  justify-content: space-between;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.main-grid {
  padding-top: 90px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 50px;
}

.content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.pos-relative {
  position: relative;
}

.shadow-container {
  border-radius: 20px;
  background: white;
  box-shadow: 5px 5px 50px 0px rgba(0, 0, 0, 0.08);
  padding: 20px 30px;
}

/* Buttons */
.button.red {
  background-color: #e30613;
  color: white;
  border: 0.8px solid #e30613;
  padding: 11px 30px 15px 30px;
  height: 50px;
  transition: all 0.2s ease-in-out;
  font-family: "Eina 03 Semi Bold", Arial;
  font-size: 18px;
  line-height: normal;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  display:inline-block;
}
.button.red.outline {
  color: #e30613;
  background-color: white;
  border-color: #e30613;
}

.button.red:hover {
  background-color: #9f040d;
  border-color: #9f040d;
}

.button.red.outline:hover {
  background-color: white;
  color: #9f040d;
}

#apply-btn{
  margin-bottom: 30px
}

.login .red.button{
  margin-bottom:90px;
}

/**
 * Footer
 */
 footer {
  width: 100%;
  border-top: 0.8px solid #d5d5d5;
  padding: 30px 0 60px 0;
}

footer #external-links {
  display: flex;
  gap: 10px;
  align-items: center;
}
footer #external-links .separator {
  height: 28px;
  width: 0.8px;
  background-color: #404040;
}

footer #external-links a {
  color: #404040;
  text-decoration: none;
  font-size: 14px;
  line-height:normal;
}
footer #external-links a:hover {
  text-decoration: underline;
}

/**
 * Media Queries
 */
@media screen and (max-width: 1380px) {
  header .wrapper {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
  }
}

@media screen and (max-width: 1290px) {
  .banner-wrapper {
    padding-left: 20px;
    padding-right: 20px;
    gap: 20px;
  }
}

@media screen and (max-width: 1260px) {
  .banner-img {
    width: 100%;
    margin-top: 25px;
    border-radius: 25px;
  }
}

@media screen and (max-width: 1140px) {
  .content-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
  .login .red.button{
    margin-bottom:50px;
  }
  .banner-img {
    height: 400px;
  }
  .banner-wrapper::before {
    left: 10vw;
    border-radius: 0;
    height: 320px;
  }
}

/* CV Autofill */
#autofill-drop-area {
    border: 2px solid #fffcbe;
    background-color: #fffcbe;
    box-shadow: none;
    border-radius: 24px;
    padding: 24px;
    margin-top: 0;
    margin-bottom: 40px;
    min-height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
#autofill-drop-area .ui.icon.header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: center;
    margin: 0;
}
#autofill-on-file-selected-actions {
    display: flex;
    flex-direction: row;
    gap: 20px;
}
#autofill-header-text {
    font-weight: 400;
    text-align: left;
}

#autofill-drop-area.active {
    border: 2px dashed #00317e;
    background-color: #d7e5fb;
}

#autofill-success-message {
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.44;
}

#autofill-inline-message {
    margin-top: 16px;
}

.file-selected .delete {
    display: block !important;
}

/* Mobile */
@media only screen and (max-width: 767px) {
  #apply-btn{
    margin-bottom: 20px
  }

  main {
    padding-top: 50px;
  }
  header {
    height: 58px;
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 50px;
  }
  .main-grid {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .desktop {
    display: none !important;
  }
  .mobile {
    display: block !important;
  }
  header .logo img {
    height: 30px;
  }
  .banner-img {
    height: 320px;
    border-radius: 20px;
  }

  .banner-wrapper::before {
    height: 280px;
    left: 15vw;
  }

  h1 {
    font-size: 30px;
  }

  h3 {
    font-size: 22px;
    padding-top: 20px;
  }
  h3#docs{
    padding-top: 0px;
  }

  .button.red {
    font-size: 16px;

  }
}