:root {
    --cor-principal: #2C3639;
    --cor-secundaria: #3F4E4F;
    --cor-texto: #DCD7C9;
    --cor-link_hover: #dcc797;
    --cor-destaque: #A27B5C;
    --cor-menu: #1b2225;

    --menu_tamanho: 80px;

    --fonte: "Merriweather Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

body {
    background-color: var(--cor-principal);
    color: var(--cor-texto);
    font-family: var(--fonte);
}

.float-whatsapp{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:10px;
	text-align:center;
    font-size:30px;
    z-index:100;
    border: 2px solid var(--cor-destaque);
}

.float-linkedin{
	position:fixed;
	width:60px;
	height:60px;
	bottom:120px;
	right:40px;
	background-color: #0072b1;
	color:#FFF;
	border-radius:10px;
	text-align:center;
    font-size:30px;
    z-index:100;
    border: 2px solid var(--cor-destaque);
}

.my-float{
	margin-top:14px;
}

.barra_nav {
    overflow: hidden;
    background-color: var(--cor-menu);
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--menu_tamanho);
    border: 0;
    display: flex;
    align-items: center;     /* centraliza horizontalmente */
    z-index: 999;
    border-bottom: 2px solid var(--cor-destaque); /* opcional */
}

.barra_esq {
    width: 80%;
    top: 0;
    text-align: left;
}

.barra_esq a {
    float: left;
    display: block;
    color: var(--cor-texto);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.barra_esq a:hover {
    color: var(--cor-link_hover); /* define essa variável se quiser um efeito */
}

.barra_dir {
    width: 20%;
    top: 0;
    text-align: right;
    float: right;
    display: block;
    color: var(--cor-texto);
    padding: 14px 16px;
    text-decoration: none;
}

label {
    width:100px;
    height: 40px;
    float: right;
    text-align: right;
    align-items: center;
    background: var(--cor-texto);
    border-radius: 200px;
    box-shadow: inset 0px 4px 6px rgba(0,0,0,0.6), inset 0px -4px 6px rgba(255,255,255,0.6);
    cursor: pointer;
}

label:after{
    content: "BR";
    align-content: center;
    text-align: center;
    width: 34px;
    height: 34px;
    position: relative;
    float: left;
    top:3px;
    left:3px;
    background: linear-gradient(180deg, #065800, #747c08);
    border-radius: 180px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.2);
    transition: 0.3s;
}
#lang{
    width: 0;
    height: 0;
    visibility: hidden;
}

input:checked + label:after{
    left:97px;
    transform: translateX(-100%);
    background: linear-gradient(180deg, #0034b9, #a1343c);
    content: "US";
}

label:active:after{
    width: 60px;
}

.all_content{
    margin-top: var(--menu_tamanho);
}

.class_start {
    background-color: var(--cor-texto);
    width: 100%;
    height: 500px;
    display: flex;                  /* ativar flexbox */
    align-items: center;           /* alinha os itens verticalmente */
    justify-content: center;       /* centraliza horizontalmente */
    gap: 50px;                     /* espaço entre imagem e texto */
}

#whoami_img {
    width: 15%;
    aspect-ratio: 1 / 1;           /* mantém imagem quadrada */
    background-color: var(--cor-principal);
    border: 10px solid var(--cor-principal);
    border-radius: 1000px;
    overflow: hidden;              /* corta bordas da imagem */
    display: flex;
    align-items: center;
    justify-content: center;
}

#whoami_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;             /* imagem se ajusta sem distorcer */
}

#whoami {
    --x: 50%;
    --y: 50%;
    position: relative;
    width: 60%;
    background-color: var(--cor-principal);
    padding: 50px;
    border-radius: 20px;
    line-height: 1.8;
    text-align: justify;
    overflow: hidden;
}

.class_timeline {
  background-color: var(--cor-principal);
  padding: 60px 20px;
  position: relative;
}

.timeline-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 30px;
}

#timeline_title {
	font-size: 2rem;
}

.icon-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.sort-icon {
    color: var(--cor-texto);
    width: 50px;
    height: 50px;
    transition: color 0.3s ease;
}

.icon-button:hover .sort-icon {
  color: var(--cor-link_hover);
}

.timeline-container {
    position: relative;
    margin: 0 auto;
    padding-left: 40px;
    border-left: 3px solid var(--cor-secundaria);
    max-width: 60%;
    text-align: justify;
    line-height: 1.5;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  top: 0;
  left: -10px;
  width: 20px;
  height: 20px;
  background-color: var(--cor-principal);
  border-radius: 50%;
  border: 3px solid white;
}

