body {
    background-color: #262626;
    color: #898989;
    font-family: "Arial", "Helvetica", sans-serif;
    font-size: 20px;
    margin: 0;
}

h1 {
    font-weight: 400;
    font-size: 1rem;
    margin: 2rem 1rem 0.4rem;
}

h2 {
    font-weight: 400;
    font-size: 1rem;
    margin: 2rem 1rem 0.4rem;
}

h3 {
    font-weight: 400;
    font-size: 1rem;
    margin: 0.3rem 1rem 2rem;
}

a {
    color: #f8f8f8;
    text-decoration: none;
    transition: 0.06s;
}

a:hover {
    color: #b5b5b5;
}

svg path {
    fill: currentColor;
    opacity: 0.8;
}

.icon {
    width: 0.9em;
    height: 0.9em;
    position: relative;
    bottom: -0.1rem;
    margin-left: 0.3rem;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 1440px;
    padding: 0;
    margin: 0;
    margin-top: 30px;
    grid-gap: 1px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.grid_item {
    max-width: 480px;
    height: 620px;
    background-repeat: no-repeat;
    background-position: top center;
}

.content {
    width: 100%;
    text-align: center;
    padding: 0 0 2em 0;
    position: relative;
    bottom: -550px;
}

.wew {
    width: 100%;
    position: absolute;
    bottom: 0px;
}

.logo {
    position: relative;
    width: 90%;
    transition: 0.1s;
}

a .logo:hover {
    transform: scale(1.04);
}

#webber .logo {
    max-width: 266px;
    bottom: -35px;
}

#kubasto .logo {
    max-width: 318px;
    bottom: -20px;
}

#ostatni .logo {
    max-width: 377px;
}

#bielscoworking .logo {
    max-width: 287px;
}

#pararara .logo {
    max-width: 269px;
}

#profil .logo {
    max-width: 240px;
}

#webber {
    background-image: url(img/webber-and-webber-tlo.jpg);
}

#kubasto {
    background-image: url(img/kubasto-com-tlo.jpg);
}

#ostatni {
    background-image: url(img/ostatninaziemi-tlo.jpg);
}

#bielscoworking {
    background-image: url(img/bielscoworking-tlo.jpg);
}

#pararara {
    background-image: url(img/pararara-tlo.jpg);
}

@media (max-width: 1439px) {
    .grid {
        margin-top: 0;
    }
}

@media (max-width: 750px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .grid_item {
        height: 520px;
        background-position: 50% -100px;
    }
    .content {
        bottom: -470px;
    }
}

@media (max-width: 420px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .grid_item {
        height: 580px;
        background-position: 50% 0;
    }
    .content {
        bottom: -520px;
    }
    #kubasto .logo {
        bottom: -40px;
    }
    #webber {
        grid-row: 2;
    }
    #kubasto {
        grid-row: 1;
    }
}
