/* #821f62 - PPPPPPPLUM
   #c72878 - T-Ran
   #fa6291 - IceBreaker Pink
   #332982 - Lavendar  No. 3
   #006ec7 - This is fun blue
   #101010 - MY FONT
*/

html {
    overflow-x: hidden;
}

h1 {
    font-family: "BioRhyme", serif;
    color: #fff;
    letter-spacing: .3rem;
    font-size: 3em;
    margin: 0em;
    display: inline-block;
}

.header-text {
    display: inline-block;
    position: absolute;
    top: 50%;
    align-self: center;
}

.header-text h1,
.header-text p {
    color: #fff;
    letter-spacing: .3rem;
    text-align: center;
}

.header-text p {
    line-height: 1.1rem;
}

h2,
h3,
h4,
h5 {
    font-family: "BioRhyme", serif;
    color: #fa6291;
}

h2 {
    text-shadow: 1px 1px 1px rgb(1, 1, 1, 0.2);
}

p,
footer {
    font-family: "Space Mono", monospace;
    color: #fff;
}

body::before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: -10000;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(5, 5, 5, .03))), url(/images/sunset-beach-background.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
    color: #101010;
    overflow-x: hidden;
    background-color: #101010;   
}

.here {
    color: #fa6291;
}

/* nav ul {
    font-family: "Space Mono", monospace;
    display: flex;
    justify-content: center;
    list-style-type: none;
    background-color: rgba(5, 5, 5, 1);
    margin: 0em;
    padding: 0em;
    align-self: center;
    position: relative;
}

nav a {
    display: block;
    padding: 1.2em 4em;
    color: #fff;
    align-self: center;
}
*/

/* flex here is simply for easy alignment */
.menu-bar {
    display: flex;
}

/* This sets up the mobile settings, which is a slide down nav. The    flex display lines up the menu and the close button (fa-times) */

nav,
.menu-bar {
    background-color: rgba(5, 5, 5, .5);
    color: #fff;
    order: -1;
    width: 100vw;
    opacity: 0;
    z-index: 10;
}

nav {
    flex: 100%;
    position: absolute;
    padding-top: 1.5rem;
    top: 0;
    /* animation for the slide down */
    transform: translate(0, -600px);
    transition: all 0.4s ease;
    z-index: 3;
}

/* applying this class with jQuery will make the nav slide on
   to the screen -- to x,y location of 0,0 */
nav.open {
    transform: translate(0, 0);
}

.hamburger i,
nav i {
    font-size: 1.5rem;
    display: block;
    padding: 1rem 2rem 1rem 1rem;
}

nav i {
    padding-top: 0;
}

/* when slide down, the menu is vertical; when at the top of the 
   screen the menu is horizontal. */
nav > ul {
    flex: 100%;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    font-size: 1rem;
}

nav > ul a {
    text-decoration: none;
    color: #f5f5f5;
    display: block;
    padding: 1.5rem;
    font-family: "Space Mono", monospace;
    font-weight: 300;

}

.menu-bar i:hover {
    color: #fa6291;
}

nav li {
    border-bottom: 1px inset #666;
}

nav li:last-child {
    border: none;
    margin-bottom: 1.5rem;
}

@media screen and (min-width: 600px) {
    nav {
        /* remove the absolute positioning */
        position: static;

        /* remove the animation  */
        transform: none;
        transition: none;
    }

    /* hide the nav menu controls  */
    .hamburger > i.fas,
    nav > i.fas {
        display: none;
    }

    /* change menu direction to row and adjust spacing around menu items */
    nav > ul {
        flex-direction: row;
        justify-content: space-around;
    }

    /* remove borders */
    nav li {
        border-bottom: none;
    }

    /* adjust padding */
    nav > ul a {
        padding: 0 1rem;
    }

}

nav a:link,
.about-text a:link {
    color: #fff;
    text-decoration: none;
}

nav a:visted,
a[href]:visited {
    color: #fff;
}

nav a[href]:hover,
.about-text a[href]:hover {
    color: #fa6291;
}

nav a:active,
.about-text a:active {
    color: #4be5dd;
}


nav {
    order: -1;
    width: 100vw;
}

ul,
li,
ol,
dl {
    font-family: "Space Mono", monospace;
    color: #101010;
    list-style: none;
}

picture img,
img {
    width: 100%;
    display: block;
    overflow: hidden;
}

picture {
    display: block;
}

.hero {
    position: relative;
}

.hero > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    color: #fff;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.6) 100%);
}

.hero h1 {
    color: white;
    top: 1rem;
    left: 1rem;
    text-shadow: 1px, 1px, 3px, rgba(255, 255, 255, .7);
    font-size: 3em;
}

.hero p {
    color: white;
    top: 1em;
    left: 1em;
    margin-top: .25rem;
    font-size: 1em;
}

.button-top {
    background-color: #821f62;
    border: none;
    color: white;
    padding: 1em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    border-radius: 12px;
    position: fixed;
    right: 2em;
    bottom: 2em;
    font-family: "Space Mono", monospace;
}

.button-top:hover {
    background-color: #c72878;
}

.button-top:active {
    box-shadow: -1px 0px 20px 0px rgba(0, 0, 0, .3);
    background-color: #961e64;
}

main {
    max-width: 60rem;
    align-self: center;
    padding: 0 1em;
    line-height: 1.4;
}

