/* styles.css */
body {
    background-image: url('/static/img/tools.png');
    background-repeat: repeat;
    margin: 0;
    padding: 0;
    font-family: 'Linux Libertine', 'Poppins', sans-serif;
    background: #fdfdfd;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
}

#navbarSupportedContent a {
    transition: font-size 900ms;
    transition: color 900ms;
}

#navbarSupportedContent a:hover {
    color: #e4ffdf;
    font-size: large;
    padding: 0.4rem;
    transition: font-size 900ms;
    transition: padding 900ms;
    transition: color 900ms;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar a:hover {
    color: #e4ffdf;
    transition: 300ms;
}

h1 {
    font-family: 'Linux Libertine', sans-serif;
    font-weight: 900;
    font-size: 40px;
}

h1,
h2 {
    color: #0d4608;
}

h3,
h4,
h5,
h6 {
    color: #174e17;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1.2rem;
    margin-top: 3rem;
}

h2 {
    font-size: 1.9rem;
}

h3 {
    font-size: 1.65rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    text-align: center;
    color: #304050;
}

a {
    color: #044d04;
    text-decoration: none;
}

a:hover,
a:active {
    color: green;
}

.card a {
    font-weight: 700;
}

#brand-color {
    color: #008000ff;
}

table {
    margin: 2rem auto 1rem auto;
}

.zahlavia-tabuliek {
    font-weight: 700;
    background-color: #f6fdf6;
}

.text-indent {
    text-indent: 2em;
    /* Adjust the value as needed */
}

.form_inputs input,
.form_inputs textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5rem;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
    background-color: #f2faf1;
}

.kontaktne-info {
    padding-top: 10%;
}

.kontaktne-info ul {
    padding: 2em;
}

#kontaktne-info h5 {
    margin-top: 0;
}

/* ol {
    list-style-position: inside;
} */

ol li::marker {
    font-size: 1.5rem
}

.jednotlive-vyhody li h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.jednotlive-vyhody ul {
    margin-bottom: 2rem;
}

.sumarizacia-vyhod p {
    padding: 2rem;
    font-size: large;
}

.sumarizacia-vyhod li {
    padding: 0.5rem;
    font-size: larger;
}

.card {
    background-color: #f9fff9;
    border: none;
    margin-bottom: 1rem;
}

.card-odd {
    background-color: #f2faf2;
}

.card-title {
    font-weight: bold;
    color: #34495e;
}

.card li .kod-produktu {
    font-weight: 700;
}

.float-left {
    float: right;
    /* Float image to the left */
    margin-right: 15px;
    margin-left: 15px;
    /* Add space between text and image */
    margin-bottom: 10px;
    /* Add space below the image */
    width: 200px;
    /* Set a width for the image */
    height: auto;
    /* Maintain aspect ratio */
}

img {
    /* max-width: 96%; */
    height: auto;
    margin: 1rem 0;
    width: 100%;
}

.detail-img img {
    width: 98%;
}

#profile-photo img {
    max-width: 400px;
}

.card img {
    object-fit: cover;
    /* max-width: 100%; */
    padding: 0.1rem .8rem;
}

.card-img-top {
    object-fit: cover;
    width: inherit;
    /* max-width: 360px; */
}

.image-container {
    display: flex;
    flex-wrap: wrap;
    /* Allows items to wrap to the next row */
    justify-content: space-between;
    /* Distribute space between items */
    width: 95%;
    /* Adjust based on your layout */
    max-width: 1200px;
    /* Optional: maximum width */
    margin: 0 auto;
    /* Center the container */
}

.image-container img {
    width: calc(50% - 10px);
    /* Two images per row, with spacing */
    margin-bottom: 20px;
    /* Spacing between rows */
}

.image-container img:nth-child(odd) {
    margin-right: 10px;
    /* Space to the right on odd images */
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 4 equal columns */
    gap: 10px;
    /* Space between grid items */
    padding: 20px;
    /* Padding around the grid */
}

.image-grid img {
    width: 100%;
    /* Makes images responsive */
    height: auto;
    /* Maintains the aspect ratio */
    border-radius: 8px;
    /* Optional rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Optional shadow for depth */
    transition: transform 0.2s;
    /* Smooth transition for hover effect */
}

.image-grid img:hover {
    transform: scale(1.05);
    /* Slight zoom effect on hover */
}

.portfolio img {
    width: 100%;
    max-width: 1240px;
}

.card-text {
    font-size: 1rem;
}

