@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

*, *::before, *::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Roboto", sans-serif;
}

header{
    height: 100vh;
    position: relative;
}

header video{
    height: 100%;
    width: 100%;
    position: absolute;
    object-fit: cover;
    z-index: -1;
    filter: brightness(70%);
}

header #nav-logo{
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    z-index: 100;
    height: 10rem;
    /*border-bottom: 1px solid white;*/
    width: 100%;
    padding: 0 1rem;
    transition: background-color 100ms ease;
}

header #nav-logo .logo{
    display: flex;
    align-items: center;
}

header #nav-logo .logo img{
    width: 10rem;
    margin-right: .7rem;
}

header #nav-logo nav ul{
    list-style: none;
    display: flex;
    align-items: center;
}

header #nav-logo nav a{
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    font-size: 1.5rem;
    margin: .7rem;
    padding-bottom: .4rem;
}

#nav-logo nav a:hover{
    border-bottom: 1px solid white;
}

#nav-logo nav i{
    margin-right: .5rem;
    color: #1a2930;
}

.youtube-btn{
    height: 2.5rem;
    background-color:  white;
    display: flex;
    align-items: center;
    border-radius: 4px;
    margin-left: .35rem;
}

#nav-logo nav .youtube-btn li a{
    color: #1a2930;
    text-transform: none;
}

#nav-logo nav .youtube-btn li a:hover{
    border: none;
}

.hamburger{
    display: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}

#menu{
    
    position: fixed;
    height: 100vh;
    width: 50%;
    top: 0;
    right: 0;
    background-color: #1a5d74;
    /*display: none;*/
    z-index: 102;
    border-left: 1px solid white;
    transform: translateX(100%);
    transition: transform 200ms ease;
    
}

/*.appear{
    transform: translateX(100%);
}*/

#menu ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: space-around;
    align-items: center;
}

#menu a{
    color: white;
    font-size: 2rem;
    text-decoration: none;
    text-transform: uppercase;
}

#menu nav ul li i{
    margin-right: .5rem;
}

header .headline{
    display: none;
}

.text {
    width: 60%;
}

.text h2{
    font-size: 3rem;
    text-transform: uppercase;
    margin: 1rem;
}

