/* style.css */

/* html tag styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
    font-size: medium;
}

h2 {
    margin: 0;
    margin-bottom: 3vh;
    padding:0;
    font-size: large;
}

button, label {
    padding: 1vh 2vw;
    background-color: #e2a5dd;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;
    font-size: inherit;
}

button:hover {
background-color: #e0007b;
}

ul {
    list-style: none;
    padding: 0;
}


input[type="file"] {
    display: none;
}


/* generic class*/
.container {
    margin-top: 3vh;
    margin-bottom: 3vh;

    overflow: hidden;
    background-color: #fff;
    padding: 3vh;
    padding-right:3vw;
    padding-left: 3vw;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.grid4col {
    display: grid;
    grid-template-columns: 25% 25% 25% 24%;
    grid-template-rows: auto;
}

/* index.html styles */

#videoPlayer {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

#commentForm {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

#commentForm textarea, #commentForm input {
    padding: 10px;
    border-radius:4px ;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 3vh;
}
#commentForm textarea {
    height: 30vh;
    resize: vertical;
}

#commentForm button {
    width: 100%;
}



@media (min-width: 1200px) {
    .container {
        width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* admin page styles */

#setVideo h2{
    grid-area: 1 / 1 / 1 / -1;
}

#videoInfo {
    grid-area: 2 / 1 / 2 / -1;
    margin-bottom: 3vh;
}

#videoForm {
    grid-area: 3 / 1 / 3 / -1;
}

#commentsList li {
    margin-bottom: 3vh;
    border-bottom: 1px solid #ccc;
}
