@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;

}

body {
    color: black;
    height: 100vh;
    background: linear-gradient(to right, #12063b, #09555c);
    z-index: -1;

}

.search-result {
    position: absolute;
    top: 70px;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #171c24;
    color: white;
    padding: 20px;
    display: none;
    border: 1px solid #ccc;
    height: 300px;
    overflow-y: auto;

}

.search-result span {
    padding: 10px 0 10px 0;
    border-bottom: 1px solid #ccc;
    font-family: Arial;
    height: 50px;
}

.search-bar {
    display: flex;
    width: 100%;
    gap: 5px;
}

.search-bar input {
    outline: none;
    border: none;
    width: 100%;
    height: 60px;
    background: #171c24;
    padding: 5px 20px;
    color: white;
    font-size: 16px;
}

.search-bar button {
    background: #171c24;
    width: 60px;
    height: 60px;
    outline: none;
    border: none;
    color: white;
}
.wrapper {
    background: #171c24;
    width: 100%;
    font-family: 'Silkscreen', sans-serif;
    z-index: 1;
    position: fixed;
}

.wrapper nav {
    position: relative;
    display: flex;
    max-width: calc(100% - 200px);
    margin: 0 auto;
    height: 70px;
    align-items: center;
    justify-content: space-between;
}

nav .content {
    display: flex;
    align-items: center;
}

nav .content .links {
    margin-left: 80px;
    display: flex;
    z-index: 1;
}

.content .logo a {
    color: #fff;
    font-size: 30px;
    font-weight: 600;
}


svg text {
    fill: none;
    stroke: #00d1ff;
    stroke-width: 1;
    stroke-dasharray: 500;
    font-family: Arial, sans-serif;
    stroke-dashoffset: 500;
    animation: draw 6s ease-in-out infinite, glow 3s infinite alternate;
}

@keyframes draw {
    0% {
        stroke-dashoffset: 500;
    }

    50% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -500;
    }
}

@keyframes glow {
    0% {
        stroke: #00d1ff;
    }

    25% {
        stroke: #00ff99;
    }

    50% {
        stroke: #ff00d1;
    }

    75% {
        stroke: #ffff00;
    }

    100% {
        stroke: #00d1ff;
    }
}


.content .links li {
    list-style: none;
    line-height: 70px;
}

.content .links li a,
.content .links li label {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 9px 17px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.content .links li label {
    display: none;
}

.content .links li a:hover,
.content .links li label:hover {
    background: #323c4e;
}

.wrapper .search-icon,
.wrapper .menu-icon {
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    line-height: 70px;
    width: 70px;
    text-align: center;
}

.wrapper .menu-icon {
    display: none;
}

.wrapper #show-search:checked~.search-icon i::before {
    content: "\f00d";
}

.wrapper .search-box {
    position: absolute;
    z-index: 1;
    height: 100%;
    max-width: calc(100% - 50px);
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.wrapper #show-search:checked~.search-box {
    opacity: 1;
    pointer-events: auto;
}

.search-box input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 17px;
    color: #fff;
    background: #171c24;
    padding: 0 100px 0 15px;
}

.search-box input::placeholder {
    color: #f2f2f2;
}

.search-box .go-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 60px;
    width: 70px;
    background: #171c24;
    border: none;
    outline: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.wrapper input[type="checkbox"] {
    display: none;
}

/* Dropdown Menu code start */
.content .links ul {
    z-index: 1;
    position: absolute;
    background: #171c24;
    top: 80px;
    opacity: 0;
    visibility: hidden;
}

.content .links li:hover>ul {
    top: 70px;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

.content .links ul li a {
    display: block;
    width: 100%;
    line-height: 30px;
    border-radius: 0px !important;
}

.content .links ul ul {
    position: absolute;
    top: 0;
    right: calc(-100% + 8px);
}

.content .links ul li {
    position: relative;
}

.content .links ul li:hover ul {
    top: 0;
}

.main-content {
    position: absolute;
    top: 70px;
    /* padding: 20px; */
    width: 100%;
    z-index: 0;
}

.container {
    display: flex;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;

}

#cardContainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.nobody {
    height: 85vh;
}

