/*	daylily.art Style Sheet

	Author: 	Pamela Brooks
	Date: 		2020
	Filename:       daylily-index.css
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* Home page styles (index.php) */
/* link color: #3b8ede */

html {
    /* Prevents the scrollbar from pushing centered elements to the left of the screen's center'. */
    width: 100vw;
    /* Prevents Mobile Safari from increasing font sizes in landscape orientation: */
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #000000;
    letter-spacing: .025em;
    word-spacing: .05em;
    line-height: 24px;
    overflow-x: hidden;
    opacity: 1;
    transition: 0.7s opacity;
}

body .fade {
    opacity: 0;
    transition: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0;
}


/* General */

.wrapper {
    width: 100%;
}

.container {
    /* ALSO SEE: about.php, contact.php, gallery.php, store.php, artwork.php, item.php. */
    width: 1024px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.left {
    /* Menu column */
    /* ALSO SEE: about.php, contact.php, gallery.php, store.php. */
    width: 256px; /* 25% of 1024 is 256 */
    float: left;
}

.right {
    /* Content column */
    /* ALSO SEE: about.php, contact.php, gallery.php, store.php. */
    width: 768px; /* 75% of 1024 is 768; the left and right margins are (1024 - 768)/2 = 128 */
    float: right;
}


/* Slideshow */

.index-content {
    width: 100%;
}

#slideshow {
    width: 768px;
    height: 100%;
    position: relative;
    top: 0;
}
#slideshow div {
    width: 768px;
    max-width: 768px;
    height: auto;
    max-height: 95%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}


/* Copyright */

.copyright {
    margin-top: 12px;
    padding-bottom: 24px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #808080;
}
    .copyright a {
        color: #808080;
        text-decoration: underline;
    }
    .copyright a:hover {
        color: #000000;
        text-decoration: underline;
    }


/* Responsive */

/* Desktops */
@media screen and (min-width: 1024px){
    /* All computers with screens wide enough to display the left (menu)) and right (content) columns. */ 
}

/* Tablets Portrait or Landscape */
@media screen and (max-device-width: 1024px){

    .container {
        width: 100%;
        margin: 0;
    }
    .left {
        width: 0;
        float: none;
    }
    .right {
        width: 100%;
        float: none;
    }
    #slideshow {
        width: 100%;
        max-width: 100%;
        height: 90%;
    }
    #slideshow div {
        width: 70%;
        max-width: 70%;
        max-height: auto;
    }
    .copyright {
        width: 100%;
    }

}

/* Tablets Portrait or Landscape */
@media screen and (min-device-width: 768px) and (max-device-width: 1024px){
}

/* iPhone 6 and 6 plus Portrait or Landscape */
@media (min-device-height: 667px) and (min-device-width: 375px) and (-webkit-min-device-pixel-ratio: 3) {
}

/* iPhone 5 Portrait or Landscape */
@media (device-height: 568px) and (device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
}

/* iPhone 4+ Portrait or Landscape */
@media screen and (min-device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
}

/* Mobile Phones Portrait or Landscape */
@media screen and (max-device-width: 640px) {

    #slideshow div {
        width: 90%;
        max-width: 90%;
        margin-top: -6px;
    }

}

/* Mobile Phones Portrait */
@media screen and (max-device-width: 480px) and (orientation: portrait) {
}

/* Mobile Phones Landscape */
@media screen and (max-device-width: 640px) and (orientation: landscape) {
}
