.ubuntu-section {
  display: none;
}

.ubuntu-section.is-visible {
  display: block;
}

.ubuntu-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: #0c0b12;
  color: #f5f4f7;
  display: block;
  overflow: hidden;
}

.ubuntu-boot {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  justify-items: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  align-items: center;
  padding: 24px 18px;
  transition: opacity 0.3s ease;
}

.ubuntu-boot.is-active {
  opacity: 1;
  pointer-events: auto;
}

.ubuntu-boot__brand {
  width: min(400px, 50vw);
  height: auto;
}

.ubuntu-boot__process {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ubuntu-boot__spinner {
  width: 40px;
  height: 40px;
  animation: ubuntu-boot-spin 1.1s linear infinite;
}

.ubuntu-boot__wordmark {
  width: min(220px, 45vw);
  height: auto;
}

.ubuntu-desktop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.ubuntu-desktop.is-active {
  opacity: 1;
  pointer-events: auto;
}

@keyframes ubuntu-boot-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
