/*======================
        RESET
======================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:"Poppins",sans-serif;
    background:#0b0b0b;
    color:#fff;

}

/*======================
        HEADER
======================*/

header{

    width:100%;
    height:80px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 8%;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.logo{

    color:#2dff75;
    font-size:28px;
    font-weight:700;

}

nav{

    display:flex;
    gap:35px;

}

nav a{

    text-decoration:none;
    color:white;
    transition:.3s;

}

nav a:hover,
nav .active{

    color:#2dff75;

}

/*======================
      PROYECTOS
======================*/

.projects{

    width:100%;
    padding:80px 8%;

}

.projects h1{

    font-size:52px;
    color:#2dff75;
    margin-bottom:60px;

}

.category{

    margin-bottom:90px;

}

.category h2{

    font-size:28px;

    margin-bottom:30px;

    border-left:5px solid #2dff75;

    padding-left:15px;

}

.project-grid{

    display:grid;

    gap:30px;

}

.project-card{

    background:#151515;

    border:2px solid #1f1f1f;

    border-radius:15px;

    overflow:hidden;

    transition:.3s;

    cursor:pointer;

}

.project-card:hover{

    transform:translateY(-10px);

    border-color:#2dff75;

    box-shadow:0 0 25px rgba(45,255,117,.20);

}

.project-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

.project-card h3{

    padding:18px;

    text-align:center;

    font-weight:500;

}
.card-content{

    padding:20px;

    text-align:center;

}

.card-content h3{

    margin-bottom:8px;

    color:#fff;

}

.card-content p{

    color:#9f9f9f;

    margin-bottom:20px;

    font-size:15px;

}

.video-btn{

    display:inline-block;

    padding:12px 24px;

    background:#2dff75;

    color:#000;

    text-decoration:none;

    border-radius:8px;

    font-weight:600;

    transition:.3s;

}

.video-btn:hover{

    background:#22d662;

    transform:translateY(-2px);

    box-shadow:0 0 15px rgba(45,255,117,.35);

}

.carousel{

    display:flex;
    align-items:center;
    gap:20px;

}

.project-container{

    overflow:hidden;
    width:100%;

}

.project-grid{

    display:flex;
    gap:30px;

    transition:transform .5s ease;

}

.project-card{

    min-width:320px;
    flex-shrink:0;

}

.carousel-btn{

    width:50px;
    height:50px;

    border:none;

    border-radius:50%;

    background:#2dff75;

    color:#000;

    font-size:22px;

    cursor:pointer;

    transition:.3s;

}

.carousel-btn:hover{

    transform:scale(1.1);

}

.carousel{

    display:flex;
    align-items:center;
    gap:20px;

}

.carousel-window{

    overflow:hidden;

    width:100%;

}

.project-grid{

    display:flex;

    gap:25px;

    transition:.5s ease;

}

.project-card{

    min-width:350px;

    flex-shrink:0;

}

.project-card img{

    width:500px;
    height:300px;

    object-fit:cover;

    display:block;

    margin:0 auto;

}