* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #ff0000;
    color: #fff;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
    padding: 15px;
}

nav ul li a:hover {
    background-color: #ae0000;
    transform: scale(1.1);
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input {
    padding: 5px;
    border: none;
    border-radius: 3px;
    outline: none;
}

.search-bar button {
    padding: 5px 10px;
    margin-left: 5px;
    border: none;
    background-color: #ff0000;
    color: #fff;
    cursor: pointer;
}

.content {
    display: flex;
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.project-container {
    flex: 1;
    max-width: 400px;
    max-height: 1000px;
}

.big-project-container {
    flex: 1;
    max-width: 600px;
    max-height: 1000px;
}


.project-container iframe {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.project-description {
    margin-top: 10px;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

.project-description h2, .project-description p {
    margin: 5px 0;
}

.comment-section {
    flex: 1;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

.comment-section h2 {
    margin-bottom: 56px;
    text-align: center;
}

.comments {
    background-color: #ffffff;
    width: 100%;
    height: 303px; 
    overflow-y: auto; 
    padding: 10px; 
    border: 1px solid #ddd; 
    margin-bottom: 20px;
    display: flex;
    flex-direction: column; 
    gap: 10px; 
}

.comment-section textarea {
    width: 100%;
    height: 40px; 
    resize: none; 
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    font-size: 16px;
}

.comment-section button {
    padding: 10px;
    border: none;
    background-color: #ff0000;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.comment-section button:hover {
    background-color: #ae0000;
}

.project-side h1 {
    text-align: center;
}

.comment {
    position: relative;
    background-color: #f0f0f0;
    padding: 10px 15px;
    border-radius: 10px;
    display: inline-block;
    max-width: 300px;
    font-size: 14px;
    color: #333;
    word-wrap: break-word;
}

.comment::before {
    content: "";
    position: absolute;
    left: -10px; 
    top: 10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #f0f0f0; 
}

.creator {
    display: flex;
    flex-direction: row;
}

.creator p {
    margin-left: 10px;
    margin-top: 5px;
}

.release {
    display: flex;
    flex-direction: row;
}

.release p {
    margin-left: 10px;
    margin-top: 5px;
}


.tags-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 10px;
}

.tag {
    background-color: #ff0000;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    color: #ffffff;
    cursor: pointer;
}

#add-tag-button {
    background-color: #ff0000;
    color: #fff;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#add-tag-button:hover {
    background-color: #ae0000;
}

#new-tag-input {
    display: none;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 150px;
}

#new-tag-input.active {
    display: inline-block;
}

#add-tag-button.active {
    display: none;
}

.video-player {
    max-width: 100%;
    height: 305px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.big-video-player {
    max-width: 500;
    height: 305px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#addTagButton {
    border: none;
}