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

:root {
    --color1: #03fcb7;
    --color2: rgb(20, 20, 20);
    --color22: rgb(30, 30, 30);
    --color33: #03fcb7;
    --color3: #a3a3a3;
    --color4: #d81c1c;
    --color5: #ff4949;
    --main-color: 0, 217, 255;
}

body {
    font-family: Poppins;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    background-color: var(--color2);
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 93.9vh;
}

.content {
    width: 90vw;
    margin: 0 auto;
    flex: 1;
    margin-top: 50px;
}

.tittlestr {
    
    margin-left: 0px;
    font-size: 20px;
    color: var(--color3);
}



.menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    border: 3px solid var(--color1);
    border-top: 0px;
    background-color: var(--color2);
    border-radius: 0px 0px 23px 0px;
    margin: 0px 0px;
}

.title-frame {
    text-align: center;
    border: 3px solid var(--color1);
    border-bottom: 0px;
    padding: 5px;
    margin-bottom: 0;
    border-radius: 23px 0px 0px 0px;
    background: var(--color2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.errortitleframe {
    text-align: center;
    font-size: 30px;
}

.errorframe {
    text-align: center;
    padding: 5px;
    display: flex;
    font-size: 100px;
    align-items: center;
    color: #b6b6b6;
    justify-content: center;
}

.errorinfo {
    text-align: center;
    display: flex;
    font-size: 15px;
    align-items: center;
    color: #ffffff;
    justify-content: center;
}

.title-frame h2{
    margin: 0;
    font-size: 24px;
    color: #ffffff;
}

ul a {
    color: var(--color1);
}


.menu li {
    margin-bottom: 10px;
}

.menu a {
    text-decoration: none;
    color: #ffffff;
    padding: 5px 5px;
    font-size: 14px;
}

.submenu {
    border: 3px solid var(--color1);
    visibility: hidden;
    
    height: 0;
    overflow: hidden;
    border-top: 0px;
    position: absolute;
    padding: 0;
    list-style: none;
    margin-top: 10px;
    background-color: var(--color2);
    border-radius: 0px 0px 10px 10px;
    z-index: 999;
    transform: scaleY(0);
    transform-origin: top;
    transition: all 0.3s ease-in-out;
}

.submenu li {
    margin-top: 5px;
}

.menu li:hover .submenu {
    visibility: visible;
    height: auto;
    transform: scaleY(1);
}

footer {
    margin-top: auto;
}

.categories {
    text-align: center;
}

.categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories li {
    display: inline-block;
    margin: 0 10px;
}

.categories a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.gallery,
.boxgallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery figure,
.boxgallery figure {
    margin: 10px;
    min-width: 300px;
    max-width: 300px;
    text-align: center;
    position: relative;
}

.gallery figure::after,
.boxgallery figure::after,
.expand-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 5px var(--color1);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    border-radius: 10px;
}



.gallery figure:hover::after,
.boxgallery figure:hover::after ,
.expand-btn:hover::after{
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.gallery figure img,
.boxgallery figure img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}

.photo-frame {
    position: relative;
    padding: 5px;
    padding-top: 15px;
    padding-bottom: 15px;
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: black;
    border-radius: 10px 10px 0px 0px;
    border-bottom: 1px solid var(--color3);
}


.expand-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    visibility: hidden;
    background-color: var(--color0);
    box-shadow: 0 0 5px var(--color1);
    outline: none;
    color: white;
    font-size: 13px;
    border: none;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
}

.name-frame {
    color: var(--color1);
    padding: 10px;
    background: black;
    
    
}

.user-frame {
    color: var(--color3);

    margin-top: -5px;
    background: black;
}

.caption-frame {
    margin-top: -5px;
    border-radius: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    background: var(--color2);
}

.price-frame {
    
    margin-top: -5px;
    color: var(--color3);
    background:black;
    padding-bottom: 10px;
    border-radius: 0 0 10px 10px;
}

.figure:hover .expand-btn {
    display: block;
    visibility: visible;
    
}

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen img {
    max-width: 90%;
    max-height: 90%;
}

