/*
    Theme name: OliverS Military style
    Author: Mehmed Bosnic
*/


/*Font import*/


/*DOWNLOADED FROM GOOGLE - IMPORTED AS FONT FACE - MILITARY STYLISG*/

@font-face {
    font-family: Quantico;
    src: url(Quantico/Quantico-Regular.ttf);
}


/*basic setup*/

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Quantico, 'Lato', 'Arial', sans-serif;
    font-weight: 100;
}

body {
    overflow-x: hidden;
    /*Background*/
    background-image: url('img/camo.webp');
}

a {
    text-decoration: none;
}


/* BASIC SETUP  for nav*/

.nav-wrapper {
    width: 100%;
    position: -webkit-fixed;
    /* Safari */
    position: fixed;
    z-index: 9999;
    top: 0;
    background-color: #4f591a;
    opacity: 0.9;
    padding: 0 20px;
}


/* NAVIGATION */

.navbar {
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    height: 80px;
    overflow: hidden;
}

.navbar img {
    height: 16px;
    width: auto;
    justify-self: start;
    margin-left: 20px;
}

.navbar ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-self: end;
}

.nav-item a {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease-out;
    padding: 5px 20px;
}

.nav-item a:hover {
    color: #000;
}

.nav-item a:hover:after {
    content: url(./img/ljiljan.png);
    /* no need for qoutes */
    display: inline-block;
    position: absolute;
    top: -10px;
    transform: scale(0.6);
}


/* MOBILE MENU & ANIMATION */

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.menu-toggle {
    justify-self: end;
    margin-right: 25px;
    display: none;
}

.menu-toggle:hover {
    cursor: pointer;
}

#mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
}

#mobile-menu.is-active .bar:nth-child(1) {
    -webkit-transform: translateY(8px) rotate(45deg);
    -ms-transform: translateY(8px) rotate(45deg);
    -o-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
}

#mobile-menu.is-active .bar:nth-child(3) {
    -webkit-transform: translateY(-8px) rotate(-45deg);
    -ms-transform: translateY(-8px) rotate(-45deg);
    -o-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
}


/*Logo text*/

#oliver-name {
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
}


/*SECTION SETUP*/

section {
    width: 100%;
    display: flex;
    padding: 100px 50px 0px 50px;
    background: rgba( 75, 83, 32, 0.8);
    flex-wrap: wrap;
}


/*SIDEBAR SETUP*/

.sidebar {
    width: 25%;
    display: flex;
    flex-direction: column;
}

.sidebar .docs p a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.docs {
    width: 100%;
    margin: 20px;
}

.docs h2 {
    background-color: #4f591a;
    color: #fff;
    padding: 15px;
    border-bottom: 5px solid hsla(0, 0%, 0%, .5);
    border-left: 5px solid hsla(0, 0%, 0%, .5);
}

.docs p {
    color: #fff;
    padding: 15px;
}


/*SMALL BIO SIDEBAR*/

.bio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.bio img {
    width: 85%;
    margin: auto;
    padding-bottom: 10px;
}

.bio p {
    padding: 5px;
}


/*CLASS FOR BOLDED TEXT*/

.bolded {
    font-weight: bold;
}


/*ARTICLE SETUP*/

article {
    width: 70%;
    margin: 0px 20px;
}

.article-box {
    display: flex;
    flex-wrap: wrap;
}

#images img {
    width: 100%;
    height: 400px;
    padding: 20px;
}


/*ZOOM ON HOVER CLASS */

.zoom-on-hover:hover {
    transform: scale(1.1);
    transition: transform .2s;
    position: relative;
    z-index: 99999;
    -webkit-box-shadow: 0px 5px 16px 5px rgba(0, 0, 0, 0.6);
    box-shadow: 0px 5px 16px 5px rgba(0, 0, 0, 0.6);
}


/*WIDE ARTICLE - SAME AS ARTICLE JUST FULL WIDTH WITHOUT SIDEBAR*/

.wide-article {
    width: 100%;
    margin: 0;
    padding: 0px 40px 0px 0px;
}


/*SMALL BOOK CONTAINER*/

.book-box {
    display: flex;
    width: 45%;
    margin: 20px;
    padding: 20px;
}

.doc-box {
    flex-flow: column;
    height: auto;
}

.book-cover-img {
    width: 100%;
}


