:root {
  --clr-accent-500: hsl(12, 60%, 45%);
  --clr-accent-400: hsl(12, 88%, 59%);
  --clr-accent-300: hsl(12, 88%, 75%);
  --clr-accent-100: hsl(13, 100%, 96%);

  /* --clr-primary-400: #0047ab; */
  --clr-primary-400: #2B61A4;
  --clr-primary-350: #6168ec;
  --clr-primary-300: #dddddd;
  --clr-primary-200: rgb(245, 255, 254);

  --clr-neutral-900: hsl(232, 12%, 13%);
  --clr-neutral-800: hsl(235, 8%, 30%);
  --clr-neutral-500: hsl(230, 6%, 82%);
  --clr-neutral-100: hsl(0, 0%, 100%);

  --ff-primary: "Be Vietnam Pro", sans-serif;

  --ff-body: var(--ff-primary);
  --ff-accent: var(--ff-primary);

  --fw-regular: 400;
  --fw-semi-bold: 500;
  --fw-bold: 700;

  --fs-300: 0.8125rem;
  --fs-400: 0.875rem;
  --fs-500: 0.9375rem;
  --fs-600: 1rem;
  --fs-700: 1.8725rem;
  --fs-800: 2.5rem;
  --fs-900: 3.5rem;

  --fs-body: var(--fs-400);
  --fs-primary-heading: var(--fs-800);
  --fs-secondary-heading: var(--fs-700);
  --fs-nav: var(--fs-500);
  --fs-button: var(--fs-400);

  --size-100: 0.25rem;
  --size-200: 0.5rem;
  --size-300: 0.75rem;
  --size-400: 1rem;
  --size-500: 1.5rem;
  --size-600: 2rem;
  --size-700: 3rem;
  --size-800: 4rem;
  --size-900: 5rem;

  --reg-transition: 400ms ease-in-out;
  --fast-transition: 200ms ease-in-out;
}

