@import url('https://fonts.googleapis.com/css2?family=Special+Gothic+Condensed+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=National+Park:wght@200..800&display=swap');


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

html {
    font-size: 16px;
}

body {
    line-height: 1.6;
    font-family: 'Georgia', serif;
    color: #333;
    overflow-x: hidden;
}

:root {
    --acerola: rgba(165, 5, 5, 0.925);
    --header-font: 'Segoe UI', sans-serif;
    --product-font: "National Park", sans-serif;
}


/* Botão fixo para rolar para baixo */

.scroll-down {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--acerola);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeUp 0.8s ease-out forwards, bounce 2s infinite;
    animation-delay: 1s;
    opacity: 0;
}
.scroll-down:hover {
    background-color: var(--acerola);
}

/* Animação de "pulsar" */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -10px);
    }
    60% {
        transform: translate(-50%, -5px);
    }
}


/* ---------------------------------------------- */

/* ------------- HEADER SECTION ---------------- */


.header-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: white;

    padding-left: 10%;
    padding-right: 10%;

}

.header-text {
    text-align: center;

    padding: 10%;
    text-align: left;
    font-family: 'Segoe UI', sans-serif;

    font-size: 1.5rem;  

    line-height: 1.8;
    margin: 0 auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--acerola);
}

.linha {
    width: 550px; /* ou 100% se quiser ocupar toda a largura */
    height: 3px;
    background-color: #cc0000;
    margin-top: 5px;
  }

.fade {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
  }
  
  .delay-1 {
    animation-delay: 0.3s;
  }
  
  .delay-2 {
    animation-delay: 1.2s;
  }
  
  .delay-3 {
    animation-delay: 1.5s;
  }

  .delay-4 {
    animation-delay: 2s;
  }
  

  /* Animação FadeUp*/
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

.logo {
    height: 500px;
    margin-bottom: 20px;
}

/* ---------------------------------------------- */


/* ------------- AVATARS SECTION ---------------- */

.avatars {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: rgb(245, 245, 245);
    flex-direction: column;
    justify-content: flex-start;
    gap: 20%;
}

.avatars-flex-container {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 100%;
    background-color: rgb(245, 245, 245);
    flex-grow: 1;
}

.circle-img {
    width: 180px;        
    height: 180px;
    object-fit: cover;  
    border-radius: 50%; 
    border: 2px white;
    border-style: solid;
    box-shadow: 0 0 10px rgba(0,0,0,0.3); 
    align-self: flex-start;
}

.circle-img:hover {
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    border: 5px white;
    border-style: solid;
}

.matheus-avatar {
    height: 100%;
    width: 180px;
    text-align: center;
    word-wrap: break-word; /* Quebra palavras longas automaticamente */
    word-break: break-word; /* Garante a quebra de palavras */
    margin-bottom: 70px;
}

.matheus-avatar p {
    margin-bottom: 10px; /* Adiciona espaçamento entre os parágrafos */
    line-height: 1.5; /* Melhora a legibilidade */
}


.giovanni-avatar {
    height: 100%;
    width: 180px;
    text-align: center;
    word-wrap: break-word; /* Quebra palavras longas automaticamente */
    word-break: break-word; /* Garante a quebra de palavras */
    margin-bottom: 70px;
}

.giovanni-avatar p {
    margin-bottom: 10px; /* Adiciona espaçamento entre os parágrafos */
    line-height: 1.5; /* Melhora a legibilidade */
}

.selton-avatar {
    height: 100%;
    width: 180px;
    text-align: center;
    word-wrap: break-word; /* Quebra palavras longas automaticamente */
    word-break: break-word; /* Garante a quebra de palavras */
}

.selton-avatar p {
    margin-bottom: 10px; /* Adiciona espaçamento entre os parágrafos */
    line-height: 1.5; /* Melhora a legibilidade */
}


