html{
    box-sizing: border-box;
    font: 1em sans-serif;
}

body{
    margin: 0;
}

.w1000{
    width: 1000px;
}

header{
    position: relative;
    height: 300px;
    overflow: hidden;
}

.background{
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.background img{
    width: 100%;
    height: 150%;
    position: absolute;
    top: -140px;
}

.banner-container{
    display: flex;
    background: #164a58;
    height: 50px;
    width: 100%;
    align-items: center;
    color: white;
    justify-content: center;
}

.logo-menu-container{
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.logo-container{
    height: 200px;
    width: 1000px;
    display: flex;
    align-items: center;
}

.logo-container img{
    width: 80%;
    height: 50%;
}

.header-menu{
    width: 1000px;
    display: flex;
    gap: 100px;
    padding: 0;
}

.menu-item{
    list-style: none;
}

.menu-item a{
    text-decoration: none;
    color: white;
    font-size: x-large;
}

.homepage{
    background: #edecf1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
}

.image-grid{
    width: 1000px;
    display: flex;
    gap: 15px;
}

.image-container{
    width: 33%;
    display: flow-root;
}

.image-container img{
    width: 100%;
}


.text-container{
    height: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 100px;
}

.text-container p{
    width: 1000px;
    font-size: larger;
}

.footer{
    background: #535355;
    height: 200px;
}

.content{
    background: white;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-direction: column;
    align-items: center;
    padding: 50px 0 50px 0 ;
    font-size: larger;
}

.title{
    width: 1000px;
    display: flex;
    align-items: start;
}

.direction-column{
    flex-direction: column;
}

.margin-zero{
    margin: 5px;
}

.margin-bottom-text{
    margin: 5px 5px 20px 20px;
}

footer ul{
    margin: 0;
}

.gradjevinarstvo{
    width: 100%;
    background: #edecf1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradjevinarstvo-wrapper{
    width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gradjevinarstvo-title{
    margin: 30px;
    width: 100%;
    display: flex;
    align-items: start;
}

.gradjevinarstvo-wrapper a{
    width: 100%;
    height: 50px;
}

.gradjevinarstvo-wrapper button{
    width: 100%;
    height: 50px;
    font-size: x-large;
    border-radius: 0;
    border:2px solid #164a58;
    font-weight: 300;
    cursor: pointer;
}

.gradjevinarstvo-wrapper button:hover{
    background: #edecf1;
}

.gradjevinarstvo-text-container{
    height: 150px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 50px;
}

.gradjevinarstvo-text-container p {
    font-size: larger;
}

.ana-caurousel{
    width: 100%;
    position: relative;
}

.w100{
    width: 100%;
}

.ana-carousel-item{
    display: none;
}

.ana-carousel-item img{
    width: 100%;
}

.arrows{
    font-size: xx-large;
    position: absolute;
    top: 46%;
    width: 95%;
    left: 3%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    cursor: pointer;
}

.left-arrow{
    width: fit-content;
}

.right-arrow{
    width: fit-content;
}

.ana-dots-container{
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ana-dot{
    display: block;
    border: 3px solid #164a58;
    border-radius: 10px;
    height: 13px;
    width: 13px;
    cursor: pointer;
}

.active{
    background: #164a58;
}

.ana-description-location p{
    text-align: center;
}

.ana-description-location img{
    width: 100%;
}

.objekat-ana-container{
    background: #edecf1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.objekat-ana-title{
    width: 1000px;
    margin: 30px 0 60px 0;
}

.objekat-ana{
    width: 1000px;
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
    margin: 20px 0 200px 0 ;
}

.objekat-ana a{
    width: 100%;
}

.objekat-ana a img{
    width: 100%;
}

.spratovi-wrapper{
    width: 100%;
    background: #edecf1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spratovi{
    width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 50px 0 50px 0;
}

.floor-container{
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
}

.floor-content{
    width: 100%;
    align-items: center;
}

.floor-content img {
  max-width: 600px; /* set a fixed max width */
  height: auto;     /* keep proportions */
  display: block;
  margin: 20px auto; /* center it */
}


.spratovi table{
    margin: 30px 0 30px 0;
}

table tr td:first-child {
    visibility: hidden;
    width: 0;
    padding: 0;
}

table a{
    color: black;
    text-decoration: none;
}

table a:hover{
    color: #164a58;
}

@media screen and (max-width: 1000px){
	.image-grid{
		width:100%
	}
	
	.logo-container{
		width:100%;
		padding-left:50px;
	}
	
	.header-menu{
		width:100%;
		gap:85px;
		padding-left:30px;
	}
	
	.text-container p{
		width:100%;
	}
	
	.objekat-ana-title{
		width:100%;
	}
	
	.objekat-ana{
		width:100%;
	}
}
