@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 70px;
    background-color: rgba(44, 51, 68, 0.8);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

nav .navbar {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    padding: 0 50px;
}

.navbar .logo a {
    display: flex;
}

.navbar .logo a img {
    width: 200px;
}

nav .navbar .nav-links {
    line-height: 70px;
    display: flex;
    width: 100%;
    height: 100%;
}

nav .navbar .links {
    display: flex;
    width: 100%;
    justify-content: space-around;
}

nav .navbar .links li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    padding: 0 14px;
}

nav .navbar .links li a {
    height: 100%;
    text-decoration: none;
    white-space: nowrap;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.arrow {
    color: #fff
}

.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow,
.links li:hover .added-arrow {
    transform: rotate(180deg);
}

nav .navbar .links li .arrow {
    width: 22px;
    display: inline-block;
    margin-left: 10px;
    transition: all 0.3s ease;
}

nav .navbar .links li .sub-menu {
    position: absolute;
    top: 70px;
    left: 0;
    line-height: 40px;
    background-color: rgba(44, 51, 68, 0.9);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
    display: none;
    z-index: 2;
}

nav .navbar .links li:hover .htmlCss-sub-menu,
nav .navbar .links li:hover .js-sub-menu,
nav .navbar .links li:hover .added-sub-menu {
    display: block;
}

.navbar .links li .sub-menu li {
    padding: 0 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .links li .sub-menu a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.navbar .links li .sub-menu .more-arrow {
    line-height: 40px;
}

.navbar .links li .htmlCss-more-sub-menu {
    /* line-height: 40px; */
}

.navbar .links li .sub-menu .more-sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    border-radius: 0 4px 4px 4px;
    z-index: 1;
    display: none;
}

.links li .sub-menu .more:hover .more-sub-menu {
    display: block;
}

.navbar .search-box {
    position: relative;
    height: 40px;
    width: 40px;
}

.navbar .search-box i {
    position: absolute;
    height: 100%;
    width: 100%;
    line-height: 40px;
    text-align: center;
    font-size: 22px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar .search-box .input-box {
    position: absolute;
    right: calc(100% - 40px);
    top: 80px;
    height: 60px;
    width: 300px;
    background: #3E8DA8;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.navbar.showInput .search-box .input-box {
    top: 65px;
    opacity: 1;
    pointer-events: auto;
    background-color: rgba(44, 51, 68, 0.5);
}

.search-box .input-box::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    background-color: rgba(44, 51, 68, 0.5);
    right: 10px;
    top: -6px;
    transform: rotate(45deg);
}

.search-box .input-box input {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 4px;
    transform: translate(-50%, -50%);
    height: 35px;
    width: 280px;
    outline: none;
    padding: 0 15px;
    font-size: 16px;
    border: none;
}

.navbar .nav-links .sidebar-logo {
    display: none;
}

.navbar .menu-nav {
    display: none;
}

.social-media ul {
    display: flex;
    list-style-type: none;
    margin-left: 50px;
}


/*end nav*/


/*homepage*/

.video-container {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    overflow: hidden;
    z-index: 0;
    direction: ltr;
}

video {
    width: 100%;
    height: 115vh;
}


/* Add some content at the bottom of the video/page */

#home {
    height: 100vh;
}

.background-overlay {
    background-color: #000221;
    opacity: 0.5;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    z-index: 1;
    position: absolute;
    width: 100%;
    height: 100%;
}

.content-overlay {
    opacity: 0.3;
}

.home-content {
    position: absolute;
    z-index: 999;
    display: flex;
    align-items: center;
    height: 100vh;
    text-align: center;
    justify-content: center;
    width: 100%;
}

.home-content .column h2 {
    color: #fefd06;
    font-size: 40px;
    text-transform: uppercase;
    text-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
}

.home-content .column p {
    color: #ffffff;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.5em;
    letter-spacing: 1px;
}

.main-button {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    fill: #ffffff;
    color: #ffffff;
    background-color: rgba(40, 171, 226, 0.67);
    border-radius: 8px 8px 8px 8px;
    display: inline-block;
    line-height: 1;
    padding: 12px 24px;
    text-align: center;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.main-button:active {
    background-color: #006AE8;
}

.main-button:hover {
    background-color: #1C84FF;
}

a {
    text-decoration: none;
}

.section-padding {
    padding: 50px 0px;
}

.container {
    display: flex;
    justify-content: space-around;
    flex-flow: column;
}

.column {
    display: flex;
    flex-flow: column;
    width: 90%;
    margin: auto;
}

.row {
    display: flex;
}

.content-box {
    display: flex;
    padding: 10px;
    width: 33%;
    flex-flow: column;
    padding: 15px;
    margin: 20px 0px;
}

.content-box-half-screen {
    width: 50%;
}

.box-image {
    width: 100%;
}

.box-image img {
    width: 100%;
    height: 100%;
}

.box-description {
    margin-top: 20px;
    height: 280px;
}

.box-description h2 {
    text-align: center;
    color: #333;
    padding-bottom: 20px;
}

.btn-content-gray {
    background-color: #333;
}

#projekti {
    background-image: url('../img/3d-animacija.png');
    position: relative;
}