.avatar-text {
    margin-top: 15px;
    font-size: 1rem;
    color: #555;
    text-align: center;
    font-family: 'Noto Sans', sans-serif;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.linkedin-logo {
    height: 60px;
    width: 60px;
    vertical-align: middle;

}
.linkedin-logo:hover {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

section.avatars h2 {
    margin-top: 50px;

    font-size: 2rem;
    color: #555;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Noto Sans', sans-serif;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Animação de fade da esquerda para a direita */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-left {
    opacity: 0; /* Inicialmente invisível */
    animation: fadeInLeft 1s ease-out forwards;
}

/* ---------------------------------------------- */



/* ------------- PRODUCTS SECTION -------------- */

.products {
    width: 100%;
    background-color: white;
}

.product-card {
    width: 100%;
    height: 100vh;
    background-color: WHITE;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

img.product-image {
    height: 400px;

}

.product-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20%;
    background-color: white;

    height: 100vh;

    width: 25vw;

    font-size: 1.2rem;  
    line-height: 1.8;
    margin: 0 auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);

    font-family: var(--header-font);
    
    letter-spacing: 1px;

    text-align: justify;
    word-wrap: break-word; /* Quebra palavras longas automaticamente */
    word-break: break-word; /* Garante a quebra de palavras */
}

.product-title {
    margin-top: 50px;

    font-size: 2rem;
    color: #555;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: var(--product-font);
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card-reverse {
    flex-direction: row-reverse;
}

/* ANIMAÇÃO */


.product-card {
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Fade-in-left for non-reversed cards */
.product-card.fade-in-left {
    animation: fadeInLeft 1s ease-out forwards;
}

/* Fade-in-right for reversed cards */
.product-card.card-reverse.fade-in-right {
    animation: fadeInRight 1s ease-out forwards;
}


@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade-in-right animation */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ******** */


/* ---------------------------------------------- */

/* ------------- TOOLS SECTION ---------------- */

.tools {
    height: 80vh;
    width: 100%;
    background-color: rgb(245, 245, 245);

    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap: 40%;
}

.tools-icons {
    display: flex;

}

.tools-icons img {
    opacity: 1;
    width: 90px;
    height: 90px;
    margin: 0 20px;
    transition: transform 0.3s ease;

    background-color: transparent;
}



/* Animação de fade para as imagens */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.75;
        transform: translateY(0);
    }
}

/* Estado inicial das imagens */
.tools-icons img {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    background-color: transparent;
}

/* Classe para ativar o fade */
.tools-icons img.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
    background-color: transparent;
}

.tools-icons img {
    opacity: 0;
    transform: translateY(20px); /* Começa 20px abaixo */
    transition: opacity 0.5s ease, transform 0.5s ease;
    background-color: transparent;
}

/* Efeito de flutuar no hover */
.tools-icons img:hover {
    transform: translateY(0); /* Volta para a posição original */
    scale: 1.2;
    box-shadow: 0;   /* Estado inicial das imagens */
}

.tools-icons img {
    opacity: 0;
    transform: translateY(20px); /* Começa 20px abaixo */
    transition: opacity 0.5s ease, transform 0.5s ease;
    background-color: transparent;
}

/* Efeito de flutuar no hover */
.tools-icons img:hover {
    transform: translateY(0); /* Volta para a posição original */
    scale: 1.2;
    box-shadow: 0
}


/* ---------------------------------------------- */

/* ------------- CONTACT SECTION ---------------- */

.contact {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20%;

    margin-bottom: 20%;
}

.contact h2 {
    margin-top: 50px;

    font-size: 2rem;
    color: #555;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Times New Roman', 'Georgia', serif;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.contact img {
    width: 50vw;
    height: 50vh;
    object-fit: cover;  
}

.contact-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: WHITE;

    width: 30vw;

    text-align: left;
    font-family: var(--product-font);

    font-size: 1.3rem;  
    line-height: 1.8;
    margin: 0 auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);

    letter-spacing: 1px;

    word-wrap: break-word; /* Quebra palavras longas automaticamente */
    word-break: break-word; /* Garante a quebra de palavras */

}


/* EMAIL */

.btn {
    font-size: 1.25rem;
    background: transparent;
    border: none;
    padding: 1em 1.5em;
    color: var(--acerola);
    text-transform: uppercase;
    position: relative;
    transition: 0.5s ease;
    cursor: pointer;
  }
  
  .btn::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: var(--acerola);
    transition: 0.5s ease;
  }
  
  .btn:hover {
    color: #1e1e2b;
    transition-delay: 0.5s;
  }
  
  .btn:hover::before {
    width: 100%;
  }
  
  .btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0;
    width: 100%;
    background-color: var(--acerola);
    transition: 0.4s ease;
    z-index: -1;
  }
  
  .btn:hover::after {
    height: 100%;
    transition-delay: 0.4s;
    color: var(--acerola);
  }

  .btn a {
    text-decoration: none; /* Removes the underline */
    color: inherit; /* Inherits the color from the parent button */
    display: inline-block; /* Ensures proper alignment inside the button */
}

