/* * {
    font-size: 62.5%;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
} */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');
html {
    font-family: 'Lato', sans-serif;
    color: #222;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    background: url('images/NN_Porownywarka_BG.jpg');
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    min-height: 100vh;
}

.w-100 {
    width: 100%;
}

#heading__title {
    padding-left: 5rem;
    padding-right: 5rem;
    text-align: center;
    /* background: #fff; */
    z-index: 2;
    font-weight: 300;
    font-size: 50px;
    /* font-family: Didot; */
}

.heading {
    min-height: 210px;
    position: relative;
    animation: appear .5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

#heading__subtitle {
    text-align: center;
    font-size: 22px;
    font-weight: 200;
    width: 95%;
}

.heading__box {
    position: relative;
}

.heading__box::before,
.heading__box::after {
    content: "";
    display: block;
    height: 1px;
    width: 100vw;
    position: absolute;
    top: 50%;
    z-index: -1;
    background-color: rgb(109, 109, 109);
}

.heading__box::before {
    left: 100%;
}

.heading__box::after {
    right: 100%;
}

.content {
    min-height: 600px;
}

.img-container {
    max-width: 400px;
    height: 350px;
    width: 350px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* -webkit-filter: grayscale(1);
    filter: grayscale(1); */
    filter: opacity(.61);
    transition: all 300ms ease;
}

.img-container:hover {
    /* -webkit-filter: grayscale(0); */
    /* filter: grayscale(0); */
    filter: opacity(1);
}

.img-title {
    font-size: 50px;
    font-weight: 900;
    text-transform: uppercase;
    color: #2A3539;
}

.slide {
    border: none;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: opacity 100ms linear;
    -moz-transition: opacity 100ms linear;
    -o-transition: opacity 100ms linear;
    transition: opacity 100ms linear;
}

.img-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.showMe {
    opacity: 1;
}

.tile {
    overflow: hidden;
    min-width: 27.5rem;
    box-shadow: 1px 3px 5px #111;
    transition: box-shadow .3s ease;
    font-family: aileron;
    margin-bottom: 20px;
}

.tile:hover {
    box-shadow: 3px 7px 15px #222;
}

.tile__box {
    transition: all .3s ease;
}

.tile__box:hover {
    scale: 1.2;
}

.tile__content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 20rem;
    position: relative;
}

.tile__content-box {
    position: absolute;
    padding: 3rem;
    border: 1px solid #222;
    width: 65%;
}

.tile__heading {
    text-align: center;
    text-transform: uppercase;
}

.tile__title {
    display: block;
    font-size: 3rem;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #f3f3f3;
    margin-top: 10rem;
    padding-bottom: 2rem;
    border-top: 1px solid #ddd;
    padding: 25px 0;
}

.footer h5 {
    width: 60%;
    font-size: 1.5rem;
    font-family: 'Lato', sans-serif;
    margin-bottom: 1rem;
    color: #707070;
    font-weight: 300;
    text-align: center;
}

.footer img {
    width: 100%;
    max-width: 250px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 33.33333%;
}

.footer__social,
.footer__apps {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.footer__social {
    max-width: 300px;
}

.footer__apps {
    max-width: 100px;
}

.footer__ico {
    display: flex;
    justify-content: center;
}

.footer__ico svg {
    transition: all 300ms ease-out;
    width: 3rem;
    height: 3rem;
    fill: #707070;
}

.footer__ico:hover svg {
    fill: #f687b3;
}

.footer-logo {
    -webkit-filter: grayscale(1);
    filter: opacity(.65);
    transition: all 300ms ease;
}

.footer-logo:hover {
    filter: opacity(1);
}

@media (max-width: 1400px) {
    .main {
        padding-bottom: 250px;
    }
    .footer {
        padding: 15px;
    }
    .img-container {
        height: 300px;
        width: 300px;
    }
    .img-title {
        font-size: 40px;
    }
    .footer img {
        width: 100%;
        max-width: 150px;
    }
}

@media (max-width: 700px) {
    .main {
        min-height: 125vh;
    }
    .img-container {
        height: 200px;
        width: 200px;
    }
    .img-title {
        font-size: 30px;
    }
    .heading {
        min-height: 17.5rem;
    }
    .heading::after {
        top: 40%;
    }
    #heading__title {
        font-size: 40px;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .tile {
        width: 17rem;
        min-width: 5rem;
    }
    .tile__content {
        min-height: 220px;
    }
    .tile__title {
        font-size: 25px;
    }
    .footer {
        margin-top: 2.5rem;
    }
    .footer h5 {
        width: 98%;
        font-size: 1.3rem;
    }
    .footer__col {
        width: 90%;
        justify-content: space-between;
        margin-bottom: 30px;
    }
    .footer__ico {
        max-width: 44px;
    }
}

@media (max-width: 400px) {
    .img-container {
        height: 150px;
        width: 150px;
    }
    .img-title {
        font-size: 25px;
    }
    #heading__title {
        font-size: 28px;
        padding: 0;
    }
    #heading__subtitle {
        width: 95%;
    }
    .footer h5 {
        font-size: 1.1rem;
    }
    .footer__ico {
        max-width: 40px;
    }
}

@media (max-width: 300px) {
    .main {
        min-height: 165vh;
    }
    .link {
        width: 100%;
    }
    .img-box {
        width: 100%;
        height: 320px;
    }
    .img-container {
        height: 100%;
        width: 100%;
    }
}

@keyframes appear {
    0% {
        opacity: 0;
        top: 35px;
    }
    100% {
        opacity: 1;
        top: 0;
    }
}