.promotion a {
    color: rgb(255, 255, 255);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--color2);
    padding: 5px 10px;
    font-size: 20px;
    cursor: pointer;
    color: #ffffff;
    border-radius: 10px;
    border: 3px solid var(--color1);
    z-index: 1000;
}

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

.modal-content {
    background-color: #020202;
    border-radius: 20px;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.modal-content p {
    text-align: center;
}

h1 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

h1 img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

@media (max-width: 600px) {

    .gallery figure,
    .boxgallery figure {
        flex-basis: 100%;
    }
}

#formContainer {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

h4 a {
    color: var(--color1);
    text-decoration: none;
}

h3 {
    color: var(--color1);
}

.centered h2 b {
    color: var(--color1);
}

#uploadForm {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}

@media screen and (max-width: 600px) {
    #uploadForm {
        grid-template-columns: 1fr;
        /* Zmieniamy na pojedynczą kolumnę */
    }
}

form {
    width: 90%;
    max-width: 600px;
    min-width: none;
    margin: 0 auto;
    background-color: #ffffff00;
    padding: 20px;
    margin-top: 100px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 2px solid var(--color1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    flex-wrap: wrap;
}

.content h2 {
    font-size: 24px; /* Rozmiar czcionki */
    color: var(--color1); /* Kolor tekstu */
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

input[type="text"],
input[type="file"],
input[type="submit"],
select[type="select"] {
    width: 100%;
    padding: 10px;
    border: none;
    outline: none;
    border-bottom: 2px solid var(--color1);
    color: #000;
    background-color: #ffffff00;
    margin-bottom: 10px;
}

select[type="select"] {
    width: 100%;
}

select option {
    color: #000;
    background: #ffffff00;
}

option {
    color: #000;
    background: #ffffff00;
}


input[type="submit"] {
    background-color: transparent;
    color: #fff;
    border: 2px solid var(--color1) !important;
    border-radius: 10px;
    width: 100%;
    margin-top: 20px;
    height: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    transition-duration: 0.3s;
    background-color: var(--color1);
    color: black!important;
    cursor: pointer;
}

.file-input {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff00;
    border-bottom: 2px solid var(--color1) !important;
    color: #fff;
    border: none;
    font-size: small;
    margin-bottom: 20px;
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    height: 15px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.3s ease;
}

.file-input:hover {
    background-color: var(--color3);
}

.file-input input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    margin-top: 25px;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* CSS for product details container */
#product-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 30px auto;
}

/* CSS for product details top container */
#product-details-top {
    display: flex;
    align-items: center;
    background-color: var(--color2);
    border: 3px solid var(--color1);
    border-top-left-radius: 24px;
    border-bottom-right-radius: 24px;
    position: relative;
    max-width: 90%;
    flex-wrap: wrap;
}

#product-details-right {
    display: flex;
    max-width: 350px;
    position: relative;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    margin-right: 30px;
}

/* CSS for product image container (frame) */
#product-image-container {
    flex: 1;
    display: grid;
    grid-column: auto;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
    justify-content: center;
    margin: 30px auto;
    margin-left: 0px;
    position: relative;

}

/* CSS for product image */
#product-image {
    min-width: 10vh;
    max-width: 20vh;
    height: auto;
    object-fit: cover;
}

/* CSS for expand button image */
#expand-btn-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    /* Ustawiamy na flex, aby można było wyśrodkować ikonę */
    justify-content: center;
    /* Wyśrodkowanie ikony w pionie */
    align-items: center;
    /* Wyśrodkowanie ikony w poziomie */
}

/* CSS for product name */
#product-name {
    font-size: 30px;
    text-align: center;
    margin: 10px 0;
    justify-content: center;
    min-width: 300px;
}

/* CSS for product price */
#product-price {
    font-size: 20px;
    margin-top: 20px;
    text-align: center;
}

#product-description-container {
    min-width: 100%;

}

