/* gold: rgba(180,160,112,.8) */
/* purple: rgb(136,0,255); */
/* green: rgb(197,217,60); */
@import url('https://fonts.googleapis.com/css?family=Raleway:300,300i');

*{ margin:0; padding:0; box-sizing:border-box;}
html{font-family:"Raleway", sans-serif; font-style:normal;}
body{ font-size:16px; text-align:center; background-attachment:fixed; background-image:url(assets/img/road.jpg); background-position:center; background-size:cover; height:100vh;}

header{width:100%; color:white; background-color:rgba(100,100,100,0.4); }
header.editor{ background-color:rgba(100,100,255,0.4); }
nav{ background-color:rgba(136,0,255,1); height:20px; }
nav div{display:inline-block; background-color:rgba(160,140,92,1); }
nav a{ color:white; text-decoration:none; padding:5px; }
nav a:hover{background-color:black; }
nav a.active{background-color:black; }
header div{ position:absolute; top:0px; right:10px; height:55px; } 
header div svg{ height:100%; }
header div:hover svg path{ fill:rgba(255,255,255,0.8); }
main { display:block; max-width:1200px; margin:20px auto; }
footer{position:fixed; bottom:0; background-color:rgb(100,100,255); width:100%; font-size:0.6rem;}

h1,h2,h3,h4,h5,h6{ font-weight: normal; }
h1{padding:10px; font-weight:normal; text-transform: uppercase;}
h2{padding:10px; font-weight:normal; }
h4{font-weight:bold; background-color:rgb(136,0,255)}
p{padding:10px;}
p.plus{font-size:6rem; color:#666; font-style:italic; border:10px dashed #333; display:inline-block; padding:6vh 5vh; margin:3vh}

/* RCMS */
div.rcms figure{ height: 100px; }
div.rcms figure img{height: 100%;}
div.rcms section.dialog{ display:none; width:60vw; margin:5vh auto; border:3px dashed black; padding:20px 35px 15px 35px; background-color: rgba(255,255,255,0.6); }
div.rcms section#editcontent{ display:none; }
textarea{ height:35vh; resize:vertical; font-size:1rem; }

/* QUOTE */
blockquote#php{ width:500px; background-color:white; font-size:2rem; margin:0 auto; font-style:italic; font-family:serif; padding:2vh; margin-top:5vh; line-height:3rem; box-shadow:5px 5px 0px #333; transform:rotate(1deg); }
blockquote#php::before{content:open-quote; font-weight:bold; color:rgb(255,100,100);}
blockquote#php::after{content:close-quote; font-weight:bold; color:rgb(255,100,100);}
form#addquote{display:inline-block; margin:0 auto;}
form#addquote input,textarea{display:block; text-align:center; width:50vw;}
form#addquote textarea{ height:35vh; resize:vertical; font-size:2rem; }


/* ANIMATED QUOTES */
blockquote#ani{ width:600px; height:420px; display:flex; background-color:white; margin:0 auto; box-shadow:5px 5px 0px #333; transform:rotate(1deg);}
canvas{ width:550px; height:400px; margin:auto; } 

/* POEMS */
div#poems article{ width:400px; margin:0 auto; background-color:rgba(255,255,255,0.8); padding:5vh; }

/* FORM */
form#order{width:50%; margin:0 auto;}
form#upload{ width:50%; margin:5vh auto; }
label{display:inline-block; padding:0 1vw}
legend{ margin-left:3%; }
input, textarea, select, fieldset{ display:block; padding:2px; margin:10px auto; text-align:center; transition: box-shadow 1s; background-color:rgba(255,255,255,0.8); border:1px solid grey; font-family:"Raleway";}
input:focus, textarea:focus, select:focus{ box-shadow:0px 0px 10px rgba(0,0,0,0.3); }
select{width:150px; text-align:center;}
textarea, input{width:100%;}
input[type=radio],input[type=checkbox]{ display:inline-block; margin:10px 1vh; width:auto;}
input[type=number]{text-align:center; width:25%;}
input[type=file]{width:auto;}
input[type=submit]{padding:0 10px; margin-top:5px; background-color:rgb(100,100,255); border:1px solid #333; height:5rem; font-size:2rem;}
input[type=submit]:hover{color:white; background-color:rgb(255,100,100); border-color:black; color:black;}
input[type=button]:hover{color:white; background-color:rgb(255,100,100); border-color:black; color:black;}
::-moz-placeholder{text-align:center;}

/* GALLERY */
section#gallery{ display:flex; flex-flow:row wrap; justify-content:center;}
section#gallery a{ display: inline-block; }
section#gallery figure { filter:grayscale(100%);  width:20vh; height:20vh; margin:1vh; overflow:hidden; }
section#gallery figure:hover { opacity:0.9; filter:grayscale(0%);}
section#gallery figure img { height:100%; }
section#gallery figure.editor div { position:absolute; cursor:not-allowed; height:100%; width:100%; top:0; left:0; }
section#gallery figure.editor div:hover { background-color:rgba(255,0,0,0.2);  }

/* MASONRY */
div.masonry { margin:1.5em 0; column-gap:2rem; font-size: 0.85em; }
div.masonry section{ display:inline-block; background-color:rgba(255,255,255,0.8); padding:0em; margin:0 0 2.5rem; width:100%; transition:filter 3s ease,background 3s ease;}
div.masonry section a{ text-decoration:none; color:black; }
div.masonry section h4{ position:relative; z-index:2; background:linear-gradient(135deg, #131313 0%,#595959 80%,#131313 100%); opacity:1; color:white; margin:0rem -0.6rem -0.3rem -0.6rem; }
div.masonry section:hover{ filter: drop-shadow( 0px 0px 30px rgba(0,0,0,0.6) ); }
div.masonry section:hover h4{ background:linear-gradient(135deg, #A08C5C 0%,#131313 60%,#A08C5C 100%);  }
div.masonry img, iframe { max-width:100%; height:auto; display:block; }
div.masonry section article{ padding: 0.8rem; }
@media only screen and (min-width: 400px) { div.masonry { column-count: 1; } }
@media only screen and (min-width: 800px) { div.masonry { column-count: 2; } }
@media only screen and (min-width: 1000px) { div.masonry { column-count: 3; } }
@media only screen and (min-width: 1600px) { div.masonry { column-count: 4; } }
@media only screen and (min-width: 1800px) { div.masonry { column-count: 5; } }