@charset "UTF-8";

/* CSS Document */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*puts all borders and padding inside box model*/
}

html {
    scroll-behavior: smooth;
}

body {
    height: 100%;
    font-size: 16px;
    /* background: url("images/background1.jpg"); */
    background-size: contain;
    background-repeat: no-repeat;
    background-color:#A7C8F3; /*#bcd7f3*/
    background-position: bottom;
}

.preload * {
   -webkit-transition: none !important;
   -moz-transition: none !important;
   -ms-transition: none !important;
   -o-transition: none !important; }


#main_container {
    max-width: 980px;
    margin: 1% auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 70px 0 70px 0;
}

nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

nav li {
    font-family: 'Raleway', arial;
    text-transform: uppercase;
    list-style: none;
    text-decoration: none;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 15px;
    color: white;
    margin: 18px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

nav li a:link {
    text-decoration: none;
    color: white;
}

nav li a:visted {
    text-decoration: none;
    color: white;
}

nav li a:hover {
    text-decoration: none;
    color: white;
}

nav li a:active {
    text-decoration: none;
    color: white;
}

nav li a {
    text-decoration: none;
    color: white;
}

.art_body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -ms-flex-line-pack: center;
    align-content: center;
    
}

/* Common style */
.grid figure {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 0;
    min-width: 300px;
    max-width: 300px;
    min-height: 400px;
    max-height: 500px;
    width: 100%;
	text-align: center;
	cursor: pointer;
    border: 13px solid white;
    box-shadow: 0 0 .313em #4F4F4F;
    background-color: #FFF;
}
.grid figure img {
	position: relative;
	display: block;
	width: 274px;
    height: 374px;
/*opacity: 0;*/
}
.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}
.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure .title {
	word-spacing: -0.15em;
	font-weight: bold;
    color: white;         /*color of title on hover*/
    font-size: 20px;
}
.grid figure .title span {
	font-weight: 800;
}
.grid figure .title,
.grid figure p {
	margin: 0;
}
.grid figure p {
	letter-spacing: 1px; /* changes letter spacing */
	font-size: 65%;
}
/*figure.effect-oscar {
	background: -webkit-linear-gradient(45deg, #22682a 0%, #9b4a1b 40%, #3a342a 100%);
	background: linear-gradient(45deg, #22682a 0%,#9b4a1b 40%,#3a342a 100%);
} */


/* individual style */

figure.effect-oscar img {
	opacity: 1;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-oscar figcaption {
	padding: 3em;
	-webkit-transition: background-color 0.35s;
	transition: background-color 0.35s;
}

figure.effect-oscar figcaption::before { /*square border on hover*/
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 1px solid #fff;
	content: '';
}

figure.effect-oscar p {        
	margin: 20% 0 10px 0;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
} 
figure.effect-oscar figcaption::before, figure.effect-oscar p {
	opacity: 0;
	-webkit-transition: opacity 0.35s,-webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(0);
	transform: scale(0);
} 

figure.effect-oscar:hover p {   /* not from here down*/
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-oscar:hover figcaption::before,
figure.effect-oscar:hover p {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

figure.effect-oscar:hover figcaption {
	background-color: rgba(58,52,42,.45);
}

figure.effect-oscar:hover img {
	opacity: 0.4;
}

/* end of hover */

h1 {
    font-family: 'Petit Formal Script', serif;
    font-style: normal;
    font-weight: normal;
    font-size: 40px;
    margin-top: 0;
    text-align: center;
    color: white;
}

h2{
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: normal;
    letter-spacing: 1px;
    font-size: 24px;
    margin-top: 8px;
    text-transform: lowercase;
    text-align: center;
    color: white;
}

h3{ /* about, contact title */
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    margin: auto;
    text-align: center;
    color: white;
}

h4{ /*about,contact paragraph */
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    margin: auto;
    text-align: center;
    color: white; 
}

h5{
 font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 22px;
    margin-top: 10px;
    margin-bottom: 20px;
    padding-right: 10px;
    padding-left: 10px;
    text-align: center;
    color: white;
}

p{
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    text-align: left;
    color: white;
    line-height: 20px;
}

p.title{
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    text-align: center;
    line-height: 22px;
}

p.description{
    text-align: center;
    line-height: 18px;
}

/*from here down only on seperate art pages*/

#contact{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction:column;
    margin: 40px;
}

#art_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    margin: 20px;
    
}

#information_box {
    width: 40%;
    padding: 20px;
}

#photo_box {
    width: 60%;
}

#photo_box img {
flex:0 0 565px;
    border: 0;
    max-width: 100%;
    min-width: 100%;
}

#about_box{
    width: 100%;
    padding: 60px;
}

#previous-next {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    margin-bottom: 20px;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding-right: 20px;
}

a:link {
    text-decoration: none;
    color: white;
    font-size: 18px;
}

a:visted {
    text-decoration: none;
    color: white;
}

a:hover {
    text-decoration: none;
    color: white;
}

a:active {
    text-decoration: none;
    color: white;
}

a {
    text-decoration: none;
    color: white;
}

@media all and (max-width:700px){

    #art_container{
         display: -webkit-box;
         display: -ms-flexbox;
         display: flex;
         -webkit-box-orient: vertical;
         -webkit-box-direction: normal;
         -ms-flex-direction: column;
         flex-direction: column;
         -ms-flex-wrap:nowrap;
         flex-wrap:nowrap;
    }

#information_box{
    padding:10px;
    width:100%;
    }

#photo_box{
    width:100%;
    }
    
nav li {
    margin: 10px;
    margin-top: 30px;
    } 
    
header{
    margin: 40px 0 40px 0;
    }
    
#about_box{
    width: 100%;
    padding: 10px;
    }    
    
#contact{
    padding: 10px;
}    
    
}