body {
    margin: 0;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: #ffffff;
}

hr {
    border: none;
    border-top: 1px solid #f1b430; 
    margin: 50px auto;
    max-width: min(calc(100vw - 60px), 1200px);
    width: 100%;
}

.banner {
    z-index: 100;
    position: fixed;
    width: 100%;
    height: 60px;
    padding: .5rem;
    background-color: #000000d2;
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

.banner-hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.banner img {
    transition: transform 0.1s ease-in-out;
    height: 35px;
    width: auto;
}

.des {
    font-family: 'Lato', sans-serif;
    color: #000000;
    font-size: 130%;
    margin-right: 10px;
    line-height: 1.75;

}

.desm {
    text-shadow: 2px 2px 4px #000000;
    font-family: 'Lato', sans-serif;
    color: #ffffff;
    font-size: 130%;
    margin-right: 10px;
}

.des .info {
    text-shadow: 1px 1px 2px #1b1b1b;
}

.banner .mrr {
    margin-right: 15px;
}

.banner .mrrn {
    margin-right: 15px;
    margin-top: -3px;
    display: none;
}

.banner .mr {
    max-width: 1300px;
    width: 95%;
    display: flex;
    justify-content: right;
    align-items: center;
}

.lew {
    margin-right: auto;
    font-size: 150%;
}

.ipex {
    font-size: 0.8rem;
    text-transform: lowercase;
    margin-top: 3px;
    margin-left: 3px;
    display: block;
    line-height: 1;
}

.banner .desm:hover {
    color: #f1b430;
    cursor: pointer;
}

.banner a:hover {
    color: #f1b430;
    cursor: pointer;
}

.banner img:hover {
    transform: scale(1.2);
    cursor: pointer;
}

.popup {
    position: fixed;
    width: 80px;    
    top: 81px;
    right: 6px;
    background-color: #2d3138;
    border: 3px solid #000000;
    padding: 10px;
    display: none;
    z-index: 999;
    border-radius: 20px;
}

.popup a {
    display: block;
    justify-self: center;
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }
    .banner .mrr {
        margin-right: 0px;
    }
    .banner .mrrn {
        display: flex;
    }
    .lew {
        font-size: 120%;
    }
    .ipex {
        margin-top: 3px;
        margin-left: 2px;
    }
}

.first_img {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
}

.first_img img {
    margin-top: 150px;
    max-height: 800px;
    max-width: 1300px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.first_img_page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
}

.first_img_page img {
    margin-top: 150px;
    max-height: 800px;
    max-width: 1300px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 800px) {
    .first_img_page {
        height: 40vh;
    }
}

.onas {
    padding-top: 60px;
    max-width: 1200px;
    width: calc(100vw - 40px);
    margin: auto;
    text-align: center;
    line-height: 1.5;
}

.onas-content {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.onas-text {
    width: 70%;
    text-align: justify;
}

.onas-address {
    width: 30%;
    border: 3px solid #f1b430;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    display: flex; 
    flex-direction: column;
    justify-content: center; 
}

.onas span {
    display: block;
    margin-bottom: 15px;
}

.info {
    margin-bottom: 40px;
    font-size: 200%;
}

@media (max-width: 800px) {
    .onas-content {
        flex-direction: column;
        gap: 10px;
    }
    .first_img {
        height: 40vh;
    }
    .onas-text, 
    .onas-address {
        width: auto;
    }
    .onas-text {
        font-size: 1rem;
    }
}

.kontakt {
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    width: calc(100vw - 40px);
    margin: auto;
    text-align: center;
    line-height: 1.5;
}

.op {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 220px;
}

.op .dk {
    transition: transform 0.3s ease-in-out;
}

.kontakt img {
    height: 120px;
    width: 120px;
}

.kontakt a {
    text-decoration: none;
    color: #000000;
}

.kontakt span {
    margin: 20px;
}

.op .dk:hover {
    transform: scale(1.2);
}

.op .dk:hover a {
    color: #f1b430;
}

.kontakt .ig1 {
    margin: 50px auto 0px;
    flex-wrap: wrap;
    margin-top: 30px;
    justify-content: center;
    display: flex;
    align-items: center;
}

@media (max-width: 800px) {
    .kontakt .op {
        margin-bottom: 30px;
        min-width: 140px;
    }
    .kontakt img {
        height: 60px;
        width: 60px;
    }
    .kontakt span {
        margin: 0px;
    }
    .kontakt .dk {
        font-size: 70%;
    }
}

.uslugi {
    position: relative;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    width: calc(100vw - 20px);
    margin: 0px auto 50px;
    text-align: center;
    line-height: 1.5;
}

.info-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 50px;
    line-height: 0.5;
    font-size: 1.0rem;
}

.info-row .info:hover {
    cursor: pointer;
}

.info-row .info.active {
    color: #000000;
}

.info-row .info.inactive {
    color: #bd9235;
}

.info-row .info {
    margin-bottom: 0px;
}

.uslugi .ig2 {
    margin: 50px auto 0px;
    flex-wrap: wrap;
    margin-top: 30px;
    justify-content: center;
    display: flex;
    align-items: center;
}

.opis_uslugi {
    text-align: justify;
    margin: 20px 20px 0;
}

@media (max-width: 800px) {
    .uslugi .des {
        font-size: 1.2rem;
    }
    .opis_uslugi {
        font-size: 1rem;
    }
}

.opp {
    max-width: 500px;
    min-width: 300px;
    aspect-ratio: 5 / 4;
    position: relative;
    margin: 15px;
    margin-bottom: 14px;
    margin-top: 14px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.opp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uslugi .rd {
    border-radius: 20px;
}

.uslugi .ig2 .opis {
    line-height: 1.5;
}

.opp:hover {
    transform: scale(1.02);
    cursor: pointer;
    opacity: 100%;
}

.uslugi .klauzula {
    font-size: 0.8rem;
}

.opis {
    position: absolute;
    margin-left: 0px;
    margin-right: 0px;
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 24px;
    text-shadow: 2px 2px 4px #000000;
}

.price {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px #000000;
}

@media (max-height: 600px) {
    .opp {
        max-width: 400px;
    }
}

@media (max-width: 600px) {
    .price {
        bottom: 2%;
    }
    .opis {
        top: 0%;
    }
    .opp:hover {
        transform: scale(1);
        cursor: pointer;
        opacity: 100%;
    }
}

.cena {
    font-size: 2rem;
    margin-top: 20px;
    margin-bottom: 20px;
}

.xbutton {
    position: absolute;
    top: -55px;
    right: 8px;
    margin-bottom: 50px;
    border: none;
    background-color: transparent;
    font-size: 20px;
    color: #2d3138;
    cursor: pointer;
    font-size: 3em;
}

.xbutton:hover {
    font-weight: bold;
    cursor: pointer;
}

.iframe-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer {
    padding: .5rem;
    height: 60px;
    margin: 0;
    background-color: #000000;
    justify-content: center;
}

footer .cr {
    color: #ffffff;
    text-align: center;
    font-family: 'Lato', sans-serif;
    margin-top: 20px;
}

@media (max-width: 340px) {
    .uslugi .opp,
    .kontakt .oppp {
        width: calc(100% - 50px);
    }
}
