@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {

    /*CORES*/
    --primary-color: orange;
    --secondary-color: rgb(255, 187, 62);
    --body-color: rgb(17, 17, 17);
    --text-color-primary: white;
    --text-color-secondary: black;
    --suave-color: gray;
    --font-family: Barlow, Arial, Helvetica, sans-serif;
    --font-family-secondary: Arial, Helvetica, sans-serif;
    --home-section-bg: black;
    --about-gradient: linear-gradient(to bottom, black, rgb(17, 17, 17), rgb(17, 17, 17), rgb(17, 17, 17), rgb(17, 17, 17), rgb(17, 17, 17));
    --back-title: rgb(75, 49, 0);
    --hr-about: rgb(94, 78, 49);
    --hr-separation: rgb(59, 59, 59);
    --work-p: rgb(59, 59, 59);
    --border-input: rgb(158, 158, 158);
    --button-shadow: rgb(15, 15, 15);
    --footer-color: rgb(214, 139, 0);
    --footer-hr: rgb(27, 27, 27);
    --scroll-up-color: rgb(20, 20, 20);
    --scroll-up-shadow: 0px 0px 10px 0.5px rgb(32, 32, 32);
    --scroll-bar-track: black;
    --scroll-bar-thumb: rgb(197, 128, 0);

}

/*Animações*/

.hidden {
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease, background-color .4s;
}

/* Animações possíveis */
.fade-up {
    transform: translateY(40px);
}

.fade-down {
    transform: translateY(-40px);
}

.fade-left {
    transform: translateX(-40px);
}

.fade-right {
    transform: translateX(40px);
}

.zoom-in {
    transform: scale(0.8);
}

.rotate-in {
    transform: rotate(-10deg);
}


.fade-opacity {
    /* Nenhum transform, só invisível */
    transform: none;
}

/* Quando visível */
.show {
    opacity: 1;
    transform: none;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    -webkit-tap-highlight-color: transparent;
    /* Adicione esta linha */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--body-color);
    font-family: var(--font-family);
    color: var(--text-color-primary);
    transition: background-color .4s, color .4s;
}

::-webkit-scrollbar {
    width: 7px;
}

/* Fundo da barra (trilho) */
::-webkit-scrollbar-track {
    background: var(--scroll-bar-track);
}

/* Parte "deslizante" da barra */
::-webkit-scrollbar-thumb {
    background: var(--scroll-bar-thumb);
}

@media (hover: hover) {
    ::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-color);
    }
}

.webkit-scrollbar-thumb.active-effect {
    background: var(--secondary-color);
}

.scrollup {
    position: fixed;
    background-color: var(--scroll-up-color);
    box-shadow: var(--scroll-up-shadow);
    display: inline-flex;
    padding: 6px;
    font-size: 1.25rem;
    color: var(--primary-color);
    z-index: 1000;
    transition: bottom .4s, transform .4s, box-shadow .4s, background-color .4s;
    bottom: -100px;
    right: 2%;
}

@media (hover: hover) {
    .scrollup:hover {
        transform: translateY(-.5rem);
    }
}

.scrollup.active-effect {
    transform: translateY(-.5rem);
}

.show-scroll {
    bottom: 3rem;
}

/*HEADER*/

header {
    display: flex;
    width: 100%;
    height: 8%;
    position: fixed;
    background-color: rgba(0, 0, 0, 0);
    color: var(--text-color-primary);
    justify-content: center;
    z-index: 9999;
}

.progress-bar {
    height: 2px;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    bottom: 0;
    left: 0;
}

.bg-header {
    background-color: rgba(0, 0, 0, 0.541);
    transition: background-color .4s;
}

.nav__container {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    align-items: center;
}

.nav__cont__logo {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    left: 2%;
}

.nav__logo {
    position: fixed;
    left: 2%;
    transition: color .4s;
    font-family: Arial, Helvetica, sans-serif;
    transition: transform .4s;
}

@media (hover: hover) {
    .nav__logo:hover {
        transform: translateY(-2%);
    }
}

.nav__logo.active-effect {
    transform: translateY(-2%);
}

.nav__logo img {
    width: 80px;
}

