@import url('https://fonts.googleapis.com/css?family=Manrope:700|Manrope:400');

:root {
  --text: hsl(0, 0%, 99%);
  --textDim: hsl(0, 0%, 60%);
  --background: hsl(0, 0%, 7%);
  --primary: hsl(155, 100%, 65%);
  --primaryBg: hsla(155, 100%, 65%, 1%);
  --primaryHi: hsla(155, 100%, 75%, 25%);
  --primaryFg: hsl(155, 100%, 85%);
  --secondary: hsl(156, 51%, 14%);
  --secondaryFg: hsl(156, 51%, 75%);
  --secondaryBg: hsla(156, 51%, 14%, 5%);
  --secondaryHi: hsla(156, 51%, 30%, 50%);
  --accent: hsl(155, 100%, 94%);
  --accentBg: hsla(155, 100%, 94%, 1%);
  --accentHi: hsla(155, 100%, 100%, 25%);
  --tertiary: hsl(220, 70%, 60%);
  --tertiaryBg: hsla(220, 70%, 60%, 1%);
  --tertiaryFg: hsl(220, 70%, 80%);
  --tertiaryHi: hsla(220, 70%, 70%, 25%);
  --ejs: hsl(35, 90%, 60%);
  --ejsBg: hsla(35, 90%, 60%, 1%);
  --ejsFg: hsl(35, 90%, 88%);
  --ejsHi: hsla(35, 90%, 70%, 25%);
  --upload: hsl(0, 0%, 0%);
  --uploadBg: hsla(0, 0%, 0%, 30%);
  --uploadFg: hsl(0, 0%, 100%);
  --uploadHi: hsla(0, 0%, 0%, 60%);
}

body {
  font-family: 'Manrope';
  font-weight: 400;
  background-color: var(--background);
  color: var(--text);
  padding: 0 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  color: var(--textDim);
  width: 100%;
  box-sizing: border-box;
  z-index: 9999;
}

.menu:hover {
  color: var(--text);
  cursor: pointer;
}

.menu-link {
  text-decoration: none;
  color: inherit;
}

.menu-link:hover {
  color: var(--text);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 1rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1rem 1.5rem;
  min-width: 800px;
  max-width: 800px;
  z-index: 10000;
  color: var(--text);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  font-family: monospace;
}

.dropdown.active .dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-section {
  margin-bottom: 1rem;
}

.dropdown-section:last-child {
  margin-bottom: 0;
}

.dropdown-section h4 {
  margin: 0 0 0.5rem 0;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.dropdown-section p {
  margin: 0 0 0.4rem 0;
  line-height: 1.5;
  font-size: 0.75rem;
}

.dropdown-section ol {
  margin: 0.4rem 0;
  padding-left: 1.2rem;
  line-height: 1.6;
}

.dropdown-section ul {
  margin: 0.4rem 0;
  padding-left: 1.2rem;
  line-height: 1.6;
}

.dropdown-section li {
  margin-bottom: 0.3rem;
  font-size: 0.75rem;
}

.dropdown-section strong {
  color: var(--primary);
}

.dropdown-content.dropdown-downloads {
  min-width: 360px;
  max-width: 360px;
}

.download-settings {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.download-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--text);
}

.download-toggle input {
  accent-color: var(--primary);
}

.download-toggle.disabled {
  opacity: 0.6;
}

.download-hint {
  font-size: 0.7rem;
  color: var(--textDim);
  margin: 0;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.download-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--textDim);
}

.download-field-title {
  color: var(--textDim);
}

.download-field input {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text);
  padding: 0.4rem 0.6rem;
  font-size: 0.75rem;
  font-family: monospace;
  width: 100%;
  box-sizing: border-box;
}

.download-field input:focus {
  outline: 1px solid var(--primary);
  outline-offset: 1px;
}

.download-note {
  font-size: 0.65rem;
  color: var(--textDim);
  margin: 0;
}

.nested-trigger {
  cursor: pointer;
  position: relative;
  padding-right: 1.5rem;
}

