@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');



body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background-color: rgb(0, 0, 0);    
    font-family: 'Roboto', sans-serif; /* New font */
    color: #fff;
}

.form-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #33333300;
    padding: 20px; 
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 15px;
}

.form-container a {
    color: #ffffff;
    text-decoration: none;
    text-align: center;
}

.form-container input {
    margin: 10px 0;
    padding: 13px;
    width: 200px;
    border-radius: 18px;
    border: 1px solid #00000000;
    background-color: #0000003d;
    color: #fff;
    border-color: #dddddd38;
}

.form-container button {
    margin: 10px 0;
    padding: 10px;
    width: 220px;
    background: rgba(29, 29, 29, 0.514); 
    color: #ffffff; 
    border: none;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.form-container button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: rgba(33, 33, 49, 0.425); 
    transform: translateY(-50%);
    transition: left 0.3s;
    z-index: 0;
}

.form-container button:hover::before {
    left: 100%;
}

.form-container button:hover {
    background: rgba(28, 28, 46, 0.623); /* Keep light gray color */
    box-shadow: 0 0 10px rgba(78, 78, 78, 0.4); /* Shadow effect */
    transform: scale(1.05); /* Slightly scale the button */
}

.form-container button span {
    position: relative;
    z-index: 1; /* Ensures the text is above the pseudo-element */
}

.video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100vh;
    overflow-y: hidden; /* Hide scrollbar */
    scroll-snap-type: y mandatory;
}

.video-container video {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Make video-feed a scrollable area */
.video-feed {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* Left bottom styles */
.left-bottom {
    position: absolute;
    left: 10px;
    bottom: 110px; /* Moved up further */
}

.left-bottom .profile-container {
    display: flex;
    align-items: center;
}

.left-bottom img {
    width: 40px; /* Smaller profile picture */
    height: 40px; /* Smaller profile picture */
    border-radius: 50%;
    margin-right: 10px; /* Space between image and text */
    box-shadow: 0px 2px 10px 2px rgba(41, 41, 41, 0.8); /* Shadow effect */

}

.left-bottom #user-name {
    display: flex;
    align-items: center;
    margin: 1; /* Remove default margin for better alignment */
}

.left-bottom .follow-btn {
    background-color: #a7a8aa2c;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    margin-left: 12px; /* Space between user name and button */
    border-radius: 18px;
    font-family: 'Roboto', sans-serif; /* New font */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    cursor: pointer;

}

.left-bottom .follow-btn:hover {
    background-color: #dfdfdf42;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.8);}

.left-bottom #video-description {
    margin-top: 12px; /* Space between profile container and video description */
    font-size: 15px; /* Adjust font size if needed */
    margin-left: 4px; /* Space between user name and button */
}



/* Upload form styles */
#upload-form {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; /* Adjust width as needed */
}
.orinalsound-img img {
    width: 35px;
    height: 35px;
    border: 2px solid #cccccc7a; /* Border color and thickness */
    border-radius: 6px; /* Rounded corners */
    box-shadow: 0px 2px 6px 2px rgba(41, 41, 41, 0.8); /* Shadow effect */
}


/* File input styles */
#video-file {
    margin: 0; /* Remove any margin */
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    position: absolute; /* Position it absolutely */
    top: 0; /* Align it to the top of the screen */
    left: 0; /* Align it to the left of the screen */
    object-fit: cover; /* Ensure the video covers the entire area */
}
.orinalsound {
    background-color: #a7a8aa21;    
    display: flex;
    align-items: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    border-radius: 19px;
    padding: 4px;
    color: #fff; /* Change this to your preferred text color */
}
.orinalsound img {
    width: 20px;
    height: 20px;
    padding: 3px;
border: none;
 background-color: none;
 left: 4px;
 box-shadow: none;
}
.orinalsound p {
    margin: 0 5px;
}

.original-sound-text {
    font-family: 'Roboto', sans-serif; /* Apply new font */
}

.dot {
    margin: 0 5px;
    font-size: 20px; /* Adjust size as needed */
    line-height: 1;
}

#user-name1 {
    font-family: 'Roboto', sans-serif; /* Apply new font */

}






/* Description text area styles */
#video-description-input {
    display: block;
    width: calc(100% - 20px); /* Full width minus padding */
    height: 80px;
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-sizing: border-box; /* Include padding in width */
}

/* Buttons styles */


/* Cancel button styles */
#cancel-upload-button {
    background-color: #f4433683; /* Red color */
    color: #fff;
}

.like-button {
    display: flex;
    flex-direction: column; /* Align items vertically */
    align-items: center;
    cursor: pointer;
    font-size: 24px; /* Adjust as needed */
}

#like-icon {
    width: 35px;
    height: 35px;
    transition: transform 0.3s; /* Add transition for hover effect */
}

