html, body {
  background-color: #F6E9FF;
  color: #73429C;
  font-family: Verdana;
}

a:link {
  color: #AF65E9;
}

a:visited {
  color: #73429C;
}

a:hover {
  color: #8B00FF;
}

a:active {
  color: #C786FF;
}

h1, h2, h3 {
  text-align: center;
}

.smug-container {
  text-align: center;
  margin-top: 50px;
}

.random-smug {
  width: 300px;
  height: auto;
  object-fit: cover;
  cursor: pointer;
}

/* INDEX */

.youtube {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 1024px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

.youtube iframe {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtubesub {
  position: relative;
  font-weight: bold;
  z-index: 30;
}

.celeste_long, .rin, .celestewave, .comp, .dummy, .flower, .flowerimg, .flowertext  {
  display: none;
}

.puppy {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 45%;
  margin: 0 auto;
  z-index: 10;
}

.puppyimg {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* ABOUT ME PAGE */

.aboutme {
  z-index: 10;
  text-align: center;
  line-height: 1.5;
}

.personality {
  position: relative;
  justify-content: center;
  width: 100%;
  max-width: 480px;
}

.realmecon, .realmecon1, .realmecon2, .realmecon3, .realmecon4, .realme {
  display: none;
}

.gridcon {
    position: relative;
    width: min(200px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    box-sizing: border-box;
    z-index: 2;
}

.waifugrid {
    position: relative;
    width: min(700px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    box-sizing: border-box;
    z-index: 2;
}

.waifugrid2 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 0px 0px;
    margin-top: 10px;
}

.waifugrid2 img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 3px solid #AF65E9;
    box-sizing: border-box;
}

.gridhead {
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 10px;
    margin-top: 10px;
}

.grid > :last-child {
    grid-column: 1 / 3;
    justify-self: center;
    width: calc((100% - 10px) / 2);
}

.grid img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border: 3px solid #AF65E9;
    box-sizing: border-box;
}