.nav__menu {
    display: flex;
    align-items: center;
    justify-content: end;
    height: 100%;
    width: 95%;
    transition: width .4s;
}

.nav__list {
    position: relative;
    width: 800px;
    display: flex;
    list-style-type: none;
    gap: 13%;
    align-items: center;
    justify-content: end;
}

.nav__list li {
    transition: transform .4s;
}

@media (hover: hover) {
    .nav__list li:hover {
        transform: translateY(-10%);
    }
}

.nav__list li.active-effect {
    transform: translateY(-10%);
}

.nav__link {
    transition: color .4s;
    font-size: 1.1rem;
}

header a,
header>ul>li>a {
    text-decoration: none;
    color: var(--text-color-primary);
    transition: color .4s;
}

@media (hover: hover) {

    header a:hover,
    header>ul>li>a:hover {
        color: var(--primary-color);
    }
}

header a.active-effect,
header>ul>li>a.active-effect {
    color: var(--primary-color);
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.nav__close {
    position: absolute;
    top: 1rem;
    right: 2rem;
}

.trocar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .4s;
    font-size: 1, .1rem
}

@media (hover: hover) {
    .trocar:hover {
        transform: rotate(-90deg);
    }
}

.trocar.active-effect {
    transform: rotate(-90deg);
}

.nav__actions {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    transition: i .4s;
    z-index: 99;
    margin-right: 1%;
}

.nav__actions i {
    color: var(--text-color-primary);
    transition: color .4s;
    cursor: pointer;
}

@media (hover: hover) {
    .nav__actions i:hover {
        color: var(--primary-color);
    }
}

.nav__actions i.active-effect {
    color: var(--primary-color);
}

/*MAIN*/

main {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/*INÍCIO*/

.home__section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-top: 4rem;
    overflow: hidden;
    --scroll-opacity: 0;
    background: linear-gradient(to bottom, rgb(0, 0, 0) 0%, rgb(10, 10, 10) 70%, var(--body-color) 100%);
    gap: 10rem;
}

.home__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.home__content {
    z-index: 10;
    padding: 0 2rem;
}

.home__data {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/*PARTÍCULAS*/

#tsparticles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    /* Joga para trás de tudo */
    pointer-events: none;
    /* Garante que o mouse clique nos botões e não nas partículas */
}

.home__section>* {
    position: relative;
    z-index: 1;
}


.home__information {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 620px;
}

.informatio-home-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-around;
    width: auto;
    height: auto;
    padding: 1rem;
    gap: 0.5rem;
}

.image__assinatura {
    position: relative;
    left: 4rem;
}

.image {
    width: 280px;
}

.home__title {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.home__name {
    text-align: right;
    width: auto;
    font-size: 2.5rem;
    color: white;
    transition: color .4s;
}


.active#wave-text {
    animation: brilholaranja 3s ease-in-out forwards;
}

@keyframes brilholaranja {
    50% {
        color: var(--primary-color);
    }
}

.home__profession {
    width: auto;
    text-align: right;
    font-size: 1.8rem;
}

.home__links {
    display: flex;
    flex-direction: column;
    align-items: end;
    row-gap: 2px;
}

.home__social a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 2.2rem;
    transition: color .4s;
}

@media (hover: hover) {
    .home__social a:hover {
        color: var(--secondary-color);
    }
}

.home__social a.active-effect {
    color: var(--secondary-color);
}

.home__button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    width: 13vw;
    height: 4.5vh;
    color: var(--text-color-secondary);
    text-decoration: none;
    font-weight: bold;
    transition: background-color .4s;
    font-size: 1.4rem;
}

@media (hover: hover) {
    .home__button:hover {
        background-color: var(--secondary-color);
    }
}

.home__button.active-effect {
    background-color: var(--secondary-color);
}

.animate#wave-link {
    animation: sombralaranja 3s ease-in-out forwards;
}

@keyframes sombralaranja {
    50% {
        box-shadow: 0px 0px 5px 2px var(--primary-color);
    }
}

.home__image {
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: flex-end;
    z-index: 10;
}

.meu__rosto {
    width: 100%;
    max-width: 620px;
    height: auto;
    object-fit: cover;
}

.arrow__down {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    bottom: 2%;
    z-index: 1000;
    gap: 0.5rem;
}