.like-icon :hover {
    transform: scale(1.2); /* Slightly enlarge the icon on hover */
}
#like-icon.liked {
    content: url('https://img.icons8.com/?size=100&id=7697&format=png&color=f4433683'); /* Change image when liked */
    transform: scale(1.2); /* Size increase on click */
}

#like-count {
    margin-top: 4px; /* Space between heart and count */
    font-size: 15px;
    color: white; /* Text color */
}

/* Right icons styles */
.right-icons {
    position: absolute;
    right: 9px;
    bottom: 100px; /* Moved up further */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0cm 0; /* Space between icons */
}
.icon-wrapper img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s; /* Add transition for hover effect */
}

.icon-wrapper img:hover {
    transform: scale(1.2); /* Slightly enlarge the icon on hover */
}
.icon-wrapper p {
    margin-top: 1px; /* Space between icon and count */
    font-size: 15px;
    color: white; /* Text color */
}

/* Keyframes for heart animation */
@keyframes heart-animation {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Style for heart animation */
.heart-animation {
    animation: heart-animation 0.5s ease;
}



#save-icon.liked {
    content: url('https://img.icons8.com/?size=100&id=j5pxhn9LdxZV&format=png&color=FFFFFF'); /* Change image when liked */
    transform: scale(1.2); /* Size increase on click */
}

/* Header styling */
header{
    padding: 1px;
}






.overlay111 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none; /* Hidden by default */
    z-index: 1000;
}

.comment-section {

    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%; /* Adjusted to give more space for comments */
    background: rgba(22, 22, 22, 0.7); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Blur effect */
    border-radius: 40px 40px 0 0; /* Top-left and top-right corners are rounded, bottom corners are square */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0);
    display: none; /* Hidden by default */
    flex-direction: column;
    transition: height 0.3s ease;
    z-index: 1001;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #444;
    background: rgba(22, 22, 22, 0); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Blur effect */
    border-radius: 40px 40px 0 0; /* Top-left and top-right corners are rounded, bottom corners are square */
}

#header11like h2 {
    margin: 0;
    color: #fff;
    font-size: 18px; /* Increased font size for better readability */
    font-family: 'Arial', sans-serif; /* Improved font */
}


#button11 {
    background: none;
    border: none;
    color: #fffffff8;
    font-size: 16px;
    font-family: 'Roboto', sans-serif; /* New font */
    top: -1px;
}

#button11 img{
 height: 50px;
 width: 70px;
}
.comment-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.comment-list {
    display: flex;
    flex-direction: column;
}

.comment {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 10px;
    background-color: #33333300;
    border-radius: 8px;
    color: #fff;
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.comment-content {
    flex: 1;
}

.username11 {
    font-size: 15px; /* Increased font size for readability */
    color: #fff;

}

.comment-text {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.5;
}

.comment-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.likes11 {
    font-size: 14px;
    color: #ffffffdc;
}

.reply-button {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Roboto', sans-serif; /* New font */
}

.like-button11 {
    background: none;
    border: none;
    color: #ff0000;
    font-size: 24px;
    cursor: pointer;
    position: absolute; /* Positioned to the right */
    right: 1px; /* Adjusted right spacing */
}

.comment-footer {
    padding: 10px;
    border-top: 1px solid #444;
    background: rgba(22, 22, 22, 0.7); /* Semi-transparent background */
    backdrop-filter: blur(10px); 
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    width: 100%;
    margin-top: -10px;
}

#commentInput {
    width: 75%;
    height: 20px;
    border: 1px solid #444;
    border-radius: 25px;
    padding: 10px;
    font-size: 14px;
    resize: none;
    background-color: #333;
    color: #fff;
    font-family: 'Roboto', sans-serif; /* New font */
}

#sendComment {
    background-color: #007bff00;
    border: none;
    color: #fff;
    width: 50px;
    padding: 3px ;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif; /* New font */
}
#sendComment img{
    width: 40px;
    height: 40px;
}

#video-container {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    height: 100vh;
    width: 100vw;
    scroll-snap-type: y mandatory;
  }
  
  .video-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    scroll-snap-align: start;
    position: relative;
  }
  
  .video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  

/* Hide scrollbar for webkit browsers (Chrome, Safari) */
.video-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
}

/* Hide scrollbar for Firefox */
.video-container {
    scrollbar-width: none; /* Hide scrollbar */
}



 
  /* Keyframes for sliding out up */
  @keyframes slideOutUp {
    from {
      transform: translateY(0);
    }
    to {
      transform: translateY(-100%);
      opacity: 0;
    }
  }
  
  /* Keyframes for sliding in down */
  @keyframes slideInDown {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Keyframes for sliding out down */
  @keyframes slideOutDown {
    from {
      transform: translateY(0);
    }
    to {
      transform: translateY(100%);
      opacity: 0;
    }
  }
  
  /* Keyframes for sliding in up */
  @keyframes slideInUp {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  