@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700');
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
    font-size: 62.5%;
    font-size: 10px;
}
/*-- Inspiration taken from abdo steif -->
/* --> https://codepen.io/abdosteif/pen/bRoyMb?editors=1100*/

/* Navbar section */

.nav {
    width: 100%;
    height: 105px;
    position: fixed;
    line-height: normal;
    text-align: center;

    padding-top: 20px;
    padding-bottom: 20px;

    box-sizing: border-box;

    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.nav div.logo {
    float: left;
    width: auto;
    height: auto;
    padding-left: 3rem;
}

.nav div.logo a {
    text-decoration: none;
    color: #fff;
    font-size: 2.5rem;
}

.nav div.logo a:hover {
    color: #00E676;
}


/* Navigation row */

.nav div.main_list {
    width: 100%;
    height: 40px;

    position: absolute;
    top: 75px;
    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: 40px;
    padding: 0 1.2rem;
}


/* Navigation text */

.nav div.main_list ul li a {
    text-decoration: none;
    color: #fff;
    line-height: 40px;
    font-size: 1.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.nav div.main_list ul li a:hover {
    color: #00E676;
}

.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: auto;
        display: none;
    }
    .nav div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: 85vh;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #063E80;
        /*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: center;
        width: 100%;
        font-size: 1.5rem;
        padding: 10px;
    }
    .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: 30px;
    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;
}

/* =========================================================
   LINKS PAGE
   ========================================================= */

.links-page {
    width: 100%;
    min-height: 100vh;

    background-image: url("img/m4.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;

    display: grid;

    grid-template-rows:
        11.31%
        8.3%
        9.5%
        9%
        9%
        9%
        9%
        9.5%
        9.5%
        9.23%
        6.89%;
}


/* Individual navigation rows */

.link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    box-sizing: border-box;

    padding-left: 7%;
    padding-right: 7%;

    color: white;
    text-decoration: none;

    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;

    letter-spacing: 2px;

    transition: background-color 0.2s ease;
}


/* Arrow */

.link-row .arrow {
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
}


/* Subtle hover effect */

.link-row:hover {
    background-color: rgba(0, 0, 0, 0.15);
}


/* Arrow moves slightly on hover */

.link-row:hover .arrow {
    transform: translateX(5px);
}


/* =========================================================
   HOME PAGE
   ========================================================= */

.home {
    width: 100%;
    aspect-ratio: 1503 / 1024;

    background-image: url("img/h1.jpg");
    background-position: center top;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}


/* =========================================================
   LINKS PAGE
   ========================================================= */

.links-page {
    width: 100%;
    min-height: 100vh;
    background-image: url("img/m4.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}


/* =========================================================
   EXPLORE LINK
   Hidden on desktop, active on mobile
   ========================================================= */

.explore-link {
    display: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 800px) {

    /* Mobile home background */

    .home {
        background-image: url("img/h3.jpg");
    }


    /* Hide logo on mobile */

    .nav div.logo {
        display: none;
    }


    /* Links page */

    .links-page {
        min-height: 100vh;
        background-size: cover;
        background-position: center top;
    }

    .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) {

    .home {
        width: 100%;
        height: 100vh;
        aspect-ratio: auto;

        background-image: url("img/h3.jpg");
        background-position: center top;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .nav div.logo {
        display: none;
    }

}