* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

  .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
    
    font-family: Arial, sans-serif;
    
    box-sizing: border-box;
  }

  .profile {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  .profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ccc;
    margin-right:0%;
  }

  .profile-info {
    flex: 1;
  }

  .username {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: 0%;
    padding-left: 0%;
    display: flex;
    margin-left: 0%;
  }

  .stats {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
  }

  .stats div {
    font-size: 0.95rem;
  }

  .bio {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .gallery {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 5px;
  }

  .gallery img,
  .gallery video {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
      border-radius: 20px;
  }

  @media (max-width: 600px) {
    .profile {
      flex-direction: column;
      align-items: flex-start;
    }

    .profile-img {
      width: 100px;
      height: 100px;
    }

    .stats {
      gap: 10px;
      font-size: 0.85rem;
    }
    
  }
  
  
  
  
  /* Overlay */
.overlay {
position: absolute;
height : auto;
width : auto;
top: 0%;
left: 0px;
right: 0px;
display: flex;
border-radius: 25px;
justify-content: space-between;

background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);



}
.video-info {
max-width: 70%;
}
.video-actions {
display: flex;
flex-direction: column;
align-items: center;
padding-top : 2%;
padding-right : 2%;
color:#fff;
gap: 15px;
margin-right: 0%;
text-align: right;
text-align: right;
position: absolute;
 right: 0;
}
.video-actions div {
font-size: 20px;
text-align: center;
}
.video-actions i {
font-size: 26px;
cursor: pointer;
}

/* Right Comment Panel */
.comment-panel {
position: fixed;
top: 0;
right: -420px;
width: 400px;
height: 100%;
background-color: rgba(18,18,18,0.97);
padding: 15px;
display: flex;
flex-direction: column;
transition: right 0.3s ease;
z-index: 1002;
text-align:left;
}
.comment-panel.open {
right: 0;
  text-align:left;
}
.comments-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.comment-list {
flex: 1;
overflow-y: auto;
margin: 10px 0;
  text-align:left;
}
.comment-list p {
margin-bottom: 10px;
  text-align:left;
}
.comment-input {
display: flex;
gap: 8px;
  text-align:left;
}
.comment-input input {
flex: 1;
padding: 8px;
background: #222;
border: none;
border-radius: 20px;
color: #fff;
  text-align:left;
}
.comment-input button {
background: #4caf50;
border: none;
border-radius: 50%;
width: 45px;
height: 45px;
display: flex;
align-items: center;
justify-content: center;
color: white;
cursor: pointer;
  text-align:left;
}

.exitcommentsbutton {

font-size : 30px;
width : 40px;
height : 40px;
background-color: #c89666; 

}

/* Right Comment Panel */
.transfert-panel {
position: fixed;
top: 0;
right: -400px;
width: 350px;
height: 100%;
background-color: rgba(18,18,18,0.97);
padding: 15px;
display: flex;
flex-direction: column;
transition: right 0.3s ease;
z-index: 1002;
}
.transfert-panel.open {
right: 0;
}
.transfert-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.transfert-list {
flex: 1;
overflow-y: auto;
margin: 10px 0;
}
.transfert-list p {
margin-bottom: 10px;
}
.transfert-input {
display: flex;
gap: 8px;
}
.transfert-input input {
flex: 1;
padding: 8px;
background: #222;
border: none;
border-radius: 20px;
color: #fff;
}
.transfert-input button {
background: #4caf50;
border: none;
border-radius: 50%;
width: 45px;
height: 45px;
display: flex;
align-items: center;
justify-content: center;
color: white;
cursor: pointer;
}

.transferttab{

padding: 15px;

}

.exitcommentsbutton {
font-size : 30px;
width : 40px;
height : 40px;

}

.circular--portrait { 
position: relative;
width: 50px; 
height: 50px; 
overflow: hidden; 
border-radius: 50%; 
} 

.circular--portrait img { 
width: 100%; 
height: auto;
}

.circular--portraitMenuBar { 
position: relative;
width: 30px; 
height: 30px; 
overflow: hidden; 
border-radius: 50%; 
} 

.circular--portraitMenuBar img { 
width: 100%; 
height: auto;
}

.imgcontainer {
display: grid;
align-items: center; 

column-gap: 1px;
}

.textimagusername {
font-size: 70px;
}


.search-input {
width: 100%;
padding: 12px 40px 12px 16px;
border-radius: 25px;
border: none;
outline: none;
font-size: 16px;
background-color: #1f1f1f;
color: #fff;
transition: 0.3s ease;
}

.search-input:focus {
box-shadow: 0 0 8px #4CAF50;
background-color: #2c2c2c;
}

.search-icon {
position: absolute;
right: 12px;
top: 50%;
transform: translateY(-50%);
color: #aaa;
font-size: 18px;
pointer-events: none;
}

/* Video Area */
.video-container {
height:auto;
width: auto;
position: relative;
border : 3px solid gray;
border-radius: 25px;


.videoex {
text-align:center;

}
  
.tabs {
margin-left:50%;
margin-right:50%;
text-align:center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

.tab {
padding: 10px 20px;
cursor: pointer;
border-bottom: 2px solid transparent;
color: #aaa;
transition: 0.3s;

}

.tab.active {
border-color: #fff;
color: #fff;
}

.dropdown {
position: relative;
display: inline-block;
}

.dropbtn {
background-color: #c89666;
color: white;
padding: 10px 16px;
font-size: 16px;
border: none;
border-radius: 4px;
cursor: pointer;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
z-index: 1;
border-radius: 4px;
}

.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}

.dropdown-content a:hover {
background-color: #ddd;
}

.dropdown:hover .dropdown-content {
display: block;
}

.dropdown:hover .dropbtn {
background-color: #c89666;
}