.project-box {
    align-items: center;
    background-color: transparent;
    background-image: linear-gradient(180deg, rgba(40, 171, 226, 0.2) 0%, rgba(40, 171, 226, 0.2) 100%);
    margin: 50px 0px;
    z-index: 10;
    width: 100%;
}

.project-box .box-image {
    width: 20%;
}

.project-box-desc {
    height: auto;
}

.project-box-desc h2 {
    color: #fff;
    text-transform: uppercase;
}

.box-link {
    display: flex;
    width: 100%;
}

#portfolio {
    margin: 20px 0px;
    background-color: rgba(0, 23, 61, 0.65);
}

.portfolio-box {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.portfolio-desc {
    display: flex;
    width: 60%;
    text-align: center;
}

.portfolio-desc h2 {
    color: #ffffff;
    font-family: "Roboto Condensed", Sans-serif;
    font-size: 40px;
    text-transform: uppercase;
}

.testimonials-title {
    text-align: center;
    background-color: rgba(45, 52, 68, 0.2);
    padding: 10px;
    color: #2d3444;
    font-family: "Alef", Sans-serif;
    font-size: 40px;
}

#footer {
    background-color: rgba(0, 0, 0, 0.89);
}

.footer-box {
    flex-flow: column;
}

.footer-info {
    padding: 10px;
    display: flex;
}

.info-icon i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border: 1px solid #e9e9e9;
    color: #13aff0;
    margin-right: 15px;
    text-align: center;
    border-radius: 2px;
}

.footer-info h4,
.footer-desc h4,
.footer-desc p,
.footer-desc a {
    color: #fff;
}

.nav-footer nav {
    position: relative;
    height: auto;
    background-color: transparent;
    text-transform: uppercase;
}

.nav-footer nav .navbar .logo,
.nav-footer .search-box,
.nav-footer .social-media {
    display: none;
}

.nav-footer nav .navbar .links {
    flex-flow: column;
    border-bottom: 1px solid #e9e9e9;
}

.nav-footer nav .navbar .links li {
    border-bottom: 1px solid #e9e9e9;
}

.hero_onama {
    background-color: rgba(43, 38, 39, 0);
    background-image: url('../img/hero1.png');
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
    height: 100vh;
}

.text-centered {
    width: 80%;
    margin: auto;
}

.text-centered p {
    margin: 0 0 20px;
}

.bolded {
    font-weight: bold;
}

.onama-title {
    background-color: #2d3444 !important;
    color: #fff;
    margin: 0px 0px 100px;
}

.content_onama {
    width: 100%;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    margin: -50px 0px;
}

.content_onama .box-image {
    width: 50%;
    border-style: solid;
    border-width: 15px 15px 15px 15px;
    border-color: #ffffff;
    box-shadow: 0px 1px 20px 0px rgb(0 0 0 / 50%);
}

.content_onama .box-description {
    height: auto;
    margin: auto 20px;
}

.content_onama .box-description h2 {
    font-size: 40px;
}

.hero_misija_vizija {
    background-image: url('../img/misija_vizija.jpg');
}

.uppercase {
    text-transform: uppercase;
}

.hero_ciljevi {
    background-image: url('../img/ciljevi.jpg');
}

.text-centered ul {
    padding: 0px 0px 0px 40px;
}

.hero_konsultantske {
    background-image: url('../img/consultant.jpg');
}

.hero_strucni {
    background-image: url('../img/nadzor.png');
}

.hero_adaptacija {
    background-image: url('../img/adaptacija.png');
}

.hero_gradjevinarstvo {
    background-image: url('../img/projektovanje_u_gradj.png');
}

.hero_enterijer {
    background-image: url('../img/projektovanje_ent.jpg');
}

.hero_contact {
    background-image: url('../img/top-cover.jpg');
}

.hero_aktuelni {
    background-image: url('../img/aktuelni_hero.png');
}

.hero_realizovani {
    background-image: url('../img/galerije/opstina-ilidza/OPI1-1.jpg');
}