.timeline-content {
  background-color: var(--cor-destaque);
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.timeline-content:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.timeline-content h3 {
  margin-top: 0;
  color: var(--cor-principal);
}

.timeline-content p {
  margin: 5px 0 0;
  line-height: 1.6;
}

.class_education{
    width: 100%;
    height: 850px;
    background-color: var(--cor-secundaria);
    padding: 100px 20px;
    position: relative;
}

.education-header {
	display: flex;
	align-items: center;
	justify-content: center;
    margin-bottom: 10px;
}

.education-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: 200px;
}

.ed_block {
    width: 40%;
    height: auto;
    border: 1px solid var(--cor-destaque);
    display: flex;
    flex-direction: column;
    text-align: justify;
    margin: 10px;
    padding: 15px;
    border-radius: 15px;
    background-color: var(--cor-principal);
}

.ed_block:hover {
    border-color: var(--cor-link_hover);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.ed_title {
	width: 100%;
	text-align: center;
	font-weight: bold;
	border-bottom: 1px solid var(--cor-link_hover);
	padding-bottom: 10px;
	margin-bottom: 10px;
	font-size: 1.1rem;
}

.ed_text {
	width: 100%;
	text-align: justify;
	font-size: 0.95rem;
	line-height: 1.7rem;
	padding: 15px;
}

.professional_container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  gap: 30px;
}

.pr_left, .pr_right {
  width: 30%;
}

.experience-block {
  background-color: var(--cor-destaque);
  padding: 15px 20px;
  margin: 10px 0;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.class_professional {
    width: 100%;
    height: 1000px;
    background-color: var(--cor-principal);
    padding: 100px 20px;
    position: relative;
}

.professional_header {
    display: flex;
	align-items: center;
	justify-content: center;
    margin-bottom: 10px;
}

.experience-block:hover {
    background-color: var(--cor-link_hover);
    color: var(--cor-principal);
}

.experience-block.selected {
    box-shadow: 0 0 10px var(--cor-destaque);
    font-weight: bold;
    background-color: var(--cor-texto);
    color: var(--cor-principal);
}

.experience-detail {
    background-color: var(--cor-texto);
    color: var(--cor-principal);
    padding: 20px;
    border-radius: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: absolute;
    width: 100%;
    line-height: 1.5rem;
    text-align: justify;
}

.experience-detail-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    min-height: 250px; /* ou o que quiser como altura base */
}

.exp-image {
    width: 100%;
    height: 100%;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    align-items: center;
    justify-content: center;
}

.experience-detail.show {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.pr_divider {
  width: 5%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vertical-line {
  width: 4px;
  background-color: var(--cor-destaque);
  height: 400px;
  border-radius: 10px;
}

.circle {
  width: 20px;
  height: 20px;
  background-color: var(--cor-destaque);
  border-radius: 50%;
  margin: 10px 0;
}

.class_projetos {
    width: 100%;
    height: 800px;
    background-color: var(--cor-texto);
    color: var(--cor-principal);
    align-items: center;
	justify-content: center;
    padding-top: 60px;
    z-index: 0;
}
.project_header {
    display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 30px;
}

.left_project {
    align-items: center;
    justify-content: left;
    height: 250px;
    width: 80%;
    padding: 30px;
    margin: 30px;
    margin-left: 10%;
    display: flex;
}

.right_project {
    align-items: center;
    justify-content: right;
    height: 250px;
    width: 80%;
    padding: 30px;
    margin-left: 30px;
    display: flex;
}

.round_photo {
    height: 250px;
    width: 250px;
    border-radius: 360px;
    background-color: var(--cor-principal);
    float: left;
    position: relative;
    overflow: hidden;
    border: 5px solid var(--cor-destaque);
    z-index: 100;
}

.round_photo:hover {
    border: 5px solid var(--cor-menu);
}

.square_pj {
    height: 270px;
    width: 700px;
    background-color: var(--cor-principal);
    border: 5px solid var(--cor-destaque);
    float: left;
    position: relative;
    justify-content: right;
    margin-left: -125px;
    z-index: 99;
}

.tit_pj {
    width: 575px;
    height: 10%;
    color: var(--cor-texto);
    padding: 15px;
    text-align: justify;
    float: right;
}

.txt_pj {
    width: 575px;
    height: 90%;
    color: var(--cor-texto);
    padding: 15px;
    text-align: justify;
    float: right;
}

.footer {
    background-color: var(--cor-menu);
    color: var(--cor-texto);
    padding: 30px 20px;
    text-align: center;
    font-size: 14px;
    margin-top: 100px;
    border-top: 2px solid var(--cor-destaque);
}

.footer a {
    color: var(--cor-texto);
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--cor-link_hover);
}

.bottom-nav {
  display: none; /* default: escondido */
  z-index: 9999;
}


.round_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* mantém a imagem proporcional e preenche a div */
  display: block;
}

