@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap'); 
 
 

body {
    background-color: #0C0C0C;
}

.segundaDiv {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100vh; 
    gap: 10%;
}


nav {
    width: 100%;
    height: 10vh;
    position: sticky;
}

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

.nav-container .links {
    display: flex;
    gap: 3rem;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.nav-container .links a {
    position: relative;
    font-size: 1.6rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

.nav-container .links a::before {
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #00ff00;
    transition: 0.2s linear;
}

.nav-container .links a:hover::before {
    width: 100%;
}

.link.ativo a {
    color: #00ff00;
}

.link.ativo a::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #00ff00;
}

.linha {
    width: 100%;
    height: 1px;
    background-color: #1f232a; 
    margin: 0;
    padding: 0;
}

@-webkit-keyframes slide-bottom {
    0% {
        -webkit-transform: translateY(-100px);
        transform: translateY(-100px);
        opacity: 0;
    }

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

@keyframes slide-bottom {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

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

.card {
    animation: slide-bottom 1.0s cubic-bezier(0.250, 0.460, 0.450, 0.940) forwards;
    border-radius: 5px;
    width: 500px;
    height: 350px;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;

}

.overlay {
    height: 0;
    width: 500px;
    position: absolute;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    left: 0;
    bottom: 0;
    border-radius: 10px;
    background: linear-gradient(transparent, #1e1d1d 75%);
    text-align: center;
    transition: height 0.5s;
}

.overlay h3 {
    color: #ffffff;
    margin-top: 55%;
    margin-bottom: 5px;
    font-size: 45px;
    font-weight: 500;
    letter-spacing: 2px;
}

.card img {
    width: 500px;
    height: 350px;
    display: block;
    border-radius: 10px;
    transition: transform 0.5s;
}

.card:hover .overlay {
    height: 70%;
}

a {
    text-decoration: none;
}