@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap');

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

::-webkit-scrollbar {
    width: 4px;
    background-color: rgb(31, 31, 31);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb {
    background-color: rgb(59, 39, 98);
    border-radius: 10px;
}

h1, h2, h3, p {
    cursor: default;
}

li {
    list-style: none;
}

body {
    font-family: "Sora", sans-serif;
    background-color: #0f0f0f;
}

:root {
    --color-0: #fff;
    --color-1: #8c52ff;
    --color-3: #1F1F1F;
}

ion-icon {
    margin: 0 5px;
}

   /* HEADER */
nav {
    width: 100%;
    height: 60px;
    top: 0;
    padding: 10px 30px;
    box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.281);
    position: fixed;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.661);
    backdrop-filter: blur(15px);
}

nav div { 
    max-width: 1280px;
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    /* ITENS NAVBAR */
.logo {
    position: relative;
}
.logo img {
    max-height: 50px;
}

nav div ul {
    list-style: none;
    display: flex;
    gap: 35px;
} 

nav div ul li {
    display: inline-block;
}

nav div ul li a {
    text-decoration: none;
    color: var(--color-0);
    transition: color 0.3s;
    font-weight: bolder;
    font-size: 1em;
}

nav div ul li a:hover {
    color: var(--color-1);
    text-decoration: underline;
}

.toggle_btn {
    font-size: 1.3em;
    cursor: pointer;
    display: none;
    color: var(--color-0);
}

.dropdown_menu {
    display: none;
    position: absolute;
    right: 2em;
    top: 60px;
    width: 300px;
    height: 0;
    background-color: rgba(3, 3, 3, 0.961);
    border-radius: 10px;
    overflow: hidden;
    transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open {
    height: auto;
}

.dropdown_menu ul {
    flex-direction: column;
    align-items: center;
}

.dropdown_menu li {
    list-style: none;
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px;
}

.dropdown_menu li a {
    text-decoration: none;
    color: var(--color-0);
}

.perfil{
    height: 100vh;
    background-image: url(../assets/images/header/bg-header.jpg);
    background-size: cover;
    align-items: center;
    box-shadow: 0px 10px 10px rgba(134, 1, 134, 0.371);
    border-radius: 0px 0px 40px 40px;
    padding-top: 80px;
}

.perfil .div {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    gap: 15px;
    padding: 10px 30px;
    align-items: center;
    max-width: 1280px;
    margin: auto;
    height: 100%;
}

div .sobre {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 600px;
    height: 400px;
}

.sobre .informacoes {
    width: 420px;
    text-align: left;
}

article.informacoes h1 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
}

article.informacoes p .txt--front-end {
    color: var(--color-1);
}

article.informacoes p {
    color: var(--color-0);
    font-size: 1.7rem;
    font-weight: 700;
}

.fotoDePerfil .profile-picture {
    box-shadow: 0px 0px 20px var(--color-1);
    max-height: 270px;
    border-radius: 20% 0 20% 0;
}

.sobre-mim{
    background-color: rgba(29, 16, 29, 0.409);
    border-radius: 10px;
    max-width: 500px;
    padding: 20px;
    margin-top: 40px;
}

.sobre-mim p {
    font-family: "Fira Code", monospace;
    color: #c38fe9;
    font-size: 0.9rem;
    text-indent: 20px;
}

/* SOBRE */
#sobre {
    width: 100%;
    background-color: rgba(125, 4, 125, 0.056);
    padding: 30px 0px;
}

#sobre > div {
    max-width: 80rem;
    display: flex;
    align-items: center;
    margin: auto;
}

.imagem_sobre {
    height: 100%;
    width: 50%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: end;
}

.imagem_sobre > img {
    max-height: 350px;
}

.texto_sobre {
    width: 50%;
    height: 100%;
    padding: 20px;
    text-align: center;
}

.texto_sobre h2 {
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 10px;
}

.texto_sobre p {
    color: #fff;
    margin-top: 20px;
    font-size: 1rem;
}

/* projetos */

.titulo-dos-projetos {
    color: var(--color-0);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-top: 200px;
    padding: 20px;
}

.butao-veja-mais {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.vejaMais {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: black;
    background-color: #fff;
    border-radius: 15px;
    padding: 15px;
    font-weight: 700;
    transition: all .3s;
}

.vejaMais:hover {
    box-shadow: 0px 0px 15px #fff;
}

.github-icon {
    font-size: 1.3rem;
}

/* Mostra só os dois primeiros cards, o terceiro fica parcialmente visível */
.cards-container {
  width: 100%;
  max-height: 760px; 
  padding: 0 20px;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.5s;
}

.cards-container.expandido {
  max-height: 50000px; /* valor grande para mostrar todos */
}

.cards-container::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px; /* altura do fade */
  background: linear-gradient(to bottom, transparent, #1f1f1f 90%);
  pointer-events: none;
  transition: opacity 0.3s;
}

.cards-container.expandido::after {
  opacity: 0;
}

/* Centralizar o botão */
.ver-mais-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px auto 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: q0px;
  background: #fff;
  color: #000000;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px #0002;
  transition: background 0.6s, transform 0.2s;
}

.ver-mais-btn:hover {
  background: #ffffff00;
  color: #fff;
  transform: scale(1.10);
}

.ver-mais-btn .seta {
  font-size: 1rem;
  pointer-events: none;
}