.arrow__down img {
    width: 30px;
    animation: floatDown 2s ease-in-out infinite;
}

@keyframes floatDown {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0);
    }
}

.arrow__down p {
    color: rgba(255, 255, 255, 0.795);
    animation: floatopacity 2s ease-in-out infinite;
}

@keyframes floatopacity {
    0% {
        color: rgba(255, 255, 255, 0.137);
    }

    50% {
        color: rgba(255, 255, 255, 0.849);
    }

    100% {
        color: rgba(255, 255, 255, 0.137);
    }
}

/*SOBRE MIM*/

.about__me {
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    align-items: center;
    height: 110vh;
    background-color: rgb(17, 17, 17);
    transition: background-color .4s;
}

.section__title-wrapper {
    display: grid;
    place-items: center;
    width: 100%;
    margin-top: 6rem;
    margin-bottom: 7rem;
    position: relative;
}

/* Configuração para AMBOS os títulos ocuparem o mesmo espaço */
.about__title-back,
.about__title {
    grid-area: 1 / 1;
    /* Mágica: Coloca os dois na linha 1, coluna 1 */
    text-align: center;
    width: 100%;
}

.about__title {
    font-size: 3rem;
    color: var(--text-color-primary);
    z-index: 1;
    font-weight: 700;
}

.title__hr {
    position: relative;
    border: 2px solid var(--primary-color);
    width: 100px;
    align-self: center;
}

.about__title-back {
    font-size: 10rem;
    color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: var(--back-title);
    z-index: 0;
    white-space: nowrap;
    line-height: 1;
}

.about__home {
    position: relative;
    display: flex;
    width: 80%;
    height: auto;
    justify-content: space-between;
    border-radius: 5px;
    bottom: 1rem;
}

.about__text {
    position: relative;
    width: 30vw;
    height: 60vh;
}

#wave-about {
    color: var(--primary-color);
    font-size: 2rem;
}

.about__text h2 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.about__text p {
    font-weight: bold;
    font-size: 1.3rem;
    text-align: justify;
    line-height: 1.8rem;
}

.segparagrafo {
    border-left: 4px solid orange;
    padding: 0rem 0.7rem;
    font-weight: bold;
    font-size: 1.3rem;
    text-align: justify;
    line-height: 1.8rem;
}

.norparagrafo {
    font-weight: bold;
    font-size: 1.3rem;
    text-align: justify;
    line-height: 1.8rem;
}

.about__contact {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color-secondary);
    font-weight: bold;
    background-color: var(--primary-color);
    text-decoration: none;
    box-shadow: 0px 0px 30px 2px var(--text-color-secondary);
    width: 10vw;
    height: 5vh;
    font-size: 1.2rem;
    margin-top: 3%;
    transition: background-color .4s;
}

@media (hover: hover) {
    .about__contact:hover {
        background-color: var(--secondary-color);
    }
}

.about__contact.active-effect {
    background-color: var(--secondary-color);
}

.about__rigth {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 60vh;
}

.about__information {
    display: flex;
    flex-direction: column;
    margin-top: 1%;
}

.about__information-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    text-shadow: 0px 1px 3px var(--primary-color);
}

.list__information {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    width: auto;
    row-gap: 10px;
}

.list__information li {
    font-size: 1.2rem;
}

.list__information li>hr {
    border: 1px solid var(--hr-about);
    width: 380px;
}

.list__information li>a {
    color: var(--primary-color);
    transition: color .4s;
    text-decoration: none;
}

@media (hover: hover) {
    .list__information li>a:hover {
        color: var(--secondary-color);
    }
}

.list__information li>a.active-effect {
    color: var(--secondary-color);
}

.about__skills {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 3%;
}

.about__skills-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    text-shadow: 0px 1px 3px var(--primary-color);
}

.about__skills-img {
    width: 35px;
    transition: transform .4s;
}

.about__skills-img-figma {
    width: 28px;
    transition: transform .4s;
}

@media (hover: hover) {
    .about__skills-img-figma:hover {
        transform: translateY(-.5rem);
    }
}

.about__skills-img-figma.active-effect {
    transform: translateY(-.5rem);
}

