@font-face {
  font-family: 'Roboto';
  src: url('/static/fonts/Roboto-VariableFont_wdth,wght.woff2') format('woff2');
  /*
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  */
  font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
	background-color: #040714;
	font-family: 'Roboto', sans-serif;
  	font-weight: 400;
}

.roboto-regular {
    font-weight: 400;
}

.roboto-thin {
    font-weight: 200;
}

.roboto-condensed {
    font-weight: 400;
}

.poppins-semibold {
    font-weight: 600;
}

.footer {
	padding-top: 3rem;
	padding-bottom: 3rem;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	flex-direction: column;
	background-color: #0E0B14;
	color: #FFF;
}

.footer ul {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	list-style: none;
}

.footer ul li {
	margin: 1rem;
	box-sizing: border-box;
}

.footer ul li a {
	text-decoration: none;
	color: #FFF;
}

.footer p {
	width: 100%;
}

#footer-logo {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

#footer-logo h2 {
	display: flex;
	justify-content: center;
	align-items: center;
	width:100%;
	flex-direction: column;
}

#footer-logo img {
	margin-bottom: 1rem;
	width: 5%;
	height: auto;
}

@media (max-width: 480px) {
	#footer-logo img {
		width: 10% !important;
	}
}

.header {
	display: none;
}

.carousel-header {
	width: 100%;
	padding: 20px;
	box-sizing: border-box;
	position: flex;
	background-color: #5800FF;
  	transition: background-color 0.5s ease-in-out;
	color: #FFF;
}

.carousel-header-down {
	margin-top: 20px;
}

#carousel-list-container {
	width: 100%;
	top: 30%;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-direction: column;
	z-index: 999;
	padding: 1rem;
	box-sizing: border-box;
}

#carousel-list-container h2 {
	padding: 1rem;
	/*font-size: 3rem;*/
	font-size: clamp(1.2rem, 0.8rem + 1.2vw, 2rem);
	font-weight: 400;
	color: #FFF;
	box-sizing: border-box;
	margin-top: 1rem;
}

#carousel-list-container h3 {
	padding: 1rem;
	margin: 1rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	gap: clamp(0.5rem, 2vw, 1.5rem);
	font-size: clamp(1.2rem, 0.4rem + 1.2vw, 3rem);
	color: #FFF;
	box-sizing: border-box;
	background-color: #0A0F1F;
	border-radius: 6px;
}

#carousel-list-container h3 mark {
	background: none;
	color: yellow;
	font-weight: 400;
}

#carousel-list-container h3 p {
	color: #FFFFFF;
	font-weight: 400;
}

#carousel-list-container h3 a {
	color: yellow;
	font-weight: 400;
}

#carousel-list {
	list-style: none;
}

.carousel-header h2 {
	width: 100%;
	font-size: clamp(1.1em, 0.3rem + 1.6vw, 2.2rem);
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.carousel-header h3 {
	width: 100%;
	font-size: clamp(1.8rem, 0.85rem + 2.2vw, 3.5rem);
}

.carousel-container {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: visible;
}

/*carousel*/

.carousel {
  position: relative;
  width: 100%;

  margin: auto;

  columns: 1;
  
  block-size: 10lh;
  min-height:65vh;
  overflow: hidden;	

  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  anchor-name: --carousel;

}

.carousel::column {
    scroll-snap-align: center;
}

.carousel--scroll-buttons::scroll-button(*) {
    position: fixed;
    position-anchor: --carousel;
	font-family: "Material Symbols Outlined";
	display: none;
}

.carousel--scroll-buttons::scroll-button(right) {
  position-area: inline-end center;
  content: 'arrow_forward';

  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  color: white;
  background-color: #31343E;
  font-size: 24px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background-color 0.2s ease, transform 0.2s ease;
  display: none;
}

.carousel--scroll-buttons::scroll-button(right):hover {
  background-color: #55585f;
  transform: scale(1.1);
}

.carousel--scroll-buttons::scroll-button(left) {
  position-area: inline-start center;
  content: 'arrow_back';

  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  color: white;
  background-color: #31343E;
  font-size: 24px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background-color 0.2s ease, transform 0.2s ease;
  display: none;
}

.carousel--scroll-buttons::scroll-button(left):hover {
  background-color: #55585f;
  transform: scale(1.1);
}

.carousel--scroll-markers {
  scroll-marker-group: after;
  font-family: "Material Symbols Outlined";
}

.carousel--scroll-markers::scroll-marker-group {
    position: fixed;
    position-anchor: --carousel;
    position-area: block-end;
    margin: 10px;

    display: grid;
    grid-auto-columns: 20px;
    grid-auto-flow: column;
    gap: 20px;
	display: none;
}

.carousel--scroll-markers::column::scroll-marker {
    content: 'radio_button_unchecked';
	text-decoration: none;
	color: white;
}

.carousel--scroll-markers::column::scroll-marker:target-current {
    background: var(--accent);
	content: 'radio_button_checked';
	text-decoration: none;
}

.carousel__slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fade 16s infinite;
  animation-fill-mode: both;
}

