/* Estilização da página do YouTube */

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: white;;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: white;
    border-bottom: 1px solid #3d3d3d;
}

.left-section {
    display: flex;
    align-items: center;
}

.youtube-logo {
    height: 25px;
    margin-left: 15px;
}

.middle-section {
    display: flex;
    align-items: center;
    flex-grow: 1;
    max-width: 600px;
    margin: 0 40px;
}

.middle-section input {
    flex-grow: 1;
    padding: 8px 10px;
    border: 1px solid #3d3d3d;
    background-color: white;
    color: black;
    border-radius: 20px 0 0 20px;
    outline: none;
}

.search-button {
    background-color: #f2f2f2cc;
    border: 1px solid #3d3d3d;
    padding: 2.3px 10px;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
}

.right-section {
    display: flex;
    align-items: center;
}

.icon {
    height: 24px;
    margin-left: 20px;
    cursor: pointer;
}

.user-profile {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    margin-left: 20px;
    cursor: pointer;
}

.main-content {
    display: flex;
    padding: 20px;
}

.video-container {
    flex-basis: 70%;
    margin-right: 20px;
}

.main-video {
    width: 100%;
    border-radius: 8px;
}

.video-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 15px;
    color: black
}

.video-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    color: #aaa;
}

.action-buttons {
    margin-left: auto;  
    display: flex;
    align-items: center;
}

.action-buttons button {
    background-color: white;
    color: black;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
    display: flex; 
    align-items: center;
    gap: 6px; 
}

.channel-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding: 15px 0;   
}

.channel-avatar {
    height: 48px;
    width: 48px;
    border-radius: 50%;
}

.channel-text {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.channel-name {
    font-weight: 500;
}

.subscribers {
    font-size: 12px;
    color: #aaa;
}

.subscribe-button {
    background-color: #c00;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-left: 24px;
    cursor: pointer;
}

.video-description {
    margin-top: 20px;
    color: #aaa;
    font-size: 14px;
}

.sidebar {
    flex-basis: 30%;
}

.sidebar-heading {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
}

.sidebar-video-item {
    display: flex;
    margin-bottom: 15px;
    cursor: pointer;
}

.sidebar-thumbnail {
    width: 168px;
    height: 94px;
}

.sidebar-video-details {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    justify-content: space-around;
}

.sidebar-video-title {
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
}

.sidebar-channel-name,
.sidebar-video-stats {
    font-size: 12px;
    color: #aaa;
}

span, img{
    color: black;
}