body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #FFFFFF;
    overflow-x: hidden;
}

header {
    background-color: #000000; 
    padding: 20px;
    width: 100%;
    text-align: center;
   
}

.logo {
    display: block;
    margin: 0 auto;
}

.logo img {
    max-height: 100px;
    transition: max-height 0.3s;
}

@media (max-width: 768px) {
    .logo img {
        max-height: 80px;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-height: 60px;
    }
}


nav {
    margin-top: 10px;
}

nav a {
    color: #FFFFFF;
    margin: 0 10px;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: background-color 0.3s, font-size 0.3s, padding 0.3s;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    nav a {
        font-size: 16px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    nav a {
        font-size: 14px;
        padding: 5px 8px;
    }
}

.index-page nav a {
    background-color: rgba(0, 0, 0, 0.7);
}

.index-page nav a:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/* cls video  */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background video {
    width: 100%;
    height: auto;
    object-fit: cover;
}


.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}


footer {
    background-color: transparent;
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: 150px auto 40px auto;
    overflow: hidden;
    color: #FFFFFF;
    position: relative;
    z-index: 1;
    text-align: left;
}


.product-page {
    display: flex;
}


.category-filter {
    width: 20%;
    margin-right: 20px;
}

.category-filter form {
    display: block;
}

.category-filter label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.category-filter select {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    background-color: #1A1A1A;
    border: 1px solid #333333;
    color: #FFFFFF;
    border-radius: 5px;
}

.category-filter select option {
    background-color: #1A1A1A;
}


.product-list {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.product {
    background-color: #1A1A1A;
    padding: 20px;
    margin: 15px;
    width: calc(33% - 60px);
    box-sizing: border-box;
    border: 1px solid #333333;
    text-align: left;
    transition: transform 0.3s;
    color: #FFFFFF;
    border-radius: 10px;
}

.product:hover {
    transform: scale(1.05);
}

.product img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.product h3 {
    margin: 15px 0 10px;
}

.product p {
    margin-bottom: 10px;
}


form {
    max-width: 600px;
    margin: 150px auto 40px auto;
    background-color: #1A1A1A;
    padding: 30px;
    border-radius: 10px;
}

form label {
    display: block;
    margin-top: 10px;
    color: #FFFFFF;
    text-align: left;
}

form input[type="text"],
form input[type="password"],
form input[type="number"],
form input[type="file"],
form textarea,
form select {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    background-color: #333333;
    border: 1px solid #444444;
    color: #FFFFFF;
    border-radius: 5px;
}

form input[type="submit"],
form input[type="button"] {
    margin-top: 15px;
    padding: 12px;
    background-color: #e8491d;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}

form input[type="submit"]:hover,
form input[type="button"]:hover {
    background-color: #cf3e17;
}

/* Lentelؤ—s stiliai */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    color: #FFFFFF;
}

table th, table td {
    padding: 15px;
    border: 1px solid #333333;
    text-align: left;
}

table th {
    background-color: #1A1A1A;
}

table tr:nth-child(even) {
    background-color: #2A2A2A;
}

table img {
    max-width: 50px;
    height: auto;
    border-radius: 5px;
}

table a {
    color: #FFFFFF;
    padding: 5px 10px;
    background-color: #e8491d;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 5px;
    display: inline-block;
}

table a:hover {
    background-color: #cf3e17;
    color: #FFFFFF;
}


@media (max-width: 992px) {
    .product {
        width: calc(50% - 60px);
    }
}

@media (max-width: 768px) {
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 1000;
    }

    nav a {
        margin: 5px 0;
    }

    .product {
        width: 100%;
        margin: 15px 0;
    }

    form {
        width: 90%;
        margin-top: 180px;
    }

    .container {
        margin-top: 180px;
    }

    .product-page {
        flex-direction: column;
    }

    .category-filter {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .product-list {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .category-filter form {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-filter label {
        margin-bottom: 5px;
    }
}


a {
    color: #e8491d;
    text-decoration: none;
}

a:hover {
    color: #cf3e17;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
.popup-logo {
    text-align: center;
    margin-bottom: 10px;
}

.popup-logo img {
    max-height: 60px;
    width: auto;
}
