/* main global page stuff */

html{
    width: 100%;
    height: 100%;
}

#viewport {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-size: 100% 100%;
    background-position: 0px 0px;
    background-image: radial-gradient(100% 75% at 50% 90%, #2c2c2cff 0%, #000000 100%);
    
}

header {
    display: flex;
    width: 100%;
    height: fit-content;
    justify-content: space-between;
    align-items: center;
}
    #name{
        display: flexbox;
        
        
    }

    #name p{
        font-family: "Funnel Sans", serif;
        font-optical-sizing: auto;
        font-style: normal;
        font-size: 30px;
        
    }

    #name a{
        text-decoration: none;
        color: white;
    }

#flex-stretcher-horizontal {
    display: flexbox;
    flex-grow: 4;
    padding-right: 10px;
}

main {
    display: flex;
    flex-direction: column;
    z-index: -1;
    overflow-y: scroll;
}












/* nav bar and animation */

/* By Dominik Biedebach @domobch */

/* Blend */
nav {
    width: fit-content;
    margin-right: 10px;
    display: flex;
    flex-direction: row;
}

/* By Dominik Biedebach @domobch */
nav ul {
    display: flex;
    flex-direction: row;
    padding-left: 0px;
    
}
nav ul li {

}
nav ul li a {
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    text-decoration: none;
    color: white;
    
    margin: 10px;
    font-family: "Funnel Sans", serif;
        font-optical-sizing: auto;
        font-style: normal;
        font-size: 30px;
}
nav ul li a,
nav ul li a:after,
nav ul li a:before {
    transition: all .5s;
}
nav ul li a:hover {
    color: #555;
}
nav.nav ul li a {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    z-index: 1;
}
nav.nav ul li a:hover {
    color: black;
}
nav.nav ul li a:before,
nav.nav ul li a:after {
    position: absolute;
    width: 0px;
    height: 100%;
    top: 0;
    bottom: 0;
    background: white;
    transition: all .5s;
    margin: auto;
    content: '.';
    color: transparent;
    z-index: -1;
    opacity: 0.75;
}
nav.nav ul li a:before {
    left: 0;
}
nav.nav ul li a:after {
    right: 0;
}

nav.nav ul li a:hover:after,
nav.nav ul li a:hover:before {
    width: 100%;
}
  











/** content card galleries**/

.gallery {
    display: flex;
    width: auto;
    height: auto;
    flex-wrap: wrap;
    flex-direction: row;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 5%;
}

.gallerycard {
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.5), 0 5px 15px 0 rgba(0, 0, 0, 0.5);
    
}

.galleryspacer {
    display:flex;
    min-width:10px;
    max-width:20px;
    flex-grow:1;
}

.gallerycard a {
    color: white;
    font-family: "Funnel Sans", serif;
    font-optical-sizing: auto;
    font-style: normal;
    text-decoration: none;
    text-align: center;
    margin: auto;
}

.gallerycard a p{
    margin: 10px;
}

.cardicon {
    color: white;
    height: 200px;
    width: 280px;
    overflow: hidden;
    align-content: center;
}

.cardicon img{
    max-width: 95%;
    max-height: 95%;
    
    margin: auto;
}

.cardtitle {
 
    
}

.cardtitle p{
    font-size:20px;
}

.cardsubtitle {
  

}

.cardsubtitle p{
    font-size:16px;
}


/* gallery animations */

.gallerycard:before,
.gallerycard:after,
.gallerycard {
    transition:0.5s;
}

.gallerycard:hover {
    background-color: rgba(255, 255, 255, 0.30);
    box-shadow: 0 5px 10px 0 rgba(255, 255, 255, 0.5), 0 5px 10px 0 rgba(255, 255, 255, 0.5);
}






































/* homescreen sizing */


@media (min-width:320px)  { /* smartphones, iPhone, portrait 480x320 phones */ 
    #textzone-wrapper p{
        margin-top: 0px;
        font-size: 5em;
    }
    header {
        flex-direction: column;
    }
    #name p{
        margin-top: 10px;
        margin-bottom: 10px;
    }
    nav ul{
        margin-top: 0px;
    }
}

@media (min-width:481px)  { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */ 
    #textzone-wrapper p{
        font-size: 6em;
    }
    header {
        flex-direction: column;
    }
    #name p{
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 20px;
    }
    nav ul{
        margin-top: 20px;
    }
}

@media (min-width:641px)  { /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */ 
    #textzone-wrapper p{
        font-size: 7em;
    }
    header {
        flex-direction: row;
    }
}

@media (min-width:961px)  { /* tablet, landscape iPad, lo-res laptops ands desktops */ 
    #textzone-wrapper p{
        font-size: 7em;
    }
}

@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ 
    #textzone-wrapper p{
        font-size: 7em;
    }
}

@media (min-width:1281px) { /* hi-res laptops and desktops */ 
    #textzone-wrapper p{
        font-size: 7em;
    }
}












/* wave animation */

/* Waves Animation start*/

.hero_area {
    /*position: relative;
    height: 100vh;
    background-color: black;*/
}

.waves {
    position: absolute;
    width: 100%;
    height: 10vh;
    min-height: 80px;
    max-height: 100px;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.parallax>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 14s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 20s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 26s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 40s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}


/*Shrinking for mobile*/

@media (max-width: 768px) {
    .waves {
        height: 40px;
        min-height: 40px;
    }
}

/* Waves Animation end*/
