@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 13px;
  border-radius:50%;
}

::-webkit-scrollbar-track-piece {
  background: var(--first-color);
}

::-webkit-scrollbar-thumb{
  border-radius: 10px;
  background: var(--text-color);
}

::-webkit-scrollbar-thumb:vertical:hover,
::-webkit-scrollbar-thumb:horizontal:hover {
  background: var(--title-color);
}

:root {
  /*========== Colors ==========*/
  --hue-color: 350;
  --first-color: hsl(var(--hue-color), 53%, 49%);
  --title-color: hsl(var(--hue-color), 53%, 15%);
  --text-color: hsl(var(--hue-color), 53%, 85%);
  --body-color-light: hsl(var(--hue-color), 24%, 94%);
  --body-color: hsl(var(--hue-color), 5%, 50%);
}

body.dark-theme {
  --title-color: hsl(var(--hue-color), 12%, 95%);
  --text-color: hsl(var(--hue-color), 53%, 15%);
  --body-color: hsl(var(--hue-color), 10%, 55%);
  --body-color-light: hsl(var(--hue-color), 10%, 100%);
}

/*========== Button Dark/Light ==========*/
.clock__theme {
  position: absolute;
  display: flex;
  margin-left: 22%;
  margin-top: 9px;
  padding: 0.25rem;
  border-radius: 50%;
  box-shadow: inset -1px -1px 1px hsla(var(--hue-color), 0%, 100%, 1),
    inset 1px 1px 1px hsla(var(--hue-color), 30%, 86%, 1);
  color: var(--first-color);
  cursor: pointer;
  transition: 0.4s;
  /* For dark mode animation*/
}

/*========== Box shadow Dark theme ==========*/
.dark-theme .clock__circle {
  box-shadow: 6px 6px 16px hsla(var(--hue-color), 8%, 12%, 1),
    -6px -6px 16px hsla(var(--hue-color), 8%, 20%, 1),
    inset -6px -6px 16px hsla(var(--hue-color), 8%, 20%, 1),
    inset 6px 6px 12px hsla(var(--hue-color), 8%, 12%, 1);
}

.dark-theme .clock__theme {
  box-shadow: inset -1px -1px 1px hsla(var(--hue-color), 8%, 20%, 1),
    inset 1px 1px 1px hsla(var(--hue-color), 8%, 12%, 1);
}

body {
  scroll-behavior: smooth;
}

.max-width {
  max-width: 1300px;
  padding: 0 80px;
  margin: auto;
}

.navbar {
  position: fixed;
  width: 100%;
  padding: 30px 0;
  z-index: 999;
  font-family: "Ubuntu", sans-serif;
  transition: all 0.3s ease;
}

.navbar.sticky {
  padding: 15px 0;
  background: #fff;
}

.navbar .max-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo a {
  color: var(--title-color);
  font-size: 35px;
  font-weight: 600;
}

.navbar.sticky .logo a span {
  color: var(--title-color);
}

.navbar .logo a span {
  color: var(--first-color);
  transition: all 0.3 ease;
}

.navbar .menu li {
  list-style: none;
  display: inline-block;
}

.navbar .menu li a {
  display: block;
  color: var(--text-color);
  font-size: 18px;
  font-weight: 500;
  margin-left: 25px;
  transition: color 0.3s ease;
}

.navbar .menu li a:hover {
  color: var(--title-color);
}

.navbar.sticky .menu li a:hover {
  color: var(--text-color);
}

.menu-btn {
  color: var(--text-color);
  font-size: 27px;
  cursor: pointer;
  display: none;
}

.menu-btn:hover {
  color: var(--title-color);
}

.scroll-up-btn {
  position: fixed;
  height: 45px;
  width: 42px;
  background: var(--first-color);
  right: 30px;
  bottom: 10px;
  text-align: center;
  line-height: 45px;
  color: var(--text-color);
  z-index: 9999;
  font-size: 30px;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.scroll-up-btn.show {
  bottom: 30px;
  opacity: 1;
  pointer-events: auto;
}

.home {
  display: flex;
  height: 100vh;
  color: var(--text-color);
  min-height: 500px;
  font-family: "Ubuntu", sans-serif;
  background: #000;
}

.home .max-width {
  margin: auto 0 auto 40px;
}

.home .home-content .text-1 {
  font-size: 27px;
  color: var(--text-color);
}

.home .home-content .text-2 {
  font-size: 75px;
  font-weight: 600;
  margin-left: -3px;
  color: var(--text-color);
}

.home .home-content .text-3 {
  font-size: 40px;
  margin: 5px 0;
  color: var(--text-color);
}

.home .home-content .text-3 span {
  color: var(--first-color);
  font-weight: 500;
}

.home .home-content a {
  display: inline-block;
  background: var(--first-color);
  color: var(--text-color);
  font-size: 25px;
  padding: 12px 36px;
  margin-top: 20px;
  border-radius: 6px;
  border: 2px solid var(--first-color);
  transition: all 0.3s ease;
}

.home .home-content a:hover {
  color: var(--first-color);
  background: none;
}

section {
  padding: 100px 0;
}

.About,
.Education,
.projetos,
.contact,
footer {
  font-family: "Poppins", sans-serif;
}
.About {
  background: var(--body-color);
}
section .title {
  position: relative;
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 60px;
  padding-bottom: 20px;
  font-family: "Ubuntu", sans-serif;
}

section .title::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 180px;
  height: 3px;
  background: var(--body-color);
  transform: translateX(-50%);
}

