@font-face {
    font-family: 'BarlowReg';
    src: url('/static/fonts/Barlow-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BarlowBold';
    src: url('/static/fonts/Barlow-ExtraBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-image: url("/static/images/background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    /* Centrar contenido */
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    height: 100vh; /* Altura completa de la pantalla */
    margin: 0;

    font-family: 'BarlowReg', sans-serif; /* Aplica la fuente Barlow */
}

/* Logo */
.logo {
    width: 250px; /* Ajusta el tamaño del logo */
    height: auto; /* Mantiene la relación de aspecto */
    display: block;
    margin: 0 auto 20px; /* Centra el logo y agrega espacio abajo */
}

/* Estilo del contenedor */
.container {
    text-align: center;
    background: rgb(255, 255, 255); /* Fondo semitransparente */
    padding: 20px;
    border-radius: 10px;
    width: 500px;
}

/* Estilo del título */
h1 {
    margin-top: 0;
}

h1, h2, h3, button {
    font-family: 'BarlowBold', sans-serif; /* Aplica solo a los encabezados */
}

/* Centra el botón debajo del subtítulo */
.btn-container {
    margin-top: 20px; /* Espacio entre el subtítulo y el botón */
    display: flex;
    justify-content: center; /* Centra el botón horizontalmente */
    width: 100%; /* Asegura que ocupe todo el ancho disponible */
}

:root {
	--color: grey;
}

/* Asegúrate de que los enlaces no tengan subrayado */
.btn a {
    text-decoration: none; /* Elimina el subrayado */
    color: inherit; /* Hereda el color del botón */
}

/* Estilo para el botón */
.btn {
    position: relative;
    padding: 15px 116px;
    color: black;
    transition: all 0.6s ease;
    border: 3px solid;
    border-radius: 10px;
    font-weight: bold;
    background-color: #989898b1;
    height: 70px;
    display: flex;
    align-items: center;
    font-size: 14px;
    justify-content: center;
    text-decoration: none; /* Elimina el subrayado del botón */
}

/* Efectos al pasar el mouse por el botón */
.btn:hover {
    background-color: #242424;
    border-color: var(--color);
    color: white;
}


/* Estilo de los dos elementos <span> dentro del botón */
.btn span {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 3px solid;
    color: #242424;
    border-radius: 50%; /* Cambié de 20% a 50% para que sean círculos */
    transition: all 0.6s ease;
}

/* Estilos para el primer <span> */
.btn span:nth-child(1) {
    right: 10%;
    top: -20%;
    background-color: #242424;
}

/* Estilos para el segundo <span> */
.btn span:nth-child(2) {
    left: 10%;
    bottom: -20%;
    background-color: white;
}

/* Efectos al pasar el mouse sobre los <span> */
.btn:hover span:nth-child(1) {
    right: 80%;
    transform: rotate(90deg);
    color: var(--color);
    background-color: var(--color);
}

.btn:hover span:nth-child(2) {
    left: 80%;
    transform: rotate(90deg);
    color: var(--color);
}