/* Left Pane */
.left-pane {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Right Pane */
.right-pane {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.card {
    background-color: #171c24;
    color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list-card {
    flex-direction: row;
    align-items: center;

}

.list-card a {
    text-decoration: none;
    cursor: pointer;
}

.list-card img {
    width: 400px;
    height: 200px;

}

.card-title {
    font-size: 1.5rem;
    font-family: 'Courier New', sans-serif;

}

.card-date {
    font-size: 0.9rem;
    color: #bbb;
}

.card-image {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.card-image img {
    padding: 10px;
}

.card-image p {
    font-size: 1.1rem;
}

.lazy-load {
    position: relative;
    width: 100%;
    min-height: 400px;

}

.lazy-load img {
    width: 100%;
    height: 100%;
    position: absolute;
    /*object-fit: cover;*/
    border-radius: 8px;
    transition: opacity 0.8s ease;
}

img.actual-image {
    opacity: 0;
    cursor: pointer;
}

.discriptions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: 1.5;
    font-family: "Arial";
}

.discriptions p {
    font-size: 1rem;
}

.discriptions h2 {
    text-decoration: underline;
}

.discriptions a {
    text-decoration: none;
    color: #4db2ec;
    text-decoration: underline;
}

.page-btn-container {
    display: flex;
    justify-content: space-between;
}

.disabled {
    background-color: grey !important;
    cursor: none;
}

.page-btn {
    /*display: inline-block;*/
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    max-width: 115px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.page-btn:hover {
    background-color: #0056b3;
}

/* Disabled state */
.page-btn.disabled,
.page-btn[aria-disabled="true"] {
    background-color: #aaa;
    pointer-events: none;
    cursor: not-allowed;
    color: #eee;
}

.page-btn:hover {
    background-color: #0056b3;
}
#messageBox {
    position: fixed;
    top: 100px;
    right: 20px;
    color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: top 0.5s ease-in-out;
}

#messageBox.show {
    top: 75px;
    padding: 10px 20px;
}

.subscribe-btn {
    display: flex;
    align-items: center;
    background-color: red;
    color: white;
    padding: 10px 15px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.subscribe-btn img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.count {
    background-color: white;
    color: black;
    padding: 10px 15px;
    border: 1px solid #ccc;
    font-size: 16px;
    font-weight: bold;
}

.button-container {
    display: flex;
}

footer {
    background: #171c24;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: #fff;
    text-decoration: underline;
    font-weight: 500;
}


.table-container {
    padding: 20px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

th,
td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #404040;
    color: #e0e0e0;
}

th {
    background-color: #2f4568;
    color: #ffffff;
    font-weight: 600;
}

tr:hover {
    background-color: #141920;
}

tr:nth-child(even) {
    background-color: #212936;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 80px;
    left: 0;
    top: 50px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}


.modal-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 750px;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.styled-list {
    padding-left: 20px;
}

.styled-list>li {
    position: relative;
    padding: 5px;

}

.styled-list>li:before {
    position: absolute;
    left: 0;
    font-size: 20px;
}

.styled-list ul,
.styled-list ol {
    margin: 10px 0 0 10px;
    padding: 0;
}

/* Sublist styling */
.styled-list ul li,
.styled-list ol li {
    margin-bottom: 5px;
    padding: 5px 10px;
}

.form-container {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    width: 100%;
}

.form-container h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #ffffff;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #d1d5db;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #374151;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: #374151;
    color: #ffffff;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

.form-group input[type="number"] {
    border: none;
    outline: none;
    flex: 1;
    background-color: #374151;
    color: white;
    font-size: 16px;
}

#captchaStatus {
    font-size: 16px;
    display: none;
}

.captcha-container {
    display: inline-flex;
    align-items: center;
    background-color: #374151;
    width: 100%;
    padding: 10px;
    border: 1px solid #374151;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    height: 100px;
}

.form-group .captcha {
    display: flex;
    gap: 50px;
    padding: 5px;
    align-items: center;
    justify-content: center;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    border-color: #4f46e5;
    outline: none;
}

.form-group button {
    width: 100%;
    padding: 10px;
    background-color: #4f46e5;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-group button:hover {
    background-color: #4338ca;
}

.comments {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-box {
    background-color: #1f2937;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.comment-icon {
    width: 40px;
    height: 40px;
    background-color: #4f46e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    margin-right: 10px;
}

.comment-name {
    font-size: 18px;
    font-weight: bold;
}

.comment-date {
    font-size: 14px;
    color: #d1d5db;
    margin-left: auto;
}

.comment-content {
    font-size: 16px;
    color: #d1d5db;
}

#bugToggle {
    display: none;
}

.bug-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #e63946;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 999;
}

.bug-expand {
    position: fixed;
    bottom: 20px;
    right: 85px;
    background-color: #f1faee;
    color: #1d3557;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    display: none;
    z-index: 998;
}

/* Show the text when checkbox is checked */
#bugToggle:checked + label + .bug-expand {
    display: block;
}

