.header {
  margin: 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header img {
  border-radius: 100%;
  height: 14rem;
  aspect-ratio: 1;
  cursor: pointer;
}
.header p {
  font-family: "Martel Sans", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 2rem;
  text-align: center;
}
.header p span {
  position: relative;
}
.header p span::before {
  position: absolute;
  bottom: 7px;
  left: 14px;
  content: "";
  background-image: url("../assets/mario_name_underline.png");
  width: 68px;
  height: 7px;
}

section {
  margin-block: 300px;
}
section h1 {
  font-family: "Martel Sans", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 2rem;
  text-align: center;
}
section#about .bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  width: 1030px;
  height: 765px;
}
section#about .bento div {
  border-radius: 10px;
  min-width: 235px;
  min-height: 235px;
  padding: 1rem;
  position: relative;
}
section#about .bento div.div1 {
  grid-area: 2/2/3/4;
  background-color: rgba(87, 156, 94, 0.47);
  display: flex;
  justify-content: center;
}
section#about .bento div.div1 iframe {
  border: none;
}
section#about .bento div.div2 {
  grid-area: 3/2/4/3;
  background-color: rgba(151, 151, 151, 0.47);
}
section#about .bento div.div2 .kart {
  position: absolute;
  right: -60px;
  top: -72px;
}
section#about .bento div.div2 p {
  position: absolute;
  bottom: 1rem;
  z-index: 4;
  color: black;
  font-family: "Martel Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 0.75rem;
}
section#about .bento div.div3 {
  grid-area: 3/3/4/4;
  background-color: #F7B58B;
  display: flex;
  align-items: center;
  flex-direction: column;
}
section#about .bento div.div3 .mario {
  position: absolute;
  top: -29px;
}
section#about .bento div.div3 p {
  position: absolute;
  bottom: 1rem;
  z-index: 4;
  color: black;
  font-family: "Martel Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 0.75rem;
  width: calc(100% - 2rem);
}
section#about .bento div.div4 {
  grid-area: 3/4/4/5;
  background-color: #E91216;
  display: flex;
  justify-content: center;
}
section#about .bento div.div4 .mario {
  position: absolute;
  top: -25px;
}
section#about .bento div.div5 {
  grid-area: 1/4/3/5;
  background-color: #51B33A;
  display: flex;
  align-items: center;
  flex-direction: column;
}
section#about .bento div.div5 .luigi {
  position: absolute;
  right: -30.5px;
  top: -42px;
}
section#about .bento div.div5 p {
  position: absolute;
  bottom: -1rem;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  z-index: 4;
  color: white;
  font-family: "Martel Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 0.75rem;
  padding: 1rem;
  background: linear-gradient(to top, rgb(81, 179, 58), rgba(81, 179, 58, 0.5));
}
section#about .bento div.div6 {
  grid-area: 1/3/2/4;
  background-color: rgba(231, 141, 56, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
section#about .bento div.div6 .truck {
  position: absolute;
  left: -21px;
  cursor: pointer;
}
section#about .bento div.div6 .truck.animate {
  animation: 4s ease-in truck_move 1;
}
section#about .bento div.div7 {
  grid-area: 1/1/2/3;
  background-color: #f8da98;
}
section#about .bento div.div7 p {
  font-family: "Martel Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 0.75rem;
}
section#about .bento div.div8 {
  grid-area: 2/1/4/2;
  background-color: #58A6EE;
}
section#about .bento div.div8 .dr {
  position: absolute;
  right: -30px;
  top: 0;
}
section#about .bento div.div8 p {
  position: absolute;
  bottom: 1rem;
  z-index: 4;
  color: white;
  font-family: "Martel Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 0.75rem;
}
section#work .bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  height: 867px;
  width: 966px;
}
section#work .bento div {
  min-width: 235px;
  min-height: 235px;
  border-radius: 10px;
  padding: 1rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}
