@import url(./reset.css);

@font-face {
    font-family: 'Roboto-SemiBold';
    src: url(../fonts/Roboto-SemiBold.ttf);
}

body{
    box-sizing: border-box;
    font-family: 'Roboto-SemiBold', Arial, sans-serif;
    width: 100%;
    height: auto;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    gap: 20px;
    background: #ffffff;
}

.youtube-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 230px;
    height: 50px;
}

.menu-btn {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 50%;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding-top: 18px;
    border: none;
}

.menu-btn div {
    width: 25px;
    height: 0;
    background: black;
    border: 1px solid black;
    border-radius: 2px;
}

.menu-btn:hover {
    width: 50px;
    height: 50px;
    justify-content: center;
    background: #e4e4e4;
    border-radius: 50%;
    cursor: pointer;
    padding-top: 4px;
}

.youtube-menu img{
    width: 100px;
    height: 20px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.youtube-menu img:hover {
    cursor: pointer;
}

.search {
    display: flex;
    flex-direction: row;
    width: 460px;
    height: 40px;
}

.search label {
    display: none;
}

.search-bar {
    width: 400px;
    margin: 0;
    border-radius: 20px 0px 0px 20px;
    border: 1px solid #646464;
    font-size: 16px;
    text-indent: 20px;
}

.search-bar:hover {
    cursor: text;
    border: 2px solid #000000;
}

.search-btn {
    width: 60px;
    margin: 0;
    border-radius: 0px 20px 20px 0px;
    border: 1px solid #646464;
    border-left: 0;
    background-color: #eeeeee;
}

.search-btn:hover {
    cursor: pointer;
    border: 2px solid #000000;
}

.profile-actions {
    width: 190px;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    margin: 0;
    gap: 1px;
}

.profile-actions button {
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    border: none;
}

.profile-actions button:hover {
    cursor: pointer;
    background: #e9e9e9;
}

.profile-actions button img {
    width: 33px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.profile-actions > img {
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    flex-shrink: 0;
}

.profile-actions > img:hover {
    cursor: pointer;
}

main {
    display: flex;
    width: 100%;
    flex: 1 1 auto;
    font-family: Arial, sans-serif;
    justify-content: center;
    font-weight: 500;
    font-size: 15px;
    gap: 30px;
    padding-top: 80px;
}

.watching-video {
    display: flex;
    flex-direction: column;
    width: 70%;
    gap: 10px;
    height: auto;
}

.watching-video iframe {
    width: 100%;
    height: 700px;
    border-radius: 12px;
}

.watching-video h2 {
    font-size: 19px;
    font-weight: 600;
    margin: 5px 0px;
}

.actions-btn {
    display: flex;
    justify-content: space-evenly;
    justify-content: flex-start;
    gap: 50px;
}

.actions-btn .channel-info {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 170px;
    text-align: center;
    gap: 15px;
}

.actions-btn .channel-info .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    color: #646464;
    font-size: 14px;
    font-weight: 500;
}

.info .channel-name {
    font-weight: 700;
    color: #000000;
    font-size: 16px;
    text-decoration: none;
}

.actions-btn .channel-info button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 0;
    margin: auto;
    background: none;
    border: none;
}

.channel-info .avatar-channel {
    margin: 0;
    padding: 0;
}

.actions-btn button {
    width: auto;
    height: 45px;
    background: none;
}

.actions-btn button:hover {
    cursor: pointer;
    background: #d5d4d4;
}

.actions-btn .subscribe-btn {
    width: 150px;
    height: 40px;
    margin: 3px 90px 0px 0px;
    padding: 0;
    background: #cf0202;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    border-radius: 20px;
    border: none;
}

.actions-btn .subscribe-btn:hover {
    cursor: pointer;
    background: #b10000;
}

.group-btn {
    display: flex;
    justify-content: flex-end;
    width: 900px;
    gap: 10px;
    padding: 0;
}

.group-btn button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 10px 10px;
    min-width: 90px;
    font-weight: 600;
    background: #e9e9e9;
    border-radius: 25px;
    border: none;
}

.group-btn .button-thumbs-up {
    width: 100px;
}

.group-btn .button-thumbs-up img {
    width: 27px;
    margin: 0;
    padding: 0;
}

.group-btn .button-thumbs-down {
    width: 130px;
}

.group-btn .button-thumbs-down img {
    width: 27px;
    margin: 0;
    padding: 0;
}

.group-btn .button-share {
    width: 150px;
}

.group-btn .button-share img {
    width: 27px;
    margin: 0;
    padding: 0;
}

.group-btn .button-download {
    width: 140px;
}

.group-btn .button-download img {
    width: 27px;
    margin: 0;
    padding: 0;
}

