/* ---Foundational Styles--- */

* {
    box-sizing: border-box;
}

:root {
    --vanilla: rgba(249, 221, 181, 1);
    --vanilla90: rgba(249, 221, 181, .9);
    --vanilla50: rgba(249, 221, 181, .5);
    --vanilla10: rgba(249, 221, 181, .1);
    --ash: rgba(41, 47, 39, 1);
    --rose: rgba(174, 53, 109, 1);
    --rose80: rgba(174, 53, 109, .8);
}

@font-face {
    font-family: hello-paris;
    src: url(../fonts/hello-paris-serif-regular.otf);
}

a,
a:visited {
    color: var(--ash);
    text-decoration: none;
}

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: var(--ash);
    background: var(--vanilla);
}

#wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

/* Nav and Header */
nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

nav a,
nav a:visited {
    margin: 5px 30px;
    color: var(--vanilla);
    font-size: 1.1em;
    text-align: center;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9;
    padding: 30px;
    background-color: var(--vanilla10);
    backdrop-filter: blur(5px);
}

header nav {
    position: fixed;
    top: 0;
    right: -120%;
    height: 100vh;
    width: 100%;
    background-color: var(--vanilla90);
    backdrop-filter: blur(5px);
    flex-direction: column;
    transition: .4s ease-in-out;
}

header nav a,
header nav a:visited {
    color: var(--ash);
    transition: .2s linear;
    margin: 30px;
}

header nav a:hover {
    opacity: .5;
}

#mobile-menu-btn {
    width: 40px;
    height: 40px;
    position: fixed;
    top: 20px;
    right: 20px;
    border: none;
}

#mobile-menu-btn img {
    width: 100%;
}

nav.show-nav-mob {
    right: 0;
}

main {
    position: relative;
    z-index: 5;
    padding: 0 10%;
    width: 100%;
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
    font-family: hello-paris;
}

h2 {
    font-size: 1.75em;
    margin-bottom: 30px;
}

p {
    line-height: 1.5;
    margin-bottom: 20px;
}

button {
    padding: 0;
    background: transparent;
    cursor: pointer;
}


/* ---Background images and masks--- */
.bg-img {
    margin: auto;
    position: absolute;
    min-width: 115%;
    min-height: 110%;
    z-index: 0;
}

.landing-img {
    min-height: 100%;
    min-width: 100%;
    opacity: 1;
}

.bg-mask {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: var(--vanilla50);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.landing-mask {
    background-color: var(--rose80);
}

.vanilla-mask {
    background-color: var(--vanilla90);
}

/* ---Landing Page--- */
#title h1,
#title h2 {
    text-align: center;
    color: var(--vanilla);
}

#title h1 {
    margin: 10px 0;
    font-size: 4.75em;
    font-family: hello-paris, Georgia, 'Times New Roman', Times, serif;
}

#title h2 {
    font-size: 1.25em;
    margin-bottom: 0;
}

#venus {
    width: 35%;
    margin: auto;
    position: absolute;
    left: -3%;
    top: 0;
    bottom: 0;
    z-index: -1;
    opacity: 50%;
}

#begin {
    display: block;
    margin: 50px auto 0 auto;
    border: none;
    font-size: 2.25em;
    font-family: hello-paris, Georgia, 'Times New Roman', Times, serif;
    letter-spacing: 2px;
    transition: .2s linear;
    z-index: 5;
    color: var(--ash);
}

#begin:hover {
    letter-spacing: 7px;
}

#landing #begin {
    color: var(--vanilla);
}

/* ---Card Page--- */

/* Start Modal */
#start-modal {
    position: absolute;
    z-index: 6;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, .5);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
}

#start-modal section {
    background-color: var(--vanilla);
    max-width: 700px;
    text-align: center;
    padding: 30px;
}

#start-modal section p {
    margin-bottom: 20px;
    line-height: 1.5;
}

#start-modal button {
    border: none;
    background: var(--ash);
    color: var(--vanilla);
    margin: 0 15px;
    padding: 15px 25px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1em;
    cursor: pointer;
    transition: .2s linear;
}

#start-modal button:hover {
    transform: scale(1.1);
}

/* Audio Toggle */
#audio-toggle {
    width: 30px;
    height: 30px;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 4;
    border: none;
}

#audio-toggle img {
    width: 100%;
}


/* Cards */
.card {
    margin: auto;
    width: 100%;
}

.card img {
    width: 100%;
    opacity: 1;
}

#browse-cards {
    margin: auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 30px 0 0 0;
}

#browse-cards a,
#browse-cards a:visited {
    font-size: 1.5em;
    transition: .3s;
    color: var(--ash);
    opacity: 1;
}

#browse-cards a:hover {
    opacity: .5;
}

#return {
    font-family: hello-paris, Georgia, 'Times New Roman', Times, serif;
    font-size: 3em !important;
}

#previous,
#next {
    width: 0px;
    height: 0px;
    border-style: solid;
    border-color: transparent transparent var(--ash) transparent;
    transform: rotate(180deg);
    transition: .3s;
    opacity: 1;
    margin: auto;
    position: fixed;
    top: 0;
    bottom: 0;
}

#previous {
    border-width: 0 60px 25px 0px;
    left: 10px;
}

#next {
    border-width: 0 0px 25px 60px;
    right: 10px;
}

button.allowUserInteraction,
img.allowUserInteraction {
	cursor: pointer;
}

#previous.allowUserInteraction:hover,
#next.allowUserInteraction:hover,
#audio-toggle.allowUserInteraction:hover {
    opacity: .5;
}


/* Mobile Note */
#mobile-note {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 6;
    height: 100%;
    width: 100%;
    background-color: var(--ash);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
}

/* ---Card Animation--- */
.fadeOut {
    animation: fadeOut 1s linear;
    animation-fill-mode: forwards;
    pointer-events: none;
}

.fadeIn {
    animation: fadeIn 1s linear;
    animation-fill-mode: forwards;
}


@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}



@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/* ---About Page--- */
main#about,
main#artist-statement,
main#press-and-reviews {
    padding-top: 100px;
    padding-bottom: 80px;
}

/* ---Press and Reviews Page--- */
#press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 24px;
}

#press-grid section img {
    width: 100%;
    margin-bottom: 8px;
}


/* ---Mobile Note Remove Media Query--- */
@media screen and (min-width: 600px) {
    #mobile-note {
        display: none;
    }
}

/* ---Tablet Media Query--- */
@media screen and (min-width: 700px) {
    nav {
        flex-direction: row;
    }

    nav a,
    nav a:visited {
        font-size: 1.35em;
    }

    #title h1 {
        font-size: 9em;
    }

    #title h2 {
        font-size: 2em;
    }
}

/* ---Button Normalizing Media Query--- */
@media screen and (min-width: 950px) {
    #browsecards {
        justify-content: space-between;
    }

    #previous,
    #next {
        position: relative;
        top: initial;
        bottom: initial;
    }
}

/* ---Desktop Media Query--- */
@media screen and (min-width: 1025px) {
    main {
        padding: 0 15%;
    }

    header nav {
        position: relative;
        top: auto;
        right: auto;
        height: auto;
        background-color: transparent;
        backdrop-filter: none;
        flex-direction: row;
    }

    header nav a,
    header nav a:visited {
        margin: 0 30px;
    }

    #mobile-menu-btn {
        display: none;
    }

    #title h1 {
        font-size: 13em;
    }
}