@font-face {
  font-family: Product-Sans;
  src: url('Fontes/Product-sans.ttf');
}

@font-face {
  font-family: Material Simbolo;
  src: url(Fontes/Material_Simbolo_Rounded.woff2);
}


  :root
  {
      --primario: #0785FF;
      --fundo: #e7e8ee;
      --fundo-menu: #e7e8ee95;
      --sombra: #0785FF55;
      --bolha: #fff;
      --tema: #fff;
      --texto: #555;
      --texto-2: #222;
      --info-titulo: #FF5C5C;
      --info-texto: #BA3C3C;
      --tema-atual: 'light_mode'
  }

  :root.dark-mode
  {
      --primario: #065AB9;
      --fundo: #151515;
      --fundo-menu: #00000095;
      --sombra: #00000045;
      --tema: #222;
      --texto-2: #aaa;
      --texto: #eee;
      --info-titulo: #FF9C9C;
      --info-texto: #C86060;
      --tema-atual: 'dark_mode'
  }
  
@media(prefers-color-scheme: dark)
{
   :root
   {
      --primario: #065AB9;
      --fundo: #151515;
      --fundo-menu: #00000095;
      --sombra: #00000045;
      --tema: #222;
      --texto-2: #aaa;
      --texto: #eee;
      --info-titulo: #FF9C9C;
      --info-texto: #C86060;
      --tema-atual: 'dark_mode'!important
   }
}

*
{
  transition: background 150ms linear
}

html
{
  scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 20px;
    padding-bottom: 0;
    background: var(--fundo);
    font-family: Product-Sans, sans-serif;
}
::selection
{
  background: var(--primario);
  color: var(--tema);
}

[data-scroll]
{
  transition: 300ms linear!important;
  opacity: 0!important;
}

[data-scroll].scroll
{
  opacity: 1!important;
}

header
{
  box-sizing: border-box;
  margin-top: -20px;
  margin-left: -20px;
  width: 100vw;
  height: 50px;
  position: sticky;
  color: #eee;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  top: 0;
  left: 0; 
  background: var(--primario);
  padding: 10px;
  box-shadow: 0 5px 10px var(--sombra);
  z-index: 2;
}

header .hamb
{
  width: 20px;
  height: 2px;
  border-radius: 5px;
  margin-right: 10px;
  background: #eee;
  position: relative;
  display: inline-block;
  transition: 150ms linear;
  z-index: 10;
}

header .hamb:after
{
  content: '';
  position: absolute;
  display: inline-block;
  background: #eee;
  inset:0;
  height: 100%;
  top: 6px;
  border-radius: inherit;
  transition: 150ms linear;
  z-index: 10;
}

header .hamb:before
{
  content: '';
  position: absolute;
  display: inline-block;
  background: #eee;
  inset:0;
  height: 100%;
  top: -6px;
  border-radius: inherit;
  transition: 150ms linear;
  z-index: 10;
}

header .hamb.close
{
  background: transparent;
}

header .hamb.close:before
{
  top: 0;
  transform: rotate(45deg);
}

header .hamb.close:after
{
  top: 0;
  transform: rotate(-45deg)
}

header h3
{
  font-weight: normal;
  font-size: 18px;
}

header .ative-dark
{
  position: absolute;
  right: 30px;
  font-size: 22px;
  height: 30px;
  width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

header .ative-dark:after
{
  content: var(--tema-atual);
}


.menu h1
{
  transform: translateY(-100px);
  color: var(--texto-2);
  margin-bottom: 40px;
  opacity: 0;
  transition: 600ms linear
}

.menu.extendido h1
{
    transform: translateY(0px);
    opacity: 1;
}

.menu
{
  position: fixed;
  left: 0;
  top: 50px;
  width: 100%;
  height: 0;
  background: var(--fundo-menu);
  backdrop-filter: blur(30px);
  z-index: 2;
  transition: 200ms linear;
  overflow: hidden;
}

.menu.extendido
{
  height: 100%;
}

.menu ul
{
  all: unset;
  padding: 20px;
  display: block;
}

.menu ul li
{
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(50px);
  border-bottom: 1px var(--texto) solid;
  color: var(--texto-2);
  font-weight: bold;
  font-size: 18px;
  transition: 300ms linear;
}

.menu.extendido ul li
{
  opacity: 1;
  transform: translateY(0);
}

.menu ul li a:active
{
  filter: brightness(200%);
}

.menu ul li:nth-child(2)
{
  border-top: 1px var(--texto) solid;
  transition-delay: 200ms;
}

.menu ul li:nth-child(3)
{
  transition-delay: 500ms;
}
.menu ul li:nth-child(4)
{
  transition-delay: 700ms;
}
.menu ul li:nth-child(5)
{
  transition-delay: 950ms;
}
  
.menu ul li a
{
  all: unset;
  display: block;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
}

.inicio
{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 40px;
}

.inicio h1
{
  color: var(--texto-2);
  font-size: 27px;
  line-height: 40px;
  width: 100%;
  animation: titulo 500ms linear;
}

@keyframes titulo
{
  0%
  {
    opacity: 0;
    transform: translateY(50px)
  }
}

.inicio h1 b
{
  color: var(--primario);
}

.inicio .blob
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  height: 250px;
  width: 250px;
  overflow: hidden;
  background: var(--primario);
  border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
  box-shadow: 0 0 10px var(--sombra);
}

