@charset "UTF-8";
/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
/*
Document
========
*/
/**
Use a better box model (opinionated).
*/
*,
::before,
::after {
  box-sizing: border-box;
}

html {
  /* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.15; /* 1. Correct the line height in all browsers. */
  -webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

/*
Sections
========
*/
body {
  margin: 0; /* Remove the margin in all browsers. */
}

/*
Text-level semantics
====================
*/
/**
Add the correct font weight in Chrome and Safari.
*/
b,
strong {
  font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
Tabular data
============
*/
/**
Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/
table {
  border-color: currentcolor;
}

/*
Forms
=====
*/
/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
  outline: none;
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type=button],
[type=reset],
[type=submit] {
  appearance: textfield;
  -webkit-appearance: button;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/
legend {
  padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
  vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type=search] {
  appearance: textfield;
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Interactive
===========
*/
/*
Add the correct display in Chrome and Safari.
*/
summary {
  display: list-item;
}

/* Globales */
*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
  scroll-padding-top: 0rem;
}

body {
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1.6rem;
  color: #101e2c;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  background-color: #fafbfe;
}

p {
  font-size: 2rem;
  color: #101e2c;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: #153352;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
}

h1 {
  font-size: 2.8rem;
  font-weight: 900;
}
@media (min-width: 768px) {
  h1 {
    font-size: 4rem;
  }
}

h2 {
  font-size: 2.4rem;
}
@media (min-width: 768px) {
  h2 {
    font-size: 3.6rem;
  }
}

h3 {
  font-size: 2rem;
  text-align: center;
}
@media (min-width: 768px) {
  h3 {
    font-size: 3.2rem;
  }
}

h4 {
  font-size: 1.6rem;
}
@media (min-width: 768px) {
  h4 {
    font-size: 2rem;
  }
}

img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.text-uppercase {
  text-transform: uppercase;
}

body > section {
  padding: 10rem 0;
}

/* === UTILIDADES === */
.contenedor {
  margin: 0 auto;
  max-width: 120rem;
  width: 95%; /* nunca se pasa del 100% del viewport */
}

.flex-between {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .flex-between {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
  }
}

.flex-end {
  display: flex;
  justify-content: flex-end;
}

.m-b-2 {
  margin-bottom: 1rem;
}
@media (min-width: 1024px) {
  .m-b-2 {
    margin-bottom: 2rem;
  }
}

/* Layout */
.layout {
  background-color: #E7E7E7;
  height: 100vh;
  display: grid;
  grid-template-columns: 10rem 1fr;
  grid-template-rows: 9rem 1fr 8rem;
  grid-template-areas: "logo titulo" "section section" "footer footer";
}
@media (min-width: 768px) {
  .layout {
    grid-template-columns: 8rem 1fr 1fr 1fr 1fr 8rem;
    grid-template-rows: 8rem 1fr 12rem;
    grid-template-areas: "vertice titulo titulo titulo logo logo" "asideIzq section section section section asideDer" "footer footer footer footer footer footer";
  }
}

.layout-header-vertice {
  grid-area: vertice;
  background-color: #153352;
}

.layout-header-titulo {
  grid-area: titulo;
  background-color: #153352;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 768px) {
  .layout-header-titulo {
    justify-content: flex-start;
  }
}
.layout-header-titulo h1 {
  color: #FFFFFF;
}

.layout-header-logo {
  grid-area: logo;
  background-color: #153352;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
}
.layout-header-logo svg {
  width: 60%;
  height: 60%;
}
@media (min-width: 768px) {
  .layout-header-logo svg {
    width: 70%;
    height: 70%;
  }
}
.layout-header-logo img {
  height: 80%;
  object-fit: contain;
}

.layout-aside-left {
  display: none;
}
@media (min-width: 768px) {
  .layout-aside-left {
    grid-area: asideIzq;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: #D1C49F;
  }
}
@media (min-width: 768px) {
  .layout-aside-left h4 {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: #153352;
    cursor: pointer;
  }
}

.layout-aside-right {
  display: none;
}
@media (min-width: 768px) {
  .layout-aside-right {
    grid-area: asideDer;
    background-color: #82354b;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
  }
}
@media (min-width: 768px) {
  .layout-aside-right p {
    writing-mode: vertical-rl;
    /* Texto vertical, de arriba hacia abajo */
    transform: rotate(180deg);
    color: #D1C49F;
    white-space: nowrap;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8rem;
  }
}

.layout-footer {
  display: none;
}
@media (min-width: 768px) {
  .layout-footer {
    grid-area: footer;
    background-color: #153352;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }
}

.layout-main {
  grid-area: section;
  display: grid;
  background-color: #E7E7E7;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  grid-template-areas: "section1" "section2" "section3" "section4";
}
@media (min-width: 768px) {
  .layout-main {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "section1 section2" "section3 section4";
  }
}
@media (min-width: 1024px) {
  .layout-main {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "section1 section2 section3 section4";
  }
}

.item-cover {
  display: flex;
  justify-content: center;
  opacity: 1;
  width: 7rem;
  height: 100%;
}
@media (min-width: 768px) {
  .item-cover {
    opacity: 0;
    width: 100%;
    height: 100%;
    align-items: center;
  }
}
@media (min-width: 768px) {
  .item-cover:hover {
    opacity: 0.9;
    transition: all 0.3s ease-in-out;
  }
}
.item-cover h3 {
  writing-mode: vertical-rl;
  /* Texto vertical, de arriba hacia abajo */
  transform: rotate(180deg);
  color: #FFFFFF;
}
@media (min-width: 768px) {
  .item-cover h3 {
    writing-mode: horizontal-tb;
    transform: none;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

.section-main-item:nth-of-type(1) {
  grid-area: section1;
  background-image: url(../../img/foto02.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.section-main-item:nth-of-type(1) .item-cover {
  background-color: #82354b;
}

.section-main-item:nth-of-type(2) {
  grid-area: section2;
  background-image: url(../../img/foto07.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.section-main-item:nth-of-type(2) .item-cover {
  background-color: #153352;
}

.section-main-item:nth-of-type(3) {
  grid-area: section3;
  background-image: url(../../img/foto04.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.section-main-item:nth-of-type(3) .item-cover {
  background-color: #82354b;
}

.section-main-item:nth-of-type(4) {
  grid-area: section4;
  background-image: url(../../img/eventos.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.section-main-item:nth-of-type(4) .item-cover {
  background-color: #153352;
}

/* FOOTER NAV */
.navigation {
  width: 60rem;
  height: 10rem;
  background-color: #E7E7E7;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
}

.ul-nav {
  display: flex;
  gap: 5rem;
}
.ul-nav li {
  position: relative;
  width: 10rem;
  height: 10rem;
  z-index: 1;
}
.ul-nav li a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-weight: 500;
  color: #153352;
}
.ul-nav li a .icon {
  position: relative;
  display: block;
  line-height: 10.5rem;
  transition: 0.5s;
}
.ul-nav li a .text {
  position: absolute;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: 0.5s;
  opacity: 0;
  transform: translateY(20px);
}

.navigation ul li.active a .icon {
  transform: translateY(-40px);
}

.navigation ul li.active a .text {
  opacity: 1;
  transform: translateY(15px);
}

.indicator {
  position: absolute;
  top: -50%;
  width: 10rem;
  height: 10rem;
  background-color: #D1C49F;
  border-radius: 50%;
  border: 0.8rem solid #153352;
  transition: 0.5s;
}

.navigation ul li:nth-of-type(1).active ~ .indicator {
  transform: translateX(0rem);
}

.navigation ul li:nth-of-type(2).active ~ .indicator {
  transform: translateX(15rem);
}

.navigation ul li:nth-of-type(3).active ~ .indicator {
  transform: translateX(30rem);
}

.barra-menu-movil {
  display: block;
  position: fixed;
  background-color: #153352;
  bottom: 0;
  width: 100%;
}
@media (min-width: 768px) {
  .barra-menu-movil {
    display: none;
  }
}
.barra-menu-movil .ul-nav {
  display: flex;
  justify-content: space-evenly;
  gap: 1rem;
}
.barra-menu-movil .ul-nav .indicator {
  position: absolute;
  top: -50%;
  width: 8rem;
  height: 8rem;
  background-color: #D1C49F;
  border-radius: 50%;
  border: 0.5rem solid #E7E7E7;
  transition: 0.5s;
}
.barra-menu-movil .ul-nav li {
  position: relative;
  width: 8rem;
  height: 8rem;
  z-index: 1;
}
.barra-menu-movil .ul-nav li a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-weight: 500;
  color: #FFFFFF;
}
.barra-menu-movil .ul-nav li a .icon {
  position: relative;
  display: block;
  line-height: 10.5rem;
  transition: 0.5s;
  fill: #FFFFFF;
}
.barra-menu-movil .ul-nav li a .text {
  position: absolute;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: 0.5s;
  opacity: 0;
  transform: translateY(10px);
}

.barra-menu-movil ul li.active a .icon {
  transform: translateY(-40px);
  fill: #153352;
}
.barra-menu-movil ul li.active a .text {
  opacity: 1;
  transform: translateY(7.5px);
}

.barra-menu-movil ul li:nth-of-type(1).active ~ .indicator {
  transform: translateX(-12rem);
}

.barra-menu-movil ul li:nth-of-type(2).active ~ .indicator {
  transform: translateX(0rem);
}

.barra-menu-movil ul li:nth-of-type(3).active ~ .indicator {
  transform: translateX(12rem);
}

.layout-main.admin,
.layout-main.login,
.layout-main.socio {
  grid-area: section;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  grid-template-areas: "content";
}

.admin .content,
.login .content,
.socio .content {
  grid-area: content;
  margin: 1rem;
}
.admin .content h3,
.login .content h3,
.socio .content h3 {
  color: #485663;
}
.admin .content .header-admin,
.login .content .header-admin,
.socio .content .header-admin {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin .content .header-admin h3,
.login .content .header-admin h3,
.socio .content .header-admin h3 {
  color: #485663;
  margin-left: 2rem;
}
.admin .content .header-admin .btn,
.login .content .header-admin .btn,
.socio .content .header-admin .btn {
  font-size: 1.6rem;
  padding: 1rem;
}
.admin .content .alerta,
.login .content .alerta,
.socio .content .alerta {
  text-align: center;
}
.admin .content .alerta.error p,
.login .content .alerta.error p,
.socio .content .alerta.error p {
  border: 1px solid #82354b;
  margin: 1rem 0;
  padding: 0.5rem;
  color: #82354b;
  font-size: 1.4rem;
}
.admin .content .alerta.exito,
.login .content .alerta.exito,
.socio .content .alerta.exito {
  margin: 0 auto;
  width: 60%;
}
.admin .content .alerta.exito p,
.login .content .alerta.exito p,
.socio .content .alerta.exito p {
  border: 1px solid #153352;
  margin: 1rem 0;
  padding: 0.5rem;
  color: #153352;
  font-size: 1.4rem;
}

.grilla {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
}
.grilla a {
  width: 100%;
}
@media (min-width: 768px) {
  .grilla {
    flex-direction: row;
    justify-content: space-evenly;
    padding: 3rem 0;
  }
}

.tablaSocios {
  width: 35rem;
}
@media (min-width: 768px) {
  .tablaSocios {
    width: 50rem;
  }
}
@media (min-width: 1024px) {
  .tablaSocios {
    width: 100%;
  }
}

/* === BOTONES === */
.btn-beige {
  background-color: #D1C49F;
  color: #FFFFFF;
  border: 1px solid #D1C49F;
  font-size: 2rem;
  font-weight: 700;
  padding: 1rem 3rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.btn-beige:hover {
  background-color: #FFFFFF;
  color: #D1C49F;
}

.btn-azul {
  background-color: #153352;
  color: #FFFFFF;
  border: 1px solid #153352;
  font-size: 2rem;
  font-weight: 700;
  padding: 1rem 3rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.btn-azul:hover {
  background-color: #FFFFFF;
  color: #153352;
}

.btn-bordo {
  background-color: #82354b;
  color: #FFFFFF;
  border: 1px solid #82354b;
  font-size: 2rem;
  font-weight: 700;
  padding: 1rem 3rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.btn-bordo:hover {
  background-color: #FFFFFF;
  color: #82354b;
}

.btn-gris {
  background-color: #E7E7E7;
  color: #485663;
  border: 1px solid #E7E7E7;
  font-size: 2rem;
  font-weight: 700;
  padding: 1rem 3rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.btn-gris:hover {
  background-color: #485663;
  color: #E7E7E7;
}

/* === FORMULARIO === */
.formulario {
  width: 80%;
  padding: 3rem;
  background-color: #FFFFFF;
}
@media (min-width: 768px) {
  .formulario {
    width: 70%;
  }
}
@media (min-width: 1024px) {
  .formulario.login {
    width: 40%;
    max-width: 45rem;
  }
}
@media (min-width: 1024px) {
  .formulario {
    width: 80%;
    max-width: 100rem;
  }
}
.formulario label {
  font-size: 1.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.formulario input[type=text],
.formulario input[type=email],
.formulario input[type=password],
.formulario input[type=number],
.formulario input[type=tel],
.formulario input[type=date],
.formulario select {
  padding: 1.5rem;
  display: block;
  width: 100%;
  background-color: #FFFFFF;
  border: 2px solid #E7E7E7;
  transition: 0.5s ease;
  font-size: 1.8rem;
}
.formulario input[type=text]:focus,
.formulario input[type=email]:focus,
.formulario input[type=password]:focus,
.formulario input[type=number]:focus,
.formulario input[type=tel]:focus,
.formulario input[type=date]:focus,
.formulario select:focus {
  border-bottom: 2px solid #153352;
}
.formulario input[type=submit] {
  margin-top: 1rem;
  width: 100%;
  border: 1px solid #153352;
}

/* === SOCIO === */
.socio .grilla .carnet {
  width: 85%;
}
@media (min-width: 768px) {
  .socio .grilla .carnet {
    width: 65%;
  }
}
@media (min-width: 1024px) {
  .socio .grilla .carnet {
    width: 35%;
  }
}

/* === TRANSICIONES === */
section {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

/* Cuando están listos */
.sections-loaded section {
  opacity: 1;
}

/* Pero si el main es login → nunca ocultar sus sections */
main.login section,
main.crear-socio section {
  opacity: 1 !important;
  transition: none;
}

/* === CARNET === */
.carnet {
  background: #000428;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to bottom, #004e92, #000428);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to bottom, #004e92, #000428);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  width: 28rem;
  border-radius: 1.8rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
  color: #FFFFFF;
  text-align: center;
  padding: 2.5rem 1.5rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.carnet:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.6);
}
.carnet .carnet-header {
  margin-bottom: 2rem;
}
.carnet .carnet-header .logo {
  max-width: 15rem;
  display: block;
  margin: 0 auto;
}

.carnet-body p {
  margin: 0;
}
.carnet-body .nombre {
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
}
.carnet-body .nombre span {
  text-transform: uppercase;
}
.carnet-body .numero {
  margin-top: 1rem;
  font-weight: bold;
  color: #D1C49F;
}
.carnet-body .categoria {
  color: #FFFFFF;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.carnet-footer .qr {
  max-width: 15rem;
  margin: 1rem auto;
  border-radius: 8px;
  background: white;
  padding: 5px;
}
.carnet-footer .carnet-inactivo {
  background-color: #FFFFFF;
  width: 15rem;
  height: 15rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  margin: 1rem auto;
}
.carnet-footer .carnet-inactivo p {
  margin: 0;
}
.carnet-footer .ingreso {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #D1C49F;
}

/* === CARDS === */
.socio-card {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #FFFFFF;
  border: 1rem solid #D1C49F;
  margin: 0 auto;
  text-align: center;
  padding: 1rem;
}
.socio-card:last-of-type {
  margin-bottom: 0;
}
.socio-card .imagen-socio-card {
  width: 10rem;
}
.socio-card .contenido-socio-card {
  padding: 1rem 2rem;
}
.socio-card .contenido-socio-card h3 {
  color: #485663;
  font-weight: 700;
  font-size: 2.3rem;
}
.socio-card h3,
.socio-card p {
  margin: 0;
}
.socio-card .estado {
  color: #D1C49F;
  font-weight: 700;
  font-size: 2.5rem;
}

.iconos-caracteristicas {
  display: flex;
  justify-content: space-evenly;
  list-style: none;
  padding: 0;
}
.iconos-caracteristicas li {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.iconos-caracteristicas li p {
  color: #485663;
  font-weight: 700;
}/*# sourceMappingURL=app.css.map */