.about__skills-img-Flutter {
    width: 50px;
    transition: transform .4s;
}

@media (hover: hover) {
    .about__skills-img-Flutter:hover {
        transform: translateY(-.5rem);
    }
}

.about__skills-img-Flutter.active-effect {
    transform: translateY(-.5rem);
}

.about__skills-img-Mysql {
    width: 48px;
    transition: transform .4s;
}

@media (hover: hover) {
    .about__skills-img-Mysql:hover {
        transform: translateY(-.5rem);
    }
}

.about__skills-img-Mysql.active-effect {
    transform: translateY(-.5rem);
}

@media (hover: hover) {
    .about__skills-img:hover {
        transform: translateY(-.5rem);
    }
}

.about__skills-img.active-effect {
    transform: translateY(-.5rem);
}

.about__skills-content {
    grid-template-columns: repeat(5, max-content);
    justify-content: baseline;
    align-items: center;
    display: grid;
    gap: 2rem;
}

/*HR ENTRE SECTIONS*/

.separation {
    position: relative;
    border: 1px solid var(--hr-separation);
    width: 95vw;
    align-self: center;
}

/*PROJETOS*/

.projects {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 240vh;
    justify-content: baseline;
}

.title__hr-projects {
    position: relative;
    border: 2px solid var(--primary-color);
    width: 5vw;
    align-self: center;
}

.works {
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-content: center;
}

.work__content {
    display: flex;
    width: 80vw;
    height: auto;
    /* Deixe automático para o conteúdo ditar a altura */
    align-items: center;
    justify-content: baseline;
    margin-bottom: 5rem;
    /* Espaço entre um projeto e outro */
}

.work__informations {
    display: flex;
    flex-direction: column;
}

.work__informations h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 5%;
}

/* BOTÃO TOGGLE */
.work__toggle {
    position: relative;
    display: flex;
    width: 140px;
    height: 40px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 1.5rem;
    overflow: hidden;
    user-select: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all .4s;
}

@media (hover: hover) {
    .work__toggle:hover {
        background-color: rgb(28, 28, 28);
    }
}

.work__toggle.active-effect {
    background-color: rgb(28, 28, 28);
}

@media (hover: hover) {
    .work__toggle:hover .work__toggle-bg {
        border-color: rgb(28, 28, 28);
    }
}

.work__toggle.active-effect .work__toggle-bg {
    border-color: rgb(28, 28, 28);
}

.clear-theme .work__toggle-bg {
    border-color: rgb(238, 238, 238);
}

@media (hover: hover) {
    .clear-theme .work__toggle:hover {
        background-color: rgb(227, 227, 227);
    }
}

.clear-theme .work__toggle.active-effect {
    background-color: rgb(227, 227, 227);
}

@media (hover: hover) {
    .clear-theme .work__toggle:hover .work__toggle-bg {
        border-color: rgb(227, 227, 227);
    }
}

.clear-theme .work__toggle.active-effect .work__toggle-bg {
    border-color: rgb(227, 227, 227);
}

.clear-theme .work__option {
    color: rgb(17, 17, 17);
}

.clear-theme .work__option.active {
    color: rgb(238, 238, 238);
    /* Texto sobre o laranja */
}

/* Fundo Laranja Deslizante */
.work__toggle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    /* EXATAMENTE metade do pai */
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 7px;
    /* Levemente menor que o pai para encaixe visual */
    border: 5px solid rgb(17, 17, 17);
    z-index: 1;
    /* Fica atrás do texto */
    transition: all .4s;

}

/* Textos (PC / Celular) */
.work__option {
    position: relative;
    z-index: 2;
    /* Fica na frente do fundo laranja */
    flex: 1;
    /* Cada opção ocupa exatamente metade do espaço disponível */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--small-font-size);
    font-weight: 600;
    color: rgb(238, 238, 238);
    /* Cor padrão (preto/cinza) */
    transition: color 0.35s;
    font-size: 1.3rem;
}

/* Quando a opção está ativa (texto fica branco para contraste) */
.work__option.active {
    color: rgb(17, 17, 17);
    /* Texto sobre o laranja */
}

.work__toggle.active-mobile .work__toggle-bg {
    transform: translateX(100%);
}

