html, body{
    margin: 0;
    width: 100%;
    height: 100%;
}

body{
    overflow: hidden;
    background-color: black;
}

@font-face{
    font-family: 'azonix';
    src: url(Azonix.woff);
}

.navbar{
    position: absolute;
    display: flex;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: transparent;
    z-index: 1;
}

.headlinetext{
    height: 100%;
    font-family: 'azonix';
    font-size: 2.6vw;
    color: white;
    text-transform: uppercase;
    display: inline-block;
    /*border: 1px solid #444;*/
    padding: 0 0 0 30px; /* up,right,down,left*/
}

.navLogo{
    position: relative;
    margin: 10px 15px;
}

.nav{
    width: 100%;
    height: fit-content;
    margin: auto;
    display: flex;
}

.push{
    margin-left: auto;
}

.navbutton{
    font-family: 'azonix';
    font-size: 1.5vw;
    color: white;
    padding: 0 15px 0 15px;
    transition: all 0.5s;
}

.navbutton:hover{
    background-color: white;
    font-weight: 20;
    color: black;
}

/* --- on mobile only --- */
.navmobile{
    visibility: hidden;
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 1.5em;
    color: white;
    padding-right: 15px;
    transition: right 0.1s;
}


.navMobileDisp {
    display: none;
    box-sizing: border-box;
    padding: 10px 5px 0 5px;
    background-color: #111;
    border-left: 1px solid #888;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    transition: transform 0.1s;
    height: 100%;
    width: 50%;
    color: white;
    font-family: 'azonix';
}

.vertPad, .vertPadBottom{
    padding: 10px 0 10px 10px;
    border-bottom: 1px dotted #555;
}

.vertPadBottom{
    border-bottom: 0;
}

/* --- on mobile only --- */

.maindiv{
    height: 300px;
    width: 100%;
    margin: auto;
    display: flex;
    background: 
        linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0, 0.9)), 
        url(./lubo-minar-B-gb_8fgmz8-unsplash.jpg) 0 center/cover;
    position: relative;
}

.mainArticle{
    color: white;
    font-size: 30px;
    width: 60%;
    padding: 0 30px 50px 50px;
    position: absolute;
    bottom: 0;
}

.slideCtnr{
    position: relative;
    overflow-x: hidden;
    position: relative;
    top: -50px;
}

.servicesDiv {
    padding: 50px 5px;
    display: flex;
}

.servicesDivPrev {
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    box-shadow: 0 0 50px 1px #FFFFFF1F;
    margin: 0 20px;
    border: 1px solid #FFFFFF5F;
    border-radius: 10px;
    width: 60vw;
    aspect-ratio: 1;
    flex: 1 0 auto;
    transition: all 1s;
}

.selectedSlideAnim{
    animation: slideFocus 3s 1;
}

@media only screen and (max-width: 550px) {
    .nav {
      display: none;
    }
    .headlinetext{
        font-size: 1.3em;
        padding-left: 15px;
    }
    .headlinetext2{
        padding-left: 10px;
    }
    .navmobile{
        visibility: visible;
    }
    .navMobileDisp{
        display: inline;
    }
    .maindiv{
        height: 60vw;
    }
}

@media only screen and (max-width: 1100px){
    .navbar{
        height: 50px;
        line-height: 50px;
    }
}

@media only screen and (max-width:720px){
    .servicesDivPrev{
        width: calc(1/3)vw;
    }
}