section#work .bento div.div1 {
  grid-area: 1/1/2/2;
  background-image: url("../assets/houses/blue_toad_house.png");
}
section#work .bento div.div1 img {
  position: absolute;
  bottom: -10px;
  right: -40px;
  z-index: 3;
}
section#work .bento div.div2 {
  grid-area: 1/2/2/5;
  background-image: url("../assets/houses/bowser_castle.png");
}
section#work .bento div.div2 img {
  position: absolute;
  bottom: -17px;
  right: -52px;
}
section#work .bento div.div3 {
  grid-area: 2/4/3/5;
  background-image: url("../assets/houses/red_toad_house.png");
}
section#work .bento div.div3 img {
  position: absolute;
  bottom: -11px;
  right: -48px;
}
section#work .bento div.div4 {
  grid-area: 2/1/3/4;
  background-image: url("../assets/houses/peach_castle.png");
}
section#work .bento div.div4 img {
  position: absolute;
  top: -19px;
  right: -32px;
}
section#work .bento div.div5 {
  grid-area: 3/1/5/5;
  background-image: url("../assets/houses/penguins_castle.png");
}
section#work .bento div.div5 img {
  position: absolute;
  bottom: -18px;
  right: -26px;
}
section#contact {
  display: flex;
  align-items: stretch;
  flex-direction: column;
}
section#contact p {
  text-align: center;
  font-family: "Martel Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
}
section#contact #contactForm {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Martel Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
  gap: 0.5rem;
}
section#contact #contactForm label {
  width: 100%;
  text-align: center;
  opacity: 0.5;
  margin-block: 0;
}
section#contact #contactForm label input, section#contact #contactForm label textarea {
  width: 100%;
  background: #D9D9D9;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  opacity: 1;
}
section#contact #contactForm label input::placeholder, section#contact #contactForm label textarea::placeholder {
  color: rgba(0, 0, 0, 0.75);
}
section#contact #contactForm label textarea {
  resize: vertical;
  height: 200%;
}
section#contact #contactForm input[type=submit] {
  border: none;
  border-radius: 5px;
  background: #E60001;
  padding: 0.25rem 0.5rem;
  color: white;
  cursor: pointer;
  font-family: "Martel Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
}
section#contact #contactForm input[type=submit]:hover {
  opacity: 0.8;
}
section#contact #contactForm input[type=submit]:disabled {
  content: "";
  height: 2em;
  width: 2em;
  border-radius: 50%;
  border: 5px solid #E60001;
  border-top-color: transparent;
  animation: spin 3s linear infinite;
  background: none;
  cursor: progress;
}

footer {
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
  position: relative;
  gap: 10rem;
}
footer .pipe {
  position: relative;
}
footer .pipe#footerPipeMedium {
  background-image: url("../assets/pipes/medium.png");
  width: 132px;
  height: 257px;
  display: flex;
  justify-content: center;
}
footer .pipe#footerPipeMedium img {
  position: absolute;
  bottom: 0;
  z-index: -1;
  animation: infinite ease-in-out mediumPipe 3s;
}
footer .pipe#footerPipeLarge {
  background-image: url("../assets/pipes/large.png");
  width: 155px;
  height: 281px;
  display: flex;
  justify-content: center;
}
footer .pipe#footerPipeLarge:not(.frozen) .mario {
  bottom: 0;
  animation: infinite ease-in-out largePipe 5s;
}
footer .pipe#footerPipeLarge:not(.frozen) .balloon {
  display: none;
}
footer .pipe#footerPipeLarge.frozen .mario {
  top: 0;
}
footer .pipe#footerPipeLarge.frozen .balloon {
  display: block;
  top: -214px;
  right: -241px;
}
footer .pipe#footerPipeLarge img {
  position: absolute;
  z-index: -1;
}
footer .pipe#footerPipeSmall {
  background-image: url("../assets/pipes/small.png");
  width: 136px;
  height: 132px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  left: 0;
  bottom: 30rem;
}
footer .pipe#footerPipeSmall img {
  position: absolute;
  left: 0;
  z-index: -1;
  animation: infinite ease-in-out smallPipe 5s;
}
footer .text {
  margin-block: 2rem;
  text-align: center;
}
footer .text p {
  color: rgba(0, 0, 0, 0.35);
  font-weight: bold;
  font-size: 0.75rem;
  margin-block: 0;
}
footer .text p #heart:hover {
  animation: ease-in-out infinite heart 1s;
  cursor: pointer;
}
footer .text a {
  color: rgba(0, 0, 0, 0.45);
  font-weight: bold;
  text-decoration: none;
  font-size: 0.75rem;
}

@keyframes spin {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 359deg;
  }
}
@keyframes mediumPipe {
  0% {
    transform: translateY(0);
  }
  40%, 60% {
    transform: translateY(-96px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes largePipe {
  0% {
    transform: translateY(0);
  }
  20%, 80% {
    transform: translateY(-171px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes smallPipe {
  0% {
    transform: translateX(0);
  }
  10%, 30% {
    transform: translateX(46px);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes heart {
  0% {
    font-size: 0.75rem;
  }
  50% {
    font-size: 0.85rem;
  }
  100% {
    font-size: 0.75rem;
  }
}
@keyframes truck_move {
  0% {
    transform: translateX(0) scaleX(1);
  }
  50% {
    transform: translateX(-500px) scaleX(1);
  }
  60% {
    transform: translateX(-500px) scaleX(-1);
  }
  90% {
    transform: translateX(0) scaleX(-1);
  }
  100% {
    transform: translateX(0) scaleX(1);
  }
}

/*# sourceMappingURL=index.css.map */