/* CSS for product description */
#product-description {
    font-size: 18px;
    border-top: 3px solid #858585;
    margin-left: 20px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
    margin-right: 20px;
    text-align: left;
    padding-top: 10px;
}

#product-user {
    font-size: 18px;
    border-top: 3px solid #858585;
    margin-left: 20px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
    margin-right: 20px;
    text-align: left;
    padding-top: 10px;
}

#product-state {
    font-size: 18px;
    border-top: 3px solid #858585;
    margin-left: 20px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
    margin-right: 20px;
    text-align: left;
    padding-top: 10px;
}

#product-color {
    font-size: 18px;
    border-top: 3px solid #858585;
    margin-left: 20px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
    margin-right: 20px;
    text-align: left;
    padding-top: 10px;
}

.soon {
    font-size: 60px;
}


body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background-color: var(--color2);
    color: var(--color1);
}




.option {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: var(--color3);
    display: block;
    transition: 0.3s;
}

.category {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 20px;
    color: var(--color1);
    display: block;
    transition: 0.3s;
    border-top: solid 1px ;
    margin: 0;
}

.option:hover {
    color: #FFFFFF;
}

#user-profile {
    display: flex; /* Ustawienie kontenera na flexbox */
    align-items: center; 
    width: auto;
    min-width: 200px;
    max-width: 280px;
    height: 50px;
    margin: 10px;
    padding: 10px;
    text-align: center;
    background-color: var(--color22); /* Kolor tła profilu */
    border: 1px solid var(--color1);
    border-radius: 15px;
    color: #fff; /* Kolor tekstu w profilu */
    position: fixed; 
    bottom: 0;
}
  
#user-profile a {
    text-decoration: none;
    color: #fff; /* Kolor tekstu linku */
    display: block;
}
.u-profile-background {
    position: fixed;
    bottom: 0;
    left: -300;
    width: 300px;
    height: 100vh; /* Dostosuj wysokość według potrzeb */
    background-color: var(--color22);
    z-index: -3; /* Ustaw niższy indeks z-order, aby wyświetlać się pod user-profile */
}

a:active {
    background-color: var(--color1); /* Kolor tła po kliknięciu */
}

/* Dla przeglądarek na bazie Webkit (np. Chrome, Safari) */
#sidebar::-webkit-scrollbar {
  width: 0px; /* Szerokość paska przewijania */
}
/* Dla przeglądarek na bazie Firefox */
#sidebar {
  scrollbar-width: none; /* Ukryj pasek przewijania */
}

p {
  color: var(--color3);
}

.fa-user {
  color: var(--color1);
  margin-left: 5px;
  margin-right: 10px;
}


.hamburger {
    width: 30px;
    height: 22px;
    position: fixed;
    /* Ustaw na fixed, aby był zawsze widoczny w tej samej pozycji */
    top: 15px;
    left: 15px;
    /* Zmienione z 'right' na 'left' */
    z-index: 5;
    /* Zwiększ wartość z-index, aby upewnić się, że jest zawsze na wierzchu */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: left 0.3s;
}

.hamburger div {
    width: 100%;
    height: 4px;
    background-color: var(--color1);
    border-radius: 2px;
    transition: 0.3s;
}

#main-sidebar {
    
    position: fixed;
    left: -300px;
    overflow-y: 80vh;
    /* Włączenie przewijania w pionie, gdy zawartość przekracza maksymalną wysokość */
    z-index: 100;
    width: 300px;
    height: 93vh;

}

#sidebar {

    position: fixed;
    top: 0;
    left: -300px;
    height: 90vh;
    overflow-y: auto;
    z-index: 1;
    width: 300px;
    transition: 0.3s;
    background-color: var(--color22);
    color: var(--color3);
    margin-bottom: 150px;
}

.option {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: var(--color3);
    display: block;
    transition: 0.3s;
}

.category {

    text-decoration: none;
    font-size: 20px;
    color: var(--color1);
    display: block;
    transition: 0.3s;
    border-top: solid 1px;
    margin: 0;
}

.option:hover {
    color: #FFFFFF;
}


