/* MAIN */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@font-face {
  font-family: pokemon;
  src: url(../lib/font/Pokemon\ Classic.ttf);
}

.press-start-2p-regular {
  font-family: "Press Start 2P", system-ui;
  font-weight: 400;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
  scroll-margin: 60px;
  font-size: 1.2rem;
  height: 400vh;
}

body {
  font-family: "pokemon", sans-serif;
  margin: 0;
  padding: 0;
  background-image: url(../img/background.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

/* GRID TEMPLATE */

.container1 {
  display: grid;

  grid-template-areas:
    "header header header"
    "side1 content side2"
    "footer footer footer";

  grid-template-columns: 10rem 1fr 10rem;
  grid-template-rows: auto 1fr auto;
  grid-gap: 10px;
  min-height: 400vh;
  margin: 0;
  margin-top: 3rem;
}

header {
  grid-area: header;
}

main {
  grid-area: content;
  padding: 2rem;
  flex-direction: column;
}

.side1 {
  grid-area: side1;
  padding: 2rem;
}

.side2 {
  grid-area: side2;
  padding: 2rem;
}

footer {
  grid-area: footer;
  padding: 2rem;
  background-color: #7FAC71;
}

/* COMPONENTS */

nav {
  background-color: #79CAF9;
  margin-left: 1rem;
}

.profile {
  margin: 1rem;
  padding: 1rem;
  background-color: #fff;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
  position: relative;
}

/* BUTTONS */

.btn-group {
  display: flex;
  justify-content: flex-end;
}

.btn:hover {
  background-color: whitesmoke;
}

.vcard{
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}

/* MEDIA */

@media (max-width: 992px) {
  .container1 {
    grid-template-areas:
      "header"
      "content"
      "footer";

    grid-template-columns: 1fr;
    grid-template-rows:
      auto
      /* Header */
      minmax(75px, auto)
      /* Nav */
      1fr
      /* Content */
      minmax(75px, auto)
      /* Sidebar */
      auto;
    /* Footer */
  }
}
