.frontend-content,
.backend-content {
    height: 100vh;
    width: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    border-top: 10px;
    justify-content: center;
    padding-top: 80px;
}

.backend-content {
    flex-direction: row-reverse;
}

.frontend-content::before,
.backend-content::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
}

.frontend-info,
.backend-info {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-direction: column;
}


.frontend-titulo,
.backend-titulo {
    width: 100%;
    flex-shrink: 0;
    text-align: left;
    padding-left: 10%;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);

}

.backend-titulo {
    text-align: right;
    padding-left: 0;
    padding-right: 10%;
}



.frontend-descricao,
.backend-descricao {
    font-size: 1.1rem;
    color: #b8b8d0;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 100%;
    text-align: justify;
    margin-right: 25%;
    padding-left: 10%;
}

.backend-descricao {
    margin-right: 0;
    margin-left: 25%;
    padding-left: 0;
    padding-right: 10%;
}



.frontend-projetos,
.backend-projetos {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-direction: column;
    position: relative;
    margin-right: 2.5%;
}

.backend-projetos {
    margin-right: 0;
    margin-left: 2.5%;
}


.frontends,
.backends {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    width: 100%;
    height: 100%;
}

.frontendQuadro,
.backendQuadro {
    flex-shrink: 0;
    width: 80%;
    min-height: 500px;
    height: auto;
    background: rgba(25, 31, 44, 0.6);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 20px;
    overflow: hidden;
    margin: 0;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease-in-out;
    backdrop-filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

.frontendQuadro.active,
.backendQuadro.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

.backendQuadro:hover,
.frontendQuadro:hover,
.backendQuadro.active:hover,
.frontendQuadro.active:hover {
    border-color: #00f7ff;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.2);
}



.projeto-img {
    width: 70%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-bottom: 1%;
}

.projeto-img img {
    max-width: 100%;
    max-height: 100%;

}

.projeto-titulo {
    font-size: 1rem;
    text-transform: uppercase;
    color: #00f7ff;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 2px solid rgba(0, 247, 255, 0.3);
    padding-bottom: 10px;

}

.projeto-descricao {
    font-size: 1.1rem;
    color: #b8b8d0;
    line-height: 1.3;
    margin: 2%;
    max-width: 100%;
    text-align: center;
    overflow-wrap: break-word;
}

.projeto-descricao b {
    color: #00f7ff;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);

}



.botoes-projeto {
    cursor: pointer;
    display: flex;
    gap: 15px;
    width: 90%;
    justify-content: center;
    margin-top: 10px;
    z-index: 10;
}

.btn-projeto {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    background: rgba(0, 247, 255, 0.05);
    border: 1px solid rgba(0, 247, 255, 0.4);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-projeto:hover {
    background: rgba(0, 247, 255, 0.2);
    border-color: #00f7ff;
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.4);
    transform: translateY(-2px);
}

.btn-projeto img {
    width: 20px;
    height: 20px;
    filter: invert(1);
}


.arrowsfront,
.arrowsback {
    width: 100%;
    display: flex;
    z-index: 5;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.arrowfront-btn,
.arrowback-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 247, 255, 0.3);
    pointer-events: auto;
    transition: all 0.3s ease;
    color: #fff;
}

.arrowfront-btn:hover,
.arrowback-btn:hover {
    background-color: rgba(0, 247, 255, 0.2);
    border-color: #00f7ff;
}






















@keyframes scroll-automatico {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(2);
    }
}


@media (max-width: 992px) {

    .frontend-content,
    .backend-content {
        flex-direction: column;
        height: auto;
        padding: 0px 20px;
    }

    .frontend-info,
    .backend-info,
    .frontend-projetos,
    .backend-projetos {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .frontend-titulo,
    .backend-titulo {
        text-align: center;
        word-wrap: break-word;
        padding: 0;
        padding-top: 20%;
    }

    .frontend-descricao,
    .backend-descricao {
        margin: 20px 0;
        padding: 0;
        text-align: center;
    }

    .frontendQuadro,
    .backendQuadro {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        margin-bottom: 20px;
        opacity: 1;
        pointer-events: auto;
        z-index: 0;
    }

    .arrowsfront,
    .arrowsback {
        opacity: 0;
    }

    .subtitulo-tecnologia-back {
        text-align: center;
        padding-right: 0;
    }
}