.carousel__slide:nth-child(1) { animation-delay: 0s; }
.carousel__slide:nth-child(2) { animation-delay: 4s; }
.carousel__slide:nth-child(3) { animation-delay: 8s; }
.carousel__slide:nth-child(4) { animation-delay: 12s; }

@keyframes fade {
  0%     { opacity: 0; }
  6.25%  { opacity: 1; }   /* Fade in */
  18.75% { opacity: 1; }   /* Stay */
  25%    { opacity: 0; }   /* Fade out */
  100%   { opacity: 0; }
}

.imagen {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/*carousel*/

.footer {
	padding-top: 3rem;
	padding-bottom: 3rem;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	flex-direction: column;
	background-color: #0E0B14;
	color: #FFF;
}

.footer ul {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	list-style: none;
}

.footer ul li {
	margin: 1rem;
	box-sizing: border-box;
}

.footer ul li a {
	text-decoration: none;
	color: #FFF;
}

.footer p {
	width: 100%;
}

#footer-logo {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

#footer-logo h2 {
	display: flex;
	justify-content: center;
	align-items: center;
	width:100%;
	flex-direction: column;
}

#footer-logo img {
	margin-bottom: 1rem;
	width: 5%;
	height: auto;
}

@media (max-width: 480px) {
	#footer-logo img {
		width: 10% !important;
	}
}

#footer-politics {
	margin-top: 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: clamp(0.5rem, 2vw, 1.5rem);
	width: 100%;
	list-style: none;
	justify-content: center;
}

#footer-politics a {
	color: #FFF;
}


.club-selector {
    position: relative;
    width: 200px;
    font-family: sans-serif;
    border-radius: 6px;
    padding: 1em;
    user-select: none;
}

.club-selector h4 {
    margin: 0;
    font-size: 1.1em;
    color: #FFF;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
	background-color: #3A3F50;
    padding: 1rem;
    border-radius: 6px;
  	transition: background-color 0.2s ease, transform 0.2s ease;
}

.club-selector h4:hover {
  background-color: #4B5165;
  transform: scale(1.05);
}

.club-selector h4::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #FFF;
    transition: transform 0.3s ease;
    margin-right: 1rem;
}

.club-selector.open h4::after {
    transform: translateY(-50%) rotate(180deg);
}

.club-selector ul {
    list-style: none;
    padding: 0;
    margin: 0.5em 0 0;
    display: none;
    position: absolute;
	flex-direction: column;
    left: 0;
    right: 0;
    z-index: 10;
}

.club-selector.open ul {
	margin: 1rem;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	border-radius: 6px;
	background-color: #FFF;
	max-height: 13.5em;
	overflow-y: auto;
	overflow-x: hidden; 
	scroll-behavior: smooth;
}

.club-selector.open ul::-webkit-scrollbar {
  width: 8px;
}

.club-selector.open ul::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.club-selector.open ul::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.club-selector.open ul::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.club-selector a {
	font-weight: 400;
	text-decoration: none;
	width: 100%;
    color: #222;
    padding: .8rem;
    padding-left: 1rem;
    transition: background 0.2s;
    border-radius: 8px;
    box-sizing: border-box;
	white-space: nowrap;
}

.club-selector a:last-child {
    border-bottom: none;
}

.section-about {
	color: #FFF;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	flex-direction: column;
}

.section-about article {
	width: calc(70% - 2rem);
	margin: 1rem;
}

.section-about article h3 {
	font-size: 1.5rem;
	font-weight: 400;
	margin-bottom: 1.5rem;
}

.section-about article p {
	line-height: 2rem;
}

.section-questions {
	color: #FFF;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.section-questions h2 {
	margin-bottom: 40px;
	margin-top:30px
}

.section-questions ul {
	width: calc(70% - 2rem);
}

.section-questions ul li{
	margin-left: 3rem;
	padding-bottom: 1rem;
}

.section-questions ul h3 {
	margin-bottom: 1rem;
	margin-top: 2rem;
	font-weight: 400;
	font-size: 1.4rem;
	color: rgba(255, 255, 255, 0.7);
	border-bottom: 1px solid rgba(255,255,255,0.5);
}

.section-questions ul p {
	line-height: 2rem;
	font-size: 1.1rem;
	font-weight: 400;
}

@media (orientation: portrait) {
  .section-about article{
	width: 100%;
	padding-left: 30px;
	padding-right: 30px;
  }

  .section-questions ul{
	width: 100%;
	padding-left: 30px;
	padding-right: 30px;
  }
}

.titles{
	color: #FF1A75;
}

/* Estilo/funcionalidad del nucleo */

.tab {
	position: relative;
}

.tab input {
	position: absolute;
	opacity: 0;
	z-index: -1;
}

.tab__content {
	color:white;
	max-height: 0;
	overflow: hidden;
	transition: all 0.35s;
}

.tab input:checked ~ .tab__content {
	max-height: 400rem;
}
  
/* Estilo visual */

.accordion {
	color: #5800FF;
	border: 0.5px solid;
	border-radius: 0.5rem;
	overflow: hidden;
}

.tab__label,
.tab__close {
	display: flex;
	color: white;
	background: #5800FF;
	cursor: pointer;
}

