* {
    margin: 0px;
    padding: 0px;
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: url(barnwoodBackground.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img {
    width: 150px;
}
.nav-links {
    flex: 1;
    text-align: right;
}
.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 30px;
    position: relative;
}
.nav-links ul li a {
    color: aliceblue;
    text-decoration: none;
    font-size: 26px;
}
.nav-links ul li::after {
    content: "";
    width: 0%;
    height: 2px;
    background: #e7b81e;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after {
    width: 100%;
}
.text-box {
    width: 90%;
    color: aliceblue;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1 {
    font-size: 80px;
}
.text-box p {
    margin: 40px 0 40px;
    font-size: 35px;
    color: aliceblue;
}
.hero-btn {
    margin-top: 40px;
    display: inline-block;
    text-decoration: none;
    color: aliceblue;
    border: 1px solid aliceblue;
    padding: 20px 40px;
    font-size: 25px;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: 0.6s;
}
.hero-btn:hover{
    border: 1px solid #eec84d;
    background: #eec84d;
    transition: 1s;
}
nav .fa-solid{
    display: none;
}



.sredina {
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 200px;
    background-color: #eec84d;
}
h1 {
    color: aliceblue;
    font-size: 80px;
    font-weight: 600;
}
.drugi {
    color: aliceblue;
    font-size: 50px;
    font-weight: 300px;
    line-height: 70px;
    padding: 10px;
    padding-bottom: 100px;
}
.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
    margin-left: 10%;
    margin-right: 10%;

}
.course-col {
    flex-basis: 31%;
    background: #5e4b0d;
    border-radius:  10px;
    margin-bottom: 5%;
    padding: 30px 20px;
    box-sizing: border-box;
    transition: 0.5s;
}
.treci {
    color: aliceblue;
    font-size: 22px;
    line-height: 35px;
}
h3 {
    text-align: center;
    color: aliceblue;
    font-size: 50px;
    font-weight: 600;
    margin: 20px 0;


}
.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.4);
}
.pivovara {
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    background-color: #1f1804;
    padding-bottom: 100px;
}
.col-piv {
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.col-piv img {
    width: 100%;
    height: 100%;
}
.cetvrti {
    color: aliceblue;
    font-size: 50px;
    font-weight: 300px;
    line-height: 70px;
    padding: 10px;
    padding-bottom: 100px;
}
.presvlaka {
    background: transparent;
    opacity: 0.7;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.7s;
}
.presvlaka:hover {
    background: #e7b81e;
    opacity: 0.7;
}
.popup {
    text-align: center;
    color: aliceblue;
    font-size: 40px;
    font-weight: 600;
    margin: 20px 0;
}
.footer {
    width: 100%;
    text-align: center;
    padding: 60px 0;

}
.footer h5 {
    margin-bottom: 25px;
    margin-top:  20px;
    font-size: 30px;
    font-weight: 600;
}
.footer p {
    font-size: 20px;
    line-height: 30px;
}
.icons .fa-brands {
    width: 50px;
    color: #eec84d;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}
.video_sec {
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    background-color: #eec84d;
    padding-bottom: 100px;
}
video {
    width: 70%;
    height: auto;
}
.video-naslov {
padding-bottom: 100px;
}






@media(max-width: 1160px){
    .text-box h1 {
        font-size: 40px;
    }
    .text-box p {
        margin: 40px 0 40px;
        font-size: 20px;
        color: aliceblue;
    }
    .nav-links ul li {
        display: block;
    }
    .nav-links {
        position: absolute;
        background: #e7b81e;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
    }
    .drugi {
        color: aliceblue;
        font-size: 40px;
        font-weight: 300px;
        line-height: 50px;
        padding: 10px;
        padding-bottom: 80px;
    }
    nav .fa-solid{
        display: block;
        color: aliceblue;
        margin: 40px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul {
        padding: 10px;
        padding-top: 30px;
    }
    .sredina {
        width: 100%;
        margin: auto;
        text-align: center;
        padding-top: 100px;
        padding-bottom: 100px;
        background-color: #eec84d;
    }
    h1 {
        color: aliceblue;
        font-size: 60px;
        font-weight: 600;
    }
    .row {
        flex-direction: column;
        margin-left: 15%;
        margin-right: 15%;
    }
    .treci {
        color: aliceblue;
        font-size: 22px;
        line-height: 30px;
    }
    h3 {
        text-align: center;
        color: aliceblue;
        font-size: 35px;
        font-weight: 400;
        margin: 20px 0;
    }
    .popup {
        color: aliceblue;
        font-size: 60px;
        font-weight: 600;
    }
    .cetvrti {
        color: aliceblue;
        font-size: 40px;
        font-weight: 300px;
        line-height: 50px;
        padding: 10px;
        padding-bottom: 80px;
    }
    .icons .fa-brands {
        width: 50px;
        color: #eec84d;
        margin: 0 5px;
        cursor: pointer;
        padding: 10px 0;
    }
    video {
        width: 80%;
        height: auto;
    }
}