html,

/*-- Inspiration taken from abdo steif -->
/* --> https://codepen.io/abdosteif/pen/bRoyMb?editors=1100*/

/* Navbar section */

body {
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, "sans-serif";
}
.nav {
    width: 100%;
    height: 90px;
    position: fixed;
    line-height: normal;
    text-align: center;

    padding-top: 0px;
    padding-bottom: 20px;

    box-sizing: border-box;

    -webkit-transition: all 0.7s ease;
    transition: all 0.7s ease;
}

.nav div.logo {
    float: left;
    width: auto;
    height: auto;
    padding-left: 1.2rem;
}

.nav div.logo a {
    text-decoration: none;
    color: #fff;
    font-size: 2.5rem;
}

.nav div.logo a:hover {
    color: #191919;
}


/* Navigation row */

.nav div.main_list {
    width: 100%;
    height: 40px;

    position: absolute;
    top: 20px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Navigation list */

.nav div.main_list ul {
    width: auto;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}


/* Navigation items */

.nav div.main_list ul li {
    width: auto;
    height: 20px;
    padding: 0 1rem;
}


/* Navigation text */

.nav div.main_list ul li a {
    text-decoration: none;
    color: #D8D8D8;
    line-height: 3-px;
    font-size: 1rem;
    font-weight: 300;
    white-space: nowrap;
}

.nav div.main_list ul li a:hover {
    color: #191919;
}

.navTrigger {
    display: none;
}

/* Media qurey section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        margin: 0;
    }
}

@media screen and (max-width:768px) {
    .navTrigger {
        display: block;
    }
  /*  .nav div.logo {
        margin-left: 15px;
    }*/
    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
    }
.nav div.show_list {
    height: 85vh;
    display: block;
}
    .nav div.main_list ul {
        flex-direction: column;
        width: 60%;
        height: 60vh;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #323232;
        /*same background color of navbar*/
        background-position: center top;
    }
    .nav div.main_list ul li {
        width: 95%;
        text-align: right;
    }
    .nav div.main_list ul li a {
        text-align: right;
        width: 100%;
        font-size: 1rem;
        padding: 5px;
    }
    .nav div.media_button {
        display: block;
    }
}


/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin: auto;
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 0;
}

.navTrigger i {
    background-color: #fff;
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

.affix {
    padding: 0;
    background-color: #111;
}

.myH2 {
	text-align:center;
	font-size: 4rem;
}
.myP {
	text-align: justify;
	padding-left:15%;
	padding-right:15%;
	font-size: 20px;
}


/* =========================================================
   HOME PAGE
   ========================================================= */

.home {
    width: 100%;
    aspect-ratio: 1503 / 1024;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 800px) {

    /* Mobile home background */


    /* Hide logo on mobile */

    .nav div.logo {
        display: none;
    }


    /* Links page */

    .link-row {
        padding-left: 7%;
        padding-right: 7%;
        font-size: 18px;
        letter-spacing: 1.5px;
    }

    .link-row .arrow {
        font-size: 27px;
    }


    /* Explore link */

    .explore-link {
        display: block;
        position: absolute;
        left: 5%;
        bottom: 4%;
        width: 45%;
        height: 40%;
    }
}


/* =========================================================
   SMALL SCREENS
   ========================================================= */

@media all and (max-width: 800px) {

    .myP {
        padding: 2%;
    }
}
@media screen and (max-width: 768px) {

    .nav div.logo {
        display: none;
    }

}
/* =========================================================
   METROWAVE LAB TITLE
   ========================================================= */

/* Hidden on desktop */
.frame__heading {
    display: none;
}

/* Show on mobile */
@media screen and (max-width: 768px) {
    .frame__heading {
        display: block;
        position: fixed;
        top: 28px;
        left: 20px;
        z-index: 2000;
        
        margin: 0;
        padding: 0;
        
        text-align: left;
        font-size: 6vw;
        line-height: 1.1;
        color: #000;
        white-space: nowrap;
    }
}
/* =========================================================
   MOBILE NAVIGATION FIX
   ========================================================= */

@media screen and (max-width: 768px) {

    .nav {
        z-index: 2000;
    }

    .nav div.main_list {
		        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.7s ease;
        z-index: 2000;
    }

    .nav div.main_list ul {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 85vh;
        z-index: 2000;
    }

    .nav div.main_list ul li {
        position: relative;
        z-index: 2001;
    }

    .nav div.main_list ul li a {
        position: relative;
        z-index: 2001;
    }

    /* Don't hide the menu when .show_list is added */
    .nav div.show_list {
        height: 85vh;
        display: block;
        overflow: hidden;
    }
}
@media screen and (max-width: 768px) {

    .navTrigger {
        z-index: 3000;
    }

}
/* Desktop copyright */
@media screen and (min-width: 769px) {
    .site-footer {
        position: fixed;
        left: 8px;
        bottom: 20px;
        z-index: 1500;
        margin: 0;
        padding: 0;
    }

    .site-footer p {
        margin: 0;
        font-size: 12px;
        color: #AAAAAA;
    }
}
/* =========================================================
   RESPONSIVE DESKTOP NAVIGATION
   ========================================================= */

@media screen and (min-width: 769px) {

    .nav div.main_list {
        left: 170px;
        width: calc(100% - 170px);
    }

    .nav div.main_list ul {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
    }

    .nav div.main_list ul li {
        width: auto;
        flex: 0 0 auto;
        padding: 0 clamp(10px, 0.66vw, 18px);
        white-space: nowrap;
    }

    .nav div.main_list ul li a {
        font-size: clamp(10px, 0.75vw, 20px);
        white-space: nowrap;
    }
}


/* =========================================================
   SWIPE HINT
   ========================================================= */

.swipe-hint {
    position: fixed;
    left: 20%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99999;
    pointer-events: none;
    color: #ffffff;
    opacity: 0.75;
}

.swipe-arrow {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 42px;
    font-weight: 200;
    line-height: 1;
    animation: swipeHint 1.8s ease-in-out infinite;
}

@keyframes swipeHint {

    0%, 100% {
        transform: translateX(0);
        opacity: 0.45;
    }

    50% {
        transform: translateX(-18px);
        opacity: 1;
    }
}

.swipe-hint.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

@media screen and (max-width: 768px) {

    .swipe-hint {
        left: 15%;
    }

    .swipe-arrow {
        font-size: 38px;
    }
}
html,
body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    position: static;
    touch-action: auto;
}

.publications-page {
    position: relative;
    height: auto;
    min-height: 100vh;
}
/* Loading percentage */
#loaderPercentage {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;

    color: #D3FB3E;
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.5px;

    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Fade the percentage out when loading finishes */
#loaderPercentage.is-hidden {
    opacity: 0;
}