#main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
  gap: 4rem;
  padding: 6rem var(--large-margin);
  animation: Bdanim 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

#main .top-img {
  max-height: 260px;
  padding: 1rem;
  overflow: visible !important;
}

#main .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 10;
}

.container .texts {
  margin-bottom: 2rem;
}


/********************** HOBBIES ***********************/


#hobbies {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding: 2rem var(--large-margin);
  animation: Bdanim 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.about {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  width: 100%;
  z-index: 10;
}

.about .box {
  padding: 1.25rem;
  border-radius: 1rem;
  display: flex;
  gap: 1.25rem;
  min-height: 120px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  text-align: center;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(100px);
  border: 1px solid transparent;
  background-image: var(--secondary-custom-gradient);
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  background-blend-mode: normal, normal;
}

.box-category {
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.box-img {
  width: 100px;
  height: 100px !important;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid var(--color-bg-fifth);
}

.box-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  gap: 0.5rem;
  max-height: 100px;
}

.about .container-about {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  padding: 0;
}


/********************** MY WORK EXPERIENCE ***********************/


#myworkexperience {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 12rem var(--large-margin);
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.experience-item {
  padding-bottom: 2.5rem;
}

.experience-item:last-child {
  padding-bottom: 0;
}

.experience-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.experience-info {
  display: flex;
  flex-direction: column;
}

.experience-tasks {
  list-style: none;
  margin-left: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.experience-tasks li {
  color: var(--color-text-secondary);
  display: flex;
  gap: 0.4rem;
}

li[data-key]::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: var(--color-text-secondary);
  margin-top: 4px;
  mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><path d="M6 0C6.48456 3.09053 8.90947 5.51544 12 6C8.90947 6.48456 6.48456 8.90947 6 12C5.51544 8.90947 3.09053 6.48456 0 6C3.09053 5.51544 5.51544 3.09053 6 0Z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}


/********************************************RESPONSIVE***************************************/


@media (min-width: 768px) {
  .about {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
  }

  #main .top-img {
    max-height: 280px;
  }
}


@media (min-width: 992px) {
  .box-text {
    height: 100%;
  }

  #main .top-img {
    max-height: 320px;
    padding: 1.5rem;
  }
}


@media (min-width: 1400px) {
  #myworkexperience {
    flex-direction: row;
  }

  #main .top-img {
    max-height: 380px;
    padding: 2rem;
  }

  .about .box {
    padding: 1.25rem;
    border-radius: 1rem;
    display: flex;
    gap: 1.25rem;
    min-height: 120px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    text-align: left;
    flex-direction: row;
  }

  .box-text h3 {
    font-size: 1.8rem;
  }
}