/* Smooth scroll para rolagem suave */
html {
    scroll-behavior: smooth;
}

/* Animação bounce */
@keyframes bounce {

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

    50% {
        transform: translateY(-5px);
    }
}

.bounce {
    animation: bounce 1.5s infinite;
}

/* Efeito para tornar o header sticky ao rolar */
.sticky {
    transform: translateX(0%);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.288);
    transition: 300ms;
}

.sticky-header {
    transition: 300ms;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid #f3f4f6;
}

/* Adiciona sombra ao rolar */
.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.typing-container {
    height: 28px;
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
}

.caret {
    width: 7px;
    height: 28px;
    background-color: black;
    animation: blink-caret 0.7s step-end infinite;
    margin-left: 2px;
}

@keyframes blink-caret {
    50% {
        background-color: transparent;
    }
}

.detalhe {
    top: 43vh;
    width: 7%;
    z-index: 1;
}

/* Gaveta de menu */
.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 625px;
    height: 100%;
    background-color: rgb(255, 255, 255);
    z-index: 20;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;

}

/* Animação de entrada para a gaveta */
.drawer-open {
    transition: transform 0.3s ease-in-out;
    transform: translateX(0);
    box-shadow: -616px 81px 34px 2006px rgb(102 99 113 / 30%);
}

.drawer-close {
    transition: box-shadow 0.3s ease;
    transform: translateX(100%);
}


P,
b {
    font-family: lato;
}

* {
    font-family: 'Prompt', sans-serif;
}

.star {
    width: 34px;
    height: 34px;
    position: absolute;
    animation: pulse 4s ease-in-out infinite;
    z-index: -1;
}

/* Animação de pulsar */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

.flecha {
    width: 44%;
    top: 15%;
}
