body, html {
    scroll-behavior: smooth;
    height: 100%;
    font-family: "Parkinsans", sans-serif;
    font-style: normal;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

::selection {}

b, span.bold-text {
    font-weight: bold;
}

b span {
    font-weight: bold;
}

/* SCROLL BAR */
* {
    scrollbar-width: auto;
    scrollbar-color: rgb(41, 40, 40) #79cecc;
}

*::-webkit-scrollbar {
    width: 15px;
}

*::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .5);
    padding: 5px;
}

*::-webkit-scrollbar-thumb {
    background: #79cecc;
    border-radius: 6px;
    border: 1px solid #79cecc;
}

/* BaNER */
.baner {
    background-attachment: fixed;
    height: 100vh;
    max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(Images/baner.jpg);
    scroll-snap-align: start;
}

.napis {
    text-align: center;
    color: white;
    place-items: center;
    margin-top: 15vh;
}

/* NAVBAR */
.banerLogo {
    display: grid;
    place-items: center;
    width: 100%;
    background: rgba(0, 0, 0, .5);
}

nav {
    position: absolute;
    top: 0;
}

.custom {}

.navbar-mb-container {
    width: 100%;
}

.navbar-mb-header {
    color: white;
    text-align: center;
    font-size: 30px;
    margin-left: auto;
    margin-right: auto;
}