.text p{
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.najbitnije{
    
    padding: 3.5rem;
}

.najbitnije-wrapper {
    /*position: relative;*/
    text-align: center;
    /*top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.najbitnije .najbitnije-wrapper .play-video{
    position: relative;
    cursor: default;
}

.najbitnije-wrapper img{
    width: 50%;
    cursor: pointer;
}



.najbitnije .play-video i{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 8rem;
    cursor: pointer;
}


.najbitnije-wrapper .cta {
    text-align: center;
    /*width: 14.5rem;
    height: 3.5rem;*/
    width: fit-content;
    padding: 1rem;
    border: 3px solid #1a5d74;
    transition: 200ms ease;
    cursor: pointer;
    margin-top: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    
}

.najbitnije-wrapper .cta a{
    text-decoration: none;
    color: #1a5d74;
    
    font-size: 1.2rem;
    transition: 200ms ease;
    font-weight: bold;
    text-transform: uppercase;
}

.najbitnije-wrapper .cta:hover{
    background-color: #1a5d74;
}

.najbitnije-wrapper .cta:hover a{
    color: white;
}

.patreon{
    height: 70vh;
    position: relative;
}

.patreon .patreon-bg{
    background-image: url(img/patreon-bg.jpg);
    position: absolute;
    height: 100%;
    width: 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(40%);
    z-index: -1;
    top: 0;
    left: 0;
}

.patreon .patreon-text{
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-weight: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.patreon .cta {
    /*width: 7rem;
    height: 4rem;*/
    padding: 1rem;
    border: 3px solid white;
    transition: 200ms ease;
    cursor: pointer;
    margin-top: 2rem;
}

.patreon .cta a{
    text-decoration: none;
    color: white;
    position: relative;
    top: 30%;
    font-size: 1.2rem;
    transition: 200ms ease;
    font-weight: bold;
    text-transform: uppercase;
}

.patreon .cta:hover{
    background-color: white;
}

.patreon .cta:hover a{
    color: rgba(0, 0, 0, 1);
}

.o-nama-ukratko {
    text-align: center;
    /*height: 70vh;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 2rem;
    margin-top: 2rem;
}

.o-nama-ukratko-slike{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.slika {
    /*margin-left: .8rem;*/
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    position: relative;
    margin-bottom: .8rem;
}


.o-nama-ukratko .slika img{
    width: 360px;
    height: 360px;
    border: 4px solid #1a5d74;
    
}

.slika p {
    position: absolute;
    left: 50%;
    bottom: 1.1%;
    transform: translate(-50%);
    color: white;
    display: none;
    width: 100%;
    height: 6%;
    transition: 200ms ease-in-out;
    font-size: 1.2rem;
    background-color: #1a5d74;
}

.slika:hover p{
    display: block;
     
}



.o-nama-ukratko .cta {
    /*width: 8rem;
    height: 4.6rem;*/
    padding: 1rem;
    border: 3px solid #1a5d74;
    transition: 200ms ease;
    cursor: pointer;
    margin-top: 1.5rem;
}

.o-nama-ukratko .cta a{
    text-decoration: none;
    color: #1a5d74;
    position: relative;
    top: 30%;
    font-size: 1.2rem;
    transition: 200ms ease;
    font-weight: bold;
    text-transform: uppercase;
}

.o-nama-ukratko .cta:hover{
    background-color: #1a5d74;
}

.o-nama-ukratko .cta:hover a{
    color: white;
}

.galerija {
    height: 70vh;
    background-color: #1a5d74;
    display: flex;
    flex-direction: column;
    justify-content: center;
}    
  

.row{
    display: flex;
    justify-content: center;
}

.row > .column {
    padding: 5px 5px;
  }
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Create four equal columns that floats next to eachother */
  .column {
    float: left;
    width: 23%;
    cursor: pointer;
  }

  .column img {
      width: 100%;
      border: 1px solid white;
  }
  
  /* The Modal (background) */
  .modal {
    display: none;
    position: fixed;
    z-index: 101;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
  }
  
  /* Modal Content */
  .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 60%;
    max-width: 1200px;
  }
  
  /* The Close Button */
  .close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* Hide the slides by default */
  .mySlides {
    display: none;
    
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  
  
  /* Caption text */
  .caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
  }
  
  img.demo {
    opacity: 0.6;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }
  
  img.hover-shadow {
    transition: 0.3s;
  }
  
  .hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

footer{
    background-color: #1a2930;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 150px;
    color: white;
    padding: 1rem;
}

footer ul{
    list-style: none;
}

footer a{
    color: white;
    text-decoration: none;
    font-weight: normal;
}

footer i{
    margin-right: 5px;
}

@media only screen and (max-width: 1200px){
    .najbitnije .play-video i{
        font-size: 5rem;
    }
}

@media only screen and (max-width: 840px){
    header #nav-logo {
        height: 15%;
    }
    
    header #nav-logo nav{
        display: none;
    }

    header #nav-logo .logo h1{
        display: none;
    }

    header #nav-logo .hamburger{
        display: block;
    }

    header .headline {
        display: block;
        color: white;
        font-size: 2.5rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .najbitnije .play-video i{
        font-size: 5rem;
    }

    

 .text{
        width: 95%;
    }

   .text h2{
        font-size: 2rem;
    }

     .text p{
        font-size: 1.2rem;
    }

    .najbitnije-wrapper img{
        width: 90%;
    }

    .najbitnije{
    
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .najbitnije iframe {
        width: 70%;
        height: 70%;
    }

    .slika p{
        display: block;
        height: 8%;
    }

    .o-nama-ukratko .slika img{
        width: 310px;
        height: 310px;
    }

    

    .column {
        float: left;
        width: 35%;
        cursor: pointer;
    }

    .modal-content{
        top: 23%;
        width: 90%;
    }

    footer nav, footer p{
        display: none;
    }

    .drustvene-mreze{
        width: 100%;
    }

    footer .drustvene-mreze ul{
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }

    footer a{
        font-size: 3rem;
    }

    footer .dm {
        display: none;
    }

    
    
}

@media only screen and (min-width: 600px){
    .hamburger{
        display: none;
    }

    
    
}

@media only screen and (max-width: 450px){
    header #nav-logo .logo img{
        width: 6rem;
    
    }
    
}

@media only screen and (max-width: 380px){#menu a{font-size: 1.4rem;}}

@media only screen and (max-width: 350px){
    .text h2{
        font-size: 1.5rem;
    }

    .text p{
        font-size: 1rem;
    }

    .patreon .cta {
        margin-top: 0;
    }

    .text p{
        
        margin-bottom: 1rem;
    }
    
    
}