* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 10px;
    font-family: Arial;
    background-color: #474f62;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

p {
    color: #b1c4fc;
    text-align: left;
    font-size: 1.4rem;
    line-height: 1.9rem;
}

#header img {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 30%;
    height: 100%;
}

#header {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: auto;
}

#header .header {
    min-height: 4vw;
    background-color: #394e86;
    transition: .3s ease background-color;
    4
}

#header .nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    max-width: 1500px;
    padding: 0 10px;
}

#header .nav-list ul {
    list-style: none;
    position: absolute;
    background-color: #394e86;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    overflow-x: hidden;
    flex-direction: column;
    transition: .3s ease left;
}

#header .nav-list ul.active {
    left: 0;
}

#header .nav-list ul a {
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: .2rem;
    text-decoration: none;
    color: #b1c4fc;
    text-transform: uppercase;
    padding: 20px;
    display: block;
}

#header .nav-list ul a::after {
    content: attr(data-after);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #b1c4fc;
    font-size: 6.5rem;
    letter-spacing: 50px;
    z-index: -1;
    transition: .3s ease letter-spacing;
}

#header .nav-list ul li:hover a::after {
    transform: translate(-50%, -50%) scale(1);
    letter-spacing: initial;
}

#header .nav-list ul li:hover a {
    color: #86a2f1;
}

#header .hamburger {
    height: 60px;
    width: 60px;
    display: inline-block;
    border: 3px solid #b1c4fc;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    cursor: pointer;
    transform: scale(.8);
    margin-right: 20px;
}

#header .hamburger:after {
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    border-radius: 50%;
    border: 3px solid #b1c4fc;
    animation: hamburger-puls 1s ease infinite;
}

#header .hamburger .bar {
    height: 2px;
    width: 30px;
    position: relative;
    background-color: #b1c4fc;
    z-index: -1;
}

#header .hamburger .bar::after,
#header .hamburger .bar::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    background-color: #b1c4fc;
    transition: .3s ease;
    transition-property: top, bottom;
}

#header .hamburger .bar::after {
    top: 8px;
}

#header .hamburger .bar::before {
    bottom: 8px;
}

#header .hamburger.active .bar::before {
    bottom: 0;
}

#header .hamburger.active .bar::after {
    top: 0;
}

.section-title {
    font-size: 4rem;
    font-weight: 300;
    color: #b1c4fc;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    text-align: center;
}


.container {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero {
    background-image: url(./images/image1.jpg);
    background-size: cover;
    background-position: top center;
    position: relative;
    z-index: 1;
}

#hero::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #1b1f29;
    opacity: 0.8;
    z-index: -1;
}

#hero h1 {
    display: block;
    width: fit-content;
    font-size: 4rem;
    position: relative;
    color: #b1c4fc;
}

#hero .cta {
    display: inline-block;
    padding: 10px 30px;
    color: #b1c4fc;
    background-color: transparent;
    border: 4px solid #b1c4fc;
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-top: 30px;
    transition: 0.3s ease background-color;
    transition-property: background-color, color;
}

#hero .cta:hover {
    color: #b1c4fc;
    background-color: #394e86;
}

#hero .hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    justify-content: flex-start;
}

#pocetna {
    background-image: url(./images/image2.jpg);
    background-size: cover;
    background-position: top center;
    position: relative;
    z-index: 1;
}

#pocetna .pocetna {
    flex-direction: column;
    text-align: center;
    max-width: 1500px;
    margin: 0 auto;
    padding: 10px;
}

#pocetna .pocetna h1 {
    margin-top: 10rem;
}



#pocetna .pocetna-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#pocetna .pocetna-item {
    flex-basis: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    border-radius: 5px;
    background-size: cover;
    background-image: linear-gradient(60deg, #474f62, black 100%);
}

#pocetna::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #1b1f29;
    opacity: 0.8;
    z-index: -1;
}

#pocetna .pocetna-item p {
    color: #b1c4fc;
    text-align: left;
    font-size: 1.4rem;
    line-height: 1.9rem;
}


#onama .onama {
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
}

#onama .onama-header h1 {
    margin-bottom: 50px;
    margin-top: 100px;
}

#onama .sveonama {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}

#onama .project-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 80%;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 20px;
    background-image: linear-gradient(60deg, #474f62, black 100%);

}

#onama .onama-info {
    padding: 30px;
    flex-basis: 50%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    background-image: linear-gradient(60deg, #474f62, black 100%);
    color: #b1c4fc;
}

#onama .onama-info h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 10px;
}

#onama .onamaimg img {
    flex-basis: 100%;
    height: 500px;
    overflow: hidden;
}

#onama .onamaimg img {
    transition: .3s ease transform;

}

#onama .project-item:hover .onamaimg img {
    transform: scale(1.1);
}

#reference .reference {
    flex-direction: column-reverse;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 15rem;
    padding: 10px 20px;
}

#reference .left img {
    width: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

#reference .right {
    width: 90%;
}

#reference .right h1 {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 1.2rem;
    margin-bottom: 10px;
    margin-top: 10px;
}

#reference .right p {
    margin-bottom: 5px;
    color: #b1c4fc;
    font-size: 1.5rem;

}

#reference .right H2 {
    margin-bottom: 5px;
    color: #b1c4fc;
    font-size: 1.5rem;

}

