* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;

}

body {
    font-family: 'Ubuntu', sans-serif;
    overflow: hidden;
    background-color: #0A192F;
    background-image: url('../imagens/backGround.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;

}

.fullscreen-div {
    width: 100vw;
    height: 100vh;
    background-color: gray;
    opacity: 0.4;
}

.section {
    scroll-snap-align: start;
    overflow: hidden;
    transform: translateY(20px);
    transition: opacity 0.5s ease;

}


.content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    scroll-snap-align: start;
    overflow: hidden;
}

.falling-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: fallAndHold 1s ease forwards;



}


@keyframes fallAndHold {
    0% {
        top: -100px;
        opacity: 0;
    }



    100% {
        top: 18%;
        opacity: 1;
    }
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;

}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.nav-links a:hover {
    color: rgb(57, 78, 199);
    transform: scale(1.1);
}

.skills {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 0;
    max-width: 500px;
    min-width: 250px;
}

.skill {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #444;
    color: white;
    border-radius: 50%;
    font-size: 24px;
    margin-right: 10px;
    cursor: pointer;
}

.fa-brands {
    font-size: 45px;

}

#img {
    border: 0px solid black;
    border-radius: 5px;
    box-shadow: 5px 5px 8px black;
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.footer {
    background-color: #000;
    color: #FFFFFF;
    padding: 20px;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

#iniContent {
    margin-top: 130px;
}

#projContent {
    margin-top: 10%;
}

#habContent {
    margin-top: 130px;
}

@keyframes slide-in {
    0% {
        opacity: 0;
        transform: translateY(-300%);
    }

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

.image-container {
    text-align: center;
}

.image-container img {
    max-width: 20%;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.intro,
.about,
.contact {
    max-width: 800px;
    min-width: 250px;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 5px;
}



.typewriter-text {
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 0em;
    border-right: .15em solid #333;
    /* Efeito de cursor de digitação */
    animation: typing 4s steps(40, end), blink-caret .75s step-end infinite;
    color: white;

}

p,
h1,
h2 {
    color: white;
}

/* Animação da digitação */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* Animação do cursor piscando */
@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: #333;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
}


@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        padding: 10px;
    }

    .hamburger {
        display: flex;
    }
}

.logo h1 {
    color: white;
    font-size: 1.5rem;
    margin: 10px;
}

.contact-icons {
    display: flex;
    align-items: center;
}

.contact-icons a {
    color: white;
    font-size: 1.2rem;
    flex: 0.3;
    text-decoration: none;
}

.navbar i {
    font-size: 24px;
    margin: 10px;
}

.contact-icons :hover {
    transform: scale(1.1);
    color: rgb(57, 78, 199);
}

.carousel-container {
    max-width: 100%;
    padding: 20px;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1000px;
    min-width: 1000px;
}

.card {
    width: 3000px;
    height: 350px;
}

.card a {
    display: inline-block;
    padding: 10px 10px;
    text-decoration: none;
    color: rgb(57, 78, 199);
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

/*Conteudo de cada Section*/

.card img {

    border-radius: 10px 10px 0 0;
    width: 100%;
    height: 300px;
    object-fit: cover;

}



.mini-janela {
    max-height: 0;
    overflow: hidden;
    width: 0;
    background-color: #444;
    border: 0px solid black;
    border-radius: 5px;
    box-shadow: 5px 5px 8px black;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    padding: 20px;
    transition: all 0.3s ease-in-out;
}


.mini-janela p {
    max-width: 800px;
    min-width: 250px;
    margin: 1rem auto;
    font-size: 16px;
    line-height: 1.5;

}

.aberto {
    max-height: 500px;
    width: 300px;
    opacity: 1;
}

.transition {
    transition: all 0.3s ease;
}