.contact-box {
    background-color: transparent;
    background-image: linear-gradient(180deg, rgba(11, 11, 35, 0.64) 0%, #ffffff 100%);
}

.home-content h1 {
    color: #fff;
    font-size: 34px;
    text-transform: uppercase;
}

.info-box-contact {
    width: 100%;
    text-align: center;
}

.title-info-box {
    text-transform: uppercase;
}

.icon-info-box {
    margin: 20px;
}

.icon-info-box i {
    color: #fefd06;
    font-size: 36px;
    border: 1px solid #fefd06;
    border-radius: 50%;
    padding: 20px;
}

.map,
#map {
    width: 100%;
    height: 400px;
}

.form-main {
    width: 100%;
}

.form-box-row {
    display: flex;
}

textarea {
    width: 100%;
}

.form-box,
.form-box-textarea,
.form-button {
    padding: 10px;
}

.form-box,
.form-box-textarea,
input {
    width: 100%;
}

input,
textarea {
    padding: 5px 10px;
}

.contact-image {
    height: 300px;
}

.konkrit {
    background-color: #1B1B1B;
    padding: 15px 0;
    font-size: 12px;
    line-height: 1;
}

.copyright {
    width: 100%;
    text-align: center;
    color: #2f3332;
}

.dots-counter {
    text-align: center;
}

.mySlides {
    display: none;
}

#smaller-img {
    width: 70%;
}


/* Slideshow container */

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}


/* The dots/bullets/indicators */

.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active {
    background-color: #717171;
}


/* Fading animation */

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}


/*IMAGE GALLERY STYLING*/

body .wrapper {
    margin: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
}

body .wrapper .gallery-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: right;
    flex-wrap: wrap;
    width: 100%;
}

body .wrapper .gallery-wrapper .item {
    margin: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 200px;
}

body .wrapper .gallery-wrapper .item img {
    width: 100%;
    height: 100%;
}

body a {
    text-decoration: none;
    color: #000;
}

body a:hover {
    transition: 500ms all;
    color: #cbcf9e;
}

footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    flex: 1;
    margin: 25px 0;
}

.short-animate {
    transition: 0.5s ease-in-out;
}

.long-animate {
    transition: 0.5s 0.5s ease-in-out;
}

.lightbox {
    position: fixed;
    top: -100%;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color: rgb(47, 51, 50, .7);
    z-index: 501;
    opacity: 0;
}

.lightbox img {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 0%;
    max-height: 0%;
}

.lightbox:target {
    top: 0%;
    bottom: 0%;
    opacity: 1;
}

.lightbox:target img {
    max-width: 100%;
    max-height: 100%;
}

.lightbox:target~#close-wrapper {
    top: 0;
}

.lightbox:target~#close-wrapper #close-lightbox:after {
    width: 50px;
}

.lightbox:target~#close-wrapper #close-lightbox:before {
    height: 50px;
}

.lightbox:target~#next-wrapper {
    right: 0;
}

.lightbox:target~#prev-wrapper {
    left: 0;
}

#close-wrapper {
    position: fixed;
    top: -70px;
    right: 0;
    height: 70px;
    width: 70px;
    z-index: 502;
    background: rgba(0, 0, 0, 0.1);
}

#close-wrapper #close-lightbox {
    display: block;
    position: absolute;
    overflow: hidden;
    height: 50px;
    width: 50px;
    right: 10px;
    top: 10px;
    transform: rotate(45deg);
}

#close-wrapper #close-lightbox:before,
#close-wrapper #close-lightbox:after {
    content: "";
    display: block;
    position: absolute;
    background: #dfecee;
    border-radius: 2px;
}

#close-wrapper #close-lightbox:before {
    height: 0;
    width: 3px;
    left: 24px;
    top: 0;
    transition: 0.5s 1s ease-in-out;
}

#close-wrapper #close-lightbox:after {
    width: 0;
    height: 3px;
    top: 24px;
    left: 0;
    transition: 0.5s 1.5s ease-in-out;
}

#next-wrapper {
    position: fixed;
    top: 40%;
    right: -70px;
    height: 70px;
    width: 70px;
    z-index: 502;
    background: rgba(0, 0, 0, 0.1);
}

#next-wrapper #next-lightbox {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 50px;
    width: 50px;
}

#next-wrapper #next-lightbox:before,
#next-wrapper #next-lightbox:after {
    border-right: 3px solid #dfecee;
    content: "";
    display: block;
    height: 16px;
    position: absolute;
    background: #dfecee;
    border-radius: 2px;
    transform: rotate(-135deg);
    left: 45%;
    top: 45%;
    width: 0;
}

#next-wrapper #next-lightbox:after {
    margin-top: -10px;
    transform: rotate(-45deg);
}

#prev-wrapper {
    position: fixed;
    top: 40%;
    left: -70px;
    height: 70px;
    width: 70px;
    z-index: 502;
    background: rgba(0, 0, 0, 0.1);
}

