body {
    background-color: black;
    font-family: 'Pinyon Script', cursive;
/*    font-family: 'Italianno', cursive;*/
}

p {
    color: saddlebrown;
    text-align: right;
}

a {
    text-decoration: none;
    color: red;
}

a:hover {
    animation: fade 2s linear infinite alternate;
}

@keyframes fade {
    from {color: red;}
    to {color: yellow;}
}

.nav {
    position: fixed;
    margin-top: 2vmin;
    margin-left: 2vmin;
    font-size: 200%;
    z-index: 1;
}

#where {
    
}



#cathedral-entrance {
    background-image: url('cath0-body.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
}

#stain {
    background-image: url('stain-body.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
}

.title {
    margin: 3%;
    margin-left: 8%;
}

.title:hover {
    transform: translate(3px, 3px);
}

.float {
    position: fixed;
    width: 20%;
}

/*
.float .marquee1 {
    transform: translateX(100%);
    animation: spin 20s linear infinite;
}

.float .marquee2 {
    transform: rotateY(100%);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    0% { transform: translateX(30%); }
    50% { transform: translateX(0%); }
    100% { transform: translateX(50%); }
}
*/

.card {
    background: url("/resources/chalice.png") no-repeat;
}

.card:hover {
    transform: translateY(100%);
    animation: cssmarquee1 10s linear infinite;
    mix-blend-mode: color-burn;
    background: url("/resources/fingerlink0.png") no-repeat;
}

a.title.card {
    display: block;
    height: 20%;
    width: 13%;
    margin: 5%;
}

.move {
/*    display: block;*/
    position: absolute;
    margin-left: 60%;
}

.move:hover {
    transform: translate(20%, -10%);
}

#page1 {
    position: absolute;
    top: 85%;
    left: 45%;
    filter: invert(0) opacity(0.5);
    background-image: url(cath0-body.png);
}



/*////////////////////////////////////*/

.marquee1 {
    height: 100px;
    overflow: hidden;
    position: relative;
}

.marquee1 span {
    color: saddlebrown;
    text-align: right;
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 10px;
    transform:translateX(100%);
    animation: cssmarquee1 10s linear infinite;
}

.marquee1 img {
    width: 60%;
    height: 200%;
    margin: 0;
    line-height: 300px;
    transform: translateY(100%);
    animation: cssmarquee1 10s linear infinite;
}

.marquee2 {
    height: 100px;
    overflow: hidden;
    position: relative;
}

.marquee2 span {
    color: saddlebrown;
    text-align: right;
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 10px;
    transform:translateX(100%);
    animation: cssmarquee2 10s linear infinite;
}

.marquee2 img {
    width: 60%;
    height: 200%;
    margin: 0;
    line-height: 300px;
    transform:translateY(100%);
    animation: cssmarquee2 10s linear infinite;
}

@keyframes cssmarquee1 {
    0% { transform: translateY(50%); }
    50% { transform: translateY(0%); }
    100% { transform: translateY(50%); }
}

@keyframes cssmarquee2 {
    0% { transform: translateY(-100%); }
    50% { transform: translateY(-50%); }
    100% { transform: translateY(-100%); }
}