.group-btn .button-more-options {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    align-items: center;
    font-weight: 800;
    letter-spacing: 1px;
}

.video-description {
    font-size: 14px;
    color: #707070;
    background: #dddddd;
    border-radius: 10px;
    margin: 10px;
    padding: 0px 15px;
}

.video-description h3 {
    font-size: 15px;
    font-weight: 600;
    color: #535353;
    margin: 10px 0px 0px 0px;
}

.video-description span {
    color: #3232ff;
    cursor: pointer;
}

.video-description a {
    color: #3857b5;
    cursor: pointer;
    text-decoration: none;
}

.video-description p {
    font-size: 14px;
    color: #565656;
    margin: 5px 0px 20px 0px;
}

.sidebar-videos {
    width: 420px;
    height: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 40px;
    font-size: 13px;
    justify-content: flex-start;
    align-self: flex-start;
}

.sidebar-videos .videos {
    width: 400px;
    height: 90px;
    display: flex;
    text-decoration: none;
    color: #707070;
    gap: 2px;
}

.thumbnail {
    margin-right: 10px;
}

.sidebar-videos img {
    width: 200px;
    border-radius: 10px;
}

.videos-details {
    letter-spacing: 0;
    word-spacing: 1px;
    word-break: normal;
}

.title-video {
    color: #000000;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.videos-details .channel-video {
    margin-bottom: 10px;
    font-size: 14px;
}

.videos-details .views-video, .time-video {
    margin-bottom: 1px;
    font-size: 14px;
}


@media (max-width: 1480px) {
    .search-bar {
        width: 100%;
    }

    main {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .watching-video {
        width: 95%;
        height: auto;
    }

    .watching-video iframe {
        width: 100%;
        height: 450px;
    }

    .sidebar-videos {
        width: 95%;
        height: auto;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 2px;
        padding: 1px;
        margin-left: 20px;
    }

    .sidebar-videos .videos {
        width: 430px;
        height: 135px;
        margin: 3px;
    }

    .sidebar-videos img {
        width: 230px;
        height: auto;
    }

    .videos-details {
        margin: 5px;
        font-size: 14px;
    }

    .title-video {
        color: #000000;
        font-weight: 600;
        font-size: 16px;
        margin: 0px 0px 15px 0px;
        word-break: normal;
    }

    .videos-details .views-video {
        margin-top: 15px;
    }

    .videos-details .channel-video, .views-video, .time-video {
        font-size: 15px;
    }
}

@media (max-width: 1400px) {
    .sidebar-videos {
        width: 95%;
        height: auto;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 2px;
        padding-left: 30px;
    }

    .sidebar-videos .videos {
        width: 600px;
        height: 135px;
        justify-content: flex-start;
        
    }

    .sidebar-videos img {
        width: 230px;
        height: auto;
    }
}

@media (max-width: 1300px) {
    main {
        align-items: center;
    }

    .watching-video iframe {
        width: 100%;
        height: 450px;
    }

    .sidebar-videos {
        width: 95%;
        height: auto;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 2px;
        padding: 1px;
    }

    .sidebar-videos .videos {
        width: 100%;
        height: auto;
        margin: 3px;
    }

    .sidebar-videos img {
        max-width: 250px;
        height: auto;
        flex: 1;
    }
}

@media (max-width: 1110px) {
    .actions-btn {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (max-width: 820px) {
    main {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .watching-video iframe {
        width: 100%;
        height: 360px;
    }

    .group-btn {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 20px;
    }

    .group-btn button {
        min-width: 30px;
    }

    .group-btn .button-thumbs-up {
        width: 45px;
    }
    
    .group-btn .button-thumbs-up span {
        display: none;
    }

    .group-btn .button-thumbs-down {
        width: 45px;
    }

    .group-btn .button-thumbs-down span {
        display: none;
    }

    .group-btn .button-share {
        width: 45px;
    }

    .group-btn .button-share span {
        display: none;
    }

    .group-btn .button-download {
        width: 45px;
    }

    .group-btn .button-download span {
        display: none;
    }

    .sidebar-videos {
        width: 94%;
        height: auto;
        gap: 15px;
        margin: auto;
    }
    
    .sidebar-videos .videos {
        width: 100%;
        height: 140px;
    }

    .sidebar-videos img {
        width: 220px;
        height: 130px;
    }

    .videos-details {
        margin: 5px;
        font-size: 14px;
    }

    .title-video {
        color: #000000;
        font-weight: 600;
        font-size: 16px;
        margin: 0px 0px 15px 0px;
        word-break: normal;
        
    }

    .videos-details .views-video {
        margin-top: 15px;
    }

    .videos-details .channel-video, .views-video, .time-video {
        font-size: 14px;
    }
}

footer {
    text-align: center;
    margin-bottom: 1px;
}