section .title::after {
  position: absolute;
  bottom: -12px;
  left: 50%;
  font-size: 20px;
  color: var(--text-color);
  padding: 5px;
  background: var(--body-color);
  transform: translateX(-50%);
}

.About .title::after {
  content: "Quem eu sou?";
}

.About .About-content,
.Education .serv-content,
.contact .contact-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.About .About-content .left {
  width: 45%;
}

.About .About-content .left img {
  height: 400px;
  width: 400px;
  object-fit: cover;
  border-radius: 6px;
}

.About .About-content .right {
  width: 55%;
}

.About .About-content .right .text {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
}

.About .About-content .right .text span {
  color: var(--first-color);
}

.About .About-content .right p {
  text-align: justify;
  color: var(--text-color);
}

.About .About-content .right a {
  display: inline-block;
  background: var(--body-color-light);
  color: var(--text-color);
  font-size: 20px;
  font-weight: 500;
  padding: 10px 30px;
  margin-top: 20px;
  border-radius: 6px;
  border: 2px solid var(--first-color);
  transition: all 0.3s ease;
}

.About .About-content .right a:hover {
  color: var(--first-color);
  background: none;
}

.Education {
  color: var(--text-color);
  background: var(--body-color-light);
}

.About .title::before,
.Education .title::before {
  background: var(--text-color);
}

.Education .title::after {
  content: "Cursos";
  background: var(--body-color-light);
}

.Education .serv-content .card {
  width: calc(33% - 20px);
  background: var(--body-color);
  text-align: center;
  border-radius: 6px;
  margin-top: 10px;
  padding: 20px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 310px;
}

.Education .serv-content .card .box {
  transition: all 0.3s ease;
}

.Education .serv-content .card:hover {
  background: #aaa;
}

.Education .serv-content .card:hover .box {
  transform: scale(1.05);
}

.Education .serv-content .card i {
  font-size: 60px;
  color: var(--first-color);
  transition: color 0.3s ease;
}

.Education .serv-content .card:hover i img {
  filter: invert(1);
}

.Education .serv-content .card .text {
  font-size: 25px;
  font-weight: 500;
  margin: 10px 0 7px 0;
  color: var(--text-color);
}

.Education .serv-content .card:hover i {
  color: var(--text-color);
}

.projetos {
  background: var(--body-color);
}

.projetos .title::before{
  background: var(--body-color-light);
}

.projetos .title::after {
  content: "Meus Projetos";
}

.projetos .carousel .card {
  background: var(--body-color-light);
  border-radius: 6px;
  padding: 25px 35px;
  text-align: center;
  transition: all 0.3s ease;
}

.projetos .carousel .card:hover {
  background: #000;
}

.projetos .carousel .card .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 300px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.projetos .carousel .card .text {
  font-size: 25px;
  font-weight: 500;
  margin: 10px 0 7px 0;
  color: var(--text-color);
}

.projetos .carousel .card:hover .text {
  color: var(--first-color);
}

.projetos .carousel .card a img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--first-color);
  transition: all 0.3s ease;
}

.projetos .carousel .card:hover a .box {
  transform: scale(1.05);
}

.projetos .carousel .card a .box p {
  color: var(--first-color);
}

.projetos .carousel .card:hover a .box p {
  color: var(--text-color);
}

.projetos .carousel .card:hover img {
  border-color: var(--text-color);
}

.owl-dots {
  text-align: center;
  margin-top: 20px;
}

.owl-dot {
  height: 13px;
  width: 13px;
  margin: 0 5px; /*Para formar o simbolo do infinito, retire esta margin*/
  outline: none !important;
  border-radius: 50%;
  border: 1px solid var(--first-color) !important;
  transition: all 0.3s ease;
}

.owl-dot.active {
  width: 35px;
  border-radius: 14px;
}

.owl-dot.active,
.owl-dot:hover {
  background: var(--first-color) !important;
}

.contact {
  background: var(--body-color-light);
}

.contact .title::after {
  content: "Contate-me";
  background: var(--body-color-light);
}

.contact .contact-content .column {
  width: calc(50% - 30px);
}

