* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    background: #f2f7f2;
    color: #222;
}


/* NAVBAR */

.navbar {

    background: white;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 30px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.08);

    position: sticky;
    top: 0;

}


.logo {

    font-size: 28px;
    font-weight: bold;
    color: #1b7d36;

}


nav a {

    margin-left: 20px;

    text-decoration: none;

    color: #333;

    font-weight: bold;

    transition: 0.3s;

}


nav a:hover {

    color: #1b7d36;

}



/* HERO */

.hero {

    text-align: center;

    padding: 70px 20px;

    background: linear-gradient(
        135deg,
        #dff5df,
        #ffffff
    );

}


.hero h1 {

    font-size: 42px;

    color: #176b2c;

}


.hero p {

    font-size: 18px;

    max-width: 600px;

    margin: auto;

    color: #555;

}



/* BOTON */

.btn {

    display: inline-block;

    margin-top: 30px;

    background: #1b7d36;

    color: white;

    padding: 14px 30px;

    border-radius: 30px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s;

}


.btn:hover {

    background: #125522;

    transform: scale(1.05);

}



/* CONTENIDO */

.content {

    padding: 30px;

    text-align: center;

}


.content h2 {

    color:#176b2c;

}



.video-box {

    background:white;

    max-width:500px;

    margin:30px auto;

    padding:40px;

    border-radius:20px;

    box-shadow:0 5px 20px rgba(0,0,0,0.08);

}



/* FOOTER */

footer {

    text-align:center;

    padding:20px;

    color:#666;

}



/* CELULAR */

@media(max-width:700px){

    .navbar{

        flex-direction:column;

        gap:15px;

    }


    nav a{

        margin:0 8px;

        font-size:14px;

    }


    .hero h1{

        font-size:30px;

    }

}

/* upload */
/* SUBIR VIDEO */


.upload-section {

    min-height:80vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:30px;

}


.upload-card {

    background:white;

    width:100%;

    max-width:500px;

    padding:35px;

    border-radius:20px;

    box-shadow:0 5px 20px rgba(0,0,0,0.1);

}



.upload-card h1 {

    color:#176b2c;

    text-align:center;

}



.upload-card p {

    text-align:center;

    color:#666;

}



.upload-card label {

    display:block;

    margin-top:20px;

    font-weight:bold;

}



.upload-card input,
.upload-card textarea {


    width:100%;

    margin-top:8px;

    padding:12px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:15px;

}



.upload-card textarea {

    height:100px;

    resize:none;

}



.upload-card button {

    width:100%;

    border:none;

    cursor:pointer;

    margin-top:25px;

}
/* watch.html*/
/* VIDEOS SHORTS */


.videos-page {

    padding:30px 15px;

    text-align:center;

}



.videos-page h1 {

    color:#176b2c;

}



.video-feed {

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:35px;

}



.video-card {

    background:white;

    width:360px;

    border-radius:25px;

    overflow:hidden;

    box-shadow:0 5px 20px rgba(0,0,0,0.12);

}



.short-video {

    width:100%;

    height:600px;

    object-fit:cover;

    background:black;

}



.video-info {

    padding:15px;

    text-align:left;

}



.video-info h3 {

    margin:0;

    color:#176b2c;

}



.actions {

    display:flex;

    gap:10px;

    margin-top:15px;

}



.actions button {

    border:none;

    background:#f1f1f1;

    padding:10px 15px;

    border-radius:20px;

    cursor:pointer;

}



.video-empty {

    background:white;

    padding:40px;

    border-radius:20px;

    max-width:400px;

}



@media(max-width:500px){


.video-card {

    width:100%;

}


.short-video {

    height:550px;

}


}
/*videos grandes*/
/* GRID DE VIDEOS COMO YOUTUBE */


.video-grid {

    display:grid;

    grid-template-columns:repeat(3, 1fr);

    gap:25px;

    max-width:1600px;

    margin:auto;

}



.video-item {

    background:white;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 5px 15px rgba(0,0,0,0.1);

    padding-bottom:15px;

}



.video-item video {

    width:100%;

    height:220px;

    object-fit:cover;

    background:black;

}



.video-item h3 {

    margin:15px;

    color:#176b2c;

}



.video-item p {

    margin:15px;

    color:#666;

}



@media(max-width:900px){

    .video-grid {

        grid-template-columns:repeat(2, 1fr);

    }

}



@media(max-width:600px){

    .video-grid {

        grid-template-columns:1fr;

    }

}