/* --------------- FOOTER ----------------- */

footer {
    background-color: #333;
    width: 100%;
    height: 10vh;

    display: flex;
    justify-content: center;
    align-items: center;

}

footer p {
    color: white;
}

/* ---------------------------------------------- */


/* RESPONSIVIDADE */

/* Responsividade para telas menores que 1024px (tablets e monitores pequenos) */

@media (max-width: 1650px) {
    .product-text{
        font-size: 1.2rem;
    }

    .contact-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 1400px) {


    .logo {
        height: 350px;
    }

    .header-container {
        width: auto;
    }
    
    .header-text {
        font: 0.5rem;
        width: 90vw;
    }

    .linha {
        width: 30vw;
        height: 3px;
        background-color: #cc0000;
        margin-top: 5px;
    }

    section.avatars h2 {
        margin: 0;
    }

    .avatars {

        height: 100vh;
        width: auto;
        background-color:white;

        width: 100%;

    }


    img.product-image {
        width: 50vw;
    }

    .product-text {
        font-size: 1rem;
    }

    .contact-text {
        font-size: 1rem;
    }
}


@media (max-width: 1280px) {

    .logo {
        height: 300px;
    }

    .header-container {
        padding: 0;
        margin: 0;
        width: auto;
        flex-direction: column;
    }
    
    .header-text {
        font: 0.5rem;
        width: 90vw;
    }

    .linha {
        width: 50vw;
        height: 3px;
        background-color: #cc0000;
        margin-top: 5px;
    }

    .avatars {
        justify-content: center;
        width: 100%;
        height: auto;
        background-color: rgb(245, 245, 245);
        flex-direction: column;
        justify-content: flex-start;
        gap: 50%;
        margin-top: 100px;
    }

    .avatars h2 {
        margin-bottom: 100px;
    }

    .avatars-flex-container {
        height: auto;
        flex-direction: column;
        align-items: center;
        margin-bottom: 50px;

        width: 100%;

        padding-top: 30px;
        padding-bottom: 30px;
    }

    img.product-image {
        width: 50vw;
    }

    .product-text {
        font-size: 1rem;
        width: 60vw;
    }

    .product-card {
        flex-direction: column;
    }

    .tools {
        height: 100vh;
        gap: 10%;
        align-items: center;
        justify-content: center;
    }

    .tools-icons {
        flex-direction: column;
        justify-content: space-evenly;

    }

    .tools-icons img {
        width: 70px;
        height: 70px;
    }

    .contact {
        height: auto;
        width: auto;
        background-color:white;

        width: 100%;
    }

    .contact-section {
        flex-direction: column;
        justify-content: center;
        align-items: space-between;
        overflow: hidden;

        gap: 100px;

    }

    .contact-text {
        font-size: 1.2rem;
        width: 90vw;
        text-align: center;
    }

    .contact img {
        width: 70vw;
    }
}

@media (max-width: 768px) {

    .header-text {
        margin-bottom: 100px;
        font-size: 16px;
    }

    .header-container {
        height: auto;
    }
    .logo {
        height: 180px;
    }
    img.product-image {
        width: 100vw;
        height: 30vh;
    }

    .avatars {
        justify-content: center;
        width: 100%;
        height: auto;
        background-color: rgb(245, 245, 245);
        flex-direction: column;
        justify-content: flex-start;
        gap: 50%;
        margin-top: 200px;
    }
    
    .product-text  {
        font-size: 0.9rem;
        width: 70vw;
        line-height: normal;
    }

    .product-text h2 {
        font-size: 1.8rem;
        margin-bottom: 50px;
    }

    .products {
        height: auto;
    }
    
    .product-card {
        height: 100%;
    }

    .tools-icons {
        height: 100vh;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: space-evenly;
    }

    .tools {
        height: auto;
    }

    .contact-text {
        text-align: center;
    }

    .contact img {
        width: 90vw;

    }
}