﻿.main.container {
    display:grid;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: normal;
}

body {
    background: #eee;
}

.heading {
    margin-top: 80px;
    color: #444;
    font-size: 40px;
    text-align: center;
    padding: 10px;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: flex-start;
    padding: 5px;
    left:100%;
}

    .container .main-video {
        background: #fff;
        border-radius: 5px;
        padding: 10px;
        width:660px;
        height:450px;
    }

        .container .main-video video {
            width: 100%;
            border-radius: 5px;
        }

        .container .main-video .title {
            color: #333;
            font-size: 23px;
            padding-top: 15px;
            padding-bottom: 15px;
        }

    .container .video-list {
        background: #fff;
        border-radius: 5px;
        height: 450px;
        overflow-y: scroll;
        width:480px;
    }

        .container .video-list .video-list-style video {
            width: 100px;
            border-radius: 5px;
        }

        .container .video-list:-webkit-scrollbar-track {
            width: 7px;
        }

        .container .video-list:-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 50px;
        }

.video-list-style .title {
    margin-left: 50px;
    width: 25em
}


.container .video-list .video-list-style {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f7f7f7;
    border-radius: 5px;
    margin: 10px;
    padding: 10px;
    border: 1px solid rgba(0,0,0,.1);
    cursor: pointer;
}

    .container .video-list .video-list-style:hover {
        background: #eee;
    }

    .container .video-list .video-list-style.active {
        background: #2980b9;
    }

        .container .video-list .video-list-style.active .title {
            background: #fff;
        }

    .container .video-list .video-list-style .title {
        color: #333;
        font-size: 17px;
    }


/* Медиа-запросы */
@media (max-width: 991px) {
    .container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 10px;
    }
}


/* Gallery Style*/

.container_gallery {
    align-items:flex-start;
    width: 64%;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 8%;
    background-color: #fff;
    border-radius: 5px;
    margin-left: 15%;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px, 1fr));
    grid-gap: 3%;
    animation: fadeIn 1s ease-in-out;
    animation-delay: 3s;
}

    .gallery img {
        width: 100%;
        background: gray;
        border: 1px solid rgba(0,0,0,.3);
    }

/*Pdf file*/

.pdf img {
    border-radius: 10px;
    height: 10%;
    width: 10%;
}

.pdf {
    align-items: flex-start;
    display: flex;
    justify-content: center;
    width: 64%;
    margin-top: 5px;
    margin-left: 15%;
    background-color: #fff;
    padding: 50px 8%;
}

    .pdf span {
        width: 170%;
        font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }