@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;
}
  
.title2 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    display: flex;
    align-items: center; 
    justify-content: center;"
}

body {
    height: 100vh;
    background-color: #040714;
    display: flex;
    justify-content: center;
    align-items: center;
}

.responsive-three-column-grid {
    height: 100%;
    display:block;
    align-items: center;
    justify-content: center;
}

.responsive-three-column-grid > * {
    padding:2rem;   
}

.formulario {
    background-color: #EEEEEE;
    padding: 2rem;
    width: 15rem;
    border-radius: 8px;
}

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

.texto {
    padding: 1rem;
    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);
  	}
}

/*view transition*/

@media (min-width:768px) {
    .responsive-three-column-grid {
        display: grid;
    }
}

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