@import url('https://fonts.googleapis.com/css?family=Lato:400,700');



.body {
	
	overflow-x hidden;
	font-family: 'Lato', sans-serif;
	color: #505962
	
}
.navbar {

	background: rgba(0, 0, 6, 0.6);
	
}
.navbar-brand  img {
	height: 4rem;
	
} 

.caption h4 {
	text-align: justify;
	 text-justify: inter-word;
}

/* Kontejner koji fiksira video na pozadini */
.video-background {
    position: absolute; /* Ili fixed, ako želite da ostane dok se skroluje */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Skriva delove videa koji prelaze granice */
    z-index: -1; /* Postavlja video IZA drugog sadržaja na sajtu */
}

/* Osigurajte da je "wrap" element unutar kontejnera */
.video-wrap {
    /* Samo da obezbedi dimenzije, ali stvarni posao obavlja iframe */
    width: 100%;
    height: 100%;
    position: relative; /* Bitno za z-index */
}

/* Opciono: Postavite transparentni preklop preko videa za bolju čitljivost teksta */
.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Tamni preklop - 40% crno */
    z-index: 1; 
}

/* Ako imate tekst iznad, mora biti iznad z-index: -1 i preklopa */
#sadrzaj-iznad-videa {
    position: relative; 
    z-index: 2; /* Mora biti veći od z-index-a preklopa (1) */
}
}

.caption {
	position: absolute;
	top: 38%;
	width: 100%;
	color: red;
	
}

.caption h1 {
	font-size: 7rem;
	font-weight: 700;
	letter-spacing: .2rem;
	text-shadow: .1rem .1rem .8rem black;
	padding-bottom: 1rem;
}
.caption h3 {
	font-size: 3rem;
	text-shadow: .1rem .1rem .5rem black;
	padding-bottom: 1.6rem;
}

.btn lg {
	border-width: large;
	border-radius: 0;
	font-size: 1.5rem;
	padding: .6rem 1.3rem;
	
}

// BASIC

ul {
  display: flex;
  flex-wrap: wrap;
  
  
  
}

li {
  height: 40vh;
  flex-grow: 1

  
    
}

li:last-child {
  // There's no science in using "10" here. In all my testing, this delivered the best results.
  flex-grow: 10;
}

ul li{
	list-style: none;
}

img {
  max-height: 100%;
  min-width: 100%;
  object-fit: cover;
  vertical-align: bottom;
}

// ADVANCED

// Portrait

@media (max-aspect-ratio: 1/1) {
  li {
    height: 30vh;
  }
}

// Short screens

@media (max-height: 480px) {
  li {
    height: 80vh;
  }
}

// Smaller screens in portrait

@media (max-aspect-ratio: 1/1) and (max-width: 480px) {
  ul {
    flex-direction: row;
  }

  li {
    height: auto;
    width: 100%;
  }
  img {
    width: 100%;
    max-height: 75vh;
    min-width: 0;
  }
}



/*============= COURSE SECTION =============*/





.col-md-8 {
  margin: 2rem auto 8rem;
  padding-top: 2rem;
}
.col-md-8 h1 {
    font-size: 2.4rem;
  }
.btn-secondary {
  border-width: medium;
  border-radius: 0;
  padding: .6rem 1.2rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: 1rem;
  border-color: #1EBBA3;
  background-color: #1EBBA3;
  color: white;
}
.btn-secondary:hover,
.btn-secondary:focus {
  border-color: #189582;
  background-color: #189582;
  color: white;
}


@media (max-width: 768px) {
	.caption {
	position: absolute;
	top: 38%;
	width: 100%;
	color: white;
	
}

.caption h1 {
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: .15rem;
	padding-bottom: .5rem
	
}
.caption h3 {
	font-size: 1.1rem;
	padding-bottom: 1.2rem;
}

.btn lg {
	
	font-size: 1rem;
	padding: .5rem 1rem;
}





	

/*============ BOOTSTRAP BREAK POINTS:

Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

=============*/