body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: #3b2a1a; /* dark brown */
    font-family: "Times New Roman", Times, serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #671616; /* lighter text for contrast */
}

/* Container */
.comment-section {
    margin: 2rem auto;
    padding: 1.5rem;
    max-width: 720px;
    background: var(--bs-light);
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05);
}

/* Comment Form Layout */
.comment-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Textarea */
.comment-box-text {
    width: 100%;
    min-height: 120px;
    padding: .75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .5rem;
    background-color: var(--bs-body-bg);
    resize: vertical;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.comment-box-text:focus {
    outline: none;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .25);
}

/* Button */
.comment-box-button {
    align-self: flex-end;
    padding: .5rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background-color: var(--bs-primary);
    border: none;
    border-radius: .5rem;
    cursor: pointer;
    transition: background-color .2s ease, transform .1s ease;
}

.comment-box-button:hover {
    background-color: var(--bs-primary-dark, #0b5ed7);
    transform: translateY(-1px);
}

.comment-box-button:active {
    transform: translateY(0);
}

/* Comments List */
.comments {
    margin-top: 2rem;
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
}

/* Individual Comment Card */
.comment {
    padding: 1rem 1.25rem;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
    box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .04);
    transition: transform .15s ease, box-shadow .15s ease;
}

.comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .06);
}

/* Author */
.comment-author {
    font-weight: 600;
    color: var(--bs-body-color);
}

/* Date */
.comment-date {
    font-size: .875rem;
    color: var(--bs-secondary);
    margin-left: .5rem;
}

/* Text */
.comment-text {
    margin-top: .5rem;
    line-height: 1.6;
    color: var(--bs-body-color);
}

.post-likes {
    display: flex;
    align-items: center;
    font-family: Arial, sans-serif;
}

.like-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.like-button:hover {
    background-color: #0056b3;
}

.like-button i {
    margin-right: 8px;
}

.likes-count {
    font-size: 18px;
    color: #333;
    margin-left: 8px;
}


html, body {
    height: 100%;
}

.header {
    background-image: url("https://i.etsystatic.com/23444619/r/il/b9ded5/2642071917/il_570xN.2642071917_4ve0.jpg");
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-family: "Engravers MT", serif;
    border-bottom: 1px solid #220c0c;
    padding: 10px;
}

.header h1 {
    margin-left: 35px;
    letter-spacing: 6px;
}



.nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.nav ul li {
    margin-right: 15px;
}

.nav a {
    font-family: "Times New Roman", Times, serif;
    font-size: 15px;
    color: white;
    padding: 5px;
    text-decoration: none;
    text-shadow: 0 0 6px black;
}

.nav a:hover {
    color: papayawhip;
}

.dropdown {
    position: relative;
}

.button-dropdown {
    background-color: transparent;
    border: none;
    font-family: "Times New Roman", Times, serif;
    font-size: 15px;
    color: white;
    text-shadow: 0 0 6px black;
    cursor: pointer;
}
.search-section {
    text-align: center;
    margin-bottom: 15px;
}

.search-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 80%;
    max-width: 1500px;
}

