/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  box-sizing: border-box;
}

body {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #404040;
  font-family: "Gilda Display", serif;
  padding: 2rem 0;
}

img {
  max-width: 100%;
  height: auto;
}

.login-wrapper {
  width: clamp(200px, 95%, 600px);
  display: flex;
  gap: 2rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo {
  width: clamp(200px, 95%, 200px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  filter: brightness(500);
}

.forms-wrapper {
  width: 100%;
  display: flex;
  gap: 50px;
  flex-direction: row;
  overflow-x: scroll;
  overflow-y: hidden;
  justify-content: flex-start;
  align-items: flex-start;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.forms-wrapper::-webkit-scrollbar {
  display: none;
}

.login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 0;
  flex-shrink: 0;
  width: 100%;
  height: auto;
  transition: left 0.5s;
}

.input-group {
  width: 100%;
  position: relative;
  margin-top: 2rem;
}

.input-group input,
.input-group input:focus {
  width: 100%;
  color: #404040;
  padding: 0.8rem 1.6rem;
  border-radius: 0.8rem;
  border: 0px transparent;
  outline: none !important;
  font-family: "Gilda Display", serif;
  font-weight: 500;
  font-size: 0.8rem;
}

.input-group label {
  position: absolute;
  color: #404040;
  top: 1rem;
  left: 1.6rem;
  font-size: 0.8rem;
  z-index: 1;
  transition: all 0.3s ease-in-out;
  font-family: "Gilda Display", serif;
  font-weight: 600;
}

.input-group input:focus ~ label,
.input-group input:not(:focus):not(:placeholder-shown) ~ label {
  top: -0.6rem;
  left: 1rem;
  color: #9e9e9e;
  font-size: 0.5rem;
}

.login-form .form-submit {
  padding: 1rem 2rem;
  width: 100%;
  color: #404040;
  background-color: white;
  border: 0 transparent;
  outline: none !important;
  border-radius: 0.8rem;
  margin-top: 2rem;
}

.login-link {
  margin-top: 2rem;
  color: white;
  text-decoration: none;
}

.copyright {
  position: absolute;
  bottom: 1rem;
  color: white;
}

.response-message {
  margin-top: 1rem;
  text-align: center;
}

.response-message.success {
  color: green;
}

.response-message.error {
  color: red;
}