.work__informations p {
    font-size: 1.3rem;
    color: rgb(196, 196, 196);
    text-align: justify;
}


.work__content img {
    width: 100%;
    max-width: 50vw;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: .5rem;
}

.notebook {
    position: relative;
    width: 50vw;
    height: 50vh;
    z-index: 999;
}

.btn__projects {
    display: flex;
    color: var(--text-color-secondary);
    text-decoration: none;
    background-color: var(--primary-color);
    width: 8vw;
    height: 4vh;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.87rem;
    box-shadow: 0px 0px 24px 1px var(--text-color-secondary);
    transition: background-color .4s;
}

@media (hover: hover) {
    .btn__projects:hover {
        background-color: var(--secondary-color);
    }
}

.btn__projects.active-effect {
    background-color: var(--secondary-color);
}

/*CONTATO*/

.contact {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100vw;
    justify-content: baseline;
}

.contact__title {
    position: relative;
    font-size: 3rem;
    text-align: center;
    top: 10rem;
    z-index: 999;
}

.title__hr-contact {
    position: relative;
    border: 2px solid var(--primary-color);
    width: 5vw;
    align-self: center;
    top: 10rem;
}

.contact__title-back {
    position: absolute;
    top: 469vh;
    align-self: center;
    font-size: 10rem;
    color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: var(--back-title);
    transition: -webkit-text-stroke-color .4s;
}

.contact__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: center;
}

.contact__form {
    display: flex;
    flex-direction: column;
    row-gap: 50px;
    width: 800px;
}

.inputs {
    display: flex;
    gap: 3%;
}

.contact__inf {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-weight: bold;
}

fieldset {
    border: none;
}

input:-webkit-autofill {
    background-color: transparent !important;
    color: #fff;
    /* ou a cor do seu texto */
    -webkit-text-fill-color: #fff;
    box-shadow: 0 0 0px 1000px transparent inset;
    /* cor de fundo do input */
    transition: background-color 5000s ease-in-out 0s;
}

.contact__input {
    width: 100%;
    height: 6vh;
    background-color: transparent;
    border: 2px solid var(--border-input);
    padding: .5rem 1.5rem;
    caret-color: var(--primary-color);
    color: var(--text-color-primary);
    transition: border .4s;
}

.contact__input::placeholder {
    font-weight: bold;
    font-family: var(--font-family-secondary);
    color: var(--suave-color);
}

.contact__input:focus {
    border: 2px solid var(--text-color-primary);
    outline: none;
}

.contact__message {
    width: 100%;
    height: 20rem;
    background-color: transparent;
    border: 2px solid var(--border-input);
    caret-color: var(--primary-color);
    color: var(--text-color-primary);
    resize: none;
    padding: 1rem 1.5rem;
    /* mais equilíbrio vertical */
    line-height: 1.5rem;
    /* controla a altura da linha */
    font-family: var(--font-family-secondary);
    transition: border .4s;
}

.contact__message::placeholder {
    font-weight: bold;
    color: var(--suave-color);
}

.contact__message:focus {
    border: 2px solid var(--text-color-primary);
    outline: none;
}

.contact__label {
    position: absolute;
    margin-left: 2%;
    margin-top: -2.7%;
    padding: 8px;
    background-color: var(--body-color);
    transition: background-color .4s;
}

.form-button-div {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.form-button {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color-secondary);
    font-weight: bold;
    background-color: var(--primary-color);
    border: none;
    width: 200px;
    height: 40px;
    top: 2%;
    transition: background-color .4s, box-shadow .4s;
    cursor: pointer;
}

@media (hover: hover) {
    .form-button:hover {
        background-color: var(--secondary-color);
        box-shadow: 0px 0px 5px 3px var(--button-shadow);
    }
}

.form-button.active-effect {
    background-color: var(--secondary-color);
    box-shadow: 0px 0px 5px 3px var(--button-shadow);
}

.form-button:active {
    background-color: var(--primary-color);
}

.contact__confirmation {
    position: relative;
    align-self: center;
    font-weight: bold;
    margin-top: 0.5vw;
}

/*FOOTER*/

