#user-grid {
  display: grid;
  column-gap: 0;
  width: fit-content;
  grid-template-areas: "table userboxes";
  grid-template-columns: fit-content fit-content;
  justify-content: start;
  margin: 0 auto;
}

.table {
  display: inline-block;
  width: 275px;
  min-width: 275px;
  margin-bottom: 3px;
  grid-area: table;
  justify-self: center;
}

#pfp {
  border: double 5px palegoldenrod;
  border-radius: 10px;
}

.table th {
  padding: 10px;
  font-weight: 200px;
  font-size: 1.1em;
  align-content: center;
}

.table h1 {
  margin: 0;
}

.table tr {
  background: linear-gradient(0deg, #9f4344 0%, #896c2e 50%, #955d8e 100%);
}

#about {
  padding: 10px;
  padding-top: 70px;
  background-image: url("About Me/golden hour clown cropped.jpg") !important;
  background-size: cover;
  background-position-y: center;
  width: 250px;
}

.table th,
.table td {
  border: 3px solid palegoldenrod;
  border-radius: 3px;
}

.table td {
  padding: 15px;
  padding-left: 10px;
}

.userbox-container {
  display: inline-flex;
  flex-wrap: wrap;
  flex-direction: row;
  min-width: 275px;
  width: 90%;
  max-width: 650px;
  justify-content: flex-start;
  align-content: flex-start;
  border: 7px ridge palegoldenrod;
  border-radius: 3px;
  height: min-content;
  padding: 5px;
  margin-top: 2px;
  background: linear-gradient(0deg, #9f4344 0%, #896c2e 50%, #955d8e 100%);
  grid-area: userboxes;
}

.userbox {
  max-width: 50%;
  min-width: 200px;
}

.userbox:hover {
  transform: scale(1.15);
}

.userbox:active {
  transform: scale(1.2);
}

@media (max-width: 600px) {
  #user-grid {
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-areas:
      "table"
      "userboxes";
  }

  .table {
    justify-self: start !important;
  }

  .userbox-container {
    justify-self: end !important;
    width: 70%;
  }
}

/*----------fun facts-----------------*/

#fun-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: calc(1.2em + 7vw) auto;
  width: 90%;
  position: relative;
}

#fun-facts h2 {
  font-size: calc(1.2em + 1.3vw);
  text-shadow:
    0 0 2px cyan,
    0 0 3px blue,
    0 0 5px blue,
    0 0 7px midnightblue;
}

#fun-facts .divider {
  width: 100%;
  top: 0;
  bottom: 0;
  margin: auto 0;
  position: absolute;
  z-index: -1;
  filter: brightness(80%);
}

/*------------clumsy------------------*/

#woah {
  display: grid;
  grid-template-areas: "text image";
  grid-template-columns: 1fr 40%;
  align-items: center;
  justify-content: center;
  width: 80%;
  position: relative;
  margin: calc(1.2em + 7vw) auto;
}

#falling {
  width: calc(60% + 25vw);
  min-width: 150px;
  max-width: 250px;
  border-radius: 20px;
  box-shadow: 0 0 0 5px magenta;
  transition: transform 1.5s;
  transform: scale(1) rotate(0deg);
  grid-area: image;
  position: absolute;
  left: -65px;
}

@keyframes fall {
  0% {
    transform: rotate(-40deg) scale(0.8);
  }

  100% {
    transform: rotate(-400deg) scale(0.8);
  }
}

#falling:hover {
  animation: fall 1.5s ease-in-out infinite;
}

#falling-text {
  display: inline-block;
  width: 80%;
  min-width: 200px;
  background-color: var(--content-background-color);
  padding: 10px;
  margin: 30px auto;
  border: groove 10px magenta;
  grid-area: text;
}

#falling-text h3 {
  text-align: center;
}

/*--------------my cat------------------*/

#mycat {
  position: relative;
  width: 90%;
  margin: calc(2.2em + 15vw) auto;
}

#mycat h3 {
  background: var(--content-background-color);
  padding: calc(1em + 7vw) calc(1em + 3vw);
  margin: calc(2em + 3vw) auto;
  font-size: calc(1.1em + 1.3vw);
  max-width: 450px;
  width: 75%;
  min-height: 100px;
  border-image: url("neon hoard/neon borders/paw border.png");
  border-image-slice: 60 49 45 43;
  border-image-width: 40px 32px 32px 32px;
  border-image-outset: 17px 17px 17px 22px;
  border-image-repeat: space space;
  border-style: solid;
  text-align: center;
}

#mycat img {
  position: absolute;
  width: 28%;
  border-image: url("neon hoard/neon borders/paw border.png");
  border-image-slice: 60 49 45 43;
  border-image-width: 30px 20px 20px 20px;
  border-image-outset: 12px 12px 12px 17px;
  border-image-repeat: space space;
  border-style: solid;
}

#kaos-lounging {
  top: -15%;
  left: 0;
}

#treat {
  bottom: -29%;
  right: 0;
  z-index: 2;
}

#bite {
  bottom: -25%;
  left: calc(10% - 3vw);
  max-width: 170px;
  z-index: 1;
}

#sleepy {
  top: -25%;
  right: 0;
}

#pose {
  right: -15px;
  top: 30%;
  max-width: 150px;
  z-index: 1;
}

#grass {
  top: 25%;
  left: -20px;
  max-width: 170px;
}

/*---------Q&A----------------*/

#ask-me {
  /*display:grid;
  grid-template-areas:"image title"
    "image subtitle"
    "image paragraph"
    "image form"
  ;*/
  width: 90%;
  margin: 20px auto 40px auto;
}

#ask-photo {
  grid-area: image;
  width: 40%;
  align-self: center !important;
  padding: 15px;
  float: left;
}

#ask-me h2 {
  grid-area: title;
  margin: 0;
  padding: 10px;
  font-size: calc(1.1em + 1vw);
  align-self: center;
  width: 100%;
}

#ask-me h3 {
  grid-area: subtitle;
  text-align: center;
  font-size: calc(0.9em + 0.47vw);
  margin: 0;
  padding: 10px;
  align-self: center;
}

#ask-me p {
  grid-area: paragraph;
  margin: 0;
  padding: 10px;
  text-align: center;
}

#ask-me form {
  grid-area: form;
  margin: 0;
  padding: 10px;
}

#ask-me form fieldset {
  margin: 30px auto;
}

#ask-me form input {
  margin: 5px;
}

#ask-me form label {
  display: inline;
}

#ask-me form label:first-of-type {
  margin-top: 15px;
}

#ask-me form textarea {
  width: 100%;
  min-height: 6em;
}

#ask-me form label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#ask-me form input {
  flex-grow: 1;
}

#submit {
  font-size: 1.5em;
  background-color: lightsalmon;
  padding: 7px;
  display: block;
  margin: 10px auto;
  width: 100%;
  font-family: var(--heading-font);
}

#submit:hover {
  cursor: pointer;
  background-color: mediumpurple;
}

#submit:active {
  inset: 2px;
}
