@font-face {
   font-family: 'stardew';
   src: url('Stardew Valley Regular.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-image:  url('./images/backgroundRain1.gif');
    background-repeat: no-repeat;
    background-size: cover;
}
body, html {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
   
}
.form {
    width: 470px; 
    height: 370px; 
    padding: 20px;
    border-radius: 8px;
    background-image: url('./images/form1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

form label, form input {
  	position: relative;
	translate: transform(50px, 0px);
}

input[type="text"],
input[type="password"] {
    width: 90%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

a {
    text-decoration: none;
    margin-top: 10px;
}
input, a, label, h1 {
    font-family: 'stardew', sans-serif, Arial;
    color: #533E2D;
    font-weight: 770;

}
label, a , h1{
    font-size: 20px;
}

h1 {
    font-size: 25px;
}

 .center-button {
     display: flex;
     justify-content: center;
     align-items: center;
    
}
.showText {
    width: 521px; 
    height: 102px; 
    padding: 20px;
    border-radius: 8px;
    background-image: url('./images/form2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