.footer {
    position: relative;
    bottom: 0;
    display: flex;
    flex-direction: column;
    background-color: var(--footer-color);
    height: 40vh;
    color: var(--text-color-secondary);
    justify-content: center;
    transition: background-color .4s;
    overflow: hidden;
    z-index: 1000;
}

.footer__box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer__content {
    position: relative;
    display: flex;
    width: 70%;
    top: -35%;
    justify-content: space-between;
}

.footer__inf {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    width: 40%;
}

.footer__inf h2 {
    font-size: 1.8rem;
}

.footer__inf p {
    text-align: justify;
}

.footer__social {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.footer__social h2 {
    font-size: 1.8rem;
}

.redes {
    display: flex;
    gap: 10px;
}

.footer__social-link {
    text-decoration: none;
    color: var(--text-color-secondary);
    font-size: 1.8rem;
    transition: color .4s;
}

@media (hover: hover) {
    .footer__social-link:hover {
        color: var(--body-color);
    }
}

.footer__social-link.active-effect {
    color: var(--body-color);
}

.footer__hr {
    position: relative;
    border: 1px solid var(--footer-hr);
    width: 70%;
    bottom: -30%;
}

.footer__copy {
    position: relative;
    font-size: 0.7rem;
    bottom: -60%;
    font-weight: bold;
}

.footer__copy a {
    color: var(--text-color-secondary);
}

/* TOAST NOTIFICATION (POP-UP) */

.toast-container {
    position: fixed;
    top: calc(var(--header-height) + 1rem);
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    --header-height: 90px;
}

.toast {
    display: flex;
    align-items: center;
    background-color: rgba(17, 17, 17, 0.747);
    color: var(--text-color-primary);
    padding: 0.1rem 1.5rem;
    border-radius: 9px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 300px;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    animation: toastSlideIn 0.5s ease forwards;
    backdrop-filter: blur(1px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all .4s;
}

.toast i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 0.8rem;
}

.toast .toast-msg {
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--body-font);
}

.toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    animation: toastTimeOut 4s linear forwards;
}


.toast.error i,
.toast.error::after {
    color: #ff3b3b;
}

.toast.error::after {
    background: #ff3b3b;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastFadeOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes toastTimeOut {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* LOADER (BOLINHA GIRANDO) */

.loader {
    position: fixed;
    top: calc(var(--header-height) + 1rem);
    left: 0;
    left: 1.5rem;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 165, 0, 0.2);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    z-index: 10000;
    animation: spin 1s linear infinite;
    display: none;

    /* Fallback */
    --header-height: 90px;
}

.loader.active {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* TELA INDIVIDUAL DE PROJETO */

.project-i {
    width: 100%;
    height: auto;
    min-height: 80vh;
    padding-top: 9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.project-content {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    height: 90vh;
}

.proj-cont-left {
    width: 65%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    gap: 1rem;
    z-index: 1000;
}

.proj-left-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.voltar {
    margin-bottom: 1%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    gap: 0.8rem;
    cursor: pointer;
    font-weight: bold;
    transition: all .4s;
}

@media (hover: hover) {
    .voltar:hover {
        color: var(--secondary-color);
        transform: translateY(-5%);
    }
}

.voltar.active-effect {
    color: var(--secondary-color);
    transform: translateY(-5%);
}

.voltar i {
    font-size: 3rem;
    font-weight: bold;

}

.proj-left-imgs {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Estilo geral das setas */
#main-slider .splide__arrow {
    background-color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 5%;
    transition: all .4s;
}

/* Ícone da seta */
#main-slider .splide__arrow svg {
    fill: black;
    width: 18px;
    height: 18px;
}

.splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#main-slider .splide__slide img {
    width: 100%;
    height: auto;
    /* ✅ mantém proporção */
    max-height: 100vh;
    /* ✅ imagem grande */
    object-fit: contain;
    /* ✅ NÃO corta */
    display: block;
}

.splide__slide iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* CONFIGURAÇÕES SWIPPER SPLIDEJS.COM */

/* CSS PARA THUMBNAIL DE VÍDEO */

.video-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.play-icon-overlay i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    transition: color 0.3s, transform 0.3s;
}

