@charset "utf-8";
/* CSS Document */

html {
  font-family: "Arial Narrow", Arial, sans-serif;
  background-color: #000;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
}

.container {
  display: grid;
  gap: 10px;
  width: 100%;
  height: 100%;
}

.item {
  padding: 20px;
  text-align: center;
}

.item2 {
  font-size: 2rem;
  color: #ffffff;
  letter-spacing: 1em;
}

span {
  color: white;
}

.icons img {
  max-width: 2rem;
  padding: 0 0.25rem;
}

img {
  max-width: 100%;
}

@media (min-width: 768px) {
  .container {
    grid-template-areas:
      "item1 item2 item3"
      ".     item4 .";
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto 1fr;
    height: 100%;
    align-items: center;
  }

  .item1 {
    grid-area: item1;
    text-align: left;
  }

  .item2 {
    grid-area: item2;
  }

  .item3 {
    grid-area: item3;
    text-align: right;
  }

  .item4 {
    grid-area: item4;
    height: 40vh; /* 40% of the viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50vw;
  }

  .item4 img {
    max-width: 529px;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
  }

  .item1,
  .item4 {
    flex-shrink: 0;
  }

  .item2,
  .item3 {
    flex-shrink: 0;
    margin-top: auto; /* Pushes item2 and item3 to the bottom */
    letter-spacing: 0.5em;
  }

  .item4 {
    flex-grow: 1; /* Allows item4 to take up remaining space and be centered */
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
