/** Colors **/
.primary {
    color: #d4b7b8;
}

.primary-bg {
    background-color: #d4b7b8;
}

.secondary {
    color: #8d9b86;
}

.secondary-bg {
    background-color: #8d9b86;
}

.primary-dark {
     color: #b1979b
}

.primary-dark-bg {
    background-color: #b1979b
}

.highlight {
    color: #aa997f;
}

.highlight-bg {
    background-color: #aa997f;
}

/** Base styles **/
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Catamaran', sans-serif;
    color: #ffffff;
    overflow: hidden;
}

body::-webkit-scrollbar {
    display: none;
}

h1, h2, h3, h4 {
    font-variant: small-caps;
    font-family: 'Reenie Beanie', cursive;
}

.main-container {
    margin: 0;
}

.vp-page {
    position: absolute;
    height: 100%;
    width: 100%;

    background-size: cover;
    -ms-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;

    background-position: center;
    background-repeat: no-repeat;
    /*position: relative;*/

    -ms-flex-align: center;
    align-items: center;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:active,
.btn-secondary:focus {
    color: #333;
    text-shadow: none; /* Prevent inheritance from `body` */
    box-shadow: none;
    background-color: #fff;
}

.btn-secondary:hover {
    text-shadow: none;
}

.btn-outline-secondary,
.btn-outline-secondary:active,
.btn-outline-secondary:focus {
    color: #ffffff;
    border: none;
    box-shadow: none;
}

.btn-outline-secondary:hover {
    background-color: gold;
}

/**
 * Introduction Page
 */
.intro-page {
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url("img/beach.jpg");
    user-select: none;
}

.intro-page>main {
    width: 100vw;
    padding-left: 2em;
    padding-right: 2em;
    user-select: none;
}

.invite-title {
    font-family: 'Reenie Beanie', cursive;
    font-size: 8em;
}

.invite-subtitle {
    font-family: 'Reenie Beanie', cursive;
    font-size: 3rem;
}

.invite-email-input.input-group {
    margin-left: auto;
    margin-right: auto;
    width: 14rem;
    margin-bottom: 1rem;
}

.invite-code-input.input-group {
    margin-left: auto;
    margin-right: auto;
    width: 12rem;
}

.intro-page>footer {
    width: 100vw;
    height: 5rem;
}


@media only screen and (max-width: 600px) {
    .intro-page {
        background-position: 25% 50%;
    }
}

/**
 * Invite page
 */
.invite {
    border: 0.5rem silver solid;
    margin-left: auto;
    margin-right: auto;
    width: 500px;
    background-color: white;
    color: #666666;
    font-variant: small-caps;
    font-size: 2rem;
    user-select: none;
}

@media only screen and (max-width: 767px) {
    .invite {
        width: 100%;
    }
}

.invite .p1 {
    padding-top: 2em;
}

.invite .special {
    font-family: 'Reenie Beanie', cursive;
    font-size: 4rem;
}

/**
 * Location Page
 */
.location {
    padding: 0;
    background-color: rgb(250, 251, 252);
    user-select: none;
}

.location>div {
    width: 100%;
}

.location h1 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 4rem;
}

.location p {
    font-family: 'Catamaran', sans-serif;
    font-size: 1.5rem;
}

.location iframe {
    min-height: 45vh;
}

/**
 * Accommodation
 */
.accomm {
    user-select: none;
}

.accomm h3 {
    font-size: 2rem;
    font-weight: bolder;
    font-variant: small-caps;
}

.accomm .card {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.accomm a {
    color: #aa997f;
    font-style: italic;
}

/**
 * RSVP
 */
.rsvp {
    border: 0.5rem silver solid;
    padding: 10vw;
    background-color: white;
    color: #666666;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}

.rsvp h1 {
    font-size: 4rem;
}

@media only screen and (max-width: 767px) {
    .rsvp {
        width: 100%;
    }
}

.rsvp p {
    padding-bottom: 1em;
}

.rsvp .btn-success {
    background-color: #8d9b86;
    border-color: #8d9b86;
    box-shadow: none;
}

/**
 * Debugging Colors
 */
.white {
    background-color: white;
}

.green {
    background-color: green;
}

.yellow {
    background-color: yellow;
}

.pink {
    background-color: pink;
}

/**
 * Scroll Down
 * - Borrowed from https://www.nxworld.net/tips/css-scroll-down-button.html
 */
.footer-text {
    font-family: 'Reenie Beanie', cursive;
    font-size: 2rem;
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 5rem;
    color: white;
    /*-webkit-animation: txt 1.5s infinite;*/
    /*animation: txt 1.5s infinite;*/
}

.footer {
    position: absolute;
    background-color: white;
    bottom: 2rem;
    left: 50%;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}

.footer a {
    padding-top: 70px;
}
.footer a span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb 1.5s infinite;
    animation: sdb 1.5s infinite;
    box-sizing: border-box;
}

.footer.footer-dark a span {
    border-left: 3px solid #666;
    border-bottom: 3px solid #666;
}

@-webkit-keyframes sdb {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}
@keyframes sdb {
    0% {
        transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

@-webkit-keyframes txt {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes txt {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}