::selection {
    background: #007fff;
    /* WebKit/Blink Browsers */
}

::-moz-selection {
    background: #007fff;
    /* Gecko Browsers */
}

body {
    font-family: 'Nunito' !important;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1 {
    margin: 0;
    color: #007fff;
}

a {
    text-decoration: none;
    color: #007fff;
}

nav {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.menu-container > div {
    border-top: 0vh solid #007fff;
    border-bottom: 0vh solid #007fff;
    transition: border-top 0.5s, border-bottom 0.5s, background-color 0.5s;
}

.menu-container > div > button {
    border: 0;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0);
    font-family: 'Nunito' !important;
    transition: color 0.5s;
    text-shadow: 0 0 0.5vh rgba(0, 0, 0, 0.4);
}

.menu-container > div.current {
    background: rgba(76, 179, 255, 0.25);
    color: #ffffff;
}

.menu-container > div.current > button {
    color: #ffffff;
}

.container {
    position: absolute;
    display: block;
    width: calc(7 * 100vw);
    left: 0vw;
    transition: left 0.5s;
    font-family: 'Nunito' !important;
}

.container > div {
    position: relative;
    float: left;
    box-sizing: border-box;
    padding: 0;
    border-radius: 5vw;
    margin: 5vh 10vw;
    padding: 0;
    width: 80vw;
    height: 70vh;
    overflow-y: scroll;
}

.container > div > .content {

    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 5vw;
    padding: 5vw;
    margin: 0;
    width: 70vw;
    height: max-content !important;
}

.container > div > .content > p {
    margin: 0 0 2vh 0;
}

.container > div::-webkit-scrollbar {
    display: none;
}

.container > div {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

form input,
form textarea,
.content button {
    background-color: rgba(237, 237, 237, 0.5);
    border-radius: 3vh;
    width: 95%;
    margin: 0 2.5%;
    padding: 1vh 0;
}

#formularz,
#potwierdzenie {
    overflow: hidden;
    transition: width 1s;
}

#formularz {
    float: left;
}

#potwierdzenie {
    width: 0%;
    float: right;
}

#insta > .instagram_gallery > .instagram-image {
    overflow: hidden;
}

#insta > .instagram_gallery > .instagram-image > img {
    object-fit: cover;
}

#insta a[data-caption]::after {
    content: attr(data-caption);
    text-align: center;
    font-size: 0.8rem;
    color: black;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1%;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: hsla(0, 100%, 100%, 0.8);
}

#glowna > .content
{
    padding: 0 !important;
    height: max-content !important;
    width: 80vw;
}

#glowna > .content > img
{
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

@media (min-width: 961px) {
    body {
        background-image: url(../img/bg.jpg);
        background-size: cover;
    }

    nav {
        position: fixed;
        z-index: 1200;
        width: 100vw;
        height: max-content;
        top: 0;
        left: 0;
        overflow: hidden;
    }

    nav > .menu-container {
        width: max-content;
    }

    .menu-container > div {
        float: left;
        height: 4vh;
        margin: 0;
        width: max-content;
    }

    .menu-container > div > button {
        padding: 1vh 2vh;
        font-size: 2vh;
    }

    .menu-container > div.current {
        border-bottom: 0.5vh solid #007fff;
    }

    .container > div {
        overflow-x: hidden;
        border-radius: 1vw;
        overflow-y: scroll;
        height: 90vh;
    }

    .container > div > .content {
        border-radius: 1vw;
        padding: 5vw;
        margin: 0;
        width: 70vw;
        min-height: 60vh;
    }

    .container > div > h1 {
        font-size: 4vh;
        margin: 1vh 0;
    }

    #glowna > img {
        margin: 2vh 0;
        width: 40%;
    }

    form {
        width: 70vw;
        margin: 0;
        padding: 0;
    }

    form textarea {
        height: 20vh;
    }

    #formularz {
        width: 100%;
        float: left;
    }

    #potwierdzenie {
        width: 0%;
        float: right;
    }

    #potwierdzenie > h2,
    #potwierdzenie > p,
    #potwierdzenie > span {
        width: 70vw;
    }

    form input,
    form textarea,
    .content button {
        box-shadow: 0 0 0.3vh black inset;
        box-shadow: 0 0 0.5vh black;
    }

    #kontakt > .content {
        min-height: 75vh;
    }

    #insta > .instagram_gallery > .instagram-image {
        height: 60vh !important;
    }
    
    #glowna > .content > .main
    {
        display: block;
    }
    
    #glowna > .content > .main_mob
    {
        display: none;
    }
}

@media (max-width: 960px) {
    body {
        background-image: url(../img/bgmob.jpg);
        background-size: cover;
    }

    nav {
        position: fixed;
        z-index: 1200;
        width: 100vw;
        height: 9vh;
        bottom: 0;
        left: 0;
        overflow-x: scroll;
        overflow-y: hidden;
    }

    nav > .menu-container {
        width: max-content;
    }

    .menu-container > div {
        float: left;
        height: 9vh;
        margin: 0;
        width: max-content;
    }

    .menu-container > div > button {
        padding: 1.5vh 4vh;
        font-size: 4vh;
    }

    .menu-container > div.current {
        border-top: 0.8vh solid #007fff;
    }

    .container > div > h1 {
        font-size: 4vh;
        margin: 1vh 0;
    }

    .container > div {
        overflow-x: hidden;
        border-radius: 5vw;
        overflow-y: scroll;
        height: 75vh;
    }

    .container > div > .content {
        border-radius: 5vw;
        padding: 5vw;
        margin: 0;
        width: 70vw;
        min-height: 63vh;
    }

    #glowna > img {
        margin: 2vh 10%;
        width: 80%;
    }

    form {
        width: 70vw;
        margin: 0;
        padding: 0;
    }

    form textarea {
        height: 15vh;
    }

    #formularz {
        width: 100%;
        float: left;
    }

    #potwierdzenie {
        width: 0%;
        float: right;
    }

    #potwierdzenie > h2,
    #potwierdzenie > p,
    #potwierdzenie > span {
        width: 70vw;
    }

    form input,
    form textarea,
    .content button {
        box-shadow: 0 0 1vw black inset;
        box-shadow: 0 0 2vw black;
    }

    #kontakt > .content {
        min-height: 100vh;
    }

    #insta > .instagram_gallery > .instagram-image {
        height: 20vh !important;
    }
    
    #glowna > .content > .main
    {
        display: none;
    }
    
    #glowna > .content > .main_mob
    {
        display: block;
    }
}