/* Responsive code start */
@media screen and (max-width: 1250px) {
    .wrapper nav {
        max-width: 100%;
        padding: 0 20px;
    }

    nav .content .links {
        margin-left: 30px;
    }

    .content .links li a {
        padding: 8px 13px;
    }

    .wrapper .search-box {
        max-width: calc(100% - 100px);
    }

    .wrapper .search-box input {
        padding: 0 100px 0 15px;
    }

    .container {
        flex-direction: column;
    }

    .left-pane,
    .right-pane {
        width: 100%;
    }

    .lazy-load {
        min-height: 350px;
    }

    th,
    td {
        padding: 10px 12px;
    }
}


@media screen and (max-width: 900px) {
    .wrapper .menu-icon {
        display: block;
    }

    .wrapper #show-menu:checked~.menu-icon i::before {
        content: "\f00d";
    }

    nav .content .links {
        display: block;
        position: fixed;
        background: #14181f;
        height: 100%;
        width: 100%;
        top: 70px;
        left: -100%;
        margin-left: 0;
        max-width: 350px;
        overflow-y: auto;
        padding-bottom: 100px;
        transition: all 0.3s ease;
    }

    nav #show-menu:checked~.content .links {
        left: 0%;
    }

    .content .links li {
        margin: 15px 20px;
    }

    .content .links li a,
    .content .links li label {
        line-height: 40px;
        font-size: 20px;
        display: block;
        padding: 8px 18px;
        cursor: pointer;
    }

    .content .links li a.desktop-link {
        display: none;
    }

    /* dropdown responsive code start */
    .content .links ul,
    .content .links ul ul {
        position: static;
        opacity: 1;
        visibility: visible;
        background: none;
        max-height: 0px;
        overflow: hidden;
    }

    .content .links #show-features:checked~ul,
    .content .links #show-category:checked~ul,
    .content .links #show-items:checked~ul {
        max-height: 100vh;
    }

    .content .links ul li {
        margin: 7px 20px;
    }

    .content .links ul li a {
        font-size: 18px;
        line-height: 30px;
        border-radius: 5px !important;
    }

    .modal-content {
        width: 95%;
    }

    .lazy-load {
        min-height: 300px;
        width: 100%;
    }

    .list-card img {
        width: 120px;
        height: 60px;
    }
}

@media screen and (max-width: 500px) {
    .wrapper nav {
        padding: 0 10px;
    }

    .content .logo a {
        font-size: 27px;
    }

    .card {
        padding: 30px;
    }

    .wrapper .search-box {
        max-width: calc(100% - 70px);
    }

    .wrapper .search-box .go-icon {
        width: 30px;
        right: 0;
    }

    .wrapper .search-box input {
        padding-right: 30px;
    }

    .lazy-load {
        min-height: 200px;
    }

    th,
    td {
        font-size: 0.9em;
    }

    .modal-content {
        width: 90%;
    }

    .form-group .captcha {
        gap: 15px;
        justify-content: space-around;
    }
}