.inicio .blob img
{
  object-fit: cover;
  height: 250px;
  width: 250px;
  filter: drop-shadow(0 0 10px #00000045);
}


.inicio .acao
{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-top: 20px;
}


.inicio .acao button
{
  all: unset;
  width: 120px;
  height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  border-radius: 50px;
  box-shadow: 0 5px 15px var(--sombra);
  background: var(--primario);
  color: #fff;
}

.inicio .acao button span
{
  margin-left: 5px;
}

.inicio .acao button:active
{
  box-shadow: 0 5px 15px transparent;
}

.efeito-bolha
{
  position: relative!important;
  overflow: hidden!important;
}

.efeito-bolha .bolha
{
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  position: absolute;
  background: var(--bolha);
  display: block;
  animation: bolha 300ms linear;
  border-radius: var(--medida);
}

@keyframes bolha
{
  from
  {
     opacity: 0.7;
     height: 0;
     width: 0;
  }
  to
  {
    opacity: 0;
    width: var(--medida);
    height: var(--medida);
  }
}

.sobre
{
  margin-top: 150px;
  background: url(Imagens/Andjeckson-preto-e-branco.png) #000;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: -20px 0;
  color: #fff;
  padding: 20px;
  margin-left: -20px;
  width: 100%;
  border-radius: 20px;
}

.sobre h1
{
  color: #fff!important;
}


.sobre h1,
.habilidades h1,
.projetos h1
{
  font-size: 30px;
  text-align: center;
  color: var(--texto);
}

.sobre p
{
  all: unset;
  display: block;
  text-indent: 15px;
  line-height: 25px;
  font-size: 17px;
}

.habilidades
{
  margin-top: 100px;
}

.habilidades .grid
{
  width: 100%;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
  gap: 20px;
  place-items: center;
}

.habilidades .item
{
  display: flex;
  width: calc(100% - 30px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--tema);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px var(--sombra);
  position: relative;
  overflow: hidden;
}

.habilidades .item:after
{
  content: '';
  position: absolute;
  width: 4px;
  height: 100%;
  background: var(--borda);
  left: 0;
  bottom: 0;
  border-radius: 20px;
}

.habilidades #html
{
  --borda: #F16E04;
}
.habilidades #css
{
  --borda: #3192FF;
}
.habilidades #js
{
  --borda: #E5CF1D;
}
.habilidades #json
{
  --borda: var(--texto);
}

.habilidades .item h3
{
  margin: 10px 0;
  color: var(--borda);
}

.habilidades .item img
{
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
  object-fit: cover
}

.habilidades .valor
{
  font-size: 20px;
  color: var(--texto);
}


.projetos,
.projetos h1
{
  margin-top: 100px;
  margin-bottom: 100px;
}

.projetos .info
{
  background: var(--tema);
  margin-bottom: 100px;
  padding: 20px;
  border-radius: 15px;
}

.projetos .info h3
{
  margin: 0;
  color: var(--info-titulo);
}

.projetos .info p
{
  color: var(--info-texto);
}
.projetos .grid
{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.projetos .grid .card
{
  width: 100%;
  background: var(--tema);
  color: var(--texto);
  display: flex;
  align-items: center;
  flex-direction: column;
  border-radius: 10px;
  padding: 15px 10px;
  box-sizing: border-box
  
}


.projetos .grid .card h3
{
  width: 100%;
  height: 30px;
  margin: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.projetos .grid .card .logo
{
  all: unset;
  font-size: 50px;
  font-weight: 100;
  font-family: Material Simbolo;
  margin: 20px 0;
}

.projetos .grid .card a.btn
{
  all: unset;
  --bolha: var(--primario)!important;
  width: calc(100% - 30px);
  height: 25px;
  padding: 5px;
  border-radius: 5px;
  border: 1px #aaa solid;
  background: inherit;
  color: var(--texto);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 50ms linear
}

.projetos .grid .card a.btn.ativo
{
  border-color: var(--primario);
  color: var(--primario);
}

.projetos .grid .card a.btn .icone
{
  margin-right: 5px;
}

.icone
{
  all: unset;
  font-family: Material Simbolo;
}


footer
{
  all: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  width: 100%;
  height: 350px;
  padding: 10px 20px;
  padding-bottom: 50px;
  margin-top: 100px;
  margin-left: -20px;
  background: var(--primario);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  color: #fff;
}

.footer h1
{
  margin-bottom: 30px;
}

footer .telefone,
footer .e-mail
{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 18px;
}

footer .telefone .icone,
footer .e-mail .icone
{
  margin-right: 10px;
}

footer .redes-sociais
{
  width: 100%;
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

footer .redes-sociais a
{
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px #fff solid;
  background: var(--tema);
  border-radius: 100%;
  transition: all 100ms linear;
}

footer .redes-sociais a:active
{
  transform: scale(0.8)
}

footer .redes-sociais img
{
  width: 45px;
}