.search-bar {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.search-text {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 40px;
    box-sizing: border-box;
    background-image: url("https://media.istockphoto.com/id/1334525069/vector/geometric-abstract-background-with-hexagon-molecule-innovation-business-banner-technology.jpg?s=612x612&w=is&k=20&c=Fy0fa0s6lNldv2owLbRTQPKCWejSXQJ9n_2ONNLjbZk=");
    background-position: center;
    box-shadow: 0 0 7px black;
    text-align: center;
}

.search-text:hover {
    box-shadow: 0 0 14px black;
}
.home-button{
    background-color: gray;
    color: white;
    background-image: url("https://cdn.pixabay.com/photo/2024/02/25/18/37/ai-generated-8596407_640.png");
    background-size: cover;
    margin-right:15px;
    border: none;
    box-shadow: 0 0 7px black;
    border-radius: 80px;
    width: 50px;
    height: 50px;
    font-size: 16px;
    cursor: pointer;
    margin-left: 15px;
}

.search-button{
    background-color: gray;
    color: white;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/7/73/Circle-icons-global.svg/1200px-Circle-icons-global.svg.png");
    background-size: cover;
    border: none;
    box-shadow: 0 0 7px black;
    border-radius: 80px;
    width: 50px;
    height: 50px;
    font-size: 16px;
    cursor: pointer;
    margin-left: 15px;
}

.search-button:hover.search-button, .home-button:hover {
    box-shadow: 0 0 14px black;
}


.dropdown-menu-items {
    display: none;
    position: absolute;
    background-color: #333;
    color: white;
    width:auto;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: auto; /* Reset left */
    right: 0; /* Align to the right edge of the parent */
}

.dropdown-menu-items a,
.dropdown-menu-items button {
    text-align: center;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-menu-items a:hover, .dropdown-menu-items button:hover {
    background-color: #575757;
}

.dropdown:hover
.dropdown-menu-items {
    display: block;
}

/* Style for the input form */
.input-form2 input[type="text"],
.input-form2 textarea,
.input-form2 input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 40px;
    box-sizing: border-box;
    background-color: #cccccc;
    background-position: center;
    box-shadow: 0 0 7px black;
    text-align: center;
}


.input-form2 input[type="text"]:hover,
.input-form2 textarea:hover,
.input-form2 input[type="file"]:hover {
    box-shadow: 0 0 14px black;
}

::placeholder{
    font-size: 15px;

}

.input-form2  {
    border: 1px solid #ccc;
}

/* Style for the input form */
.input-form input[type="text"],
.input-form textarea,
.input-form input[type="file"] {
    width: 44%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 40px;
    box-sizing: border-box;
    background-image: url("https://media.istockphoto.com/id/1334525069/vector/geometric-abstract-background-with-hexagon-molecule-innovation-business-banner-technology.jpg?s=612x612&w=is&k=20&c=Fy0fa0s6lNldv2owLbRTQPKCWejSXQJ9n_2ONNLjbZk=");
    background-position: center;
    box-shadow: 0 0 7px black;
    text-align: center;
}



.input-form {
    border: 1px solid #ccc;
    width: auto;
    padding: 20px;
    box-sizing: border-box;
}


.form-label{
    left: 200px;
    color:transparent;
}


.policy-container {
    padding-right: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

/* Style for the checkboxes */
.policy-container input[type="checkbox"]{
    accent-color: #007BFF;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Style for the upload button */
.upload-button {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.upload-button:hover {
    background-color: #0056b3;
}

/* Main Content Styles */
.main {
    color: black;
    text-align: center;
    margin: 30px;
    padding-bottom: 30px;
    padding-top: 1px;
}

.input-group {
    width: 300px;
    margin: 0 auto 15px auto; /* center container */
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="password"] {
    width: 100%;          /* fill the 300px container */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 40px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 0 7px black;
}

.input-group input:hover {
    box-shadow: 0 0 14px black;
}
/* Container styles */
.age-container,
.tos-container {
    padding-right: 60px;
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    gap: 10px; /* Space between checkbox and label */
    margin: 10px 0;
}

/* Style for the checkboxes */
.age-container input[type="checkbox"],
.tos-container input[type="checkbox"]{
    accent-color: #007BFF;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Style for the labels */
.tos-button {
    display: inline-block;
    font-size: 14px;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: color 0.3s ease, background-color 0.3s ease;
}



button[type="submit"] {
    background-color: gray;
    color: white;
    background-image: url("https://plus.unsplash.com/premium_photo-1681400521239-676868f20d83?fm=jpg&q=60&w=3000&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8OXx8d2hpdGUlMjBwYXR0ZXJufGVufDB8fDB8fHww");
    padding: 12px 20px;
    border: none;
    box-shadow: 0 0 7px black;
    border-radius: 80px;
    max-width: 50%;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
}
button[type="submit"]:hover {
    box-shadow: 0 0 14px black;
}


.main a {
    color: black;
    text-decoration: none;
    background-color: #E8E8E8;
}


.main form {
    text-align: center;
    width: 1000px;
    padding: 20px;
    display: inline-block;
    border-radius: 5px;
    margin: 0;
}

.main label {
    display: inline-block;
    width: 10%;
    text-align: right;
    align-items: center;
    white-space: nowrap;
}


.main form label {
    display: inline-block;
}

.main input {
    margin-bottom: 5px;
}



.main button[type="button"] {
    margin-left: 75px;
}

.tag a {
    font-family: "Times New Roman", Times, serif;
    font-size: 15px;
    color: black;
    margin-right: 15px;
    text-decoration: none;
    margin-bottom: 155px;
}

.tag {
    padding: 20px;
}

.tag a:hover {
    color: deepskyblue;
    font-weight: bold;
    border: none;
}
video {
    width: 60%;
    height: auto;
    margin-bottom: 20px;
}
.main label[for="videoFile"] {
    margin-left: 100px;
}
.VideoDescription {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    font-family: 'Arial', sans-serif;
}

.VideoDescription p {
    margin: 0 0 10px;
    color: #333;
    line-height: 1.6;
}

.VideoDescription p strong {
    color: #007BFF; /* Custom color for labels */
    font-weight: 600;
}

.VideoDescription .post-description {
    font-size: 1rem;
    color: #555;
    background-color: #fff;
    padding: 10px;
    border-left: 4px solid #007BFF;
    border-radius: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer Styles */
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    font-size: 0.9rem;
    text-align: center;
    align-items: center;
    border-top: black solid 1px;
}
h3{
    padding-bottom: 15px;
}
.footer-content {
    display: flex;
    justify-content: space-around;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    margin: 10px;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: white;
    font-family: "Times New Roman", Times, serif;
}

.footer-section p, .footer-section ul {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-family: "Times New Roman", Times, serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    background-color: #222;
    text-align: center;
    padding: 10px 0;
    font-size: 0.8rem;
    border-top: 1px solid #444;
    font-family: "Times New Roman", Times, serif;
}

/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

footer {
    margin-top: auto;
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

#card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    justify-content: center;
}

.card-link {
    text-decoration: none;
}
.card_profile-link {
    text-decoration: none;
    color: inherit;
}

.card_profile {
    width: 200px; /* Small card width */
    padding: 10px;
    border: 1px solid #8e1f1f;
    border-radius: 5px;
    background-color: #8e1f1f;
    box-shadow: 0 2px 4px rgba(161, 15, 15, 0.1);
    font-size: 12px; /* Smaller font size for card content */
    text-align: center;
    margin: 10px;
}

.card_profile h2 {
    margin: 5px 0; /* Reduce margin for h2 elements */
    font-size: 14px; /* Smaller font size for headings */
}

.card_profile img {
    width: 80px;  /* Small size for the profile picture */
    height: 80px;
    border-radius: 50%; /* Circular profile picture */
    object-fit: cover; /* Ensures the image fills the container */
    margin-top: 10px;
}

.card_profile-link:hover .card_profile {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a shadow on hover */
}

.card {
    margin: 14px;
    background-color: #b14a4a;
    border: 1px solid #d82e2e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: auto;
    box-sizing: border-box;
    padding: 5px;
    height: auto;
    width: auto;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: scale(1.1);
    box-shadow: 0 0 60px black;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 5px;
}

.card-title {
    font-size: 0.75rem;
    margin-bottom: 5px;
    color: #333;
}

.card-body-text {
    font-size: 0.75rem;
    color: #007bff;
    text-decoration: underline;
}

.divider {
    width: 100%;
    height: 2px;
    background-color: #4a1717;
    margin: 10px 0;
}


/* Parent container */
.form-container {
    display: flex;
    justify-content: center;
}

.form-title {
    width: 70%;
    margin-top:20px;
    padding: 10px;
    border: 1px solid #701414;
    border-radius: 8px;
    box-sizing: border-box;
    background-image: url("https://static.vecteezy.com/system/resources/thumbnails/007/160/635/small/abstract-3d-design-background-with-technology-dot-and-line-circuit-board-texture-modern-engineering-futuristic-science-communication-concept-illustration-free-vector.jpg");
    background-position: center;
    box-shadow: 0 0 7px black;
    text-align: center;
    font-size: 40px;
    margin-bottom: 35px;
    color: white;
    text-shadow: 0 0 10px black;
}
.anchor-buttons {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}


h4 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Roboto', sans-serif;
}


.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.popup-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#accept-tos-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#accept-tos-btn:hover {
    background-color: #0056b3;
}

.error-box {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-bottom: 1px solid #f5c6cb;
    font-size: 16px;
    text-align: center;
    z-index: 1000; /* Ensures it stays on top */
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

/* Container to center the form */
.form-container {
padding: 20px;
}

/* Style for the form */
.form-card {
    background-color: #300606;
    border: 1px solid #290f0f;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    padding: 20px;
    text-align: center;
}

/* Style for form elements */
.form-card div {
    margin-bottom: 15px;
}

.form-card label {
    display: block;
    font-size: 0.9rem;
    color: black;
    margin-bottom: 5px;
    text-align: left;
}

.form-card input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 0.9rem;
}

.form-card button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: black;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-card button:hover {
    background-color: #0056b3;
}

.input-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 0 7px black;
    resize: vertical;
}

.input-group textarea:hover {
    box-shadow: 0 0 14px black;
}

.submit-button {
    width: 100%;
    padding: 10px;
    border-radius: 40px;
    border: none;
    background-color: black;
    color: white;
    cursor: pointer;
}

.submit-button:hover {
    opacity: 0.8;
}