*,
*::before,
*::after {
    box-sizing: border-box;
    font-family:'Courier New', Courier, monospace;
    /* font-weight: 600; */
}

:root {
    --base: #deeaee;
    --green: #b1cbbb;
    --coral: #eea29a;
    --coral-hover: #e98c81;
    --red: #c94c4c;
}

html {
    font-size: 16px;
    background-color: var(--green);;
    color: var(--red);
    margin: 0;
    padding: 0;
}

body {
    padding: 0.4rem;
    margin: 0;
}

header {
    padding: 0.5rem;
    margin: 0 auto 1rem;
    background-color: var(--base);
}

h1 {
    text-align: center;
    text-shadow: 2px 1px 2px #000;
}
main {
  margin-bottom: 1rem;
}

.container-grid {
    display: grid;
    justify-content: center;
    align-content: center;
    min-height: 80vh;
    grid-template-columns: repeat(4, 100px);
    grid-template-rows: repeat(8, 100px);
}

.container-grid > button {
    transition: background-color 0.1s ease-in-out;
    background-color: var(--coral);
    cursor: pointer;
    border: 1px solid black;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    outline: none;
    margin: 0.1rem;
    padding: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

button:hover {
    background-color: var(--coral-hover);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

button:active {
    background-color: var(--red);
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 65%;
}

.image-container img {
  border: 5px solid white;;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Maintain the aspect ratio and cover the container */
}

h2 {
    margin: 0 ;
    padding: 0;
    font-size: 1.4rem;
}

/* span {
    font-size: 1rem;
} */


footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.1rem;
    font-size: 0.8rem;
    color: black;
    background-color: var(--base);
  }

  footer a {
    text-decoration: none;
    color: var(--red);
  }

  footer a:hover {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  }

  /*
  footer i {
    font-size: 36px;
  }
  */

  footer a p {
    padding: 0.3em;
  }

  footer p {
    font-size: 1.3rem;
    font-weight: 900;
  }

  .my-github {
    display: flex;
    align-items: center;
  }