.navbar-brand img {
    width: 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.navbar-nav {
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.navbar .navbar-nav .nav-link {
    color: #fff;
    font-size: 1.1em;
    padding: 0.5em 1em;
}

.backButton {
    display: block;
    position: fixed;
    bottom: 1em;
    right: 1em;
    background-color: #303030;
    width: 55px;
    height: 55px;
    text-align: center;
    border-radius: 10px;
    z-index: 1000;
    padding: 5px;
}

.fa-solid {
    font-size: 45px;
    color: #686868;
    transition: .75s ease;
}

.backButton:hover .fa-solid {
    color: #88dad4;
}

.nav-link:hover {
    text-decoration: underline #88dad4;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.5rem;
}

/* MAP */
iframe {
    max-width: 100%;
    width: 50%;
    border-radius: 20px;
}

/* contact */
.contact {
    scroll-snap-align: start;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    overflow-x: hidden;
    padding: 10px;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 1em;
}

.contact_div {
    height: 100%;
    width: 50%;
    background-color: rgba(0, 0, 0, .5);
    border-radius: 20px;
    display: grid;
    place-items: center;
    color: white;
    padding: 15px;
    font-size: 30px;
}

.contact div a {
    margin: 15px;
    display: grid;
    place-items: center;
}

.contact div i {
    margin: 5px;
    color: white;
}

.contact div a {
    text-decoration: none;
    color: white;
}

/* main */
main {
    margin-top: 1em;
    width: 100%;
    background-color: white;
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: grid;
    place-items: center;
    color: black;
    scroll-snap-align: start;
}

.oNas {
    width: 100%;
    overflow-x: hidden;
    padding-left: 15%;
    padding-right: 15%;
    border-radius: 20px;
    text-align: center;
    padding-top: 2em;
    padding-bottom: 2em;
}

.oNasLeft {
    width: 50%;
    float: left;
    text-align: left;
    text-wrap: wrap;
}

.oNasRight {
    width: 50%;
    float: right;
    text-align: left;
    text-wrap: wrap;
}

.marginTop {
    margin-top: 10em;
}

.marginTopForAdve {
    margin-top: 17em;
}

/* footer */
footer {
    scroll-snap-align: start;
    z-index: -1;
    width: 100%;
    margin-bottom: 0;
    background-color: #1f242d;
    position: relative;
    height: 2vw;
}

.footer-text {
    display: flex;
    justify-content: center;
    color: white;
    font-size: 12px;
}

/* cennik */
.ogloszenie .stopka {
    justify-self: end;
    text-align: left;
    color: #67eaec;
    z-index: 900;
}

.ogloszenie {
    width: 200%;
    height: auto;
    display: grid;
    margin-top: 10px;
    place-items: center;
    background: rgba(0, 0, 0, .4);
    padding: 20px;
    border-radius: 10px;
    color: white;
    text-align: center;
}

.Ogloszenia {
    overflow-x: hidden;
    margin-top: 1em;
    width: 100%;
    scroll-snap-align: start;
    padding: 15px;
    display: grid;
    place-items: center;
    background-color: white;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.cennik, .calendary {
    height: 100vh;
    margin-top: 1em;
    overflow-x: hidden;
    width: 100%;
    scroll-snap-align: start;
    padding: 15px;
    display: grid;
    place-items: center;
    justify-content: center;
    background: url(Images/cennik.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.cennik h1, .calendary h1, .Ogloszenia h1 {
    font-size: 50px;
    color: black;
    font-weight: 200;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
}

.cennik td, .cennik th {
    font-size: 25px;
    font-weight: normal !important;
}

table, tr, th, td {
    font-weight: normal !important;
    padding: 5px;
}

.calendary {
    background: linear-gradient(0deg, rgb(255, 255, 255), rgba(71, 69, 69, 0.05)), url(Images/zajecia.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.calendary table {
    border-collapse: collapse;
    width: 80vw;
    table-layout: fixed;
}

.calendary table th {
    text-align: center;
}

.hoursCol {
    font-weight: bold;
}

.calendary table td {
    border: 1px solid #08a4a7;
    text-align: center;
    width: 14.28%;
}

#hourCol {
    width: 5%;
}

table {
    font-size: 1em;
    width: 70vw;
    padding: 12px;
    background: rgba(255, 255, 255, 0.794);
    color: black;
    box-shadow: 20px #79cecc;
}

table span {
    font-weight: normal;
}

tr:nth-child(even) {
    background-color: rgba(7, 120, 138, 0.5);
    color: black;
}

.h3mob {
    margin-top: 0;
}

.afterHover i {
    font-size: 40px;
}

.spt {
    color: red;
    display: none;
}

.afterHover:hover i, .afterHover:hover h5 {
    color: #79cecc;
}

.logo {
    display: block;
}

@media (max-width: 800px) {
    .ogloszenie {
        width: 100%;
    }

    .banerLogo {
        display: grid;
        place-items: inherit;
    }

    div.logo {
        display: none;
    }

    .spt {
        display: block;
    }

    .h3mob {
        margin-top: 2em;
    }

    #onas {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .oNas {
        width: 100%;
        padding-left: 1%;
        padding-right: 1%;
        padding-bottom: 5px;
        padding-top: 5px;
    }

    .marginTop {
        margin-top: 1em;
    }

    .marginTopForAdve {
        margin-top: 5em;
        margin-bottom: -2em;
    }

    #oNas img {
        max-width: 95%;
        padding: 5;
    }

    .oNasLeft, .oNasRight {
        width: 100%;
    }

    footer {
        height: 5vw;
    }

    .calendary table td {
        height: 10vw;
    }

    .hoursCol {
        padding: 0;
        text-align: left;
        font-weight: bold;
    }

    #Apostrof {
        display: none;
    }

    table {
        width: 90vw;
    }

    .calendary table {
        width: 100vw;
        font-size: 0.7em;
    }

    #hourCol {
        width: 8%;
    }

    .contact div {
        width: 100%;
    }

    .baner {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-image: url(Images/baner.jpg);
    }

    main {
        height: auto;
    }

    .napis {
        text-align: center;
        display: grid;
        place-items: center;
    }

    iframe {
        max-width: 100%;
        width: 100%;
    }

    .contact {
        display: grid;
        place-items: center;
    }
}

@media (max-width: 1284px) {
    .ogloszenie {
        width: 100%;
    }

    .spt {
        display: block;
    }

    .h3mob {
        margin-top: 2em;
    }

    #onas {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .oNas {
        width: 100%;
        padding: 5;
    }

    .marginTop {
        margin-top: 1em;
    }

    .marginTopForAdve {
        margin-top: 5em;
        margin-bottom: -2em;
    }

    #oNas img {
        max-width: 95%;
        padding: 5;
    }

    .oNasLeft, .oNasRight {
        width: 100%;
    }

    footer {
        height: 5vw;
    }

    .calendary table td {
        height: 10vw;
    }

    .hoursCol {
        padding: 0;
        text-align: left;
        font-weight: bold;
    }

    #Apostrof {
        display: none;
    }

    table {
        width: 90vw;
    }

    .calendary table {
        width: 100vw;
        font-size: 0.7em;
    }

    #hourCol {
        width: 8%;
    }

    .contact div {
        width: 100%;
    }

    .baner {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-image: url(Images/baner.jpg);
    }

    main {
        height: auto;
    }

    .napis {
        text-align: center;
        display: grid;
        place-items: center;
    }

    iframe {
        max-width: 100%;
        width: 100%;
    }

    .contact {
        display: grid;
        place-items: center;
    }
}

