* {
  margin: 0;
  padding: 0;
}

html,
body {
  font-size: 16px;
  font-family: Helvetica, sans-serif;
}

:root {
  --primary-main: #63b1bb;
  --primary-dark: #0e2b36;
  --success: #81c784;
  --error: #e57373;
}

html {
  overflow: auto;
}

body {
  background-color: var(--primary-dark);
}

h1,
p {
  color: white;
}

header {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 40px;
}

header .logo {
  width: 300px;
}

main {
  padding: 32px;
}

.button {
  background-color: var(--primary-main);
  border-radius: 16px;
  border: none;
  color: white;
  font-size: 3.5rem;
  font-weight: bold;
  padding: 32px 80px;
  text-transform: capitalize;
}

.button-small {
  padding: 16px 40px;
  font-size: 2.5rem;
}

.icon-button {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;

  & > img {
    height: 3.5rem;
    width: 3.5rem;
    fill: white;
  }
}

.upload-container {
  align-items: center;
  background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23fff' stroke-width='10' stroke-dasharray='20%2c 30' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
  display: flex;
  flex-direction: column;
  height: 50vh;
  margin: auto;
  margin-top: 10vh;
  padding: 120px;
  width: 60vw;

  .title-container {
    .title {
      font-size: 4.5em;
    }
  }

  .action-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;

    #upload-file-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;

      .file-name {
        font-size: 2rem;
        text-align: center;
        line-height: 1.5;
        margin-top: 8px;
      }

      #upload-file-button {
        margin-top: 40px;
      }
    }

    #upload-file-status-container {
      .status {
        font-size: 3rem;
        text-align: center;
        line-height: 1.5;
      }
    }
  }

  #vertical-format-helper-container {
    justify-self: flex-end;
  }

  #vertical-format-helper {
    font-size: 2em;
  }
}

#replace-file-button {
  background-color: transparent;
  border: solid #fff 4px;
  margin-top: 32px;
}

#file-upload {
  display: none;
}

#video-preview {
  height: 0;
  position: 'absolute';
  width: 0;
  z-index: -1;
}

.hidden {
  display: none !important;
}

.success {
  color: var(--success);
}

.error {
  color: var(--error);
}
