* {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

body {
  position: relative;
  top: 0px;
  margin: auto;
  padding: 0 16px;
  height: 100vh;
  /*background-color: #333446;*/
  background-color: #fbf3c1;
}

.container {
  margin: auto;
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.header {
  color: #749eb2;
  background-color: #ac8e60;
  font-size: 24px;
  font-family: McLaren, cursive;
  font-weight: 400;
  padding: 16px 32px;
  margin: 0 -16px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
  position: relative;
  height: auto;
  width: 100%;
  display: block;
  position: relative;
}

.headerTitle {
  color: #b2d8ce;
  font-size: 34px;
  font-family: McLaren, cursive;
  font-weight: 400;
}

.avatar {
  display: flex;
  margin: 5vh auto;
  width: 100%;
  position: relative;
  max-width: 215px;
}

.avatar .circle-img {
  height: 200px;
  width: 200px;
  box-shadow: 2px 2px 10px #847522;
  transition: all 0.5s ease-in-out;
  position: static;
  z-index: 2;
}

.avatar .main-logo {
  position: absolute;
  top: 10vh;
  left: 0;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.avatar:hover .circle-img {
  box-shadow: 2px 2px 21px #815906cf;
  transform: scale(1.1) translateX(-75px);
  cursor: pointer;
}

.avatar:hover .main-logo {
  opacity: 1;
  transform: scale(1.1) translateX(125px);
}

hr {
  box-shadow: 2px 9px 10px #a27c2c;
  width: 33%;
  color: transparent;
}

.section {
  margin: 10vh 0 5vh;
}

.category {
  color: #537d5d;
  font-size: 28px;
  font-family: McLaren, cursive;
  font-weight: 600;
  text-transform: uppercase;
  margin: 1rem auto 0;
  display: block;
  text-align: center;
}

.subcategory {
  margin: 5vh auto;
  display: block;
  width: 100%;
  max-width: 1000px;
  color: #537d5d;
  font-family: mclaren;
  font-weight: 200;
  font-size: 20px;
}

.circle-img {
  width: 100px;
  border-radius: 50%;
}

.info {
  font-size: 14px;
}

.card {
  border-radius: 25px;
  position: relative;
  padding: 25px 15px 33px;
  background-color: #f8f4e1;
  margin: 25px 0;
  height: 200px;
  box-shadow: 0 5px 10px #beb8b8;
  text-align: left;
  width: 100%;
  max-width: 400px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease-in, box-shadow 0.3s ease,
    height 0.25s ease-in-out;
}
.card:hover {
  box-shadow: 0 8px 12px #353030f0;
  transform: scale(1.05);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
  height: 255px;
}

.name {
  font-family: "McLaren", Serif;
  font-size: 1.125em;
  color: #2d3436;
  display: flex;
  flex: 1;
  margin: 10% 20px 0;
}

.top {
  border-radius: 25px 25px 0 0;
  height: 100px;
  width: 100%;
  background: linear-gradient(300deg, #f5c45e, #fcef91, #fff4a4);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
}

.top p {
  float: right;
  position: absolute;
  right: 35px;
  color: #fff;
  font-family: mclaren;
  font-size: 28px;
  font-weight: 600;
}

.card img {
  margin: 30px 20px 0 0;
  position: absolute;
  top: 0;
  right: 0;
  transition: transform 0.4s ease;
}

.card img:hover {
  transform: scale(1.1);
}

.circle-img {
  border-radius: 50%;
  border: 7px solid #fff;
  width: 120px;
  height: 120px;
}

.bottom {
  margin-top: 110px;
}

.card .info {
  margin: 20px 0;
  color: #1a7e76;
  font-family: "McLaren", Serif;
  max-height: 60px;
  overflow: hidden;
  transition: height 1s ease-in-out;
}

.card:hover .info {
  overflow: visible;
}

footer {
  position: relative;
  bottom: 0;
  margin: 0 auto;
  display: block;
  text-align: center;
  width: 100%;
}
