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

* {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

body {
    margin: 0px;
    background-color: #040714;
    height: 100dvh;
}

main {
	grid-template-columns: 1fr;
  	height: 100dvh;
    display: flex;
    flex-direction: column;
}

@media (width >= 640px) {
    main {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .clubs-section {
        grid-column: 1 / -1;
    }

    .clubs-section > * {
        width: fit-content;
        max-width: 66.666%;
    }
}

.clubs-section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 40px;
    flex: 1;
}
  
.title2 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    display: flex;
    align-items: center; 
    justify-content: center;"
}

.formulario {
    background-color: #EEEEEE;
    padding: 50px;
    border-radius: 8px;
}

.header-form {
    display: flex;
    justify-content: center;
}

.texto {
    padding: 20px;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.button {
    border: none;
    color:  #222831;
    padding: 12px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
}
  
.button1 {
    background-color: #040714; 
    color: white; 
    border: 1px solid #FF1A75;
    border-radius: 5px;
}
  
.button1:hover {
    background-color: #FF1A75;
    color: white;
}

.input-gen {
  	padding: 8px; 
  	border: 1px solid #ccc; 
  	border-radius: 6px; 
  	font-size: 14px; 
  	box-sizing: border-box;
}

/*view transition*/

@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);
  	}
}

.error-message {
  margin-top:1rem;
  padding: 20px;
  background-color: #FF1A75;
  color: white;
  border-radius: 6px;
}
