@import url('https://use.fontawesome.com/releases/v6.4.2/css/all.css');
*{
    margin: 0px;
    padding: 0px; 
    outline: 0;
    box-sizing: border-box;
}
a:link{text-decoration: none;}
a:visited{text-decoration: none;}
a:active{text-decoration: none;}
a:hover{text-decoration: none;}
html{
    scroll-behavior: smooth;
    scroll-timeline: 5s;
}

body{
    position: relative; 
    background: #050012;
}

#particles-js{
    width: 100%;
    height: 100%;
    background-size: cover;
    top: 0;
    position: absolute;
    z-index: -1;
    background-position: 50% 50%;
    background-repeat: repeat;
}

.container{
    position: relative;
    margin: auto;
    outline: 3px solid #1c8b06;
    outline-offset: 13px;
    border-radius: 10px 100px;
    width: 70%;
    height: 580px;
    /* box-shadow: 0 30px 50px #025302; */
}

.container .slide .item{
    width: 195px;
    height: 250px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    background-position: 50% 50%;
    background-size: cover;
    background-position: center;
    display: inline-block;
    transition: 0.3s;
    animation: ease;
    z-index: -1;
    
}
.item{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0600;
}

.item h1{
    padding-top: 55%;
    font: 100px;
    width: 100%;
    height: 100%;
    background-color: #0000009c;
    color: #ffffff;
    text-align: center;
    z-index: 1;
    font-family: 'Courier New', Courier, monospace;
    border-radius: 15px;
    font-size: 28px;
}

.slide .item:nth-child(1), 
.slide .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    box-shadow: none;
    border-radius: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px 100px;
    filter: brightness(0.8);
}
.item:nth-child(1)::after,
.item:nth-child(2)::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.178); /* Aqui você pode ajustar a opacidade do filtro */
    z-index: -1; /* Certifique-se de que o pseudo-elemento esteja acima do conteúdo */
}

.slide .item:nth-child(1) h1, 
.slide .item:nth-child(2) h1{
    display: none;
}

.slide .item:nth-child(3){
    left: 50%;
    filter: brightness(0.9);
}

.slide  .item:nth-child(4){
    left: calc(50% + 210px);
    filter: brightness(0.3);
}

.slide .item:nth-child(5){
    left: calc(50% + 430px);
    filter: brightness(0.3);
}

.slide .item:nth-child(n + 6){
    left: calc(50% + 650px);
    opacity: 0;
}

.item .content{
    position: absolute;
    top: 50%;
    left: 100px;
    width: 500px;
    text-align: left;
    color: #fff;
    transform: translate(0, -50%);
    font-family: system-ui;
    background: #2e2c2c;
    padding: 25px 20px;
    display: none;
    border-radius: 10px 50px;
    animation: contentAni 0.8s ease-in-out 1 forwards;
}

.slide .item:nth-child(2) .content {
    display: block;
}

.content .name{
    letter-spacing: 1px;
    font-size: 32px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

.content .name::after{
    content: ' ';
    content: "";
    display: block;
    width: 100%;
    background-color: #0cbe24;
    height: 2px;
}

.content .name::first-letter{
    font-size: 50px;
    color: #0cbe24;
}

.content .description{
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content button{
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

.textServicos{
    width: 60%;
    padding: 30px;
    margin: 80px auto;
    font-family:'Raleway', sans-serif;
    background: #091c435e;
    border-radius: 25px;
    outline: #000;
    outline: 5px solid #1c6ea45b;
    outline-offset: 10px;
}

.textServicos h1{
    text-align: center;
    font-size: 32px;
    color: #0cbe24;
    font-style: normal;
    font-weight: 400;
}
.textServicos p{
    text-align: left;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    color: #c9c7c7;
    letter-spacing: 1px;
    margin: 15px 0px;
}
.button{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;
}
.button i{
    color: #000;
}

.button button{
    width: 50px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    transition: 0.3s;
    background: #afafaf;
    transition: 0.3s;
}

.button button:hover{
    background: #7e7c7c;
    transform:translateY(-5px) scale(1.1);
}

.button button:active{
    background: #dfdada;
    color: #ffffff;
    transform:translateY(5px);
}

@keyframes animate {
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }
    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

@keyframes contentAni{
    from{
        background: #2e2c2c00;
        filter: blur(33px);
    }
    to{
        /* background: #2e2c2ca4; */
        background: #181717ee;
        filter: blur(0px);
    }
}
