.title-projects h3 {
    text-align: center; 
    font-size: xx-large;
}

.projects {
    position: relative;
    width: 100vw;
    height: 500px;
}

.projects .projects-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);/* this property create a new stacking context */
    width: 80vw;
    height: 500px;
    background: #f5f5f5;
    box-shadow: 0 30px 50px;
    overflow: hidden;
   /*  color: white; */
}
.projects .projects-container .slide .item {
    width: 200px;
    height: 300px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    box-shadow: 0 30px 50px #505050;
    border-radius: 20px;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s;
}

.projects .slide .item:nth-child(1),
.projects .slide .item:nth-child(2){
    top:0%;
    left: 0%;
    transform: translate(0,0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}
.projects .slide .item:nth-child(3){
    left: 50%;
}
.projects .slide .item:nth-child(4){
    left: calc(50% + 220px);
}
.projects .slide .item:nth-child(5){
    left: calc(50% + 440px);
}

/* Here n = 0,1,2,3,.... */
.projects .slide .item:nth-child(n + 6){
    left: 50%;
    left: calc(50% + 660px);
    opacity: 0;
}
.projects .item .content {
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: left;
 
    transform: translate(0,-50%);
    font-family: system-ui;
    display: none;
}

.projects .slide .item:nth-child(2) .content{
    display: block;
}

.projects .content .name {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}
.projects .content .description {
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;

}
.projects .content button{
    padding: 10px 10px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

@keyframes animate {
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px)
    }

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

.projects .button {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;

}

.projects .button button{
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 1px solid #000;
    transition: 0.3s;
    background-color: aqua;
}
.projects .button  img {
    width: 30px;
}

.projects .button button:hover {
    background: #ababab;
    color: #fff;
}

@media (max-width: 600px){
    .projects .item .content{
        left: 10px;
        width: 140px;
    }
    .projects .item .content .name, .projects .item .content {
        font-size: 16px;
    }

}

@media (min-width: 600px) and (max-width: 1024px) 
    {
    .projects .item .content{
        left: 20px;
        width: 200px;
    }
    .projects .item .content .name, .projects .item .content {
        font-size: 16px;
    }

}

.projects .name1, .projects .description1 {
    color: #D6C9F2;
}

.projects .name2, .projects .description2 {
    color: #0D1A26;
}

.projects .name3, .projects .description3 {
    color: #0D1A26;
}
 
.projects .name4, .projects .description4 {
    color: black;
}

