* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #121212;
    color: #fafafa;
    overflow-x: hidden;
}

.header {
    padding: 1rem;
    width: 100vw;
}

.row.header {
    justify-content: space-evenly;
}

h1, h2, h3, h4 {
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
}

a {
    text-decoration: none !important;
    color: inherit !important;
}

.item {
    cursor: pointer;
}

.row {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.section {
    padding: 1rem 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
}

.section .title {
    font-size: 2rem;
}

.hero h2 {
    font-size: 4rem;
    margin: 0 0.5rem;
}

.hero.section {
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 75px;
    height: auto;
}

.nav .item {
    padding: 1rem;
}

.hero {
    background: url("img/hero1.jpg");
}

.col {
    width: 33.333%;
    height: calc(100vh - (82px + 2rem));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.col p {
    text-align: center;
    margin-top: 2rem;
    max-width: 80%;
}

.col:hover {
    cursor: pointer;
}

.bg {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color:rgba(0, 0, 0, 0.45) !important;
    background-blend-mode: darken !important;
}

#arhitektura-col {
    background: url("img/arhitektura.jpg");
}
#materijali-col {
    background: url("img/materijali.jpg");
}
#odrzivost-col {
    background: url("img/odrzivost.jpg");
}

.gray {
    filter: grayscale(100%) !important;
    -webkit-filter: grayscale(100%) !important;
    transition: 0.35s ease-in-out;
}

.gray:hover {
    filter: grayscale(0%) !important;
    -webkit-filter: grayscale(0%) !important;
    transition: 0.35s ease-in-out;
}

.about h4 {
    font-size: 3.5rem;
    font-weight: 500;
    text-transform: uppercase;
}

.card {
    width: 80%;
    border: 1px solid #343434;
    border-radius: 3px;
    margin: 1rem 2rem;
    padding: 0 1rem;
}
.card h4 {
    font-size: 1.75rem;
}

.card img {
    width: 100%;
}

.col-card {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.section#news {
    justify-content: start;
    align-items: center;
}

.gallery img {
    width: 100%;
    height:max-content;
}

.col-img {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    width: 30vw;
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.35s ease;
}

.col-img:hover {
    filter: grayscale(80%);
    font-size: 2rem;
    transition: 0.35s ease;
}

.col-img:nth-child(1){
    background: url("img/gallery1.jpg");
}
.col-img:nth-child(2){
    background: url("img/gallery2.jpg");
}
.col-img:nth-child(3){
    background: url("img/gallery3.jpg");
}
.col-img:nth-child(4){
    background: url("img/gallery4.jpg");
}
.col-img:nth-child(5){
    background: url("img/gallery5.jpg");
}
.col-img:nth-child(6){
    background: url("img/gallery6.jpg");
}

.col-img p {
    position: absolute;
}

@media (max-width: 1300px) {
    body {
        font-size: 0.75rem;
    }
    .about h4 {
        font-size: 2.75rem;
    }
    
}

@media (max-width: 800px) {
    body {
        font-size: 0.75rem;
    }
    h1 {
        display: none;
    }
    .hero.section {
        height: 100vh;
    }
    .section {
        height: auto;
    }
    .about h4 {
        font-size: 2.25rem;
    }
    .col {
        width: 100%;
        height: auto;
    }
    .col p {
        margin-top: 1rem;
    }
    .col-card {
        width: 100%;
    }
    .col-img {
        width: 50vw;
    }
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0a0a0a;
    height: 5rem;
    width: 100vw;
}