.profile {
  display: flex;
}
.profile__avatar {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile__avatar i {
  font-size: 60px;
  color: #b7b7b7;
}
@media screen and (max-width: 1024px) {
  .profile__avatar i {
    font-size: 40px;
  }
}
@media screen and (max-width: 600px) {
  .profile__avatar i {
    font-size: 30px;
  }
}
.profile__content .account__name {
  font-size: 30px;
  font-weight: 700;
}
@media screen and (max-width: 1024px) {
  .profile__content .account__name {
    font-size: 20px;
  }
}

.resource__list {
  display: flex;
  flex-wrap: wrap;
  gap: 5%;
}
.resource__list li {
  width: 30%;
  list-style: none;
  margin-bottom: 1em;
}
@media screen and (max-width: 1024px) {
  .resource__list li {
    width: 47%;
  }
}
@media screen and (max-width: 600px) {
  .resource__list li {
    width: 100%;
  }
}
.resource__list li a .img {
  aspect-ratio: 3/2;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 4px 4px -4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1em;
}
.resource__list li a .img img {
  aspect-ratio: 3/2;
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: all 0.3s;
}
.resource__list li a .title {
  color: #222;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1em;
}
.resource__list li a button {
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  margin: auto;
  transition: all 0.3s;
}
.resource__list li a:hover .img img {
  transform: scale(1.05);
  transition: all 0.3s;
}
.resource__list li a:hover button {
  background-color: #222;
  color: #fff;
  transition: all 0.3s;
}