* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 16px;
}

body {
  width: 100%;
  min-height: 100vh;

  background-image: url('../assets/bg-leafs.png');
  background-size: cover;
  background-color: #e0e0de;

  display: flex;
  justify-content: center;
  align-items: center;
}

body .box {
  max-width: 744px;
  width: 100%;
  margin: 0 auto;

  display: flex;
  flex-direction: column;

  padding: 0 20px;
}

body .box header {
  width: 100%;
  height: 100px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;

  padding: 0 20px;
  position: relative;
}

body .box header h1 {
  font-family: 'Rubik', sans-serif;
  font-size: 1.5rem;
  color: #4d4d4d;
  text-align: center;
}

body .box header .state {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #329a67;

  width: 64px;
  height: 64px;
}

body .box header .state h1 {
  font-family: 'Rubik', sans-serif;
  font-size: 1.5rem;
  color: #fff;
}

body .box .content {
  background-color: #f5f5f5;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

body .box .content .documents {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 3rem;
}

body .box .content .documents .document {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 1rem;
}

body .box .content .documents .document.selected {
  background-color: #e1e1e1;
}

body .box .content .documents .document:hover {
  background-color: #e1e1e1;
  border-radius: 4px;
  cursor: pointer;
}

body .box .content .documents .document h1 {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  color: #005e60;
  padding: 12px;
}

body .box .captions {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1rem;
  background-color: #fff;
  padding: 1rem 0;
}

body .box .captions .caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 4px;
}

body .box .captions .caption h4 {
  font-family: 'Rubik', sans-serif;
  font-size: 0.84rem;
  color: #005e60;
}

body .box .captions .caption .caption__color {
  width: 100%;
  height: 15px;
  border-radius: 4px;
}

body .box .captions .caption:nth-child(1) .caption__color {
  background-color: #b5b5b5;
}

body .box .captions .caption:nth-child(2) .caption__color {
  background-color: #3abc3e;
}

body .box .captions .caption:nth-child(3) .caption__color {
  background-color: #a46800;
}

body .box .captions .caption:nth-child(4) .caption__color {
  background-color: #00a3ff;
}

#spinner__container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding: 2rem 0;
}

#spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3abc3e;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.disabled {
  display: none !important;
}