@media (hover: hover) {
    .splide__slide:hover .video-thumb-wrapper img,
    .splide__slide.is-active .video-thumb-wrapper img {
        transform: scale(1.1);
    }
}

.splide__slide.active-effect .video-thumb-wrapper img,
.splide__slide.is-active .video-thumb-wrapper img {
    transform: scale(1.1);
}

@media (hover: hover) {
    .splide__slide:hover .play-icon-overlay i,
    .splide__slide.is-active .play-icon-overlay i {
        color: var(--primary-color);
        /* Fica laranja (sua cor primária) */
        transform: translate(-50%, -50%) scale(1.2);
        /* Cresce um pouco */
    }
}

.splide__slide.active-effect .play-icon-overlay i,
.splide__slide.is-active .play-icon-overlay {
    color: var(--primary-color);
    /* Fica laranja (sua cor primária) */
    transform: translate(-50%, -50%) scale(1.2);
    /* Cresce um pouco */
}

/* Ajuste para o container do video principal ficar responsivo */
.video-container-main {
    width: 100%;
    height: 100%;
}

#thumbnail-slider .splide__slide {
    opacity: 0.6;
    transition: 0.3s;
    border: 2px solid transparent;
}

#thumbnail-slider .splide__slide.is-active {
    opacity: 1;
    border: 2px solid var(--primary-color);
}

.splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#thumbnail-slider .splide__slide.is-active {
    border: 2px solid orange;
    opacity: 1;
}

#thumbnail-slider .splide__slide {
    opacity: 0.6;
    transition: 0.3s;
    cursor: pointer;
}


.proj-cont-right {
    width: 25%;
    height: 95%;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: baseline;
    gap: 2rem;
    z-index: 1000;
}

