:root {
  --bg-color: #323653;
  --icon-color: #c3c7d1;
  --icon-hover: #ffffff;
  --glow: 0 0 12px rgba(255,255,255,0.5);
  --panel-bg: #1f233a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI";
}

body {
  height: 100vh;
  background-color: var(--bg-color);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* LOGO PRINCIPAL */
.logo-container {
  margin-top: 5vh;
  text-align: center;
  z-index: 1;
}

.logo-container img {
  width: 30vw;
}

.logo-small {
  width: 25vw;
}


/* MENU */
.menu {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 10vh;
  z-index: 1;
}

.menu-item {
  color: var(--icon-color);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-item i {
  font-size: 64px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  font-weight: 900;
}

.menu-item span {
  display: block;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.menu-item:hover {
  color: var(--icon-hover);
  text-shadow: var(--glow);
}

.menu-item:hover i {
  filter: drop-shadow(var(--glow));
  transform: scale(1.1);
}

/* PANEL LATERAL */
.side-panel {
  position: fixed;
  top: 0;
  height: 100%;
  width: 25%;
  background: var(--panel-bg);
  padding: 40px 30px;
  transition: transform 0.4s ease;
  z-index: 20;
}

.side-panel h3 {
  margin-bottom: 20px;
  font-size: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 10px;
}

.side-panel ul {
  list-style: none;
}

.side-panel li {
  margin: 15px 0;
  font-size: 16px;
}

.side-panel li a:hover {
  text-shadow: var(--glow);
}

.side-panel.right {
  right: 0;
  transform: translateX(100%);
}

.side-panel.left {
  left: 0;
  transform: translateX(-100%);
}

.side-panel.open {
  transform: translateX(0);
}

/* FORMULARIO */
.content-center {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 10px;
  width: 40vw;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  background: transparent;
  border: 1px solid #aaa;
  color: white;
}

.contact-form button {
  width: 100%;
  padding: 10px;
  border: none;
  background: white;
  color: #2f3551;
  cursor: pointer;
}

/* OVERLAY */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 15;
  display: none;
}

.overlay.show {
  display: block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .logo-container {
        width : 80vw ;
    }

    .logo-small {
        width: 100vw;
    }

    .menu {
        gap: 40px;
    }

    .menu-item i {
        font-size: 48px;
    }

    .side-panel {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .menu {
        flex-direction: column;
        gap: 30px;
    }

    .logo-small {
        margin-top: 5%;
        height: 40vh;
        width: auto;
    }

    .logo-container img{
        height: 40vh;
        width: auto;
    }

    .contact-form {
        width: 80vw;
    }
}

/* body {
  margin: 0;
  font-family: system-ui;
  background: #2f3551;
  color: white;
}

a {
  color: white;
  text-decoration: none;
}

/* LOGO * /
.top-bar {
  position: fixed;
  top: 20px;
  right: 20px;
}


/* FORMULARIO * /
.content-center {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 10px;
  width: 320px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  background: transparent;
  border: 1px solid #aaa;
  color: white;
}

.contact-form button {
  width: 100%;
  padding: 10px;
  border: none;
  background: white;
  color: #2f3551;
  cursor: pointer;
}

/* PANEL LATERAL * /
.side-panel {
  position: fixed;
  top: 0;
  height: 100%;
  width: 25%;
  background: #1f233a;
  padding: 30px;
  transition: transform 0.4s ease;
  z-index: 10;
}

.side-panel.right {
  right: 0;
  transform: translateX(100%);
}

.side-panel.left {
  left: 0;
  transform: translateX(-100%);
}

.side-panel.open {
  transform: translateX(0);
}

.side-panel ul {
  list-style: none;
  padding: 0;
}

.side-panel li {
  margin: 15px 0;
} */
