@font-face {
    font-family: 'Pacifico';
    src: url('/fonts/Pacifico-Regular.woff2') format('woff2'),
        url('/fonts/Pacifico-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('/fonts/CormorantGaramond-Italic.woff2') format('woff2'),
        url('/fonts/CormorantGaramond-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

body {
    background-color: #faebd7;
    margin: 0;
    margin-bottom: 90px;
}

.card {
    border-radius: 40px;
    width: calc(100vw - 50px);
    max-width: 500px;
    overflow: hidden;
    position: relative;
    box-shadow: 6px 4px 14px 0px rgba(0, 0, 0, 0.75);
    height: 100%;
}

.card img.flip {
    display: block;
    bottom: 16px;
    right: 24px;
    position: absolute;
    color: #222222;
    width: 36px;
    cursor: pointer;
    margin: -50px;
    padding: 50px;
}

.card img {
    width: 100%;
    aspect-ratio: 3/2;
}

.card>h1 {
    font-family: 'Pacifico', cursive;
    color: #444444;
    text-align: center;
    font-size: 16px;
}

.card>h2 {
    font-family: 'Cormorant Garamond', serif;
    color: #222222;
    text-align: center;
    line-height: 24px;
    margin: 0 50px;
    font-style: italic;
}

.flip-card-front .card {
    background-color: #ffffff;
}

.flip-card-back .card {
    background-color: #d7f2fa;
}

.flip-card-back .card>h2 {
    text-align: center;
    line-height: 24px;
    margin: 50px;
}

.flip-card {
    width: calc(100vw - 50px);
    max-width: 500px;
    min-height: 500px;
    height: 500px;
    max-height: 100vh;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card.flip .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.card-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-spacer {
    height: 150px;
    max-height: 5vh;
}

.current-week {
    font-weight: 700;
}

.dropbtn {

    color: #222222;
    font-size: 24px;
    line-height: 24px;
    margin: 0 15px;
    font-style: italic;
    height: 48px;
    margin: auto 0;
    cursor: pointer;
    line-height: 48px;
}

.dropup {
    position: relative;
    display: inline-block;
}

.dropup-content {
    display: none;
    position: absolute;
    bottom: 60px;
    right: -125px;
    background-color: #faebd7FA;
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
    min-width: 250px;
    z-index: 1;
    border-radius: 15px;
    padding: 15px 0;
    box-shadow: 6px 4px 14px 0px rgba(0, 0, 0, 0.75);
}

.dropup.show .dropup-content {
    display: block;
}

a {
    color: #222222;
    text-decoration: none;
}

.nav {
    height: 80px;
    position: fixed;
    bottom: 0;
    background-color: #FFFFFF11;
    width: 100%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    border-top: 1px solid #44444444;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

@media only screen and (min-width: 700px) {
    .nav {
        justify-content: center;
    }
}

.nav>* {
    display: flex;
    margin: 0 15px;
}

.nav>a>picture {
    display: flex;
}

.nav>a>picture>img {
    margin: auto;
}

.nav>a>span {
    font-family: 'Cormorant Garamond', serif;
    color: #222222;
    font-size: 24px;
    line-height: 24px;
    font-style: italic;
    height: 48px;
    margin: auto 0;
    font-weight: 700;
}

.nav a.week-link {
    display: block;
    padding: 10px 5px;
}

.nav>.normal-link {
    display: block;
    color: #222222;
    font-size: 24px;
    line-height: 24px;
    margin: 0 15px;
    font-style: italic;
    height: 48px;
    margin: auto 0;
    cursor: pointer;
    line-height: 48px;
}

.week-container {
    max-height: 350px;
    padding: 30px 5px;
    overflow-y: scroll;
}

.body-content {
    margin: 50px auto 0 auto;
    width: calc(100vw - 50px);
    max-width: 500px;
}

.body-content h1 {
    font-family: 'Pacifico', cursive;
    color: #444444;
    margin: 45px 0 0 0;
    font-size: 24px;
    font-weight: 400;
}

.body-content p,
.body-content ul li {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: #222222;
    list-style: none;
}

.body-content a {
    text-decoration: underline;
    color: rgb(34, 34, 128);
}

.body-content a:hover {
    text-decoration: none;
    color: rgb(34, 34, 255);
}