/* 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 toggler styles */
.navbar-toggler {
    align-items: flex-end;
}

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

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

/* Media query for small screens */
@media (max-width: 768px) {
    .navbar-brand > img:nth-child(2) {
        margin-left: 15%;
    }
    .navbar-brand > img:nth-child(1) {
        width: 100%;
    }
}

/* 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: 700px; /* 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 */
    height: auto; /* Allow the height to adjust according to the aspect ratio */
    object-fit: cover; /* Crop the image to cover the container */
}
.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.7), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

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

/* Caption styles */
.product-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 */
}

.fade-in {
    opacity: 1;
}

.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;
}
