@import url('https://fonts.googleapis.com/css2?family=MedievalSharp&display=swap');

.logo {
	display: flex;
	justify-content: center;   
	margin: 40px;  
  }

body {
	background-color: #2b1b0d;
	display: flex;
	justify-content: center;
	font-family: 'MedievalSharp', cursive;
	align-items: center;
	height: 90vh;
	flex-direction: column;
}

*{
	font-family: 'MedievalSharp', cursive;
	box-sizing: border-box;
}

form {
	width: 500px;
	border: 2px solid #8b5a2b;
	padding: 30px;
	background: #3a2612;
	border-radius: 15px;
}

h2 {
	text-align: center;
	color: #f1d29e;
	text-shadow: 2px 2px #000;
	margin-bottom: 40px;
}

input {
	display: block;
	border: 2px solid #8b5a2b;
	color: #f1d29e;
	width: 95%;
	padding: 10px;
	margin: 10px auto;
	border-radius: 5px;
	background: rgba(43, 26, 10, 0.8);
}
label {
	color: #f1d29e;
	text-shadow: 2px 2px #000;
	font-size: 18px;
	padding: 10px;
}

button {
	float: right;
	background: #8b5a2b;
	padding: 10px 15px;
	color: #f1d29e;
	text-shadow: 2px 2px #000;
	border-radius: 5px;
	margin-right: 10px;
	border: none;
}
button:hover{
	opacity: .7;
}
.error {
   background: #ff2121;
   color: #2e0100;
   padding: 10px;
   width: 95%;
   border-radius: 5px;
   margin: 20px auto;
}

.success {
   background: rgb(15, 231, 66);
   color: #003b0e;
   padding: 10px;
   width: 95%;
   border-radius: 5px;
   margin: 20px auto;
}

h1 {
	text-align: center;
	color: #f1d29e;
	text-shadow: 2px 2px #000;
}

.ca {
	font-size: 14px;
	display: inline-block;
	padding: 10px;
	text-decoration: none;
	color: #f1d29e;
	text-shadow: 2px 2px #000;
}
.ca:hover {
	text-decoration: underline;
} 


.hint {
    position: relative;
    display: inline-block;
    font-size: 15px;
    font-weight: bold;
    background-color: #8b5a2b;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 21px;
    text-align: center;
}

.hint .tooltip {
    visibility: hidden;
    opacity: 0;
    width: 200px;
    background-color: #8b5a2b;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 6px;
    position: absolute;
    bottom: 130%; 
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s;
    pointer-events: none; 
}

.hint .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.hint:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.curiosita {
	margin-top: 20px;
}

.curiositat {
	text-decoration: none;
	color: #8b5a2b;
	text-shadow: 2px 2px #000;
	font-size: 1.17em;
	font-weight: bold;
}

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

h2 {
	margin-left: 150px;
	margin-right: 150px;
	width: auto;
	font-family: Arial, Helvetica, sans-serif;
}

.textc {
	text-align: justify;
	font-size: 20px;
}

.tcontent2 {
	margin-top: 125px;
}

.button {
	display: flex;
	align-items: center;      
	justify-content: center;  
}


.home {
	background-color: #8b5a2b;
	color: #f1d29e;
	text-shadow: 2px 2px #000;
	border: none;
	margin-left: 20px;
	margin-right: 20px;
	border-radius: 5px;
	padding: 8px 10px;
	cursor: pointer;
	text-decoration: none;
	margin-bottom: -20px;
}
  
.home:hover {
	opacity: 0.7; 
}
  