:root {
    --textColor: rgb(0, 0, 0);
    --hoverColorText: rgb(100, 100, 100);
    --hoverColorBtn: rgb(0, 110, 228);
    --btnColor: rgb(0, 123, 255);
    --cardText: rgb(0, 0, 0);
    --cardColor1: rgb(255, 255, 255);
    --whiteText: rgb(255, 255, 255);
    --checked: rgb(103, 201, 247);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--textColor);
    background-color: rgb(243, 243, 243);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 65px;
    margin: 0;
    padding-bottom: 0;
}
/*navigacny bar*/

a {
    text-decoration: none;
    color: var(--textColor);
    cursor: pointer;
    transition: 200ms;
}
a:hover {
    color: var(--hoverColorText);
}
#menu {
    display: flex;
    justify-content: space-between;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    height: 65px;
    background-color: var(--cardColor1);
    z-index: 100;
    border-bottom: 2px var(--textColor) solid;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    flex-wrap: wrap;
}
#left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
#mid {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: center;
    transition: all 0.3s ease;
}
#right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
}
#prihlasit {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0 15px;
    font-size: 16px;
    min-width: 0;
}
#profilePic {
    margin: 0;
    fill: var(--textColor);
    width: 60px;
    height: 60px;
}
.menuBtn {
    font-size: 18px;
    white-space: nowrap;
    padding: 6px 10px;
    transition: 200ms;
}
#hamburger {
    fill: var(--textColor);
    cursor: pointer;
    margin: 0;
    display: none;
    width: 45px;
    height: 45px;
}
#cart {
    fill: var(--textColor);
    cursor: pointer;
    width: 45px;
    height: 45px;
    margin: 0;
}
#cart, #hamburger, #profilePic:hover {
    fill: var(--hoverColorText);
}
#logoLeft {
    width: 50px;
    height: 36px;
    margin: 0 20px;
}
#logoRight {
    width: 55px;
    height: 40px;
    margin: 0;
    display: none;
}
#prihlasText {
    margin: 0;
}

@media (max-width: 1400px) {
    #mid {
        gap: 40px;
    }
    .menuBtn {
        font-size: 17px;
        padding: 8px 10px;
    }
}

@media (max-width: 1200px) {
    #mid {
        gap: 30px;
    }
    .menuBtn {
        font-size: 16px;
        padding: 6px 8px;
    }
    #prihlasit {
        font-size: 14px;
        padding: 0 12px;
        gap: 6px;
    }
    #profilePic {
        width: 60px;
        height: 60px;
    }
    #logoLeft {
        width: 45px;
        height: 32px;
        margin: 0 15px;
    }
}

@media (max-width: 1100px) {
    #mid {
        gap: 25px;
    }
    .menuBtn {
        font-size: 15px;
        padding: 6px 6px;
    }
    #prihlasit {
        font-size: 13px;
        padding: 0 8px;
        gap: 4px;
    }
    #profilePic {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 1050px) {
    #mid {
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        background-color: var(--cardColor1);
        flex-direction: column;
        gap: 0;
        display: none;
        border-bottom: 2px solid var(--textColor);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        z-index: 100;
        margin-left: 0;
        width: 100%;
    }
    
    #mid.active {
        display: flex;
    }
    
    #mid .menuBtn {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        text-align: left;
        width: 100%;
        margin: 0;
        font-size: 17px;
    }
    
    #mid .menuBtn:hover {
        background-color: #f5f5f5;
    }
    
    #logoLeft {
        display: none;
    }
    
    #cart {
        display: flex;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        width: 100%;
        margin: 0;
    }
    
    #hamburger {
        display: inline;
        margin: 0 10px;
    }
    
    #logoRight {
        display: inline;
        margin: 0 auto;
        width: 50px;
        height: 35px;
    }
}

@media (max-width: 900px) {
    #prihlasText {
        display: none;
    }
    #prihlasit {
        padding: 0 8px;
        gap: 2px;
    }
    #profilePic {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 700px) {
    #prihlasText {
        display: none;
    }
    
    #hamburger {
        margin: 0 10px;
    }
    
    #menu {
        height: 65px;
        flex-direction: row;
    }
    
    #left {
        width: auto;
        flex-shrink: 0;
    }
    
    #right {
        width: auto;
        flex-shrink: 0;
        margin-right: 0;
    }
    
    #prihlasit {
        margin: 0;
        padding: 0 10px;
        gap: 5px;
    }
    
    #profilePic {
        width: 60px;
        height: 60px;
    }
    
    #mid.active {
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        flex-direction: column;
        order: 0;
        flex-basis: auto;
        width: 100%;
    }
}

@media (max-width: 500px) {
    #menu {
        height: 65px;
    }
    
    body {
        padding-top: 65px;
    }
    
    #logoLeft {
        display: none;
    }
    
    #logoRight {
        width: 40px;
        height: 28px;
    }
    
    #hamburger {
        width: 40px;
        height: 40px;
        margin: 0 5px;
    }
    
    #prihlasit {
        padding: 0 5px;
        gap: 2px;
    }
    
    #profilePic {
        width: 60px;
        height: 60px;
    }
    
    #right {
        margin-right: 0;
    }
}

/*footer*/
.footer {
    background-color: #ffffff;
    border-top: 1px solid #ddd;
    padding: 30px 20px;
    font-family: Arial, sans-serif;
    margin-top: auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.footer-container {
   display: flex;
   justify-content: space-around;
   flex-wrap: wrap;
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 10px;
   gap: 20px;
}

.footer-section {
   flex: 0 1 auto;
   min-width: 150px;
   text-align: center;
}

.footer-section h3 {
   font-size: 14px;
   color: #333;
   margin-bottom: 10px;
}

.footer-section p,
.footer-section ul,
.footer-section li {
   font-size: 12px;
   color: #555;
   margin: 5px 0;
}

.footer-section ul {
   list-style: none;
   padding: 0;
}

.footer-section li {
   display: inline-block;
   margin: 5px;
}

.footer-section li a img {
   width: 25px;
   height: auto;
   transition: transform 0.3s;
}

.footer-section li a img:hover {
   transform: scale(1.1);
}

.stiahnut a img {
   height: 30px;
   margin: 10px 5px 0 0;
   transition: transform 0.3s;
}

.stiahnut a img:hover {
   transform: scale(1.1);
}

.footer-bottom {
   text-align: center;
   padding-top: 15px;
   font-size: 12px;
   color: #777;
   border-top: 1px solid #ddd;
   margin-top: 15px;
}

@media (min-width: 768px) {
    .footer-container {
        justify-content: space-between;
    }
    
    .footer-section {
        text-align: left;
        min-width: 180px;
    }
    
    .footer-section h3 {
        font-size: 16px;
    }
    
    .footer-section p,
    .footer-section ul,
    .footer-section li {
        font-size: 14px;
    }
    
    .footer-section li a img {
        width: 30px;
    }
}