/*	passionflowerart.com Style Sheet

        Author: 	Pamela Brooks
	Date: 		2022
	Filename:       passionflower.css
*/

@import url(//fonts.googleapis.com/css?family=Raleway:400,100,200,300,500,600,800,700,900);
@import url(//fonts.googleapis.com/css?family=Open+Sans:400,100,200,300,500,600,800,700,900);

body {
    background-color: #fee8c1;
    background-image: url(../images/sky.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    font-family: 'Open Sans', sans-serif;
    overflow-y: scroll; /* The vertical scrollbar is always shown. */
    opacity: 1;
    transition: 0.7s opacity;
}

table {
    table-layout: fixed;
    width: 100%;
}

.container {
    /* This style creates a page height that is at least 100% of the screen height. */
    width: 100%;
    height: 100%;
    min-height: 100vh !important;
}

.canvas {
    background-image: url(../images/tile.png);
    width: 912px;
    height: auto;
    min-height:100vh !important;
}

.passionflowerart {
    /* The title graphic. */
    height: 96px;
    vertical-align: top;
    border-bottom: 3px groove #d5b974;
}

.content {
    /* The table that contains the shroud images. */
    padding-top: 30px;
    padding-bottom: 30px;
    vertical-align: top;
}

.title {
    padding-top: 24px;
    padding-bottom: 24px;
    font-weight: normal;
}

.left {
    /* The left column contains the navigation menu. */
    width: 264px;
    padding-top: 18px;
    vertical-align: top;
}

.center {
    /* The center column contains the main content. */
    width: 384px;
    vertical-align: top;
}

.right {
    /* The right column contains supplementary content. */
    width: 264px;
    padding-top: 18px;
    vertical-align: top;
}

.page {
    /* The center and right columns are combined. */
    width: 648px;
    font-size: 12px;
    vertical-align: top;
}

.download-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    background-color: #4caf50; /* green */ 
}

    .download-button:hover {
        -webkit-box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
        -moz-box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
        box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
        text-decoration: none;
    }

/*
.scroll-bottom {
    width: 948px;
    height: 48px;
    background-image: url(../images/scroll-bottom.png);
    background-position: center bottom;
    background-repeat: no-repeat;
}
*/


/* TEXT STYLES */

.header {
    /* The style used for a page's header. */
    font-variant: small-caps;
    font-size: 16px;
    font-weight: bold;
}

.title {
    /* The style used for the Shroud of Turin page. */
    font-family: 'Raleway', sans-serif;
    color: #545c8d;
    font-size: 24px;
}

.text {
    /* The font size used for most of the text. */
    font-size: 12px;
}

.small-text {
    /* The font size used for smaller text. */
    font-size: 11px;
}

.large-text {
    /* The font size used for larger text. */
    font-size: 14px;
}


/* FORMATTING STYLES */

.single-space {
    padding-top: 12px;
}

.double-space {
    padding-top: 24px;
}

.triple-space {
    padding-top: 36px;
}

.quadruple-space {
    padding-top: 48px;
}


/* LINK STYLES */

ul.menu {
    /* The navigation menu links list. */
    list-style-type: none;
    font-size: 13px;
    padding: 0;
    margin-left: 60px; /* 60 - 24 (text_indent) = 36 (margin) */
    text-indent: -24px;
    margin-right: 24px;
}

ul.submenu {
    /* The first set of nested links */
    list-style-type: none;
    font-size: 13px;
    padding: 0;
    margin-left: 24px;
    text-indent: -24px;
}

.menu a, .submenu a {
    color: #000000;
}

    .menu a:link, .submenu a:link {text-decoration: none}
    .menu a:visited, .submenu a:visited {text-decoration: none}
    .menu a:hover, .submenu a:hover {color: #5e74a5; text-decoration: none}

.link a {color: #000000; text-decoration: underline}
    /* An underlined link within the text, e.g., to a web site. */

    .link a:link {
        color: #000000;
	text-decoration: underline;
    }

    .link a:visited {
        color: #000000;
        text-decoration: underline;
    }

    .link a:hover {
        color: #5e74a5;
	text-decoration: underline;
    }

.current {
    /* The current link in the menu and submenu1 links lists. */
    color: #5e74a5;
    text-transform: uppercase;
    letter-spacing: .5ex;
}


/* CENTER COLUMN STYLES */

.frame-background {
    /*  Solid dark gold square. */
    background-image: url(../images/frame-background.png);
    width: 384px;
}

.frame {
    /*  Gold gradient tile. */
    background-image: url(../images/frame.png);
    background-repeat: repeat-x;
    width: 384px;
}

.image {
    /* This style positions an image in the frame. */
    width: 324px;
}

.thumbnail {
    /* This style positions a 2-inch thumbnail in the frame. */
    width: 144px;
    vertical-align: middle;
    border: 0; /* The thumbnails are links. */
}


/* OCEAN ANIMATION */

.animation {
    /* The ocean animation. */
    width: 960px;
    height: 720px;
    min-height: 100vh !important;
    padding-bottom: 12px;
}


/* COPYRIGHT */

.copyright {
    font-size: 12px;
    color: #888888;
}


/* LOADER */

#preload {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#preload .kd-bounce {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    right: 50%;
    margin: 40px auto;
}

#preload .kd-bounce:before,
#preload .kd-bounce:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #242424;
    opacity: 0.4;
    position: absolute;
    top: 0;
    left: 0;
    animation: kd-bounce 2.4s infinite ease-in-out;
}

#preload .kd-bounce:after {
    animation-delay: -1.2s;
}

@keyframes kd-bounce {
    0%,
    100% {
        transform: scale(0);
    }
    50% {
        transform: scale(1);
    }
}
.kd-close {
  position: absolute;
  width: 50px;
  height: 50px;
  display: inline-block;
  top: 0;
  right: 0;
  cursor: pointer;
  font-size: 24px;
  color: #000000;
  background-color: #ffffff;
  line-height: 48px;
  text-align: center;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.kd-close:before {
  content: '';
  width: 30px;
  height: 2px;
  background-color: #000000;
  display: block;
  -webkit-transform: rotate(44deg) translate(26px, 10px);
  -moz-transform: rotate(44deg) translate(26px, 10px);
  transform: rotate(44deg) translate(26px, 10px);
}
.kd-close:after {
  content: '';
  width: 30px;
  height: 2px;
  background-color: #000000;
  display: block;
  -webkit-transform: rotate(-46deg) translate(-10px, 24px);
  -moz-transform: rotate(-46deg) translate(-10px, 24px);
  transform: rotate(-46deg) translate(-10px, 24px);
}


@media screen and (max-width: 640px) {
    /* Mobile phones (landscape orientation) */
    body {
        background-image: none;
    }
    .container {
        width: fit-content;
        min-width: 100vw !important;
    }
    .scroll-top, .scroll-bottom {
        display: none;
    }
    .canvas {
        background-image: none;
    }
    .title {
        font-weight: 600;
    }
    .text {
        font-size: 30px;
        line-height: 60px;
    }
    .copyright {
        position: relative;
        top: 100%;
        font-size: 24px;
    }
}