* {
  margin: 0;
}

:root {
  --color-gray-btn: #fdf0f1;
  --color-red: #dc0c1e;
  --color-white: #fff;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/GothamHTF-Book.ttf') format('opentype');
}

body, span, .btn-login {
  font-family: 'Gotham', sans-serif;
}

main {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  height: 100vh;
  width: 100%;
  justify-content: center;
  position: relative;
}

.btn-login {
  color: var(--color-gray-btn);
  background-color: #FC723E;
  transition: all 0.5s;
}

.btn-login:hover {
  opacity: 0.8;
}

.background-container {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../images/mobile-background.png');
}

.login-wrapper {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-self: start;
  gap: 16px;
  padding: 24px;
}

.bdmg-logo {
  position: absolute;
  top: 24px;
  right: 24px;
  max-width: 100px;
  display: none;
}

.aprende-logo {
  max-width: 307px;
  margin: auto;
}

.login-copy {
  text-align: center;
}

.login-button-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  text-align: center;
  align-items: center;
}

@media (min-width: 768px) {
  main {
    grid-template-columns: 1fr 0.75fr;
  }

  .background-container {
    grid-column: 1 / 2;
    background-position: left;
  }

  .login-wrapper {
    grid-column: 2 / 3;
    align-self: center;
    justify-content: center;
  }

  .bdmg-logo {
    display: block;
  }

  .login-copy {
    display: none;
  }
}

@media (min-width: 1024px) {
  main {
    grid-template-columns: 1fr 0.5fr;
  }

  .background-container {
    background-image: url('../images/background.png');
  }
}