/*VIDEO CONTAINER*/

.video-cover {
    width: 100%;
}


/*VIDEO SETTINGS*/

video {
    width: 100%;
    height: 400px;
}


/*BOOK DETAILS / VIDEO DETAILS CONTAINER*/

.book-details {
    padding: 20px;
}

.book-text {
    margin-top: 15px;
    margin-bottom: 20px;
}

.book-cover-img img {
    max-width: 250px;
    max-height: 260px;
}

h3 {
    color: #fff;
    font-size: 18px;
}

.description {
    color: #fff;
    font-style: italic;
}


/*DOWNLOAD BUTTON / SEND MESSAGE BUTTON*/

.downBtn {
    background-color: #4f591a;
    border: none;
    color: white;
    margin: auto;
    margin-top: 15px;
    padding: 12px 30px;
    cursor: pointer;
    font-size: 20px;
    border-bottom: 5px solid hsla(0, 0%, 0%, .5);
    border-left: 5px solid hsla(0, 0%, 0%, .5);
    text-decoration: none;
    text-transform: uppercase;
}


/*CONTACT FORM*/

.contact-box {
    width: 100%;
    display: flex;
    flex-flow: column;
    align-items: center;
    padding: 50px;
    background: rgba( 75, 83, 32, 0.8);
}

form {
    width: 50%;
}

input,
textarea {
    width: 100%;
    height: 50px;
    border: none;
    border-bottom: 5px solid hsla(0, 0%, 0%, .5);
    border-left: 5px solid hsla(0, 0%, 0%, .5);
    background-color: transparent;
    margin-top: 30px;
    color: #fff;
    padding: 20px;
}

textarea {
    height: 100px;
}

::placeholder {
    color: #fff
}

textarea:focus,
input:focus {
    outline: none;
}


/*FOOTER SETTINGS*/

footer {
    width: 100%;
    background-color: #4f591a;
    text-align: center;
    color: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    flex-flow: column;
}


/*LJILJANI USED IN NAV AND FOOTER*/

.ljiljani {
    display: flex;
    margin: auto;
}

.ljiljani>div>img {
    width: 50px;
    height: 50px;
}

.ljiljani div {
    display: flex;
    align-items: center;
    margin-left: 10px;
}


/* KEYFRAME ANIMATIONS */

@-webkit-keyframes gradbar {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}

@-moz-keyframes gradbar {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}

@keyframes gradbar {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}


/* Media Queries */


/* Mobile Devices - Phones/Tablets */

@media only screen and (max-width: 930px) {
    /* MOBILE NAVIGATION */
    /*JUST CHANGING FLEX OPTIONS AND ADJUSTING MARGINS/PADDINGS*/
    .ljiljani {
        flex-flow: column;
    }
    .ljiljani>div>img {
        margin: 0;
    }
    .nav-wrapper {
        padding: 0;
    }
    .navbar {
        grid-template-columns: 4fr 3fr;
    }
    .navbar ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        justify-content: start;
        top: 50px;
        background-color: #4f591a;
        width: 100%;
        height: calc(100vh - 55px);
        transform: translate(-101%);
        text-align: center;
        overflow: hidden;
    }
    .navbar li {
        padding: 15px;
    }
    .navbar li:first-child {
        margin-top: 50px;
    }
    .navbar li a {
        font-size: 1rem;
    }
    .menu-toggle,
    .bar {
        display: block;
        cursor: pointer;
    }
    .mobile-nav {
        transform: translate(0%)!important;
    }
    .nav-item a:hover:after {
        display: none;
    }
    section {
        position: relative;
        padding: 50px 20px;
    }
    /*CHANGING WIDTHS*/
    .sidebar {
        width: 100%;
    }
    .sidebar-disabled {
        display: none;
    }
    .docs {
        margin: 20px 0px;
    }
    article {
        width: 100%;
        margin: 0;
    }
    .book-cover-img {
        display: flex;
        justify-content: center;
    }
    .bio {
        text-align: center;
    }
    .bio img {
        width: auto;
    }
    .wide-article {
        padding: 0;
    }
    .book-box {
        flex-flow: column;
        width: 100%;
        height: auto;
        padding: 0;
    }
    .book-details {
        padding: 20px 0px;
        display: flex;
        flex-flow: column;
        text-align: center;
    }
    form {
        width: 100%;
    }
}