@font-face {
  font-family: 'Firjar';
  src: url('/res/fonts/Firjar.ttf') format('truetype');
}

* {
    font-family: 'Firjar';
}

body,
html {
    height: 100%;
    width: 100%;
}

body {
    display: flex;
    flex-direction: column;
    background: #2E0854;
    background: linear-gradient(45deg, #2E0854 0%, #7303C0 35%, #EC38BC 70%, #FDEFF9 100%);
    margin: 0;
}

main {
    align-self: center;
    display: flex;
    height: 100%;
}

main > form {
    position: relative;
    border: 1px solid white;
    border-radius: 5px;
    width: fit-content;
    height: fit-content;
    max-width: 100%;
    padding: 10px;
    align-self: center;
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

main > form > div {
    display: flex;
}

form {
    display: flex;
    flex-direction: column;
}

.title {
    font-weight: bold;
}

input[type="text"],
input[type="submit"] {
    border: none;
    border-bottom: 2px white solid;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    transition-duration: 500ms;
    width: 100%;
}

input[type="submit"] {
    margin-top: 5px;
}

input[type="text"]:focus,
input[type="text"]:hover,
input[type="submit"]:hover {
    outline: none;
    width: 100% !important;
    border-color: #009fff;
}

input[type="submit"]:hover {
    color: #009fff;
}

.error-content {
    border: 1px white solid;
    border-radius: 5px;
    padding: 5px;
    margin: 5px 0;
    box-sizing: border-box;
}

.error {
    max-height: 0;
    overflow: hidden;
    transition-duration: 500ms;
}

a,
a:visited {
    color: white;
}

.moi {
    border: 2.5px white solid;
    border-radius: 50%;
    padding: 2.5px;
    height: 80px;
    width: 80px;
    position: absolute;
    right: 10px;
    bottom: 10px;
    & img {
        height: 100%;
    }
}