:root {
    --primary-color: hsl(114, 56%, 77%);
    --primary-color-2: #0277D0;
    --secondary-color: #4A4A4A;
    --accent-color: #000000;
    --text-color: #000000;
    --background-color: hsl(114, 56%, 67%);
    --hover-color: hsl(114, 56%, 57%);
    --success-color: #4CAF50;
    --error-color: #F44336;
    --scrollbar-bg: var(--success-color);
    --scrollbar-thumb: var(--primary-color);
    --scrollbar-thumb-hover: var(--hover-color);
    --card-bg: rgba(74, 74, 74, 0.8);
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --border-radius-standard: 15px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Portal';
    src: url('comfy.ttf');
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 10px;
    border: 3px solid var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

body {
    font-family: Verdana, sans-serif;
    background-color: var(--background-color);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    line-height: 1.6;
    letter-spacing: 0.05em;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    user-select: none;
    position: relative;
}

body.scrolled {
    background-image: url('./assets/wallpaper-blue.jpg');
}

main.container {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 3rem 0;
    flex: 1;
}

#products,
#productsDetails,
#contact {
    zoom: 0.60;
}

#bot {
    zoom: 0.70;
    text-align: center;
}

header {
    background-color: var(--primary-color);
    padding: 20px 50px;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-light);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 0;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.activeLink::after {
    width: 100%;
}

.hero {
    text-align: center;
    color: var(--text-color);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px var(--shadow-medium);
}

.cta-button, button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px var(--shadow-light);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 8px var(--shadow-medium);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-standard);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px var(--shadow-medium);
}

.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-price {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

footer {
    background-color: rgba(114, 56%, 77%, 0.9);
    color: var(--text-color);
    text-align: center;
    padding: 1rem 0;
    bottom: 0;
    width: 100%;
}

.productAssemble {
    display: flex;
}

.groupLinks {
    display: flex;
    justify-content: space-between;
}

form {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-standard);
    padding: 2.5rem;
    box-shadow: 0 10px 20px var(--shadow-medium);
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--text-color);
}

form input, 
form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    background-color: rgba(47, 47, 47, 0.8);
    color: var(--text-color);
    transition: all 0.3s ease;
}

form input:focus, 
form textarea:focus {
    border-color: var(--hover-color);
    outline: none;
    box-shadow: 0 0 10px rgba(255, 184, 77, 0.3);
}

.blog-container,
.blog-container-home {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-standard);
    box-shadow: 0 4px 8px var(--shadow-medium);
    padding: 20px;
    margin: 10px auto;
}

.blog-container {
    width: 70%;
}

.blog-container-home {
    width: 60%;
    margin-bottom: 50px;
}

.blog-image,
.blog-content img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius-standard);
}

.anime-style {
    background: linear-gradient(to right, rgba(255, 192, 203, 0.5), rgba(173, 216, 230, 0.5));
    border-radius: var(--border-radius-standard);
    padding: 20px;
    color: var(--secondary-color);
    font-family: 'Comic Sans MS', cursive;
    box-shadow: 4px 4px 10px var(--shadow-dark);
}

.anime-style h1,
.anime-style h2 {
    color: #FF69B4;
}

ul, ol {
    margin-left: 20px;
}

img, 
section, 
.anime-style {
    box-shadow: 4px 4px 10px var(--shadow-dark);
}

.no-shadow,
.hero {
    box-shadow: none;
}

img {
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 25px;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0 0.75rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .productAssemble {
        flex-direction: column;
    }

    .groupLinks {
        flex-direction: column;
        align-items: center;
    }

    .blog-container {
        width: 90%;
        padding: 10px;
    }

    .blog-title-container {
        flex-direction: column;
        margin: -10px 0 10px 0;
    }

    .blog-image {
        height: 200px;
    }

    .blog-title {
        font-size: 1.5em;
    }

    .blog-content > ul,
    .blog-content > ol {
        margin-left: 20px;
    }

    .anime-style {
        font-family: 'Arial', sans-serif;
    }
}

@media (min-width: 768px) {
    #productImage {
        max-width: 650px;
        height: 650px;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 1.2em;
    }

    .blog-description {
        font-size: 0.9em;
    }
}