@media (max-width: 768px) {

    .all_content{
        margin-top: 0;
    }

  .class_start {
    flex-direction: column;
    height: auto;
    padding: 5px;
    gap: 5px;
  }

  #whoami {
      width: 100%;
      padding: 20px;
      font-size: 0.95rem;
      border-radius: 0;
  }

  #whoami_img {
      margin-top: 20px;
      margin-bottom: 20px;
      width: 60%;
  }

  .class_timeline {
      margin-top: 30px;
      padding: 0px;
  }

  .timeline-dot {
      display: none;
  }

  .vertical-line {
      display: none;
  }

  .timeline-container {
      max-width: 96%;
      border: 0;
      padding: 0;
      margin: 2%;
      border-radius: 0;
  }

  .timeline-text {
      display: none;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .timeline-text.show {
      display: block;
      opacity: 1;
    }

    .timeline-content {
        border-radius: 0;
    }

    .class_education {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 20px 0 0 0;
        border-radius: 0;
    }

  .education-content {
    flex-direction: row;
    align-items: center;
      width: 100%;
      height: 100%;
      margin: 0;
      padding: 0;
  }

  .ed_block {
    width: 100%;
      height: auto;
      margin: 10px 0 10px 0;
      border-radius: 0;
  }

  .class_professional{
      margin: 0;
      padding: 20px 0 0 0;
      height: auto;
  }

  .professional_container {
    flex-direction: column;
    align-items: center;
      margin: 0;
      padding: 0;
      height: auto;
  }

  .pr_left, .pr_right {
    width: 90%;
  }

  .pr_divider {
    display: none;
  }

  .experience-detail {
    position: fixed;
    display: none;
      height: auto;
  }

  .experience-detail-container {
      display: none;
  }

  .footer {
      margin: 0 0 20px 0;
      padding: 20px;
      height: 150px;
  }

  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--cor-menu);
    border-top: 2px solid var(--cor-destaque);
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    z-index: 9999;
  }

  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--cor-texto);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
  }

  .bottom-nav a:hover {
    color: var(--cor-link_hover);
  }

  .bottom-nav i {
    font-size: 20px;
    margin-bottom: 5px;
  }

  /* Esconde o menu superior no mobile */
  .barra_nav {
    display: none;
  }


  #lang2{
    width: 0;
    height: 0;
    visibility: hidden;
}

  .barra_dir {
    width: auto;
    top: 0;
    text-align: right;
    float: right;
    display: block;
    color: var(--cor-texto);
    padding: 0;
    text-decoration: none;
}

label {
    width:70px;
    height: 36px;
    float: right;
    background: var(--cor-texto);
    border-radius: 200px;
    box-shadow: inset 0px 4px 6px rgba(0,0,0,0.6), inset 0px -4px 6px rgba(255,255,255,0.6);
    cursor: pointer;
}

label:after{
    content: "BR";
    align-content: center;
    text-align: center;
    width: 30px;
    height: 30px;
    position: relative;
    float: left;
    top:3px;
    left:3px;
    background: linear-gradient(180deg, #065800, #747c08);
    border-radius: 180px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.2);
    transition: 0.3s;
}

input:checked + label:after{
    left:67px;
    transform: translateX(-100%);
    background: linear-gradient(180deg, #0034b9, #a1343c);
    content: "US";
}

label:active:after{
    width: 30px;
}

.float-whatsapp{
	position:fixed;
	width:40px;
	height:40px;
	top:10px;
	right:60px;
	background-color:#25d366;
	color:#FFF;
	border-radius:10px;
	text-align:center;
    font-size:25px;
    z-index:100;
    border: 2px solid var(--cor-destaque);
}

.float-linkedin{
	position:fixed;
	width:40px;
	height:40px;
	top:10px;
	right:10px;
	background-color: #0072b1;
	color:#FFF;
	border-radius:10px;
	text-align:center;
    font-size:25px;
    z-index:100;
    border: 2px solid var(--cor-destaque);
}

.my-float{
	margin-top:7px;
}

}