@media (min-width: 50em) {
  :root {
    --fs-primary-heading: var(--fs-900);
    --fs-secondary-heading: var(--fs-800);

    --fs-body: var(--fs-500);
    --fs-nav: var(--fs-300);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  font: inherit;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

/* Set core body defaults */
body {
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* general styling */
body {
  font-size: var(--fs-body);
  font-family: var(--ff-body);
  color: var(--clr-neutral-900);
}

.button {
  display: inline-flex;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  display: inline-flex;
  justify-content: center;
  border: 0;
  padding: 1.5em 2em;
  font-weight: var(--fw-bold);
  font-size: var(--fs-button);
  line-height: 1;

  color: var(--clr-neutral-100);
  background-color: var(--clr-primary-400);
  transition: all var(--reg-transition);

  border: 3px solid var(--clr-neutral-900);

  box-shadow: 5px 5px 0 -3px var(--clr-neutral-900),
    5px 5px var(--clr-neutral-900);

  top: -5px;
  left: -5px;
}

button:disabled {
  cursor: default;
}

.button:hover {
  top: 0px;
  left: 0px;
  box-shadow: 0px 0px 0 -3px var(--clr-neutral-900), 0px 0px;
}

/* ====== Media Queries (Medium Devices) ===== */
@media screen and (max-width: 1024px) {
}

/* ====== Media Queries (Small Devices) ===== */
@media screen and (max-width: 600px) {
  .hero-section{top: 70%;}
}

/* Landing Page */
.hero-section {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.nav-wrapper img {
  margin: auto;
  scale: 1.2;
}

@media (max-width: 50em) {

  .hero-section {
    position: relative;
    margin-top: var(--size-800);
    margin-bottom: var(--size-600);
    top: 70%;
  }
  .hero-section__left {
    order: 2;
    margin-bottom: var(--size-600);
    text-align: center;
  }

  .hero-section__right {
    order: 1;
  }

  .hero-section .flow-left * + * {
    margin-left: 0;
  }

  .fs-primary-heading {
    text-align: center;
  }
}
@media screen and (max-width: 362px) {

  .hero-section {
    top: 90%;
  }
}
@media screen and (min-width: 1450px) {
    .primary-header .container {
      --max-width: calc(100vw - 20rem);
      --padding: 4rem;

    }
    .hero-section .container {
        --max-width: calc(100vw - 20rem);
        --padding: 4rem;

        z-index: -1;
    }
}

.hero-section__right {
  animation: slide-left-bottom  .4s ease-in-out both;
  animation-delay: .2s;
  
}

.hero-section__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: slide-right-top  .4s ease-in-out both;
  animation-delay: .3s;

}

@keyframes slide-right-top   {
  0% {
    opacity: 0;
    transform: translate(-200px, 200px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes slide-left-bottom   {
  0% {
    opacity: 0;
    transform: translate(200px, -200px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}



/* Navigation */
.primary-header {
  padding-top: var(--size-500);
  padding-bottom: var(--size-500);
  display: flex;
  animation: slide-bottom 0.4s ease-in-out both;
}

@keyframes slide-bottom {
  0% {
    transform: translateY(-4rem);
  }
  100% {
    transform: translateY(0rem);
  }
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: var(--size-600);
  width: auto;
}

.nav-list {
  font-size: var(--fs-nav);
  font-weight: var(--fw-semi-bold);
  display: flex;
  gap: clamp(var(--size-500), 5vw, var(--size-700));
  font-weight: var(--fw-semi-bold);
}

.nav-list a {
  text-decoration: none;
  font-size: var(--fs-600);
  color: var(--clr-primary-400);
  transition: all var(--reg-transition);
}

.nav-list a:hover,
.nav-list a:focus {
  text-decoration: none;
  color: var(--clr-primary-350);
}



/* Form Styles */

.form-group {
  --border-width: 3px;


  background-color: var(--clr-neutral-100);
  position: relative;

  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-inline: var(--size-900);
  padding-block: var(--size-400);
  overflow-y: auto;
}

.form-group > * {
  animation: slide-right .5s ease-out both;
  animation-delay: 0.3s;
}

@keyframes slide-right   {
  0% {
    opacity: 0;
    transform: translateX(-200px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}


.form-group::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: var(--border-width);
  height: 50%;
  background-color: var(--clr-neutral-900);
  animation: expand 1.5s ease-out both;
  transform-origin: bottom;
}

.form-group::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--border-width);
  height: 50%;
  background-color: var(--clr-neutral-900);
  animation: expand 1.5s ease-out both;
  transform-origin: top;
}

@keyframes expand {
  0% {
    transform: scaleY(0);
  }
  100% {
    transform: none;
  }
}


.alumni-login {
  display: grid;
}

/* Page Images */
.stu-login {
  background-image: url("../images/official-login.svg");
}

.stu-signup {
  background-image: url("../images/official-signup.svg");
}

.off-login {
  background-image: url("../images/student-login.svg");
}

.off-signup {
  background-image: url("../images/student-signup.svg");
}

.forgot-password {
  background-image: url("../images/forgot-password.svg");
}

.side-image {
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: center;

  animation: slide-left .5s ease-out both;
  animation-delay: 0.5s;
}


@keyframes slide-left   {
  0% {
    opacity: 0;
    transform: translateX(200px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1000px) {
  .side-image {
    display: none;
  }
}


@media (max-width: 50em) {
  .side-image {
    display: none;
  }

  .form-group {
    padding-inline: var(--size-400);
  }
}


.input-group input,
.input-group select, .input-group textarea {
  width: 100%;
  /* height: 40px; */
  padding: 0.75em 1.5em;
  line-height: 1;

  border: 2px solid var(--clr-neutral-900);

  transition: all 0.4s ease-in-out;
  text-indent: var(--size-300);
  font-size: 16px;
  font-family: var(--ff-body);
}

.input-group textarea {
  text-indent: var(--size-100);
}

.input-group input:focus, .input-group textarea:focus {
  border: 2px solid var(--clr-neutral-800);
  outline: none;
  border-radius: 3px;
  background: var(--clr-primary-200);
}

.input-group {
  margin-top: var(--size-400);
  width: 100%;
}

.input-area {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.input-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: var(--size-200);
  height: 20px;
  width: auto;
}

.input-row {
  display: flex;
  justify-content: space-between;
  gap: var(--size-300);
}

@media (max-width: 50em) {
  .input-row {
    display: block;
  }
}

.bottom-text {
  text-align: center;
}

.bottom-text a,
.remember-section a,
.home-link,
.account-optons a {
  text-decoration: none;
  font-weight: 600;
  color: var(--clr-primary-400);
  cursor: pointer;
  transition: all var(--fast-transition);
}

.bottom-text a:hover,
.remember-section a:hover,
.home-link:hover,
.account-optons a:hover {
  color: var(--clr-primary-350);
}

.account-optons {
  display: flex;
  justify-content: center;
}

.alumni-link {
  position: relative;
  padding-right: var(--size-500);
}
.alumni-link::before {
  content: "";
  position: absolute;
  right: 0;
  background-color: var(--clr-neutral-800);
  width: 2px;
  height: 100%;
}

.home-link {
  text-align: center;
  position: relative;
  padding-top: var(--size-300);
}

.home-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background-color: var(--clr-neutral-500);
}

.remember-section {
  --form-control-color: var(--clr-primary-400);
  --form-control-disabled: #959495;

  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--size-200);
}

.form-control {
  line-height: 1.1;
  display: grid;
  grid-template-columns: 1em auto;
  gap: 0.5em;
  cursor: pointer;
}

input[type="checkbox"] {
  /* Add if not using autoprefixer */
  -webkit-appearance: none;
  /* Remove most all native input styles */
  appearance: none;
  background-color: var(--form-background);
  margin: 0;

  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid currentColor;
  border-radius: 0.3em;
  transform: translateY(-0.075em);

  display: grid;
  place-content: center;
  cursor: pointer;
}

input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0);
  transform-origin: bottom left;
  transition: all var(--fast-transition), 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--form-control-color);
  /* Windows High Contrast Mode */
  background-color: CanvasText;
}

input[type="checkbox"]:checked::before {
  transform: scale(1);
}

input[type="checkbox"]:focus {
  box-shadow: 0 0 2px 3px rgba(183, 225, 222, 0.8);
}

/* Utility Classes */

.container {
  --max-width: 1110px;
  --padding: 1rem;

  width: min(var(--max-width), 100% - (var(--padding) * 2));
  margin-inline: auto;
}

.even-columns {
  display: grid;
  gap: 1rem;
}

.full-height {
  height: 100%;
}

.flow * + * {
  margin-top: var(--flow-spacer, 2em);
}
.flow-left * + * {
  margin-left: var(--flow-spacer, 2em);
}

@media (min-width: 50em) {
  .even-columns {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
  }
}

.justify-self-end {
  justify-self: end;
}

.vertical-align-center {
  align-self: center;
}

@media (min-width: 50em) {
  .justify-self-end-md {
    justify-self: end;
  }
}

.text-primary-400 {
  color: var(--clr-primary-400);
}

.text-accent-400 {
  color: var(--clr-accent-400);
}
.text-accent-100 {
  color: var(--clr-accent-100);
}
.text-neutral-100 {
  color: var(--clr-neutral-100);
}
.text-neutral-900 {
  color: var(--clr-neutral-900);
}

.bg-primary-400 {
  background-color: var(--clr-primary-400);
}
.bg-primary-300 {
  background-color: var(--clr-primary-300);
}
.bg-accent-400 {
  background-color: var(--clr-accent-400);
}
.bg-accent-100 {
  background-color: var(--clr-accent-100);
}
.bg-neutral-100 {
  background-color: var(--clr-neutral-100);
}
.bg-neutral-900 {
  background-color: var(--clr-neutral-900);
}

.fw-bold {
  font-weight: var(--fw-bold);
}
.fw-semi-bold {
  font-weight: var(--fw-semi-bold);
}
.fw-regular {
  font-weight: var(--fw-regular);
}

.fs-primary-heading {
  font-size: var(--fs-primary-heading);
  line-height: 1.1;
}
.fs-secondary-heading {
  font-size: var(--fs-secondary-heading);
  line-height: 1.1;
}

.fs-300 {
  font-size: var(--fs-300);
}
.fs-400 {
  font-size: var(--fs-400);
}
.fs-500 {
  font-size: var(--fs-500);
}
.fs-600 {
  font-size: var(--fs-600);
}

.mt-200 {
  margin-top: var(--size-200);
}

.mb-200 {
  margin-bottom: var(--size-200);
}

.mt-400 {
  margin-top: var(--size-400);
}

.mt-600 {
  margin-top: var(--size-600);
}

.padding-block-900 {
  padding-block: var(--size-900);
}

.padding-block-700 {
  padding-block: var(--size-700);
}

.display-sm-none {
  display: none;
}

.h-full {
  height: 100%;
}

.w-full {
  width: 100%;
}

.navbar {
  background-color: #e3f2fd;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.container-fluid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar img {
  max-height: 50px;
}

.navbar a {
  margin-left: 20px;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}

.navbar a:hover {
  color: #ffffff;
}

@media screen and (max-width: 600px) {
  .navbar {
      flex-direction: column;
      align-items: flex-start;
  }

  .container-fluid {
      flex-direction: column;
  }

  .navbar img {
      margin-bottom: 10px;
  }

  .navbar a {
      margin-left: 0;
      margin-top: 10px;
  }
}
.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: 0.25rem;
}
.h3, h3 {
  font-size: 1.75rem;
}
.h4, h4 {
  font-size: 1.5rem;
}
.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.25rem;
}
.text-dark {
  color: #343a40!important;
}
.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}
.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}