@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Montserrat:wght@400;600&display=swap');

:root {
    --cor-primaria: #3b3b3b;
    --cor-secundaria: #F6F6F6;
    --cor-terciaria: #5e5e5e;
    --cor-quaternaria: #70659d;
    --cor-quintenaria: #000000;
    --cor-menu_link: #ffffff;
    --cor-link_links: #333442;

    --font-primaria: 'Krona One', sans-serif;
    --font-secundaria: 'Montserrat', sans-serif;
}

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

html,
body {
    background-color: var(--cor-primaria);
    color: var(--cor-secundaria);
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
}

.cabecalho {
    display: flex;
    align-items: center;
    background-color: #333;
    justify-content: space-between;
    padding: 10px 15%;
    
}

.cabecalho__menu {
    display: flex;
    justify-content: space-between;
    justify-content: center;
    gap: 10px;
    width: 100%;
    transform: translate(0%, 0%);
    margin-left: -30%;
}

.logo {
        margin-left: 5%;
    }

.cabecalho__menu__link,
.cabecalho__menu__link1 {
    font-family: var(--font-primaria);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 12px;
    border: none;
    border-radius: 8px;
    background-color: var(--cor-quaternaria);
    color: #fff;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.cabecalho__menu__link::before,
.cabecalho__menu__link1::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: linear-gradient(45deg, #333442, #c300ff, #70659d, #ff0055);
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    animation: neonGlow 6s linear infinite;
    border-radius: 10px;
    opacity: 0.8;
}

@keyframes neonGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cabecalho__menu__link1 {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid var(--cor-quaternaria);
}

.cabecalho__menu__link:hover,
.cabecalho__menu__link1:hover {
    background-color: #ffffff;
    color: var(--cor-quaternaria);
    transform: scale(1.05);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.apresentacao {
    padding: 4% 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 82px;
}

.apresentacao__conteudo {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.apresentacao_conteudo_titulo {
    font-size: 2.2rem;
    font-family: var(--font-primaria);
}

.titulo-destaque {
    color: var(--cor-quaternaria);
}

.apresentacao_conteudo_texto {
    font-size: 1.5rem;
    font-family: var(--font-secundaria);
}

.apresentacao__links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.apresentacao__links__subtitulo {
    font-family: var(--font-primaria);
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 50px;
}

.apresentacao_links_link {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 25px;
    width: 50%;
    text-align: center;
    border: 2px inset var(--cor-link_links);
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 21.5px;
    color: var(--cor-secundaria);
    font-family: var(--font-secundaria);
}

.apresentacao_links_link:hover {
    background-color: var(--cor-terciaria);
}

.imagem__principal {
    width: 40%;
}

.rodape {
    text-align: center;
    font-family: var(--font-secundaria);
    font-size: 1rem;
    font-weight: 400;
    bottom: 0;
    width: 100%;
    padding: 1px;
    color: var(--cor-quintenaria);
    background-color: var(--cor-quaternaria);
}

.link-whatsapp {
    height: 70px;
    position: fixed;
    right: 20px;
    bottom: 20px;
}

main {
    flex: 1;
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    left: -19%;
}

.logo .highlight {
    color: var(--cor-quaternaria);
}

/* ---------- CERTIFICADOS ---------- */


.certificado {
    display: none;
    text-align: center;
    transition: all 0.5s ease;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

/* ---------- CARDS LINGUAGENS ---------- */


.card {
    background-color: var(--cor-secundaria);
    border-radius: 10px;
    width: 150px;
    height: 180px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card:hover {
    transform: scale(1.05);
}

.letra {
    font-size: 60px;
    font-weight: bold;
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.python.letra { background-color: #3776AB; }
.html.letra   { background-color: #E34F26; }
.css.letra    { background-color: #264DE4; }
.javascript.letra { background-color: #F7DF1E; color: #333; }
.react.letra  { background-color: #61DBFB; color: #000; }

.card h2 {
    color: #333;
    font-size: 18px;
    margin: 0;
}

/* ---------- CARROSSEL ---------- */

.carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.carousel-container h2 {
    color: white;
    margin-bottom: 20px;
}

.carousel {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    padding: 0 40px; 
   margin-bottom: 20%;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track img {
    width: 300px;
    height: auto;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    scroll-snap-align: center;
}

.carousel-track img:hover {
    transform: scale(1.05);
}

.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.carousel .prev { left: 10px; }
.carousel .next { right: 10px; }

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background-color: var(--cor-quaternaria);
}
.carousel-indicators {
  text-align: center;
  margin-top: 10px;
}

.carousel-indicators .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #bbb;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.4s;
}

.carousel-indicators .dot.active {
  background-color: #717171;
}
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 20px;
}

/* Estilo dos cards */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 20px;
}

/* ---------- RESPONSIVO ---------- */

@media (max-width: 1268px) {
    .cabecalho {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 15%;
    }

    .cabecalho__menu {
        
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        width: 100%;
        transform: translate(0%, 0%);
        margin-left: -30%;
    }

    .apresentacao {
        flex-direction: column-reverse;
        padding: 5%;
        gap: 40px;
    }

    .apresentacao__conteudo,
    .apresentacao_links_link {
        width: 100%;
    }

    .imagem__principal {
        max-width: 300px;
    }
}


@media (max-width: 540px) {
    .cabecalho {
        flex-direction: column;
        text-align: center;
        padding: 0% 10% -0%;
        
    }

    .logo {
        margin-left: -50%;
    }

    .cabecalho__menu {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        width: 150%;
        margin: 1%;
        transform: scale(0.8);
    }

    .apresentacao_conteudo_titulo {
        font-size: 1.4rem;
    }
    .apresentacao_conteudo_texto {
        font-size: 0.9rem;
    }

    .apresentacao_links_link {
        width: 65%;
    }

    .cabecalho__menu__link,
    .cabecalho__menu__link1 {
        font-size: 1rem;
        padding: 3px 16px;
    }

    .certificado img {
        max-width: 100%;
    }

    .carousel-track img {
        width: 250px;
    }

    .cards-container {
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .cards-container .card {
    width: 100px;
    height: 120px;
    font-size: 10px;
}

}
