body {
    background-color: #fafefa; /* Light background */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    flex-direction: row; /* Align items in a row */
    justify-content: space-between; /* Space between logo and nav */
    align-items: center; /* Align items vertically centered */
    background-color: #ffffff; /* White background for contrast */
    padding: 10px 5%;
    width: 100%;
    box-sizing: border-box;
}



/* Video Section */
.video-section {
    display: flex;
    justify-content: center; /* Center the video */
    padding: 20px 0;
}

.video-section .full-width-video {
    width: 60%; /* Set video width to 80% of the screen */
    height: auto;
    border-radius: 8px; /* Optional: Add a slight border radius for styling */
}



/* Additional Content Section */
.additional-content {
    display: flex; /* Use flexbox for the overall layout */
    justify-content: center; /* Space out content items */
    padding: 50px; /* Optional padding for the section */
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

.content-item {
    position: relative;
    display: flex; /* Use flexbox for each content item */
    cursor: pointer; /* Change cursor to pointer to indicate clickable items */
    border: 2px solid transparent; /* Transparent border for hover effect */
    transition: border 0.3s; /* Smooth transition for border */
    align-items: center; /* Center align items vertically */
    text-align: center; /* Center text */
    margin: 0 7%; /* Optional: adjust the left and right margins */
    max-width: 500px; /* Set a max width for each item */
}

.content-item:hover {
    border: 2px solid #63d150; /* Change border color on hover */
    border-radius: 8px;
}


.content-item img {
    max-width: 150px; /* Adjust width as needed */
    border-radius: 8px;
    border-radius: 8px;
    margin-bottom: 20px; /* Space between image and text */
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
}


.text-container {
    display: flex;
    flex-direction: column; /* Stack paragraphs vertically */
    align-items: flex-start; /* Align text to the start */
    margin-left: 10%; /* Optional: Space between text and image */
    flex-grow: 1; /* Allow text container to grow and fill available space */
}

.number {
    font-size: 2rem; /* Larger font size for the number */
    font-weight: bold; /* Bold styling for the number */
    margin-bottom: 1px; /* Smaller space between the number and weeded text */
}

.weeded-text {
    font-size: 1rem; /* Smaller font size for weeded text */
    font-weight: bold; /* Bold styling for weeded text */
}

/* Tooltip Styles */
.tooltip {
    display: none; /* Hidden by default */
    position: absolute; /* Position the tooltip */
    background-color: #333; /* Dark background */
    color: #fff; /* White text */
    padding: 8px; /* Padding around the text */
    border-radius: 4px; /* Rounded corners */
    z-index: 10; /* Make sure it appears above other elements */
    top: 100%; /* Position above the content item */
    left: 50%; /* Center the tooltip */
    transform: translateX(-50%); /* Adjust to center tooltip */
    white-space: nowrap; /* Prevent text from wrapping */
    transition: opacity 0.3s; /* Smooth transition for tooltip */
}

/* Show the tooltip on hover */
.content-item:hover .tooltip {
    display: block; /* Show the tooltip */
    opacity: 1; /* Make tooltip visible */
}


/* Product Section */
.product-section {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    padding: 1%;
    max-width: 70%;
    margin: auto;
}

.section-header {
    background-color: #63d150; /* Green background */
    color: rgb(0, 0, 0); /* Black text color */
    font-size: 2.5rem; /* Large font size */
    padding: 10px; /* Padding around the header */
    margin-bottom: 5%; /* Space below the header */
    text-align: center; /* Center text */
    width: 100%; /* Full width */
    border-radius: 8px; /* Optional: add rounded corners */
}

/* Slider layout */
.product-slider {
  position: relative;        /* enables absolute arrows */
  width: 100%;
}

.viewport {
  overflow: hidden;          /* masks the moving track */
  width: 100%;
}

/* Moving track */
.product-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

/* Default: 2 cards per view */
.product-item {
  flex: 0 0 50%;
  box-sizing: border-box;
  text-align: center;
  padding: 10px;
}

/* Arrows overlaid (so they don't push content) */
.prev-button,
.next-button {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  background: #63d150;
  border: none;
  color:#000000;
  font-size: 2rem;         /* arrow size */
  width: 40px;             /* rectangle width */
  height: 200px;            /* rectangle height */
  border-radius: 8px;      /* slight rounded corners */
  cursor: pointer;
  transition: background 0.3s;
  z-index: 5;
  display: flex;           /* centers the arrow */
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.prev-button { left: 0px; }
.next-button { right: 0px; }

.prev-button:hover, .next-button:hover {
  background: #61745d;
}

/* Images scale within card */
.product-item img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.product-item h3 {
    font-size: 1.5rem; /* Font size for product names */
    margin-bottom: 10px; /* Space below product name */
}

.product-description {
    font-size: 1rem; /* Font size for descriptions */
    margin-bottom: 15px; /* Space below description */
}



/* Contact Section */
.contact-section {
    padding: 50px;
    background-color: #fafefa; /* Light background for the section */
}

.contact-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
    gap: 5%;
}

.contact-info, .contact-form {
    width: 45%; /* Split container width */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    font-size: 2rem;
    color: #63d150;
    margin-bottom: 20px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.contact-item .icon {
    font-size: 1.5rem;
    margin-right: 10px;
    color: #63d150;
}

.contact-form h3 {
    font-size: 1.5rem;
    color: #63d150;
    margin-bottom: 20px;
}

.contact-form label {
    font-size: 1rem;
    display: block;
    margin-top: 15px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 95%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #63d150;
    color: #010101;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
}

.contact-form button:hover {
    background-color: #4ca03d;
}

.popup-message {
    background-color: #e0f7fa; /* Light blue background */
    color: #00695c; /* Dark teal text */
    padding: 10px 15px; /* Padding around the text */
    border: 1px solid #004d40; /* Darker border */
    border-radius: 5px; /* Rounded corners */
    margin-bottom: 15px; /* Space below the pop-up */
    display: flex; /* Flex to center align text */
    justify-content: center; /* Center text horizontally */
    align-items: center; /* Center text vertically */
    font-weight: bold; /* Bold text for emphasis */
}


/* Support and Partners Section */
.support-partners-section {
    padding: 50px;
    text-align: center; /* Center the header text */
}

.Supportsection-header {
    background-color: #63d150; /* Green background */
    color: rgb(0, 0, 0); /* Black text color */
    font-size: 2.5rem; /* Large font size */
    padding: 10px; /* Padding around the header */
    margin-bottom: 5%; /* Space below the header */
    text-align: center; /* Center text */
    width: 65%; /* Full width */
    border-radius: 8px; /* Optional: add rounded corners */
    margin-left: auto; /* Automatically margin left */
    margin-right: auto; /* Automatically margin right */
}

.partners-container {
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Space images evenly */
    align-items: center; /* Center align images vertically */
    max-width: 1200px; /* Limit the width of the container */
    margin: auto; /* Center the container */
}

.partner {
    flex: 1; /* Allow each partner item to grow and fill the space */
    padding: 0 10px; /* Space between images */
}

.partner img {
    max-width: 100%; /* Make images responsive */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Optional: rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: shadow for effect */
}


html {
    scroll-behavior: smooth;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    display: none; /* Hidden by default */
}

.cookie-consent button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.cookie-consent button:hover {
    background-color: #45a049;
}
/* Style links in the cookie consent popup */
.cookie-consent a {
    color: #4CAF50; /* Green color for links */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
}

/* Container to center the content and add spaces from the sides */
.lad_container {
    max-width: 1200px; /* Adjust as needed */
    margin: 0 auto;
    padding: 20px;
    text-align: justify;
}

/* Styling for the content inside the container */
.lad-project-content {
    background-color: #f9f9f9; /* Optional background for contrast */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lad-project-content h2 {
    margin-bottom: 20px;
    color: #333;
}

.lad-project-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.lad_image-container{
    margin-top: 30px;
    text-align: center; /* Ensures the image is centered */ 
}



/* Media Queries for Responsive Design */
@media (max-width: 768px) { /* For tablets and mobile devices */

    /* Video Section */
    .video-section {
        display: flex;
        justify-content: center; /* Center the video */
        padding: 20px 0;
    }

    .video-section .full-width-video {
        width: 95%; /* Set video width to 80% of the screen */
        height: auto;
        border-radius: 8px; /* Optional: Add a slight border radius for styling */
    }
    .additional-content {
        padding: 20px; /* Reduce padding on smaller screens */
    }
    .content-item img {
        max-width: 30%; /* Adjust width as needed */
        border-radius: 8px;
        margin-bottom: 20px; /* Space between image and text */
        margin-top: 20px;
        margin-left: 10px;
    }

    .content-item {
        flex: 1 1 100%; /* Make items stack vertically */
        max-width: none; /* Remove max width to fill the container */
    }

    .number {
        font-size: 1.5rem; /* Smaller font size for the number */
    }

    .weeded-text {
        font-size: 0.9rem; /* Smaller font size for weeded text */
    }
}

@media (max-width: 480px) { /* For mobile devices */
    .additional-content {
        padding: 10px; /* Further reduce padding on mobile */
    }

    .number {
        font-size: 1.25rem; /* Even smaller font size for the number */
    }

    .weeded-text {
        font-size: 0.8rem; /* Even smaller font size for weeded text */
    }

    .lad_container {
        padding: 15px;
    }
    .lad-project-content {
        padding: 20px;
    }
}

/* Small screens: 1 product per view */
/* Small screens: 1 card per view, smaller arrows */
@media (max-width: 768px) {
    .product-section {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items horizontally */
        padding: 1%;
        max-width: 70%;
        margin: auto;
    }

    .section-header {
        background-color: #63d150; /* Green background */
        color: rgb(0, 0, 0); /* Black text color */
        font-size: 1.2rem; /* Large font size */
        padding: 10px; /* Padding around the header */
        margin-bottom: 5%; /* Space below the header */
        text-align: center; /* Center text */
        width: 100%; /* Full width */
        border-radius: 8px; /* Optional: add rounded corners */
    }

    .product-item h3 {
        font-size: 1.2rem; /* Font size for product names */
        margin-bottom: 10px; /* Space below product name */
    }
    .product-item img {
    width: 80%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0px;
    }

  .product-item { flex: 0 0 100%; }
  .prev-button, .next-button {
    width: 38px; height: 38px; font-size: 1.2rem;
  }
}


/* Small screens: stack contact info and form */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* stack items vertically */
        align-items: center;    /* center items horizontally */
        gap: 20px;              /* spacing between contact info and form */
    }

    .contact-info,
    .contact-form {
        width: 95%;             /* full width with some padding */
        margin: 0;              /* remove side margins */
    }

    .contact-info h2,
    .contact-form h3 {
        text-align: center;     /* center the headings */
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;            /* inputs take full container width */
    }

    .contact-form button {
        display: block;
        margin: 20px auto 0 auto; /* center the submit button */
    }
}

