@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;500;700&display=swap');

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: white;
    height: 1000px;
    margin: 0px;
}

p {
    margin: 0px;
}

button {
    cursor: pointer;
}

.main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 14px;
    row-gap: 40px;
    padding-left: 90px;
    padding-top: 80px;
}

.video,
.thumbnail {
    width: 100%;
    cursor: pointer;
}

.thumb-picture {
    width: 100%;
    border-radius: 11px;
}

.channel {
    margin-top: 7px;
    display: flex;
    align-items: top;
}

.channel-picture {
    width: 50px;
}

.channel-profile {
    width: 90%;
    margin-top: 2px;
}

.video-info {
    margin-left: 12px;
}

.video-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.channel-name,
.video-stats {
    font-size: 13px;
}


@media only screen and (max-width: 1300px) {
    .main {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media only screen and (max-width: 1100px) {
    .main {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (max-width:790px) {
    .sidebar {
        opacity: 0;
    }

    .main {
        padding-left: 20px;
    }
}

@media only screen and (max-width: 700px) {
    .main {
        grid-template-columns: 1fr;
    }

    .video {
        min-width: 100px;
    }
}