.data-processing-notice {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.data-processing-notice p {
    margin: 0;
}

.data-processing-notice button {
    background-color: #00ffef;
    border: none;
    color: black;
    text-weight: bold;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
    transition: opacity 0.3s ease;
    transition: transform 0.3s ease;
}

.data-processing-notice button:hover {
    transform: scale(1.1);
}

.showing {
    opacity: 0;
    transform: translateY(200px);
    height: auto;
    transition: opacity 1s ease, transform 1s ease;
}

.showing.show {
    opacity: 1;
    transform: translateY(0);
}

.showing-left {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    visibility: hidden;
    transform: translateX(-250px);
    height: auto;
    transition: opacity 1s ease, transform 1s ease;
}

.showing-left.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
}

.showing-right {
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 0 0 100%);
    transform: translateX(250px);
    height: auto;
    transition: opacity 1s ease, transform 1s ease;
}

.showing-right.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
}

.oNas {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.oNasRight, .oNasLeft {
    flex: 1;
}

.imageContainer {
    width: 100%;
    text-align: center;
}

.textContainer {
    padding: 20px;
}

.onasImage {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 768px) {
    .oNas {
        flex-direction: column;
    }

    .oNasRight, .oNasLeft {
        display: flex;
        flex-direction: column;
    }

    .oNasRight .imageContainer, .oNasLeft .imageContainer {
        order: -1;
    }

    .oNasRight .textContainer, .oNasLeft .textContainer {
        order: 1;
    }
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding-top: 20px;
}

.box {
    background-image: radial-gradient(circle, #ffffff, #f0f3fd, #d9e9fa, #bce1f3, #9dd9e7, #89d1dc, #77cacf, #65c2c0, #55b9b7, #44b0ad, #2fa8a4, #109f9b);
    color: black;
    padding: 20px;
    font-size: 16px;
    font-weight: normal;
    text-align: center;
    border-radius: 12px;
    width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1;
    --g: /20.56% 20.56% radial-gradient(#000 calc(71% - 1px), #0000 71%) no-repeat;
    mask: 100% 50% var(--g), 93.301% 75% var(--g), 75% 93.301% var(--g), 50% 100% var(--g), 25% 93.301% var(--g), 6.699% 75% var(--g), 0% 50% var(--g), 6.699% 25% var(--g), 25% 6.699% var(--g), 50% 0% var(--g), 75% 6.699% var(--g), 93.301% 25% var(--g), radial-gradient(100% 100%, #000 38.366%, #0000 calc(38.366% + 1px));
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.box:hover {
    transform: translateY(-5px);
}

@media screen and (max-width: 768px) {
    .container {
        gap: 10px;
    }

    .box {
        width: calc(50% - 10px);
    }
}