#prev-wrapper #prev-lightbox {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 50px;
    width: 50px;
}

#prev-wrapper #prev-lightbox:before,
#prev-wrapper #prev-lightbox:after {
    border-right: 3px solid #dfecee;
    content: "";
    display: block;
    height: 16px;
    position: absolute;
    background: #dfecee;
    border-radius: 2px;
    transform: rotate(135deg);
    left: 45%;
    top: 45%;
    width: 0;
}

#prev-wrapper #prev-lightbox:after {
    margin-top: -10px;
    transform: rotate(45deg);
}

.item-project {
    width: 45% !important;
    height: 450px !important;
    margin: 15px !important;
}

.project-title {
    font-size: 24px;
    position: absolute;
    padding: 20px;
    background-color: #2f3332;
    opacity: 0.8;
    text-align: center;
    text-transform: uppercase;
    color: white;
    width: 25%;
}

.project-title:hover {
    background-color: #3E8DA8;
}

.portfolio-white {
    background-color: #fff !important;
}

.portfolio-desc-white h2 {
    color: #000;
}


/*MOBILE*/


/*nav*/

@media (max-width:920px) {
    nav .navbar {
        max-width: 100%;
        padding: 0 25px;
    }
    nav .navbar .logo a {
        font-size: 27px;
    }
    nav .navbar .links li {
        padding: 0 10px;
        white-space: nowrap;
    }
    nav .navbar .links li a {
        font-size: 15px;
    }
    .row {
        flex-flow: column;
    }
    .content-box {
        width: 100%;
    }
    .box-description {
        height: auto;
    }
    .portfolio-box {
        flex-flow: column;
    }
    .portfolio-desc {
        width: 100%;
    }
    .content_onama {
        margin: auto;
        flex-flow: column;
    }
    .content_onama .box-image {
        width: 100%;
    }
    .content_onama .box-description h2,
    .testimonials-title,
    .portfolio-desc h2 {
        font-size: 20px;
    }
    .item-project {
        width: auto !important;
        height: auto !important;
    }
    .project-title {
        width: 60%;
        font-size: 15px;
    }
    .main-button {
        margin-top: 15px;
    }
    #footer {
        display: none;
    }
}

@media (max-width:920px) {
    nav {
        /* position: relative; */
    }
    .navbar .menu-nav {
        display: block;
    }
    nav .navbar .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        display: block;
        width: 100%;
        background-color: rgba(44, 51, 68);
        line-height: 40px;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        transition: all 0.5s ease;
        z-index: 1000;
        align-items: center;
    }
    .navbar .nav-links .sidebar-logo {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    .navbar .menu-nav,
    .menu-close {
        color: #fff;
    }
    nav .navbar .links {
        display: block;
        margin-top: 20px;
    }
    nav .navbar .links li .arrow {
        line-height: 40px;
    }
    nav .navbar .links li {
        display: block;
    }
    nav .navbar .links li .sub-menu {
        position: relative;
        top: 0;
        box-shadow: none;
        display: none;
    }
    nav .navbar .links li .sub-menu li {
        border-bottom: none;
    }
    .navbar .links li .sub-menu .more-sub-menu {
        display: block;
        position: relative;
        left: 0;
    }
    .navbar .links li .sub-menu .more-sub-menu li {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .links li:hover .htmlcss-arrow,
    .links li:hover .js-arrow {
        transform: rotate(0deg);
    }
    .navbar .links li .sub-menu .more-sub-menu {
        display: block;
    }
    .navbar .links li .sub-menu .more span {
        /* background: red; */
        display: flex;
        align-items: center;
        /* justify-content: space-between; */
    }
    .links li .sub-menu .added:hover .added-sub-menu {
        display: none;
    }
    nav .navbar .links li:hover .htmlCss-sub-menu,
    nav .navbar .links li:hover .js-sub-menu,
    nav .navbar .links li:hover .added-sub-menu {
        display: none;
    }
    .navbar .nav-links.show1 .links .htmlCss-sub-menu,
    .navbar .nav-links.show3 .links .js-sub-menu,
    .navbar .nav-links.show2 .links .added-sub-menu {
        display: block;
    }
    .navbar .nav-links.show1 .links .arrow,
    .navbar .nav-links.show2 .links .arrow,
    .navbar .nav-links.show3 .links .arrow {
        transform: rotate(180deg);
    }
    .navbar .search-box .input-box {
        left: 0;
        top: 0;
    }
    .search-box .input-box input {
        top: -75%;
        left: 50%;
    }
}

@media (max-width:420px) {
    nav .navbar .nav-links {
        max-width: 100%;
    }
}