@font-face {
  font-family: "Anthony";
  src: url("Anthony.woff") format("woff");
}

html {
  margin: 0;
  padding: 0;
}

::selection {
  color: #ea5351;
  background: white;
}

.link:hover {
  color: #ea5351;
  background: white;
}

.link {
  text-decoration: none;
}

.query {
  display: grid; /* Ensure the query div is a grid */
  grid-column: 2 / -1; /* Start at column 2 and span to the last column */
}

.grid-image {
  width: 100%; /* Make images responsive */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover; /* Cover the cell without distortion */
  margin-bottom: 15px;
}

body {
  font-family: "Roboto Mono", monospace;
  -webkit-font-variation-settings: "wght" 400;
  font-variation-settings: "wght" 400;
  font-size: 20px;
  background-color: #ea5351;
  color: white;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  margin-top: 0;
}

.header {
  background-color: rgba(234, 83, 81, 0.8);
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  height: 3rem;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding-bottom: 4px;
  padding-top: 4px;
  margin-top: 0;
  margin-bottom: 20px;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  z-index: 1000;
  width: 100%;
}

header img {
  height: 1rem;
}

  .grid-image:nth-child(1) {
    margin-top: 10px;
  }

a {
  color: white;
  font-size: 1.1em;
}
.bold {
  font-family: "Roboto Mono Italic", monospace;
  font-weight: 800;
}

#h,
#a,
#b {
  width: 19px;
}

#pa {
  font-family: "Anthony", sans-serif;
  font-size: 1.5em;
  text-decoration: none;
}

button {
  padding: 0;
}
.container {
  display: -webkit-box;
  display: -webkit-grid;
  display: grid;
  grid-auto-rows: auto;
  grid-template-columns: repeat(9, 1fr);
  font-family: "Roboto Mono", monospace;
}

.title {
  font-family: "Anthony", sans-serif;
  font-size: 2em;
  margin-top: -0.15em;
}

.text {
  font-size: 1.1rem;
  line-height: 1.8rem;
}

.item:nth-child(odd) {
  grid-column: 1 / 2;
}

.item:nth-child(even) {
  grid-column: 2 / 8;
}

.item {
  grid-row: calc((var(--i) + 1) / 2);
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #ea5351;
}

::-webkit-scrollbar-thumb {
  background: white;
}

::-webkit-scrollbar-thumb:hover {
  background: white;
}

.hab1 {
  grid-row: 3;
  grid-column: 2/14;
  line-height: 0;
}

.hide-on-small {
  display: block;
}

.show-on-small {
  display: none;
}

@media (max-width: 1230px) {
  .title {
    font-family: "Anthony", sans-serif;
    font-size: 1.7em;
    margin-top: -3px;
    margin-bottom: 0.35em;
  }

  a {
    font-size: 1.2em;
  }

  .text {
    font-size: 1.1em;
    margin-bottom: 1.2em;
    line-height: 1.55em;
  }

  .hide-on-small {
    display: none;
  }

  .show-on-small {
    display: block;
  }

  .container {
    font-size: 0.8em;
  }

  .item:nth-child(n) {
    grid-row: 0;
    grid-column: 1/7;
  }

  .grid-image {
    margin-bottom: 12px;
  }
}

@media (max-width: 730px) {
  .query {
    grid-column: 1/9;
  }

  .grid-image {
    margin-bottom: 8px;
  }

  .item:nth-child(n) {
    grid-row: 0;
    grid-column: 1 / 12;
}

  #h,
  #a,
  #b {
    width: 14px;
  }

  #pa {
    font-family: "Anthony", sans-serif;
    margin-top: 18px;
    font-size: 1.1em;
  }

  .logos {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px; /* Maintain vertical space between rows */
    align-items: center;
  }

  .logo,
  .logoo,
  .logooo {
    height: auto;
    width: 120px;
    margin: auto;
  }

  #b {
    right: 0px;
  }
}