#title {
    position: fixed;
    border-bottom: 0.5px solid var(--color1);
    margin-top: 0;
    transition: 0.5s;
    padding: 8px;
    height: 60px;
    width: 100%;
    /* left: 60px; */
    border-left: 60px solid var(--color2);
    border-right: 60px solid var(--color2);
    font-size: 24px;
    z-index: 2;
    background-color: var(--color2);
    color: var(--color1);
}

#user-profile {
    display: flex;
    /* Ustawienie kontenera na flexbox */
    align-items: center;
    width: 360px !important;
    height: 50px;
    margin: 10px;
    padding: 10px;
    z-index: 2;
    text-align: center;
    background-color: var(--color22);
    /* Kolor tła profilu */
    border: 1px solid var(--color1);
    border-radius: 15px;
    color: #fff;
    /* Kolor tekstu w profilu */
    position: fixed;
    bottom: 0;
}

.sign-out-button {
    color: var(--color1);
    background-color: rgb(0,0,0,0);
    border: none;
    right: 1;
    font-size: 18px;
    cursor: pointer;
    margin-left: auto;
}

.fa-user {
    color: var(--color1) !important;
}









#user-profile img {
    width: 40px;
    /* Szerokość obrazka */
    height: 40px;
    /* Wysokość obrazka */
    border-radius: 50%;
    /* Zaokrąglenie obrazka */
    margin-right: 10px;
}

#user-profile a {
    text-decoration: none;
    color: #fff;
    /* Kolor tekstu linku */
    display: block;
}

.u-profile-background {
    position: fixed;
    bottom: 0;
    left: -300;
    width: 300px;
    height: 100vh;
    /* Dostosuj wysokość według potrzeb */
    background-color: var(--color22);
    z-index: -3;
    /* Ustaw niższy indeks z-order, aby wyświetlać się pod user-profile */
}

a:active {
    background-color: var(--color1);
    /* Kolor tła po kliknięciu */
}

/* Dla przeglądarek na bazie Webkit (np. Chrome, Safari) */
#sidebar::-webkit-scrollbar {
    width: 0px;
    /* Szerokość paska przewijania */
}

/* Dla przeglądarek na bazie Firefox */
#sidebar {
    scrollbar-width: none;
    /* Ukryj pasek przewijania */
}


* {
    box-sizing: border-box;
    font-family: Poppins;
    outline: none;
}

body {
    padding: 0;
    margin: 0;
    background-color: rgb(20, 20, 20);
}

div.container {
    display: flex;
    justify-content: center;
    margin-top: 30vh;
}

form.login {
    display: flex;
    flex-wrap: wrap;
    width: 400px;
    padding: 40px;
    border: 3px solid rgb(var(--main-color));
    border-top-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

form.login input[type="text"],
form.login input[type="password"] {
    display: flex;
    width: calc(100% - 30px);
    padding: 5px 15px;
    background-color: transparent;
    border: 0;
    margin-bottom: 40px;
    font-size: 16px;
    color: rgba(var(--main-color));
    font-size: 18px;
    border-bottom: 1px solid rgba(var(--main-color));
}

form.login input[type="submit"] {
    display: flex;
    width: 100%;
    padding: 5px 15px;
    background-color: transparent;
    border: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: rgb(var(--main-color));
    border: 2px solid rgb(var(--main-color));
    border-radius: 24px;
    margin-top: 30px;
    justify-content: center;
    align-items: center;
    transition-duration: 0.3s;
}


form.login input[type="submit"]:hover {
    transition-duration: 0.3s;
    background-color: rgba(var(--main-color));
    color: white;
    cursor: pointer;
}

form.login div.more {
    display: flex;
    width: 100%;
    margin-top: 20px;
}

form.login div.more a {
    display: flex;
    text-decoration: none;
    color: rgb(var(--main-color));
    font-size: 16px;
}



form.login div.more a.register {
    margin-left: auto;
}

.fa-solid {
    display: flex;
    color: rgb(var(--main-color));
    align-items: center;
    height: fit-content;
    line-height: 40px;
    margin-right: 10px;
}