/* Import Google Fonts (Roboto Mono and Orbitron) */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400&family=Orbitron:wght@500&display=swap");

:root {
  --primary: 180 88.18% 56.86%;
  --secondory: 332.4, 100%, 50.98%;
  --colorA: 0, 0%, 0%;
  --colorB: 0, 0%, 100%;
}

/* Global Styles */
body {
  display: flex;
  color: hsla(180, 29%, 72%, 1);
  font-family: "Roboto Momo", sans-serif;
  background: hsl(var(--colorA));
  justify-content: center;
  text-align: center;
  margin: 0;
  height: 100vh;
}

svg {
  width: 24px;
  height: 24px;
}

.title {
  margin: 0;
  font-family: "Orbitron", Roboto Momo;
  letter-spacing: 0.25rem;
  line-height: 1.6rem;
}

.link {
  color: hsl(var(--colorB));
}

/* Container Styles */
.container {
  display: block;
  position: relative;
  align-self: center;
  padding: 0.1rem;
  height: auto;
  background: hsl(var(--primary));
  clip-path: polygon(
    24px 0%,
    100% 0,
    100% calc(100% - 24px),
    calc(100% - 24px) 100%,
    0 100%,
    0% 24px
  );
}

/* Panel Styles */
.container-panel {
  display: flex;
  position: relative;
  justify-content: center;
  flex-direction: column;
  width: calc(100% - 1rem);
  padding: 0.5rem;
  background: hsl(var(--colorA));
  height: auto;
  clip-path: polygon(
    24px 0%,
    100% 0,
    100% calc(100% - 24px),
    calc(100% - 24px) 100%,
    0 100%,
    0% 24px
  );
}

/* Button Styles */
.compont-group,
.button-group {
  display: flex;
  flex-direction: row;
  font-family: "Roboto Momo", sans-serif;
  font-weight: 500;
  text-align: center;
  gap: 0.25rem;
}

/* Button Styles */
.button {
  display: flex;
  align-content: center;
  padding: 0.5rem 0.25rem;
  color: hsl(var(--colorA));
  background: hsl(var(--secondory));
  justify-content: center;
  align-items: center;
  border: 0px;
  outline: 0;
  margin: 0;
  width: 100%;
}

.clip-1 {
  width: 18%;
  clip-path: polygon(
    18px 0%,
    100% 0,
    100% calc(100% - 0px),
    calc(100% - 18px) 100%,
    0 100%,
    0% 18px
  );
}

.clip-2 {
  width: 18%;
  clip-path: polygon(
    0px 0%,
    100% 0,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    0 100%,
    0% 18px
  );
}

/* Form Styles */
form {
  display: flex;
  flex-direction: column;
  color: hsl(var(--colorB));
  width: 100%;
}

/* Input Group Styles */
.input-group {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  margin: 2rem 0 0.5rem 0;
}

/* Input Label Styles */
.input-label {
  font-family: "Roboto Momo", sans-serif;
  font-size: 12px;
  font-weight: 400;
  position: absolute;
  top: -0.75rem;
  left: 1.25rem;
  border: 0.1rem solid hsl(var(--primary));
  background: hsl(180, 88.18%, 20%);
  padding: 0.2rem 0.5rem;
}

/* Input Field Styles */
.input-field {
  font-family: "Roboto Momo", sans-serif;
  font-size: 1.2rem;
  border: 0.1rem solid hsl(var(--primary));
  background: hsl(180deg 88.18% 20%);
  outline: 0;
  padding: 0rem 0.5rem;
  width: calc(100% - 1rem);
  height: 2.8rem;
}

/* Password Toggle Styles */
.password-toggle {
  position: absolute;
  top: 0.8rem;
  right: 0.5rem;
  cursor: pointer;
}

.space {
  margin: 1rem 0;
}

.extra {
  margin-top: 0.75rem;
}

.or {
  position: relative;
  font-size: 0.8rem;
  color: hsl(var(--primary));
  margin: 0.75rem 0;
}

.or:after,
.or:before {
  content: " ";
  display: block;
  position: absolute;
  top: 0.35rem;
  height: 0.15rem;
  width: 44%;
}

.or:after {
  right: 0;
  background: linear-gradient(90deg, hsl(var(--primary)), transparent);
}

.or:before {
  left: 0;
  background: linear-gradient(90deg, transparent, hsl(var(--primary)));
}

/* Hover Styles for Buttons */
button:hover {
  background: hsl(var(--primary));
}

.link:hover {
  color: hsl(var(--secondory));
}

/* Triangles for Decorative Corners */
.triangle-top-left,
.triangle-bottom-right,
.triangle-bottom-left,
.triangle-top-right {
  position: absolute;
  width: 0;
  height: 0;
}

.triangle-top-left {
  top: 0px;
  left: 0px;
  border-top: 2.5rem solid hsl(var(--secondory));
  border-right: 2.5rem solid transparent;
}

.triangle-bottom-right {
  bottom: 0px;
  right: 0px;
  border-bottom: 2.5rem solid hsl(var(--secondory));
  border-left: 2.5rem solid transparent;
}

.triangle-bottom-left {
  bottom: 0px;
  left: 0px;
  border-bottom: 2.5rem solid hsl(var(--secondory));
  border-right: 2.5rem solid transparent;
}

.triangle-top-right {
  top: 0px;
  right: 0px;
  border-top: 2.5rem solid hsl(var(--secondory));
  border-left: 2.5rem solid transparent;
}

.input-group-2 {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  flex-direction: row;
  margin: 0.5rem;
}

/* Input Field Styles */
.twofa-code {
  background: hsl(180deg 88.18% 25.86%);
  font-family: "Roboto Momo", sans-serif;
  text-align: center;
  font-size: 1.25rem;
  border: 0.1rem solid hsl(var(--primary));
  margin: 0.5rem 0;
  border-radius: 0.25rem;
  padding: 0.75rem 0.25rem;
  outline: 0;
  width: 10%;
  height: auto;
}

@media only screen and (max-width: 768px) {
  /* CSS styles for mobile */
  .container {
    max-width: 512px;
    min-width: 360px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  /* CSS styles for tablets */
  .container {
    max-width: 650px;
    min-width: 360px;
  }
}

@media screen and (min-width: 1024px) {
  /* Your styles for laptops go here */
  .container {
    max-width: 768px;
    min-width: 512px;
  }
}