.container footer {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

.gallery img {
    width: 300px;
    height: 180px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


footer {
    background-color: #343a40;
    font-size: 0.9rem;
    flex-shrink: 0;
    left: 0;
    bottom: 0;
    width: 100%;
}

footer h5 {
    font-size: 1.1rem;
    font-weight: bold;
}

footer p {
    margin-bottom: 0.3rem;
}

footer a,
footer p,
footer h5 {
    color: white;
    text-decoration: none;
}

footer a:hover,
footer a:active {
    color: #e4ffdf;
    transition: color 300ms;
}

.main-block {
    display: flex;
    flex-direction: column;
    min-height: 90vh;
}

.extend-footer {
    flex-grow: 1;
    height: 1vh;
}

.projekty {
    background-color: rgba(186, 210, 247, 0.2)
}

main li {
    color: #304050;
}

#carouselIndicators li {
    display: none;
}

#carouselIndicators a:hover {
    background-color: rgba(32, 39, 51, 0.4);
}

main {
    padding: 1rem;
}

.dark-bg>div {
    background-color: rgba(165, 195, 240, 0.3);
}

#home #new_content a {
    color: yellow;
    font-size: 1rem;
    text-decoration: none;
}

#home #new_content a {
    padding: 1rem 0;
    cursor: default;
    background-color: rgba(0, 0, 0, 0);
    transition: font-size 300ms;
}

#home #new_content a:hover {
    cursor: pointer;
    color: orange;
    font-size: 1.3rem;
    transition: font-size 300ms;
}

#toggle-content {
    padding-top: 1rem;
    cursor: pointer;
    transition: color 300ms;
}

#toggle-content:hover {
    color: #e28024;
    transition: 300ms;
}

main p {
    padding: 0.1rem 1rem;
    margin: 0 0;
    /* text-indent: 2rem; */
}

.farby-zlavy {
    padding-top: .5rem;
}

main .farby-zlavy h4:first-of-type {
    margin-top: 0.5rem;
}

.farby-zlavy button {
    margin: auto;
}

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

.transform {
    transition: transform 0.3s;
}

.rotate-180 {
    transform: rotate(180deg) scale(0.3);
}

.transition-enter-active {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.transition-enter-start {
    opacity: 0;
    transform: translateY(-5px) scale(.7);
}

.transition-enter-end {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.kod-produktu {
    font-family: Helvetica, sans-serif, Arial;
    font-size: smaller;
}

.logo {
    max-width: 50%;
}

.visible {
    visibility: visible;
}

.not-visible {
    visibility: hidden;
}

.samotny-produkt:hover {
    cursor: pointer;
    color: rgb(6, 94, 3);
    font-weight: 900;
}

.zvacsi-obrazok {
    position: relative;
    top: 4rem;
    left: 2rem;
    max-width: 160px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.skry-obrazok {
    position: relative;
    top: 4rem;
    left: 2rem;
    max-width: 160px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
}

.social_media>ul {
    max-width: 200px;
}

.social_media>ul>li {
    display: inline;
}

.social_media>ul>li>a>img {
    width: 50px;
    background-color: #a5d8a5;
}

.loga {
    display: inline;
}

.loga>a>img {
    max-width: 25%;
}

#hlavne-logo img {
    margin: 4rem;
    max-width: 30%;
}

#karta_soc_med {
    max-width: 380px;
    margin: auto;
}

/* Modal styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
    max-width: 500px;
    /* Maximum width of modal */
    text-align: center;
    /* Center text */
}

/* Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Consent Button */
.consent-button {
    background-color: #4CAF50;
    /* Green */
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

/* Floating phone button styles */
.floating-phone-button {
    position: fixed;
    /* Fixed position */
    bottom: 2rem;
    /* Distance from the bottom */
    right: 2rem;
    /* Distance from the right */
    background-color: #044d04;
    /* Button background color */
    color: white;
    /* Button text color */
    border: none;
    /* No border */
    border-radius: 50%;
    /* Circular button */
    width: 60px;
    /* Width of the button */
    height: 60px;
    /* Height of the button */
    display: flex;
    /* Use flexbox to center icon */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Shadow for depth */
    transition: background-color 0.3s;
    /* Smooth background color transition */
    text-decoration: none;
    /* Remove underline from link */
    z-index: 1000;
    /* Ensure it's on top */
}

/* Change background color on hover */
.floating-phone-button:hover {
    background-color: rgb(12, 100, 12, 0.5);
    /* Darker blue on hover */
}

/* Icon styles (using Font Awesome for the phone icon) */
.phone-icon {
    font-size: 24px;
    /* Size of the icon */
}

/* .gdpr-suhlas {
    display: flex;
} */

#send-form {
    display: block;
    margin: auto;
}

.dropdown-menu {
    background-color: #222422;
}

.dropdown-menu a {
    color: #ccc;
}

.navbar .dropdown-menu a:hover {
    color: #e4ffdf;
    background-color: #044d04;
    transition: 300ms;
}