.tab__label {
	justify-content: space-between;
	padding: 1rem;
}

.tab__label::after {
	content: "\276F";
	width: 1em;
	height: 1em;
	text-align: center;
	transform: rotate(90deg);
	transition: all 0.35s;
}

.tab input:checked + .tab__label::after {
	transform: rotate(270deg);
}

.tab__content p {
	color: white;
	margin: 0;
	padding: 1rem;
}

.tab__close {
	justify-content: flex-end;
	padding: 0.5rem 1rem;
	font-size: 0.75rem;
}

.accordion--radio {
	--theme: white;
}
  
/* Animacion de la flecha */

.tab input:not(:checked) + .tab__label:hover::after {
	animation: bounce .5s infinite;
}

@keyframes bounce {
	25% {
	  transform: rotate(90deg) translate(.25rem);
	}
	75% {
	  transform: rotate(90deg) translate(-.25rem);
	}
}

#footer-actions li a:hover{
	color: #FF1A75ff;
}

#footer-politics li a:hover{
	color: #FF1A75ff;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 16px; /* espacio para el icono */
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.section-contacts {
	color: #FFF;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	flex-direction: column;
}

.section-contacts article {
	width: calc(70% - 2rem);
	margin: 1rem;
}

.section-contacts article h2{
	display: flex;
	align-items: center;
	justify-content: center;
}

.column {
  float: left;
  width: 33%;
  padding: 0 10px;
}

/* Remove extra left and right margins, due to padding in columns */
.row {
	margin: 0 -5px 20px 0px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Style the counter cards */
.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* this adds the "card" effect */
  text-align: center;
  border-radius: 8px;
  border: 0.5px solid;
  border-color: white;
}

.card-header {
  background-color: #5800FF;
  border-top-left-radius: 8px; border-top-right-radius: 8px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
}

.card-body {
  padding: 16px;
}

/* Responsive columns - one column layout (vertical) on small screens */
@media screen and (max-width: 800px) {
  .column {
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }
  .row {
	margin-bottom: 0px;
  }
}

.card p {
  word-break: break-word;
  overflow-wrap: break-word;
}

.wsp {
  position: fixed;
  display: block;
  right: 12px;
  bottom: 12px;
  svg {
    width: 40px;
    height: 40px;
    fill: #fff;
  }
  svg:hover{
	transform: scale(1.15); // se agranda al hacer hover
	transition: transform 0.2s;
   }
}

.footer svg:hover {
  fill: #FF1A75;
  transition: fill 0.2s;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(main),
::view-transition-new(main) {
  animation-duration: 0.6s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
}

/* Viejo contenido se aleja, se desenfoca y se desvanece */
::view-transition-old(main) {
  animation-name: zoom-out-blur;
}

/* Nuevo contenido entra con zoom y nitidez */
::view-transition-new(main) {
  animation-name: zoom-in-clear;
}

@keyframes zoom-out-blur {
  from {
    transform: scale(1);
    opacity: 1;
    filter: blur(0px);
  }
  to {
    transform: scale(0.9);
    opacity: 0;
    filter: blur(10px);
  }
}

@keyframes zoom-in-clear {
  from {
    transform: scale(1.1);
    opacity: 0;
    filter: blur(10px);
  }
  to {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

.red-effect {
  text-decoration: none; 
  color: white; 
  font-weight: 500;
  transition: color 0.2s;
}

.red-effect:hover {
  color: #FF1A75;
}

.inline-icon {
  position: relative; 
  top: 2px; 
  display: inline-block; 
  margin-right: 6px
}

/* container */
.responsive-two-columns {
    display:flex;
    flex-wrap:wrap;
}

/* columns */
.responsive-two-columns > * {
    width:100%;
    padding:1rem;
}

/* tablet breakpoint */
@media (min-width:768px) and (orientation: portrait) {
    .responsive-two-columns > * {
        width:50%;
    }
	.responsive-two-columns{
		max-height: 35vh;
	}
	.carousel-container-page1{
		max-height: 35vh;
	}
	.carousel-container-page2{
		max-height: 35vh;
	}
	.carousel__slide{
		max-height: 35vh;
	}
}

@media (min-width:400px) and (orientation: landscape) {
    .responsive-two-columns > * {
        width:50%;
    }
}

.short-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
  padding: 16px;
  border-radius: 12px;
  background-color: #3A3F50;
  text-decoration: none;
  color: white;
  transition: background-color 0.2s ease;
  margin-top: 20px;
  margin-bottom: 20px;
}

.short-card:hover {
  background-color: #4B5165;
}

.avatar {
  width: 64px;
  height: 64px;
  background-color: #5f6368;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.avatar .material-symbols-outlined {
  font-size: 35px;
  color: white;
}

.short-label {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.main_logo {
	width: 3.5%;
	height: auto;
	margin-right: .5rem;
}

@media (orientation: portrait) {
  .main_logo {
    width: 10%;
  }
}

@media (min-width:520px) and (max-width:1400px) and (orientation: portrait) {
    .main_logo{
		width:5%;
	}
}