:root {
  --background-color: rgb(23 23 23 / 1);
  --tw-shadow: 0px 3px 6px -3px rgba(250, 7, 7, 0.05), 0px 2px 4px -2px rgba(0, 0, 0, 0.05),
    0px 1px 2px -1px rgba(0, 0, 0, 0.05), 0px 1px 1px -1px rgba(0, 0, 0, 0.05),
    0px 1px 0px -1px rgba(0, 0, 0, 0.05);
  --tw-shadow-colored: 0px 3px 6px -3px var(--tw-shadow-color), 0px 2px 4px -2px var(--tw-shadow-color),
    0px 1px 2px -1px var(--tw-shadow-color), 0px 1px 1px -1px var(--tw-shadow-color),
    0px 1px 0px -1px var(--tw-shadow-color);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(24, 24, 27, 0.4);
  --text-muted: rgb(160 160 160 / 1);
  --text-main: rgb(237 237 237 / 1);
}

/* Fonts */
@font-face {
  font-family: "Geist Sans";
  src: url("../font/Geist-1.3.0/statics-woff/Geist-Black.woff2") format("woff2"),
    url("../font/Geist-1.3.0/statics-woff/Geist-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Sans";
  src: url("../font/Geist-1.3.0/statics-woff/Geist-Bold.woff2") format("woff2"),
    url("../font/Geist-1.3.0/statics-woff/Geist-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Sans";
  src: url("../font/Geist-1.3.0/statics-woff/Geist-Light.woff2") format("woff2"),
    url("../font/Geist-1.3.0/statics-woff/Geist-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Sans";
  src: url("../font/Geist-1.3.0/statics-woff/Geist-Medium.woff2") format("woff2"),
    url("../font/Geist-1.3.0/statics-woff/Geist-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Sans";
  src: url("../font/Geist-1.3.0/statics-woff/Geist-Regular.woff2") format("woff2"),
    url("../font/Geist-1.3.0/statics-woff/Geist-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Sans";
  src: url("../font/Geist-1.3.0/statics-woff/Geist-SemiBold.woff2") format("woff2"),
    url("../font/Geist-1.3.0/statics-woff/Geist-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Sans";
  src: url("../font/Geist-1.3.0/statics-woff/Geist-Thin.woff2") format("woff2"),
    url("../font/Geist-1.3.0/statics-woff/Geist-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Sans";
  src: url("../font/Geist-1.3.0/statics-woff/Geist-UltraBlack.woff2") format("woff2"),
    url("../font/Geist-1.3.0/statics-woff/Geist-UltraBlack.woff") format("woff");
  font-weight: 950;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Sans";
  src: url("../font/Geist-1.3.0/statics-woff/Geist-UltraLight.woff2") format("woff2"),
    url("../font/Geist-1.3.0/statics-woff/Geist-UltraLight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* Tags HTML */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  line-height: 1.5;
}

body {
  background-color: var(--background-color);
  font-family: "Geist Sans", system-ui, sans-serif;
  background-image: url("../images/gradient.svg");
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: top;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--text-main);
  min-height: 100vh;
}

main {
  max-width: 80rem;
  padding: 4rem 1rem;
  width: 100%;
}

/* Global styles */
.box-gen {
  border: 1px solid var(--border-color);
  background-color: var(--glass-bg);
  background-blend-mode: luminosity;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.box-gen:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.shadow {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.box-title {
  width: fit-content;
  padding: 8px 20px;
  border-radius: 1rem;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.iconbox-title {
  width: 1rem;
  height: 1rem;
}

/* Modal styles (Global) */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  opacity: 1;
}

.modal-content {
  margin: 5% auto;
  padding: 2.5rem;
  width: 90%;
  border-radius: 1rem;
  max-width: 800px;
  transform: translateY(-20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: white;

  background-color: rgba(24, 24, 27, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-content h2{
  font-size: 2rem;
  line-height: 2.5rem;
}

.modal-content h4{
  font-size: 1.25rem;
  line-height: 1.75rem;
  margin-top: 2rem;
  margin-bottom: .55rem;
}

.modal-content h3{
  font-weight: 300;
  color: rgb(160 160 160/1);
  font-size: 1.1rem;
  line-height: 1.5rem;
  margin-top: 0.5rem;
}

.modal-content p{
  color: rgb(160 160 160/1);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

.modal-content ul{
  color: rgb(160 160 160/1);
  font-size: 1rem;
  line-height: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0px 20px;
}

.modal.show .modal-content {
  transform: translateY(0) scale(1);
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 38px;
  cursor: pointer;
  transition: color 0.3s;
}

.close-button:hover,
.close-button:focus {
  color: white;
  text-decoration: none;
}

/* Util classes */
.text-muted {
  color: var(--text-muted);
}
