*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

:root {
  --color-bg: #282828;
  --color-curriculo-bg: #ffffff;
  --color-text: #343d3f;
  

  --font-base: min(1rem, 3.5vw);
}

body {
  background: var(--color-bg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: calc(var(--font-base));
  color: var(--color-text);
}

.curriculo {
  width: min(794px, 95dvw);
  margin: 15px auto;
  min-height: 100dvh;
  padding: 2.8rem 2.5rem;
  background: var(--color-curriculo-bg);
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;

  #content {
    display: none;
  }

  .title-name {
    text-align: center;
    font-size: calc(var(--font-base)*1.6);
  }

  .goal {
    text-align: justify;
  }

  .personal-info {
    margin-top: 37px;
  }

  .personal-links {
    margin-top: 20px;
    .personal-links__item:hover {
      color: rgb(27, 83, 131);
      text-decoration: underline;
    }
  }
}

.list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 5px;
  margin-left: 20px;
}

.list__item {
  font-size: calc(var(--font-base)*0.9);
}

.list__item--spaced {
  margin-bottom: 12px;
}

.list__item::marker {
  color: #343d3f;
  font-size: 0.75rem;
}

.list__item:not(:last-child)::after,
.personal__item-text:not(:last-child)::after {
  content: "; ";
}

.list__item:last-child::after {
  content: ".";
}

@media (max-width: 820px) {
  .curriculo {
    padding: 1rem;
  }
}

.topic__title {
  font-weight: 600;
  font-size: calc(var(--font-base));
}

.personal,
.section {
  margin-top: 35px;
}

.section__title-text {
  font-size: calc(var(--font-base)*1.15);
  font-weight: 500;
  color: #343d3f;
}

.section--justify-text {
  text-align: justify;
}

.divider {
  color: #606060;
  border: 2px solid;
}


.divider2 {
  color: #000000;
  border: 1px solid;
  margin-bottom: 3px;
}

.btn {
  min-width: 80px;
  text-align: center;
  padding: 4px;
  color: white;
  background: rgb(169, 169, 169);
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 5px;
  cursor: pointer;
  display: inline-block;
  letter-spacing: 0.5px;

  text-decoration: none;
  border: none;
  appearance: none;

  &::-webkit-details-marker {
    display: none;
  }
}

.collapsible .btn::before {
  content: "▼";
  float: left;
  transition: transform 0.3s;
  transform: rotate(-90deg);
  margin-right: 5px;
}

.collapsible[open] .btn::before {
  transition: transform 0.3s;
  transform: rotate(0deg);
}

.btn-link:hover,
.collapsible[open] .btn {
  background: rgb(27, 83, 131);
  transition: ease-in-out 0.5s;
}

.dividing-line {
  height: 1px;
  background: #d3d3d3;
  margin: 20px 0;
}

.section__item:last-of-type .dividing-line {
  display: none;
}


.skeleton-section {
  height: calc(100dvh/5);
  margin-bottom: 12px;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 37%,
    #f0f0f0 63%
  );
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}
