* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Geologica", sans-serif;
    user-select: none;
}
html {
  scroll-behavior: smooth;
}

main {
    width: 1200px;
    margin: 0 auto;

    position: relative;
}

header {
    z-index: 10;
    position: fixed;
    top: 0;
}
.links {
    background-color: #6924BD;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1200px;
    border-radius: 0 0 30px 30px;
}
.links a {
    text-decoration: none;
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    width: 200px;
    height: 100px;

    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s;
}
.links a:hover {
    color: cyan;
    text-shadow: 2px 2px 10px black;
}
.akcia {
    color: yellow !important;
    text-shadow: 0 0 20px white, 1px 1px 0 black;
}
.cart_container {
    display: flex;
    padding: 20px;
    justify-content: flex-end;
}

.cart_btn {
    background-color: #fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2),
    inset -2px -2px 2px rgba(0, 0, 0, 0.2);
    width: 260px;
    height: 60px;
    border-radius: 30px;
    padding: 10px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #6924BD;
    font-weight: bold;
    font-size: 25px;

    z-index: 999;
    transition: .3s ease;
    cursor: pointer;
}
.count {
    border-radius: 100px;
    background-color: #9238FF;
    width: 40px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
}
.cart_btn img {
    width: 40px;
}
.cart_btn:hover {
    transform: scale(1.05, 1.05);
}

.marg {
    height: 100px;
}
.modal {
    transition: .3s ease;
    
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: scale(0,0);
    z-index: 998;
}
.cart {
    background-color: #fff;
    box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.5),
    inset -2px -2px 5px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 900px;
    margin: 0 auto;
    max-height: 90%;
    overflow: auto;
    scrollbar-width: none;
}
.close {
    text-align: center;
    font-weight: bold;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    background-color: #9238FF;
    border-radius: 100px;
    padding: 20px;
    position: sticky;
    top: 0;
}
.cart_info {
    padding: 20px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: #777777;
}
.cart_item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgb(213, 213, 213);
}
.cart_item img{
    width: 100px;
    height: 100px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2),
    inset -2px -2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}
.cart_item_desc {
    flex: 1;
}
.cart_item_name {
    font-size: 20px;
    font-weight: bold;
    color: #9238FF;
    height: 50px;
    display: flex;
    align-items: center;
}
.cart_count {
    display: flex;
    align-items: center;
    height: 50px;
    gap: 20px;
}
.cart_count_num {
    font-size: 20px;
    color: #6B6B6B;
}
.cart_count_plus,.cart_count_minus,.cart_cancel {
    color: #9238FF;
    font-weight: bold;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2),
    inset -2px -2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    transition: .3s ease;
}
.cart_count_plus:hover,.cart_count_minus:hover,.cart_cancel:hover {
    background-color: #9238FF;
    color: #fff;
    cursor: pointer;
}
.cart_item_price {
    width: 200px;
}
.cart_item_price p {
    height: 50px;
    display: flex;
    align-items: center;
    font-size: 20px;
    color: #6B6B6B;
}
.cart_item_price p:last-child {
    font-weight: bold;
}
.cart_total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    background: #fff;
}
.cart_total_summ {
    height: 100%;
    border-radius: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2),
    inset -2px -2px 5px rgba(0, 0, 0, 0.2);
    width: 500px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}
.cart_total_summ_1 {
    font-weight: bold;
    color: #9238FF;
    font-size: 20px;
}
.cart_total_summ_2 {
    font-weight: bold;
    color: #6B6B6B;
    font-size: 20px;
}
.cart_order {
    background-color: #9238FF;
    color: #fff;
    width: 300px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    font-size: 20px;
    font-weight: bold;
    transition: .3s ease;
    cursor: pointer;
    border: none;
}
.cart_order:hover {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2),
    inset -2px -2px 5px rgba(0, 0, 0, 0.2);
    color: #9238FF;
    background-color: #fff;
}
.active {
    transform: scale(1, 1);
}

.footer {
    margin-top: 50px;
    background: #111;
    color: #ccc;
    padding: 40px 20px 20px;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-logo h2 {
    color: #fff;
    margin-bottom: 10px;
  }
  
  .footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .footer-links h4 {
    color: #fff;
    margin-bottom: 10px;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links ul li {
    margin: 5px 0;
  }
  
  .footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .footer-links ul li a:hover {
    color: #fff;
  }
  
  .footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
  }
  
  .footer-social img {
    width: 50px;
    height: 50px;
    transition: filter 0.3s;
    background-color: #fff;
    border-radius: 100px;
    padding: 5px;
  }
  
  .footer-bottom {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
  }

button.back {
    position: absolute;
    top: 25px;
    left: -70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 30px 10px 10px 30px;
    background-color: blueviolet;
    height: 50px;
    width: 60px;
    font-weight: bold;
    color: #fff;
}


@media (max-width: 780px) {
    main {
        width: 100vw;
    }
    .marg {
        height: 50px;
    }
    .links {
        width: 100vw;
        border-radius: 0 0 10px 10px;
    }
    .links a {
        font-size: 10px;
        height: 50px;
    }
    .cart_container {
        padding: 10px 20px;
        gap: 10px;
    }
    .cart_btn {
        height: 40px;
        width: auto;
        padding: 5px;
        gap: 10px;
    }
    .cart_btn img {
        width: 30px;
    }
    .cart_name {
        display: none;
    }
    .count {
        width: 30px;
        font-size: 16px;
    }
    .cart {
        padding: 10px;
        border-radius: 0;
        height: 100%;
        width: 100%;
		max-height: 100%;
    }
    .close {
        padding: 10px;
        font-size: 16px;
    }
    .cart_item {
        gap: 10px;
        justify-content: space-between;
    }
    .cart_item img {
        width: 50px;
        height: 50px;
    }
    .cart_item_name {
        font-size: 10px;
        height: 25px;
    }
    .cart_item_price {
        width: auto;
    }
    .cart_count_num {
        font-size: 9px;
    }
    .cart_count {
        height: 25px;
        gap: 10px;
    }
    .cart_count_plus, .cart_count_minus, .cart_cancel {
        height: 25px;
        width: 25px;
        font-size: 16px;
    }
    .cart_item_desc {
        width: 50%;
    }
    .cart_item_desc {
        font-size: 9px;
    }
    .cart_total_summ {
        border-radius: 100px;
        height: auto;
        width: 50%;
        padding: 10px;
    }
    .cart_total_summ_1, .cart_total_summ_2 {
        font-size: 12px;
    }
    .cart_item_price p {
        font-size: 9px;
        height: 25px;
    }
    .cart_order {
        font-size: 12px;
        padding: 10px;
        height: auto;
        width: auto;
    }
}
