* {
  margin: 0;
  padding: 0;
  box-sizing: content-box;
}

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: rgb(24, 24, 24);
}

body::-webkit-scrollbar-thumb {
  background-color: rgb(129, 129, 129);
  border-radius: 5px;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

p {
  color: rgb(70, 70, 70);
  font-family: "Open Sans", sans-serif;
}

h1 {
  font-family: "Roboto", sans-serif;
}

section {
  min-height: 100vh;
  padding-top: 220px;
}

.section-title h1 {
  font-size: 45px;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  padding-bottom: 50px;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.content-home {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}

#img-home-content {
  width: auto;
  height: 350px;
  border-radius: 8%;
  object-fit: cover;
}

.text-home {
  padding-top: 85px;
  align-items: center;
  text-align: center;
}

.text-home h1 {
  font-size: 65px;
  font-weight: bold;
}

#bt-curriculum {
  font-size: 17px;
  padding: 10px 20px;
  cursor: pointer;
  margin-bottom: 20px;
  margin-right: 20px;
}

.content-sobre {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 150px;
}

.text-sobre p {
  max-width: 450px;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  flex-direction: column;
  line-height: 30px;
  color: rgb(70, 70, 70);
}

.text-sobre i,
a {
  padding-right: 10px;
}

#github {
  color: black;
}

#github:hover {
  color: rgb(129, 129, 129);
  transition: all 0.2s ease-in-out;
}

#linkedin {
  color: rgb(55, 112, 197);
}

#linkedin:hover {
  color: rgb(129, 129, 129);
  transition: all 0.2s ease-in-out;
}

#mail {
  color: rgb(255, 52, 52);
}

#mail:hover {
  color: rgb(129, 129, 129);
  transition: all 0.2s ease-in-out;
}

.experience-content {
  display: flex;
  text-align: left;
  justify-content: center;
}

.experience-content h2 {
  font-size: 25px;
}

.experience-content h1 {
  text-align: center;
}

#experience-content-text {
  max-width: 600px;
}

.experience-content h3 {
  font-family: "Poppins";
  color: rgb(24, 24, 24);
  font-size: 20px;
  margin-left: 30px;
}

.experience-content h4 {
  font-family: "Poppins";
  color: rgb(24, 24, 24);
  font-size: 17px;
  margin-left: 30px;
}

.experience-content ul {
  font-family: "Poppins";
  color: rgb(70, 70, 70);
  margin-left: 50px;
  max-width: 600px;
  font-size: 14.5px;
  line-height: 1em;
}

.education {
  margin-left: 150px;
}

.experience-section {
  background-color: white;
  padding-right: 25px;
  padding-top: 20px;
  padding-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.timeline {
  position: relative;
  padding: 0;
  margin: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: black;
  border-radius: 5px;
}

.timeline-item {
  position: relative;
  margin-left: 47px;
  margin-bottom: 25px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 4px;
  width: 20px;
  height: 20px;
  background: white;
  border: 4px solid black;
  box-shadow: 0 0 0 4px #f9f9f9;
  border-radius: 50%;
}

.logo-h3 {
  height: 30px;
  margin-right: 8px;
  vertical-align: middle;
}

.carousel-inner {
  border-radius: 10px;
  object-fit: cover;
}

.carousel-inner .carousel-item img {
  height: 500px;
  width: auto;
  z-index: -1;
}

.carousel-caption {
  background-color: rgba(56, 56, 56, 0.7);
  padding: 1rem 1rem;
  border-radius: 10px;
  display: inline-block;
}

.carousel-caption h5,
.carousel-caption p {
  color: #fff;
  margin: 0;
}

#portfolio h1 {
  text-align: center;
}

#contato h1 {
  text-align: center;
}

.portfolio-footer {
  text-align: center;
  background-color: rgb(180, 180, 180);
  width: 100%;
  height: 90px;
}

.portfolio-footer p {
  padding-top: 12px;
  color: rgb(70, 70, 70);
}

@media (max-width: 1400px) {
  .experience-content {
    display: grid;
    justify-content: center;
  }

  .experience-content h1 {
    font-size: 30px;
  }

  .education {
    margin-left: 0px;
    margin-top: 20px;
  }
}

@media (max-width: 1200px) {
  .carousel-inner .carousel-item img {
    height: 400px;
  }

  .content-sobre {
    display: grid;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
}

@media (max-width: 950px) {
  .carousel-inner .carousel-item img {
    height: 300px;
  }

  .carousel-caption {
    background-color: rgba(56, 56, 56, 0.7);
    padding: 1rem 1rem;
    border-radius: 10px;
    display: inline-block;
  }

  .carousel-caption p {
    font-size: 15px;
  }

  .carousel-caption h5 {
    font-size: 18px;
  }

  .col-md-5 h3 {
    font-size: 20px;
  }
}
