* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

:root {
  --primary-color: #0dc8fa;
  --background-color: #000;
  --white-color: #fff;
  --color-card: #d4d4d4;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

header {
  background-color: var(--primary-color);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4.5rem;
  position: fixed;
  top: 0;
  z-index: 2;
}

.span__firstname {
  color: var(--white-color);
  font-size: 1.75rem;
  font-weight: bold;
  transition: 0.4s;
}

.span__firstname:hover {
  color: var(--background-color);
}

.span__lastname {
  font-size: 1.2rem;
  font-weight: 400;
}

.a__navigation {
  padding: 0 1rem;
  text-decoration: none;
  color: var(--white-color);
  font-size: 1.2rem;
  transition: 0.4s;
}

.a__navigation:hover {
  color: var(--background-color);
}

/* ---------------------------------------------------------------- */

main {
  background-color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section__about {
  background-color: var(--background-color);
  color: var(--white-color);
  min-height: 115vh;
  padding: 8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section__about__content {
  width: 50%;
  padding: 1.5rem;
}

.section__about__title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.section__about__text {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.section__img__profile {
  background-color: #888888;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  object-fit: cover;
  object-position: bottom;
}

/* ---------------------------------------------------------------- */

.section__skills {
  background-color: var(--white-color);
  width: 90%;
  margin-top: -100px;
  padding: 2rem;
  border-radius: 1.75rem;
}

.section__title {
  font-size: 2.75rem;
  margin: 1.2rem 1.25rem;
  font-weight: bold;
}

.section__skill__content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}

a {
  text-decoration: none;
}
.section__div {
  width: 22%;
  background-color: var(--color-card);
  margin: 1rem 0.5rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  height: 24rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: 0.5s;
}

.section__div:hover {
  background-color: transparent;
  scale: 1.1;
}

.section__img__div {
  text-align: center;
  position: absolute;
  object-fit: cover;
  object-position: center;
  right: 15%;
  width: 90%;
  opacity: 0.2;
  z-index: 1;
  transition: 0.5s;
}

.section__img__div:hover {
  opacity: 0.1;
}

.section__subtitle {
  margin-bottom: 1rem;
  z-index: 10;
  color: var(--background-color);
}

.section__text {
  font-size: 1.2rem;
  text-align: start;
  overflow-y: auto;
  height: 85%;
  padding-bottom: 0.5rem;
  z-index: 10;
  color: var(--background-color);
}

/* ---------------------------------------------------------------- */

.section__jobs {
  padding: 8rem;
}

.section__job__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.section__job__content > .section__div {
  width: 48%;
  height: auto;
}

.section__job__content > .section__div:hover {
  scale: 1.01;
  background-color: var(--white-color);
}

.section__img__job {
  width: 100%;
  border-radius: 1.5rem;
}

.div__content__sites > .section__subtitle {
  margin-top: 1rem;
}

.section__tecnologias__usadas {
  display: flex;
  margin-top: 1.5rem;
}

.div__tecnologias__usadas {
  width: 10%;
  bottom: 0;
}

/* ---------------------------------------------------------------- */

footer {
  background-color: var(--background-color);
  padding: 5rem;
  text-align: center;
}

.section__img__contact {
  width: 4%;
}

.section__contact > a:nth-child(2) {
  margin: 0 1rem;
}

.section__copyright {
  color: var(--white-color);
  margin-top: 2.5rem;
  font-size: 1.5rem;
  letter-spacing: 5px;
}

/* ---------------------------------------------------------------- */

@media (max-width: 2800px) {
  .section__img__div {
    width: 70%;
  }
}

@media (max-width: 1570px) {
  .section__div {
    width: 27%;
  }
}

@media (max-width: 1340px) {
  .section__div {
    width: 45%;
  }
}

@media (max-width: 1250px) {
  .section__about {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .section__about__content {
    width: 100%;
  }

  .section__img__profile {
    width: 400px;
    height: 400px;
  }

  .section__jobs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 3rem;
  }

  .section__job__content > .section__div {
    width: 100%;
  }
}

@media (max-width: 820px) {
  header {
    flex-direction: column;
  }

  .a__navigation {
    font-size: 1.3rem;
  }

  .section__about {
    padding: 8.5rem 1.5em;
  }

  .section__about__title {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .section__div {
    width: 70%;
  }

  .section__title {
    text-align: center;
  }

  .section__img__div {
    bottom: 25%;
  }
}

@media (max-width: 550px) {
  header {
    padding: 1rem 0;
  }

  .span__firstname {
    font-size: 1.5rem;
  }

  .a__navigation {
    font-size: 1rem;
  }

  .section__about {
    padding: 8rem 0.5rem;
  }

  .section__about__title {
    font-size: 2rem;
  }

  .section__about__text {
    font-size: 1.2rem;
  }

  .section__img__profile {
    width: 280px;
    height: 280px;
  }

  .section__title {
    font-size: 2rem;
  }

  .section__div {
    width: 100%;
  }

  .section__img__contact {
    width: 12%;
  }

  .section__copyright {
    font-size: 0.5rem;
  }
}
