@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

html{
    scroll-behavior: smooth;
}

.header{
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.65),rgba(0,0,0,0.65)),url(plitvice-waterfalls.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}

nav{
    display: flex;
    padding: 2% 6%;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.75);
}

nav img{
    max-width: 200px;
}

.navlink{
    flex: 1;
    text-align: right;
}

.navlink ul li{
    font-size: 18px;
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.navlink ul li a{
    text-decoration: none;
    color: rgba(0,69,124,1);
    text-transform: uppercase;
}

.navlink ul li::after{
    content: '';
    height: 3px;
    width: 0;
    background: rgb(215, 20, 0);
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: 0.5s;
}

.navlink ul li:hover::after{
    width: 100%;
}

.textbox{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.textbox h1{
    font-size: 75px;
}

.textbox p{
    margin-top: 20px;
    font-size: 40px;
}

nav .fa-solid{
    display: none;
}

.youtube{
    padding: 50px;
}

.video{
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
  }
  .video iframe{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
  }

.dizajn{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 120px;
}
    h3{font-size: 45px;
    font-weight: 600;
    color: rgba(0,69,124,1);
    padding-bottom: 30px;
    }
    p2{font-size: 26px;
    color: #777;
    }
.dizajn-slika{
    padding-top: 30px;
    width: 100%;
    height: auto;
}

.footer{
    width: 100%;
    text-align: center;
    padding: 40px 0;
}
.footer h4{
    margin-bottom: 20px;
    font-size: 23px;
    color: rgba(0,69,124,1);
}
.icons .fa-brands{
    color: rgb(215, 20, 0);
    font-size: 40px;
    cursor: pointer;
    margin: 0 15px;


}

.to-top{
    background-color: #7ed2f3;
    position: fixed;
    bottom: 16px;
    right: 3vw;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: rgba(0,69,124,1);
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: all .4s;

}
.to-top.active{
    bottom: 32px;
    pointer-events: auto;
    opacity: 1;
}


@media(max-width: 700px){
    .textbox h1{
        font-size: 35px;
    }
    .textbox p{
        font-size: 23px;
    }
    .navlink ul li{
        padding: 10px 20px;
        display: block;
    }
    .navlink ul li a{
        color: white;
    }
    .navlink{
        position: fixed;
        background: rgba(0,69,124,1);
        height: 265px;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    
    nav .fa-solid{
        display: block;
        color: white;
        margin: 20px;
        font-size: 35px;
        cursor: pointer;

    }
    nav .fa-bottle-water{
        color: rgba(0,69,124,1);
        font-size: 45px;
    }
    .youtube{
        padding: 0px;
    }
    .dizajn{
        padding-top: 30px;
    }
    .dizajn h3{
        font-size: 30px;
        padding-bottom: 15px;
    }
    .dizajn p2{
        font-size: 18px;
    }
    .to-top{
        position: fixed;
        display: flex;
        font-size: 30px;
        
    
    }
}



