/* Font styles */
.kanit-thin {
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.kanit-extralight {
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.kanit-light {
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.kanit-regular {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.kanit-medium {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.kanit-semibold {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.kanit-bold {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.kanit-extrabold {
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.kanit-black {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.kanit-thin-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.kanit-extralight-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.kanit-light-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.kanit-regular-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.kanit-medium-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.kanit-semibold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.kanit-bold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.kanit-extrabold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.kanit-black-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: italic;
}
.nav-link{
    font-size:20pt;
}
.center{
    margin:auto;
}
.center p{
    font-size:25pt;
}
/* Navbar styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 12vh;
    font-family: 'Garamond', sans-serif;
}

/* Navbar brand styles */
/*.navbar-brand > img:nth-child(2) {
    width: 5%;

}

.navbar-brand > img:nth-child(1) {
   width: 20%;
}*/
#hct-logo
{
    width: 25%;
}
#hct-logo img{
    max-width:100%;
    max-height:100%;
}
#tadano-logo
{
    width: 15%;
}
#tadano-logo img{
    max-width:100%;
    max-height:100%;
}


/* Navbar toggler styles */
.navbar-toggler {
    align-items: flex-end;
}

/* Navbar links styles */
.navbar-nav .nav-link {
    transition: transform 0.2s ease;
    font-size: 0.875rem;
}

.navbar-nav .nav-link:hover {
    transform: translateY(-5px);
}

/* Media query for small screens */
@media (max-width: 768px) {
    #tadano-logo {
        width: 30%;
    }
    #hct-logo {
        width: 30%;
    }
    #navbarNavDropdown
    {
        background-color: white;
        width: 120%;
    }
}

/* Image container styles */
.image-container {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    
}

.image-container img {
    display: block;
    height: 100%;
    transition: transform 0.5s ease;
}
.image-wrapper {
    position: relative;
    width: 100%;
    max-height: 650px; /* Set a fixed height for the image container */
    overflow: hidden; /* Hide overflow */
}

.image-wrapper img {
    width: 100%; /* Ensure the image takes up the full width */
     /* Allow the height to adjust according to the aspect ratio */
    object-fit: cover; /* Crop the image to cover the container */
    max-height: 400px;
}
.image-container:hover img {
    transform: scale(1.1);
}

/* Overlay styles */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

.image-container:hover .overlay {
    opacity: 1;
}

/* Caption styles */
.caption {
    width: 95%;
    position: absolute;
    bottom: 5%;
    text-align: center;
    color: white;
    border-radius: 5px;
    transition: font-size 0.5s ease;
    opacity: 1;
    font-size: 24px;
}

.image-container:hover .caption {
    font-size: 28px;
}

/* Additional styles */
.row.no-gutters [class^="col-"] {
    padding-right: 0;
    padding-left: 0;
}
.container {
    margin-top: 70px; /* Adjusted margin-top */
}
.form_container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.kontaktforma {
    max-width: 600px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

@media (min-width: 768px) {
    .kontaktforma {
        max-width: 800px;
    }
}

.kontaktforma h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.field {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    color: #555;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

input[type="submit"] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

.message_sent {
    text-align: center;
    color: green;
}

.error_message {
    text-align: center;
    color: red;
}

.lang_icon {
    max-width: 24px;
}
.carousel-item{
    width: 100%; /* Set width of container */
    max-width: 100%;
}
.carousel-inner{
    max-width: 100%;
}
.description{
    font-size:18pt;
}
.description-header{
    font-size: 50pt;
}
.carousel-caption {
    height: 90%;
}
@media (max-width: 768px) {
    .description {
        font-size: 0.875rem; /* Adjust font size for body text on smaller screens */
    }
    .description-header {
        font-size: 1.6rem; /* Adjust font size for headers on smaller screens */
    }
    .carousel-caption {
        width: 95%;
        left:0%;
    }
    .carousel-item img {
        width: 100%; /* Ensures the image spans the full width of the container */
        height: 100%; /* Ensures the image spans the full height of the container */
        object-fit: contain; /* Maintains aspect ratio while covering the container */
        object-position: center; /* Centers the image */
        overflow: hidden; /* Hides the overflow */
    }
   
    div.container-fluid:nth-child(1)
    {
        --bs-gutter-x:0;
    }
    .carousel-inner{
       margin-top: 10px;
       max-width: 100%;
    }
   
}
.product-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 20px;
}
.parameter-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 20px;
    margin-top: 5%;
}
.parameter-cell {
    padding: 10px;
    text-align: center; /* Center the text */
    font-size: 1.5em; /* 1/3 bigger */
    line-height: 1.6; 
}
.parameter-cell b {
    color: #000000;
}
.container > h3:nth-child(4) {
    text-align:center;
    margin-top:30px;
}
