@font-face {
    font-family: 'Synco';
    src: url('../fonts/Syncopate-Regular.ttf') ; /* Adjust the path as needed */
    font-weight: normal; /* or 400 */
    font-style: normal; /* or italic, if it's an italic font */
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf'); /* Adjust the path as needed */
    font-weight: 100; /* or 400 */
    font-style: normal; /* or italic, if it's an italic font */
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat3';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf'); /* Adjust the path as needed */
    font-weight: normal; /* or 400 */
    font-style: normal; /* or italic, if it's an italic font */
    font-display: swap;
}

.container {
    margin-top: 120px;
}

.usluge-header {
    margin-bottom: 30px;
}

.text-between-lines-usluge {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 0;
    text-transform: uppercase;
    font-size: 40px;
    font-family: 'Synco', sans-serif;
}

.text-between-lines-usluge::before,
.text-between-lines-usluge::after {
    content: '';
    flex: 1;
    border-top: 1px solid #000;
    margin: auto;
}

.text-between-lines-usluge span {
    margin: 0 15px;
}

.image-and-text {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}

.text {
    flex: 1;
    padding: 20px;
    text-align: justify;
    font-family: 'Montserrat3',sans-serif;
    font-weight: 500;
}

.text p::before {
    content: '';
    display: inline-block;
    width: 60px;
    height: 2px;
    background-color: #000000;
    vertical-align: middle;
    margin-right: 10px;
}

.image-desno {
    flex: 1;
}

.image-desno img {
    max-width: 90%;
    height: auto;
    object-fit: cover;
    min-width: 80%;
}
.cards-naslovna-header {
    text-align: center;
    position: relative;
    padding-top: 150px;
    padding-bottom: 150px; /* Adjust as needed to give enough space */
}

.front-card-naslovna-heading, .back-card-naslovna-heading {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.front-card-naslovna-heading {
    font-size: 4vh;
    z-index: 2;
    top: 50%; /* Center vertically */
    transform: translate(-50%, -50%); /* Adjust for both X and Y axis */
    font-family: 'Synco', sans-serif;
}

.back-card-naslovna-heading {
    top: 50%;
    font-size: 11vh;
    color: black;
    z-index: 1;
    letter-spacing: 7px;
    font-family: 'Montserrat', sans-serif;
    opacity: 30%;
    transform: translate(-50%, -50%); /* Center vertically */
}
.text-between-lines {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center; /* Center the text */
    padding: 10px 0; /* Add some padding above and below the text */
    margin-top: 20px; /* Space between the button and the text */
    text-transform: uppercase;
    position: relative;
    font-size: 25px;
    font-family: 'Synco',sans-serif;
}

.text-between-lines::before,
.text-between-lines::after {
    content: '';
    flex: 1 0; /* Flex grow and shrink */
    border-top: 1px solid #000; /* Horizontal line */
    margin: auto; /* Margin for auto-alignment */
}

.text-between-lines span {
    margin: 0 15px; /* Add some horizontal space around the text */
    background-color: #fff; /* Background color to overlap the lines */
}
.table-zimovnik {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Montserrat3', sans-serif;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.table-zimovnik th, .table-zimovnik td {
    border: 1px solid black;
    padding: 8px;
    text-align: left;
}

@media screen and (max-width: 768px) {
    .image-and-text {
        display: flex;
        flex-direction: column;
    }
    img{
        padding-left: 70px;
    }
    .container {
        margin-top: 100px;
    }
    .text-between-lines-usluge {
        font-size: 25px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        margin-top: 90px;
    }
    .text-between-lines-usluge {
        font-size: 20px;
    }
}
@media screen and (max-width: 320px) {
    .section-title{
      font-size: 10px;
      width: 100%;
    }
}
@media screen and (max-width: 1024px) {
    .text{
        font-size: 8px;
    }
}
@media screen and (max-width: 1300px) {
    .text{
        font-size: 15px;
    }
}
@media screen and (max-width: 950px) {
    .front-card-naslovna-heading {
        font-size: 3vh;
    }
    
    .back-card-naslovna-heading {
        font-size: 10vh;
    }
}
@media screen and (max-width: 500px) {
    .front-card-naslovna-heading {
        font-size: 2vh;
    }
    
    .back-card-naslovna-heading {
        font-size: 6vh;
    }
}
@media screen and (max-width: 333px) {
    .front-card-naslovna-heading {
        font-size: 1vh;
    }
    
    .back-card-naslovna-heading {
        font-size: 4vh;
    }
}