h1{
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    opacity: .5;
    margin: 15px 15px;
}

.demo-contents{
    display: flex;
    width: 100%;
    padding: 2%;
}

.demo-video{
    display: flex;
    flex-direction: column;
    width: 65%;
}

#myVideo1{
    width: 100%;
    height: 400px;
    transform: rotate(0deg);
}


.rotate-landscape {
    transform: rotate(90deg) !important; /* Rotate portrait videos */
}

.video-detail{
    display: flex;
    flex-direction: column;
    font-size: 24px;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    margin: 5px 10px;
}

.video-detail p{
    font-size: 16px;
}

.tut-list{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 78vh;
    border-radius: 10px;
    overflow-y: scroll;
    padding: 5px;
}

.vlist{
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 5px;
    opacity: 1;
    gap: 10px;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgba(58, 63, 68, 0.599);
    margin: 10px;
    border-radius: 10px;
}

.vlist img{
    display: flex;
    width: 100px;
    height: 70px;
    padding: 5px;
    border-radius: 10px;
}

.vlist:hover{
    text-decoration: none;
    background-color: rgba(235, 201, 178, 0.878);
    color: white;
}

.comments-form{
    display: flex;
    width: 100%;
    flex-direction: column;
    margin: 10px 0;
}

.comments-form h3{
    color: black !important;
}

.comments-form input{
    display: flex;
    width: 70%;
    padding: 5px;
    margin: 5px;
    font-size: 16px;
    border-radius: 5px;
    border: 2px solid grey;
    background-color: white;
}

.comments-form textarea{
    display: flex;
    width: 70%;
    padding: 5px;
    margin: 5px;
    font-size: 16px;
    border-radius: 5px;
    border: 2px solid grey;
    background-color: white;
}

.comments-form button{
    display: flex;
    width: 10%;
    justify-content: center;
    align-items: center;
    margin: 5px 5px;
}

.right-content{
    display: flex;
    flex-direction: column;
    width: 35%;
}

.videotags{
    display: flex;
    flex-direction: row;
    gap: 2%;
    padding: 2%;
    flex-wrap: wrap;
}

.tags{
    display: flex;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: rgba(58, 63, 68, 0.599);
    font-size: 14px;
}

.tagActive{
    background-color: #f45604;
}

.tags:hover{
    color: white;
    text-decoration: none;
}

@media screen and (max-width: 428px){
    h1{
        margin: 0px 10px;
        font-family: Arial, Helvetica, sans-serif !important;
    }

    .demo-contents{
        flex-direction: column;
        padding: 10px;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .demo-video{
        width: 100%;
        padding-top: 0 !important;
    }
    
    #myVideo1{
        width: 100%;
        height: 400px;
        padding-top: 0;
        margin-top: 0;
    }
    
    .video-detail{
        display: flex;
        font-size: 24px;
        font-family: Arial, Helvetica, sans-serif !important;
        color: white;
        margin: 0px 0px 10px 0;
    }
    
    .tut-list{
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}