* {
  font-family: 'Inter', sans-serif;
}

.container .main-content > *{
  text-align: left;
}

.main-content {
  width: 100%;
  max-width: 700px;
  margin: 50px auto;
  padding-right: 10px;
  .header {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    padding-bottom: 60px;
    margin: 0px;
  }
}

.main-content a {
  text-decoration: underline;
}

.main-content p, .main-content h3{
  margin: 0;
  font-size: 20px;
  font-weight: normal;
  line-height: 1.25;
  margin-bottom: 26px;
}

.main-content h3 {
  margin-bottom: 68px;
}

.main-content h2 {
  margin: 0px 0px 38px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.main-content .brief {
  margin-bottom: 60px;
}

.main-content .brief p{
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.main-content form p {
  font-size: 16px;
  color: rgb(136, 136, 136);
}

.main-content form input[type="file"] {
  opacity: 0;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.main-content .presentation span{
  margin-left: 10px;
}

.main-content .presentation button{
  display: inline-flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  position: relative;
  max-width: 100%;
  height: 28px;
  padding: 0px 8px;
  border: 0px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  white-space: nowrap;
  transition: color 100ms ease-in 0s;
  text-align: left;
  color: rgb(119, 118, 114);
  background-color: transparent;
}

.main-content .presentation .available-files{
  margin-top: 20px;
  text-align: center;
  color: rgb(137, 136, 132);
}


.drop-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 104px;
  padding: 20px;
  border-radius: 6px;
  border: 1px dashed #55555560;
  color: #444;
  cursor: pointer;
  transition: background .2s ease-in-out, border .2s ease-in-out;
}

.drop-container:hover {
  background: #eee;
  border-color: #111;
}

.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;
}

img.header {
  line-height: 1.15;
  text-rendering: optimizelegibility;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  color: rgb(55, 53, 47);
  font-family: var(--font-family), sans-serif;
  direction: ltr;
  box-sizing: inherit;
  padding: 0px;
  margin: 0px;
  border-style: none;
  display: block;
  object-fit: cover;
  object-position: center 50%;
  width: 100%;
  height: 25vh;
}

#aiResults {
  display: none;
}

#aiResults h5{
  margin-bottom: 14px;
}

#aiResults .col.s12{
  text-align: center;
  margin-bottom: 10px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-height: 100% !important;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  text-align: center;
}

#aiResults .bubbles-holder span{
  padding: 6px 16px;
  border: 1px solid #333;
  border-radius: 18px;
  margin: 0 8px 12px;
  color: #333;
  font-weight: 500;
  display: inline-block;
  line-height: 1;
}

#aiResults .confidence-holder{
  color: #2ecc71;
}

.spinner {
  text-align: center;
  display: none;
}

.results-placeholder {
  height: 66vh;
  display: none;
}

#error{
  color: #D8000C;
  background-color: #e8baba;
}

.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  border: 3px solid;
  border-color: transparent transparent transparent transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader::after,
.loader::before {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px solid;
  border-color: transparent transparent #5F41E0 #5F41E0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotationBack 0.5s linear infinite;
  transform-origin: center center;
}
.loader::before {
  width: 32px;
  height: 32px;
  border-color: transparent transparent transparent transparent;
  animation: rotation 1.5s linear infinite;
}
    
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

@media only screen and (max-width: 600px) {
  .main-content .presentation .available-files {
    font-size: 12px;
  }

  .main-content .header {
    font-size: 28px;
    padding-bottom: 20px;
  }

  .main-content p, .main-content h3{
    font-size: 16px;
    margin-bottom: 22px;
  }

  .main-content h2 {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .main-content .brief {
    margin-bottom: 24px;
  }
  
  .main-content .brief p {
    font-size: 14px;
  }

  .main-content form p {
    font-size: 14px;
  }
}