* {
  font-family: Arcade;
}

.container {
  margin-top: 3rem;
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
}

.profile__info {
  text-wrap: wrap;
  width: 60%;
}

.profile__img {
  border-radius: 1rem;
}

.socials__container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.socials__container svg {
  height: 38px;
  width: 38px;
}

.folder__title {
  border: 2px dotted black;
  border-bottom: none;
  width: fit-content;
  padding: 1rem;
  border-radius: 20px 20px 0 0;
}

.folder__title--right {
  margin-left: auto;
}

.folder-card__container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  overflow: hidden;
  border: 2px dotted black;
  background-color: #fafafa;
  padding: 1rem;
  border-radius: 0 20px 20px 20px;
}

.folder-card__container--right {
  border-radius: 20px 0 20px 20px;
}

.folder-card__container--with-tabs {
  flex-direction: column;
  padding: 0.5rem;
  gap: 0;
}

.folder-card__container--with-tabs > input[type="radio"] {
  display: none;
}

.folder-tabs {
  display: flex;
  gap: 0.2rem;
  padding: 1rem 1rem 0 1rem;
  background: #fafafa;
}

.folder__subtitle {
  border: 1px dotted black;
  border-bottom: none;
  padding: 0.6rem 1rem;
  border-radius: 10px 10px 0 0;
  font-size: 1rem;
  cursor: pointer;
  background: white;
  transition: background 0.2s;
}

.folder__subtitle:hover {
  background: #f0f0f0;
}

.folder-card__container--with-tabs #tab-languages:checked ~ .folder-tabs label[for="tab-languages"],
.folder-card__container--with-tabs #tab-frameworks:checked ~ .folder-tabs label[for="tab-frameworks"],
.folder-card__container--with-tabs #tab-books:checked ~ .folder-tabs label[for="tab-books"],
.folder-card__container--with-tabs #tab-games:checked ~ .folder-tabs label[for="tab-games"] {
  background: #fafafa;
  font-weight: 1000;
}

.folder-tab-content {
  display: none;
  border: 1px dotted black;
  padding: 1rem;
  background: #ffffff;
  flex-wrap: wrap;
  gap: 1rem;
  border-radius: 1rem;
}

.folder-card__container--with-tabs #tab-languages:checked ~ #content-languages,
.folder-card__container--with-tabs #tab-frameworks:checked ~ #content-frameworks,
.folder-card__container--with-tabs #tab-books:checked ~ #content-books,
.folder-card__container--with-tabs #tab-games:checked ~ #content-games {
  display: flex;
}

.card__container {
  border: 1px dotted black;
  border-radius: 1rem;
  padding: 0rem;
  width: 10rem;
  height: 10rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.card__text {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 1);
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  border-radius: 0.5rem 0.5rem 0 0;
  text-decoration: none;
  max-width: 80%;
  text-align: center;
  color: black;
  font-size: 1rem;
}

@media (max-width: 480px) {
  .container {
    flex-direction: column-reverse;
    margin-top: 2em;
  }

  .profile__img {
    width: 30%;
    border-radius: 1em;
  }

  .profile__info {
    width: 100%;
  }

  .profile__info h1 {
    font-size: 1.2rem;
    text-align: center;
  }

  .profile__info p {
    font-size: 1em;
  }

  .folder__title {
    font-size: 1.2em;
  }

  .card__container {
    width: 8em;
    height: 8em;
  }

  .socials__container svg {
    width: 2em;
    height: 2em;
  }
}