.contact .contact-content .text {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact .contact-content p {
  text-align: justify;
  margin-top: 20px;
  color: var(--text-color);
}

.contact .contact-content .left .icons {
  margin: 10px 0;
  color: var(--body-color);
}

.contact .contact-content .row {
  display: flex;
  height: 65px;
  align-items: center;
}

.contact .contact-content .row i {
  font-weight: 700;
  font-size: 25px;
  color: var(--first-color);
}

.contact .contact-content .row .info {
  margin-left: 25px;
}

.contact .contact-content .info .head {
  font-weight: 500;
}

.contact .contact-content .info .sub-title {
  color: #333;
}

.contact .right {
  display: flex;
  margin-top: 10px;
}

.contact .right .social-networks {
  font-size: 17px;
  margin: auto;
  color: var(--text-color);
}

.contact .contact-content .right .social-networks .social-medias p a {
  color: var(--body-color);
}

.contact .right .social-networks .social-medias p a:hover {
  color: var(--first-color);
}

.anim {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--body-color);
}

/*
 Animations
*/

.a1 {
  position: relative;
  padding: 20px 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: var(--body-color-light);
  margin: 40px;
  text-decoration: none;
  transition: 1s;
  overflow: hidden;
  -webkit-box-reflect: below 1px linear-gradient(transparent, #0004);
}

.a1:hover {
  background: var(--clr);
  box-shadow: 0 0 10px var(--clr), 0 0 30px var(--clr), 0 0 60px var(--clr),
    0 0 100px var(--clr);
}

.a1::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 400px;
  background: var(--clr);
  transition: 1s;
  animation: animate 2s linear infinite;
  animation-delay: calc(0.33s * var(--i));
}

.a1:hover::before {
  width: 120%;
}

@keyframes animate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.a1::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--body-color);
  transition: 0.5s;
}

.a1:hover::after {
  background: var(--clr);
}

.a1 .spa {
  position: relative;
  z-index: 1;
  font: 2em;
  color: #fff;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 4px;
  transition: 0.5s;
}

.a1:hover .spa {
  opacity: 1;
}

footer {
  background: var(--body-color-light);
  padding: 20px 23px;
  color: var(--text-color);
}

footer span a {
  color: var(--first-color);
  text-decoration: none;
}

footer span a:hover {
  text-decoration: underline;
}

@media (max-width: 1300px) {
  .home .max-width {
    margin-left: 0px;
  }

  .clock__theme {
    margin-left: 33%;
  }
}

@media (max-width: 1104px) {
  .About .About-content .left img {
    width: 350px;
    height: 350px;
  }

  .clock__theme {
    margin-left: 33%;
  }
}

@media (max-width: 991px) {
  .max-width {
    padding: 0 50px;
  }

  .anim {
    display: grid;
  }

  .clock__theme {
    margin-left: 33%;
  }
}

@media (max-width: 947px) {
  .menu-btn {
    display: block;
    z-index: 999;
  }

  .navbar .menu {
    position: fixed;
    height: 100vh;
    width: 100%;
    left: -100%;
    top: 0;
    background: #000;
    text-align: center;
    padding-top: 80px;
    transition: all 0.3s ease;
  }

  .navbar .menu.active {
    left: 0;
  }

  .navbar .menu li {
    display: block;
  }

  .navbar .menu li a {
    display: inline-block;
    margin: 20px 0;
    font-size: 25px;
  }

  .home .home-content .text-2 {
    font-size: 70px;
  }

  .home .home-content .text-3 {
    font-size: 35px;
  }

  .home .home-content a {
    font-size: 23px;
    padding: 10px 30px;
  }

  .max-width {
    max-width: 800px;
  }

  .About .About-content .column {
    width: 100%;
  }

  .About .About-content .left {
    display: flex;
    justify-content: center;
    margin: 0 auto 60px;
  }

  .About .About-content .right {
    flex: 100%;
  }

  .Education .serv-content .card {
    height: 330px;
  }

  .contact .contact-content .column {
    width: 100%;
    margin-bottom: 35px;
  }

  .clock__theme {
    opacity: 0;
  }
}

@media (max-width: 690px) {
  .max-width {
    padding: 0 23px;
  }

  .home .home-content .text-2 {
    font-size: 60px;
  }

  .home .home-content .text-3 {
    font-size: 32px;
  }

  .home .home-content a {
    font-size: 20px;
  }

  .Education .serv-content .card {
    width: 100%;
  }

  .a1 {
    margin-top: 40px;
  }

  .projetos .title::after {
    margin-top: 10px;
  }

  .Education .serv-content .card .box {
    transition: all 0.3s ease;
  }
}

@media (max-width: 500px) {
  .home .home-content .text-2 {
    font-size: 50px;
  }

  .home .home-content .text-3 {
    font-size: 27px;
  }
}