.proj-right-head {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.proj-right-title {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.proj-right-title h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.proj-right-tec {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.right-tec-title {
    font-size: 1.3rem;
}

.clear-theme .proj-right-des {
    color: black;
}

.right-tec-img {
    justify-content: baseline;
    align-items: center;
    display: flex;
    gap: 1rem;
    width: auto;
}

.right-tec-img .about__skills-img-figma {
    width: 25px;
}

.proj-right-description {
    font-size: 1.2rem;
    text-align: justify;
    max-height: 39vh;
    overflow: hidden;
}

.view-page {
    display: flex;
    color: var(--text-color-secondary);
    text-decoration: none;
    background-color: var(--primary-color);
    width: 150px;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0px 0px 24px 1px var(--text-color-secondary);
    transition: all .4s;
}

@media (hover: hover) {
    .view-page:hover {
        background-color: var(--secondary-color);
        transform: scale(1.05);
    }
}

.view-page.active-effect {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

/*MODO CLARO*/

body.clear-theme {
    background-color: rgb(238, 238, 238);
    color: black;
}

::-webkit-scrollbar {
    width: 7px;
}

/* Fundo da barra (trilho) */
.clear-theme::-webkit-scrollbar-track {
    background: rgb(200, 200, 200);
}

/* Parte "deslizante" da barra */
.clear-theme::-webkit-scrollbar-thumb {
    background: var(--scroll-bar-thumb);
    transition: background .4s;
}

@media (hover: hover) {
    .clear-theme::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-color);
    }
}

.clear-theme::-webkit-scrollbar-thumb.active-effect {
    background: var(--secondary-color);
}

.clear-theme .scrollup {
    background-color: rgb(235, 235, 235);
    box-shadow: 0px 0px 10px 0.5px rgb(223, 223, 223);
}

/* AJUSTE PARA TEMA CLARO (Para garantir contraste) */
.clear-theme .toast {
    background-color: rgb(238, 238, 238);
    color: black;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.clear-theme input:-webkit-autofill {
    -webkit-text-fill-color: #000000;
}


/*HEADER MODO CLARO*/

.clear-theme header {
    color: black;
    background-color: rgba(255, 255, 255, 0);
}

.clear-theme .bg-header {
    background-color: rgba(255, 255, 255, 0.641);
}

.clear-theme header a,
header>ul>li>a .clear-theme {
    color: black;
}

@media (hover: hover) {

    .clear-theme header a:hover,
    header>ul>li>a .clear-theme:hover {
        color: var(--primary-color);
    }
}

.clear-theme header a.active-effect,
header>ul>li>a .clear-theme.active-effect {
    color: var(--primary-color);
}

.clear-theme .nav__actions i {
    color: black;
}

@media (hover: hover) {
    .clear-theme .nav__actions i:hover {
        color: orange;
    }
}

.clear-theme .nav__actions i.active-effect {
    color: orange;
}

/*INÍCIO TEMA CLARO*/

.clear-theme .home__section {
    background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgb(245, 245, 245) 70%, rgb(238, 238, 238) 100%);
}

.clear-theme .home__name {
    color: black;
}

.clear-theme .home__button {
    color: white;
}

@media (hover: hover) {
    .clear-theme .home__button:hover {
        background-color: rgb(234, 154, 5);
        color: white;
    }
}

.clear-theme .home__button.active-effect {
    background-color: rgb(234, 154, 5);
    color: white;
}

@media (hover: hover) {
    .clear-theme .home__social a:hover {
        color: rgb(234, 154, 5);
    }
}

.clear-theme .home__social a.active-effect {
    color: rgb(234, 154, 5);
}

/*SOBRE MIM*/

.clear-theme .about__me {
    background-color: rgb(238, 238, 238);
}

.clear-theme .about__title {
    color: rgb(22, 22, 22);
}

.clear-theme .about__title-back {
    -webkit-text-stroke-color: rgb(236, 197, 125);
}

.clear-theme .about__contact {
    box-shadow: 0px 0px 30px 2px rgb(199, 199, 199);
}

@media (hover: hover) {
    .clear-theme .about__contact:hover {
        background-color: rgb(234, 154, 5);
    }
}

.clear-theme .about__contact.active-effect {
    background-color: rgb(234, 154, 5);
}

.clear-theme .list__information hr {
    border: 1px solid rgb(180, 150, 94);
    transition: border .4s;
}

.clear-theme .list__information a {
    color: rgb(255, 166, 0);
}

@media (hover: hover) {
    .clear-theme .list__information a:hover {
        color: rgb(234, 154, 5);
    }
}

.clear-theme .list__information a.active-effect {
    color: rgb(234, 154, 5);
}

/*PROJETOS TEMA CLARO*/

.clear-theme .projects__title-back {
    -webkit-text-stroke-color: rgb(236, 197, 125);
}

.clear-theme .work__informations p {
    color: rgb(59, 59, 59);
}

.clear-theme .btn__projects {
    box-shadow: 0px 0px 30px 2px rgb(199, 199, 199);
    color: white;
}

@media (hover: hover) {
    .clear-theme .btn__projects:hover {
        background-color: rgb(234, 154, 5);
    }
}

.clear-theme .btn__projects.active-effect {
    background-color: rgb(234, 154, 5);
}

/*CONTATO MODO CLARO*/

.clear-theme .contact__title-back {
    -webkit-text-stroke-color: rgb(236, 197, 125);
}

.clear-theme .contact__input {
    color: black;
}

.clear-theme .contact__input:focus {
    border: 2px solid black;
}

.clear-theme .contact__message {
    color: black;
}

.clear-theme .contact__message:focus {
    border: 2px solid black;
}

.clear-theme .contact__label {
    background-color: rgb(238, 238, 238);
}

@media (hover: hover) {
    .clear-theme .form-button:hover {
        background-color: rgb(234, 154, 5);
        box-shadow: 0px 0px 10px 1px rgb(162, 162, 162);
    }
}

.clear-theme .form-button.active-effect {
    background-color: rgb(234, 154, 5);
    box-shadow: 0px 0px 10px 1px rgb(162, 162, 162);
}

/*FOOTER MODO CLARO*/

.clear-theme .footer {
    background-color: orange;
}

/* PRODUTO INDIVIDUAL MODO CLARO */

.clear-theme .voltar {
    color: black;
}

@media (hover: hover) {
    .clear-theme .voltar:hover {
        color: var(--primary-color);
    }
}

.clear-theme .voltar.active-effect {
    color: var(--primary-color);
}

.clear-theme .proj-right-des {
    color: black;
}

.clear-theme .view-page {
    box-shadow: 0px 0px 30px 2px rgb(199, 199, 199);
    color: white;
}