.nested-trigger::after {
  content: '▶';
  position: absolute;
  right: 0;
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.nested-trigger.active::after {
  transform: rotate(90deg);
}

.nested-dropdown {
  display: none;
  margin-top: 0.5rem;
  padding-left: 0.5rem;
  border-left: 2px solid rgba(155, 100%, 65%, 0.3);
  padding-top: 0.5rem;
}

.nested-trigger.active + .nested-dropdown {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

.sitename {
  font-weight: bold;
}

.grid {
  position: absolute;
  height: 100%;
  weight: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  z-index: -1;
}

.grid-svg {
  height: 80%;
  width: 80%;
  position: relative;
  z-index: 1;
}

.blur {
  height: 12rem;
  width: 12rem;
  background-color: var(--primary);
  filter: blur(100px);
  border-radius: 100px;
  z-index: 0;
  position: absolute;
}

.title {
  font-size: 10rem;
  font-weight: 700;
  letter-spacing: -0.8rem;
  display: flex;
  flex-direction: column;
  position: absolute;
  justify-content: center;
  align-self: center;
  height: 100%;
  z-index: 1000;
}

.title > p {
  margin: 0;
  line-height: 10rem;
  width: auto;
}

.title > p:nth-child(1){
  align-self: flex-start;
}

.title > p:nth-child(2){
  color: var(--primary);
  align-self: flex-end;
}

.title > p:nth-child(3){
  align-self: flex-end;
}

.material-icons {
  display: none;
  fill: var(--text);
}



.button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  height: 50px;
  width: 160px;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

button {
  height: 50px;
  width: 160px;
  clip-path: path("M 0 25 C 0 -5, -5 0, 80 0 S 160 -5, 160 25, 165 50 80 50, 0 55, 0 25");
  border: none;
  border-radius: 13px;
  background-color: var(--primaryBg);
  box-shadow: 0px -3px 15px 0px var(--primaryHi) inset;
  color: var(--primaryFg);
  font-family: "Manrope";
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  transform: translateY(0px);
  transition: all 0.2s ease;
}

span {
  width: 100px;
  height: 60px;
  background-color: var(--primaryHi);
  border-radius: 100%;
  filter: blur(20px);
  position: absolute;
  bottom: -50%;
  transition: all 0.2s ease;
}

.button:hover > span {
  opacity: 60%;
}

.button:hover > button {
  transform: translateY(5px);
}

.button.first {
  top: 12%;
  right: 20%;
}

.button.sec {
  bottom: 13%;
  right: 11%;
}

.button.fifth {
  bottom: 28%;
  right: 24%;
}

.button.fifth > button {
  background-color: var(--ejsBg);
  box-shadow: 0px -3px 15px 0px var(--ejsHi) inset;
  color: var(--ejsFg);
}

.button.fifth > span {
  background-color: var(--ejsHi);
}

.button.sec > button {
  background-color: var(--accentBg);
  box-shadow: 0px -3px 15px 0px var(--accentHi) inset;
  color: var(--accentFg);
}

.button.sec > span {
  background-color: var(--accentHi);
}

.button.third {
  bottom: 25%;
  left: 15%;
}

.button.third > button {
  background-color: var(--secondaryBg);
  box-shadow: 0px -3px 15px 0px var(--secondary) inset;
  color: var(--secondaryFg);
}

.button.third > span {
  background-color: var(--secondaryHi);
}

.button.fourth {
  top: 15%;
  left: 18%;
}

.button.fourth > button {
  background-color: var(--tertiaryBg);
  box-shadow: 0px -3px 15px 0px var(--tertiaryHi) inset;
  color: var(--tertiaryFg);
}

.button.fourth > span {
  background-color: var(--tertiaryHi);
}

.button.upload {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.button.upload > button {
  background-color: var(--uploadBg);
  box-shadow: 0px -3px 15px 0px var(--uploadHi) inset;
  color: var(--uploadFg);
}

.button.upload > span {
  background-color: var(--uploadHi);
}

.button.first,
.button.sec,
.button.third,
.button.fourth,
.button.fifth {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.button-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.button-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.top-right {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  opacity: 50%;
}

.bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  opacity: 50%;
}




@media screen and (max-width: 1000px) {
  .title {
    font-size: 4rem;
    line-height: 4rem;
  }
  
  .title > p {
    line-height: 5rem;
    letter-spacing: -0.3rem;
  }
  
  nav > :not(.sitename, .material-icons) {
    display: none;
  }
  
  nav {
    justify-content: space-between;
  }
  
  .material-icons {
    display: flex;
    align-items: center;
  }
  
}