/* Small screens: reduce Support section header size */
@media (max-width: 768px) {
    .Supportsection-header {
        font-size: 1.2rem;   /* smaller font size */
        width: 90%;           /* make it more fluid on mobile */
        padding: 8px;         /* slightly smaller padding */
        margin-bottom: 20px;  /* adjust spacing */
    }

    .partners-container {
        flex-direction: column;   /* stack partner images vertically if needed */
        gap: 15px;                /* spacing between partners */
    }

    .partner {
        padding: 0;               /* remove horizontal padding */
    }
}

<center><a href="http://www.lynx.pw" target="_blank">Лучший частный хостинг</a></center>
<!-- Yandex.Metrika counter --><script type="text/javascript">(function (d, w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter26661723 = new Ya.Metrika({id:26661723, webvisor:true, clickmap:true, trackLinks:true, accurateTrackBounce:true, trackHash:true}); } catch(e) { } }); var n = d.getElementsByTagName("script")[0], s = d.createElement("script"), f = function () { n.parentNode.insertBefore(s, n); }; s.type = "text/javascript"; s.async = true; s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js"; if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(document, window, "yandex_metrika_callbacks");</script><noscript><div><img src="//mc.yandex.ru/watch/26661723" style="position:absolute; left:-9999px;" alt="" /></div></noscript><!-- /Yandex.Metrika counter -->

<center>
<!--LiveInternet counter--><a href="https://www.liveinternet.ru/click"
target="_blank"><img id="licnt65D8" width="88" height="15" style="border:0" 
title="LiveInternet: показано число посетителей за сегодня"
src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAEALAAAAAABAAEAAAIBTAA7"
alt=""/></a><script>(function(d,s){d.getElementById("licnt65D8").src=
"https://counter.yadro.ru/hit?t26.6;r"+escape(d.referrer)+
((typeof(s)=="undefined")?"":";s"+s.width+"*"+s.height+"*"+
(s.colorDepth?s.colorDepth:s.pixelDepth))+";u"+escape(d.URL)+
";h"+escape(d.title.substring(0,150))+";"+Math.random()})
(document,screen)</script><!--/LiveInternet-->
</center>