#reference .right {
    background-image: linear-gradient(60deg, #474f62, black 100%);

    padding: 5%;
}

#contact {
    background-image: url(./images/image11.jpg);
    background-size: cover;
    background-position: top center;
    position: relative;
    z-index: 1;
}

#contact::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #1b1f29;
    opacity: 0.8;
    z-index: -1;
}

#contact .section-title {
    color: #b1c4fc;
    font-size: 6rem;
    margin-top: 10rem;
}

#contact .contact {
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}

#contact .contact-items {
    width: 100%;
    padding: 20px;
}

#contact .contact-item {
    width: 90;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    margin: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 18px 0px black;
    flex-direction: column;
    background-color: #b1c4fc;
    transition: .3s ease box-shadow;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#contact .contact-item img {
    width: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#contact .contact-item:hover {
    box-shadow: 0px 0px 20px 0px black;
}

#footer {
    /* ff 3.6+ */
    background-color: #474f62;
}

#footer .footer {
    min-height: 200px;
    flex-direction: column;
    padding-top: 20px;
    padding-bottom: 10px;
}

#footer .brand img {
    width: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media only screen and (min-width: 768px) {

    p {
        color: #b1c4fc;
        text-align: left;
        font-size: 2rem;
        line-height: 2.6rem;
    }

    h1.section-title {
        font-size: 10em;
    }

    #hero h1 {
        font-size: 10rem;
    }

    #pocetna .pocetna-item {
        flex-basis: 70%;
        margin: 1.5%;
    }

    #pocetna .pocetna-item p {
        color: #b1c4fc;
        text-align: left;
        font-size: 4rem;
        line-height: 5rem;
    }

    #onama .onama {
        flex-direction: column;
        max-width: 1200px;
        margin: 0 auto;
        padding: 100px 0;
    }

    #onama .onama-header h1 {
        margin-bottom: 50px;
        margin-top: 100px;
    }

    #onama .sveonama {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        overflow: hidden;
    }

    #onama .project-item {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        margin: 20px auto;
        overflow: hidden;
        border-radius: 20px;

    }

    #onama .onama-info {
        padding: 30px;
        flex-basis: 50%;
        height: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        color: #b1c4fc;
    }

    #onama .onama-info h1 {
        font-size: 2.5rem;
        font-weight: 500;
        margin-bottom: 10px;
    }

    #onama .onamaimg img {
        flex-basis: 100%;
        height: 500px;
        overflow: hidden;
    }

    #onama .onamaimg img {
        transition: .3s ease transform;

    }

    #onama .project-item:hover .onamaimg img {
        transform: scale(1.1);
    }

    #reference .reference {
        flex-direction: column;
    }

    #reference .right h1 {
        color: #b1c4fc;
        font-size: 5rem;
    }

    #reference .right p,
    h2 {
        margin-bottom: 5px;
        color: #b1c4fc;
        font-size: 2.5rem;

    }

    #reference .left img {
        width: 83rem;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 40px;

    }

    #contact h2 {
        color: black;
        font-size: 2rem;
    }

    #contact h1 {
        color: black;
        font-size: 3.5rem;
    }

    #footer .brand img {
        width: 400px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

}

@media only screen and (min-width: 1200px) {
    p {
        color: #b1c4fc;
        text-align: left;
        font-size: 3rem;
        line-height: 3.9rem;
    }

    h1.section-title {
        font-size: 10em;
        align-items: left;
    }

    #header .hamburger {
        display: none;
    }

    #header .nav-list ul {
        position: initial;
        display: block;
        height: auto;
        width: fit-content;
        background-color: transparent;
    }

    #header .nav-list ul li {
        display: inline-block;
    }

    #header .nav-list ul li a {
        font-size: 2rem;
    }

    #header .nav-list ul a:after {
        display: none;
    }


    #hero h1 {
        font-size: 10rem;
        align-items: left;
    }

    #pocetna .pocetna-item {
        flex-basis: 90%;
        margin: 3%;
        padding: 3%;
    }

    #pocetna .pocetna-item p {
        color: #b1c4fc;
        text-align: left;
        font-size: 3/5rem;
        line-height: 6rem;
    }

    #onama .project-item {
        height: 1000px;
        margin: 0;
        width: 100%;
        border-radius: 0;
        flex-direction: row;
    }

    #onama .project-item:nth-child(even) {
        flex-direction: row-reverse;
    }

    #onama .sveonama .onama-info {
        height: 100%;
    }

    #onama .sveonama .onamaimg {
        height: 100%;
        width: 30%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;

    }

    #onama .onama-info h1 {
        font-size: 5rem;
        font-weight: 500;
        margin-bottom: 10px;
    }

    #reference .reference {
        flex-direction: column;
    }

    #reference .right h1 {
        color: #b1c4fc;
        font-size: 7em;
    }

    #reference .right p {
        margin-bottom: 5px;
        color: #b1c4fc;
        font-size: 3rem;

    }

    #reference .left img {
        width: 100rem;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 40px;

    }

    #contact h2 {
        color: black;
        font-size: 3.5rem;
    }

    #contact h1 {
        color: black;
        font-size: 5rem;
    }

    #footer .brand img {
        width: 600px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@keyframes hamburger_puls {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.3);
    }

}