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

html{
    font-family: 'Righteous';
    font-size: 1em;
    margin: 0px;
    padding: 0px;
}

body {
    font-family: inherit;
    font-size: inherit;
    background-image: linear-gradient(to bottom right, rgb(49, 42, 100), black);
    background-attachment: fixed;
    color:azure;
}

button {
    font-family: 'Righteous';
    font-size: 1.25em;
}

h1 {
    font-size: 1.75em;
    text-align: center;
}

h2 {
    font-size: 1.6em;
    text-align: center;
}

a {
    text-decoration: none;
    color: darkslateblue;
    font-weight: bold;
}

a:hover {
    color:slateblue;
}

.card {
    position: absolute;
    width: 360px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

p {
    padding: 0px;
    margin: 0.5em;
    margin-bottom: 1em;
}

.header{
    position: static;
    text-align: center;
    padding:0px;
    margin: 0px;
}

.tabs{
    z-index: 1;
    position: static;
    display: table;
    height: 35px;
    width: 100%;
    margin: 0px;
    padding: 0px;
}

.tab {
    position: absolute;
    display: table-cell;
    width: 50%;
    color: whitesmoke;
    align-items: center;
    text-align: center;
    font-size: 1.5em;
    background-color: darkslateblue;
    border: none;
    margin: 0px;
    padding: 0px;
}

#btnRegister {
    position: static;
    border-top-left-radius: 1em;
}

#btnLogin {
    position: static;
    border-top-right-radius: 1em;
}

.tab.selected{
    border: 2px solid azure;
    border-bottom: none;
    background-color: azure;
    color: darkslateblue;
    border-bottom: none;
}

.content {
    position: relative;
    z-index: 5;

    color: darkslateblue;
    background-color: azure;
    
    background-color: azure;
    box-shadow: 1vw 1vw 1vw black;
    margin: 0px;
    margin-top: -4px;
    padding: 0px;
    width: 100%;
    height: 240px;
}

#forgetbox {
    height: 90px;
}

#homebox {
    height: 350px;
}

.rounded {
    border-radius: 1em;
}

.sheet {
    position: absolute;
    visibility: hidden;
    width: 100%;
    height: auto;
    color: darkslateblue;
}

.sheet.selected{
    visibility: visible;
}

.sheet.text {
    padding: 0em;
}

.table {
    position: static;
    display: table;
    border-collapse: collapse;
    width: 100%;
    margin: 5px;
}

.row {
    display: table-row;
    width: 100%;
}

.cell {
    display: table-cell;
}

.inputlabel {
    display: table-cell;
    font-size: 1.25em;
    padding-left: 5px;
}

.inputbox {
    display: table-cell;
    line-height: 2em;
    width: 93.5%;
    height: 2em;
    border-radius: calc(1.5em/2);
}

.submitbutton {
    font-family: 'Righteous';
    font-size: 0.75em;
    line-height: 1em;
    margin-top: 10px;
    margin-left: 5px;
}

#redtext{
    font-size: 0.5em;
    color: darkred;
    vertical-align: top;
}

.errorcard{
    position: relative;
    visibility: hidden;
    z-index: 999;
    width: 100%;
    height: auto;
    line-height: 1.25em;
    padding: 4px;
    background-color: #fff0f0;
    color: darkred;
    
    border: 4px solid darkred;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing:border-box;

    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;

    text-align: center;;
}

#errorcard.visible {
    visibility: visible;
}