li {
    display: block;
    position: relative;
    overflow: hidden;
}

.text-box,
.about-text {
    margin-top: 90em;
}

.text-box p,
about-text {
    position: relative;
}

.image-wrapper img,
image-wrapper > picture > img {
    display: block;
    width: 100%;
    object-fit: cover;
    max-height: 266px;
    max-width: 400px;
}

.image-wrapper > picture > img {
    object-fit: cover;
    max-width: 400px;
}

.image-wrapper {
    object-fit: ;
    max-width: 400px;
}

.cards ul {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    justify-content: center;
    padding: 0;
    flex: 1;
    max-width: 800px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    justify-content: center;
    max-width: auto;
    margin-top: 70em;
    flex: 1;
}

.slide-text {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 1.25em;
    text-shadow: 1px 1px 3px #333;
    opacity: 0;
    transition: opacity 200ms ease;
}

.slide-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0rem 2rem;
}

.slide-text-content > h2,
.slide-text-content > p {
    margin: 0.3rem 0;
    color: #fff;
}

.slide-text-content > a {
    display: block;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.75em;
    margin-top: 0.5em;
    position: relative;
}

/* add underline */
.slide-text-content > a:before {
    content: "";
    background-color: #e056fd;
    display: block;
    height: 3px;
    width: 0rem;
    position: absolute;
    bottom: -4px;
    transition: width 500ms 100ms ease;
}

/* add arrow */
.slide-text-content > a:after {
    content: "⮞";
    margin-left: .4rem;
    position: absolute;
    transition: transform 600ms 200ms ease;
}

.image-wrapper {
    transition: transform 500ms ease;
}

li:hover .image-wrapper {
    transform: scale(1.2);
}

li:hover .slide-text-content > a:before {
    width: 5.2rem;
}

li:hover .slide-text-content > a:after {
    transform: translate(8px);
}

li:hover .slide-text-content {
    background-color: rgba(0, 0, 0, .5);
}

li:hover .slide-text {
    opacity: 1;
}

.space {
    padding-bottom: 15em;
}

.bottom {
    padding-bottom: 1rem;
}

footer {
    display: flex;
    background-color: rgba(5, 5, 5, .7);
    padding: 2rem 1rem 5rem 2rem;
    margin-top: 70em;
}

footer p {
    flex: 1;
    margin: 0;
    color: #fff;
}

footer ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    color: #fff;
    margin: 0;
    padding: 0;
}

footer a {
    display: block;
    padding: 0 1rem;
    font-size: 1.5em;
}

footer a:link {
    color: #fff;
    text-decoration: none;
}

footer a:visited {
    color: #fff;
}

footer a[href]:hover {
    color: #fa6291;
}

a {
    transition: color .4s;
}

a:hover {
    transition: color .3s;
}

/* Resposive Web Design */

@media screen and (max-width: 790px) {
    .header-text h1 {
        line-height: 2.5rem;
        margin-bottom: 0em;
        font-size: 2.5em;
    }
}

@media screen and (max-width: 450px) {

    footer {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding-bottom: 6em;
    }

    footer p {
        margin-bottom: 1.5em;
    }

    .header-text h1 {
        font-size: 2em;
        letter-spacing: .1rem;
    }

    .header-text p {
        font-size: 1em;
        letter-spacing: .1rem;
    }

    main {
        padding: 0.5em;
    }

    main p,
    main h2 {
        padding: 0 1em;
    }
}

@media screen and (max-width: 600px) {
    .hero h1 {
        font-size: 2em;
    }

    .slide-text {
        opacity: 1;
    }

    h2 {
        font-size: 1.2em;
    }

    .slide-text p {
        font-size: .8em;
    }

    .slide-text-content {
        background-color: rgba(0, 0, 0, .2);
    }

}

@media screen and (min-width 601px) {
    .cards ul {
        display: flex;
        flex-direction: column;
    }

    cards,
    cards ul {
        flex-direction: row;
        flex-wrap: wrap;
    }

}

@media screen and (min-width 900px) {

    .cards,
    cards ul {
        flex-direction: row;
        flex-wrap: nowrap;
    }
}


/* animation */

nav,
.cards,
.text-box,
.menu-bar,
footer {
    animation: fade-in-start .7s .6s forwards;
    opacity: 0;
}

.header-text h1 {
    animation: fade-in-start .5s 0s forwards;
    opacity: 0;
}

.header-text p {
    animation: fade-in-start .5s .3s forwards;
    opacity: 0;
}

.title-slide {
    animation: down 1s .0s ease-out forwards;
}

.subtitle-slide {
    animation: down 1s .3s ease-out forwards;
}

@keyframes right {
    from {
        transform: translatex(100vw);
    }

    to {
        transform: translatex(0);
    }
}

@keyframes left {
    from {
        opacity: 1;
        transform: translatex(-100vw);
    }

    to {
        opacity: 1;
        transform: translatex(0);
    }
}

@keyframes down {
    from {
        transform: translatey(-30px);
    }

    to {
        opacity: 1;
        transform: translatey(0);
    }
}

@keyframes up {
    from {
        opacity: 0;
        transform: translatey(50px);
    }

    to {
        opacity: 1;
        transform: translatey(0);
    }
}

@keyframes fade-in-start {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.about-text a:visited {
    color: #fff;
}
