
@font-face {
  font-family: 'Squeeg';
  font-style: normal;
  src: url(/assets/SQUEEG__.woff2) format('woff2');
}

:root {
  --main-accent-color: #f00;
  --main-bg-color:     #181818;
  --main-text-color:   #fff;
  --main-rebg-color:   #000;
}


.header { display: flex; align-items: center; flex-direction: row; justify-content: center;  }
.header a, .header h1 { margin: 0; padding:0; position: relative; display:block; }
.header h1 { font-size: 1.7em; width: auto; display: block; position: absolute; }
.header svg { z-index: 9999; height: 12rem; width:auto; position: absolute; top:0; left:0;}
.header svg + svg { z-index: 9998; fill: rgba(0, 0, 0, .789); }
.header.home { height: 36rem; background-size:cover; background-position:top; background-image: url(/i/amalia_header_home.jpg); }
.header.home svg { height: 14rem; }
.header.home h1 { left: -16rem; top:-3rem;  }
.header.sub1 { height: 12rem; background-size:cover; background-position:62% 30%; background-image: url(/i/amalia_header_1.jpg);}
.header.sub1 h1 { left: -14rem; top:-6.2rem;  }
.header.sub2 { height: 12rem; background-size:cover; background-position:75% 25%; background-image: url(/i/amalia_header_2.jpg);}
.header.sub2 h1 { left: -7rem; top:-6.2rem;  }
.header.sub3 { height: 12rem; background-size:cover; background-position:20% 35%; background-image: url(/i/amalia_header_3.jpg);}
.header.sub3 h1 { left: 8rem; top:-6.2rem;  }
.header.sub4 { height: 12rem; background-size:cover; background-position:90% 50%; background-image: url(/i/amalia_header_4.jpg);}
.header.sub4 h1 { left: -14rem; top:-6.2rem;  }

svg.hovery  { fill: var(--main-text-color);  transition: fill .4s, top .4s;  }
svg.hovery:hover { fill: var(--main-text-color); top: -.2rem; transition: fill .2s, top .2s;  }

@media (max-width: 930px) {
  .header.home h1 { left: -14rem; }
  .header.sub2 h1 { left: -14.5rem;  }
  .header.sub3 h1 { left: -1rem;  }
}

.reheader { display: none; }



.menu { box-sizing: border-box; list-style-type: none; padding-inline-start: 0; 
    font-family: Squeeg, Verdana;  margin: 0; font-size: 1.7em; background-color:var(--main-accent-color); 
    display: flex; justify-content: center; align-items: flex-start; flex-direction: row; }
.menu li { display: inline-block; position: relative; text-indent: 0;}
.menu a { text-wrap: nowrap; position: relative; display: inline-block; text-align: center; color: var(--main-text-color); padding: 0.4em; top: 0em;  font-weight:bold; line-height: 1.3em;
    text-shadow: #000 -1px -1px 0px, #000 0px -1px 0px, #000 1px -1px 0px, #000 2px -1px 0px,
                #000 -1px  0px 0px,                                                                                                 #000 3px 0px 0px,
                #000 -1px  1px 0px,                                                                                                 #000 3px 1px 0px,
                #000 -1px  2px 0px,                                                                                                 #000 3px 2px 0px,
                                                 #000 0px  3px 0px, #000 1px  3px 0px, #000 2px  3px 0px, #000 3px 3px 0px;
  }
.menu a:hover {  padding:0.2em .4em .6em;  color:var(--main-text-color); transition: padding-top .2s, padding-bottom .2s, text-shadow .2s;
   text-shadow: #000 -1px calc(-1px + .2em) 0px, #000 0px calc(-1px + .2em) 0px, #000 1px calc(-1px + .2em) 0px, #000 2px calc(-1px + .2em) 0px,
                #000 -1px calc( 0px + .2em) 0px,                                                                                                 #000 3px calc(0px + .2em) 0px,
                #000 -1px calc( 1px + .2em) 0px,                                                                                                 #000 3px calc(1px + .2em) 0px,
                #000 -1px calc( 2px + .2em) 0px,                                                                                                 #000 3px calc(2px + .2em) 0px,
                                                 #000 0px calc( 3px + .2em) 0px, #000 1px calc( 3px + .2em) 0px, #000 2px calc( 3px + .2em) 0px, #000 3px calc(3px + .2em) 0px;
 


}


/*.menu li:first-child { display: none; }*/
.main { min-height: 18em; padding-bottom: 4rem; margin: 0 auto;  max-width: 48em; box-sizing: border-box }
.main a { border-bottom: 1px dashed var(--main-accent-color); }
.main a:hover { border-bottom: 3px solid var(--main-text-color); }
.main p, .main ol, .main ul, .logo { -moz-osx-font-smoothing:grayscale; list-style-type: disc; }
.main p, .main ul, .main ol, .main .gallery, .main .gallerylike { margin-top: 0; margin-bottom: 0.8em; display: block;  }
.main p+ul, .main p+ol, .main ol+p {  }
.main li ul, .main li ol { margin-top: .5em; margin-bottom:1em; font-size:.9em; }
.main ol { padding-left: 3em; padding-right: 4em; }
.main ol li { margin-left: 2em; padding-left: 1em; }

.article, .page { margin: 3em 0 0; padding: 0 6rem; line-height: 1.4em; }
.article:nth-child(1n+5) { font-size:.85em; }
/*.article:nth-child(1n+8) { font-size:.75em; }*/

.article h2, .page h2 { font-family: Squeeg, Verdana; text-transform:none; margin: 0 -3rem; }
.main h1, h2.articletitle { margin: 0 -4rem; line-height: 1em; font-size:2em; padding: .2rem .2rem;  font-family: Squeeg, Verdana; text-transform:none; }
.main h1 { font-size: 2.5em; }
.main h1 a, h2.articletitle a { font-weight: normal;border-bottom: 1px dashed var(--main-bg-color); color: var(--main-text-color); text-transform:none; }
.main h1 a:hover, h2.articletitle a:hover { font-weight: normal;border-bottom: 3px solid var(--main-text-color); }

.article .readMore {text-align: right; }
.articleinfo { color: #A0A; margin-bottom: 1em; font-weight: 500; }
.articleinfo + .articletitle { margin-top: -1rem; margin-bottom: 1rem; }

.footer { padding: 8rem 3rem 5rem; color: lab(from var(--main-text-color) 40 a b); text-align: center; font-size:.9em; line-height:1em; }
.footer svg { fill: lab(from var(--main-text-color) 40 a b); width: 10rem; margin-top: 2rem; }
.footer .left { }
.footer .right { }


* { margin: 0; }
html { height: 100%; font-family: Verdana, sans-serif; font-size: 18px; }
body { padding: 0; line-height: 1.75em; color: var(--main-text-color); background-color: var(--main-bg-color); }
a {  font-size: .91em; text-transform: uppercase; letter-spacing: .05em;color: var(--main-accent-color); font-weight: 810; text-decoration: none;
    transition: font-weight .2s, color .2s, background .2s, border .2s, padding-top .4s, padding-bottom .4s, text-shadow .4s; outline: none; }
a:hover  { color: var(--main-text-color); }
.main img { max-width: calc(100% + 4rem); margin: 0 -2rem; }
h1 { font-size: 2.5em; margin-bottom: .5em; line-height: 1.25em; font-weight: normal;}
h2 { font-size: 1.5em;  margin-bottom: .5em; line-height: 1.25em; font-weight: normal; font-family: Squeeg, Verdana; text-transform:none; }
h3 { font-size: 1.2em;  margin-bottom: .25em; line-height: 1.25em;font-weight: normal;  }
h4 { font-size: .8em; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: .5em; line-height: 1.25em; color: var(--main-accent-color); }
a:hover h2, a:hover h1 { color:var(--main-text-color); transition: color .2s, background .2s, border .2s; }
blockquote { background: lab(from var(--main-accent-color) 10 a b); color: var(--main-text-color); padding: 2rem 3rem; margin: 1rem -2rem;  }
blockquote>*:last-child { margin-bottom:0; }
blockquote a:hover  { color: var(--main-text-color); border-bottom: 3px solid var(--main-text-color) !important; }

.paper { font-family: Georgia, sans-serif; background: lab(from var(--main-text-color) 95 a b); color: var(--main-rebg-color); padding: 5rem 5rem; margin: 1rem -2rem;  }
.paper>*:last-child { margin-bottom:0; }
.paper a        { font-weight: normal; text-transform: none; letter-spacing: normal; }
.paper a:hover  { color: var(--main-accent-color); border-bottom: 3px solid var(--main-accent-color) !important; }
.paper h2 { font-family: Georgia, sans-serif; margin: 0 0 2em 0; }

hr { margin: 2em auto 2em; height: 0px; width: 10em; background-color: var(--main-text-color); border: none; border: 4px dashed var(--main-bg-color); border-width: 4px 0; }

pre { background-color: var(--main-accent-color); margin-bottom: 0.7em; line-height: 1.5em; padding: 10px; color: var(--main-rebg-color); }
pre.old { background-color: #ff0;  }

pre::-moz-selection { color: inherit; background: cyan; }
pre::selection { color: inherit; background: cyan; }

strong { font-weight: 700; transition: font-weight .1s; }
a:hover strong { transition: font-weight .2s; }
em { transition: font-weight .1s; }
a:hover em { transition: font-weight .2s; }

::-moz-selection { color: inherit; background: var(--main-accent-color); }
::selection { color: inherit; background: var(--main-accent-color); }

input[type=text], input[type=password] { font-family: Verdana, sans-serif; font-weight: 600; font-size: .85em; }

input[type=submit],       .fakeButt { border: 0px none; border-radius: .2em; background: cyan; color: var(--main-bg-color); font-size: .7em; transition: font-weight .2s, color .2s, background .2s; font-family: 'Source Code Pro', monospace, sans-serif; font-weight: 700; cursor: pointer; padding: .1em .3em; text-shadow: none; }
input[type=submit]:hover, .fakeButt:hover { background: var(--main-text-color); color: var(--main-bg-color); font-weight: 300; }

.main .gallery, .main .gallerylike {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .8rem; margin: .8rem -2rem;
}
.main .gallery + h1        , .main .gallerylike + h1        ,
.main .gallery + p         , .main .gallerylike + p         ,
.main .gallery + h2        , .main .gallerylike + h2        ,
.main .gallery + h3        , .main .gallerylike + h3        ,
.main .gallery + blockquote, .main .gallerylike + blockquote,
.main .gallery + h4        , .main .gallerylike + h4 ,

.main h1         + .gallery, .main h1         + .gallerylike, 
.main p          + .gallery, .main p          + .gallerylike, 
.main h2         + .gallery, .main h2         + .gallerylike, 
.main h3         + .gallery, .main h3         + .gallerylike, 
.main blockquote + .gallery, .main blockquote + .gallerylike, 
.main h4         + .gallery, .main h4         + .gallerylike { margin-top: 3rem !important; }
.main .gallerylike a, .main .gallerylike a:hover { border-bottom-width: 0; }
.main .gallery img, .main .gallerylike img {
  max-height: 19em; width: auto; margin: 0; flex: 1 1 auto; object-fit: cover; object-position: 50% 50%;
  cursor: pointer; position: relative; transition: transform .1s, box-shadow .1s; box-shadow: 0 0 0 #000;
}
.main .gallery img:hover, .main .gallerylike img:hover { transform: scale(1.1); z-index:9999; transition: transform .4s, box-shadow .4s; box-shadow: 0 0 3em #000;}
.main .gallery.full img,  .main .gallerylike.full img  { flex: 1 1 100%; height: auto !important; max-height: none !important; max-width: 100% !important; }
.main .gallery.short img, .main .gallerylike.short img { max-height: 12em; }
.main .gallery.tall img,  .main .gallerylike.tall img  { max-height: 26em; }

@media (max-width: 600px) {
  .main .gallery img, .main .gallerylike img  { flex: 1 1 100%; height: auto !important; max-height: none !important; max-width: 100% !important; margin: 0 -2rem; }
}

.main .show p, .main .show p+ul { margin-top: 0 !important; }
.main .show ul { padding: 0; margin-left: 0; }
.main .show ul li { display: inline-block; vertical-align: baseline; width: 15em; margin: .5em .5em .5em 0; color: var(--main-bg-color); background-color: var(--main-text-color); transition: font-weight .2s, color .2s, background .2s, border .2s; -moz-osx-font-smoothing:auto; }
.main .show.bigThumb ul li { width: 20em; }
.main .show.topify ul li { vertical-align: top; }
.main .show ul li:hover { background-color: var(--main-accent-color); }
.main .show ul li a       { color: var(--main-bg-color); border-bottom-width: 0; display: block; padding: .5em 1.25em; text-align: right; }
.main .show ul li a:hover { color: var(--main-rebg-color); font-weight: 700; border-bottom-width: 0; }
.main .show ul li a       strong { font-weight: 700; }
.main .show ul li a:hover strong { }
.main .show ul li a img { margin-top: .75rem; }
.main .show ul li strong:after { content:"\a"; white-space: pre; }


@media (max-width: 930px) {
  html { font-size: 14px; }
  .menu { float:none; flex-direction: column; align-items: stretch; }
  .menu li, .menu li a { display: block; }
  .article, .page { padding: 0 3rem; }
  h2.articletitle, .page h2, .main h1 { margin: 0 -2.7rem; }
  /*.main img { max-width: calc(100% + 4rem); margin: 0 -2rem; }*/
  /*.main .gallery { margin: .8rem -2rem; }*/
}

.showStack {                      background-color: #3aace2 !important; padding: calc(inherit + .4em) }
.showStack >* {                   background-color: #3a47e2 !important; padding: calc(inherit + .4em) }
.showStack >* >* {                background-color: #923ae2 !important; padding: calc(inherit + .4em) }
.showStack >* >* >* {             background-color: #e23ace !important; padding: calc(inherit + .4em) }
.showStack >* >* >* >* {          background-color: #e23a69 !important; padding: calc(inherit + .4em) }
.showStack >* >* >* >* >* {       background-color: #e2703a !important; padding: calc(inherit + .4em) }
.showStack >* >* >* >* >* >* {    background-color: #e2d53a !important; padding: calc(inherit + .4em) }
.showStack >* >* >* >* >* >* >* { background-color: #8ae23a !important; padding: calc(inherit + .4em) }


.throb {
  animation: throb1 .5s linear 0s infinite alternate;
  -webkit-animation: throb1 .7s linear 0s infinite alternate;
}
.throb strong {
  animation: throb2 .5s linear 0s infinite alternate;
  -webkit-animation: throb2 .7s linear 0s infinite alternate;
}
@keyframes throb1 { from { } to { font-weight: 700; } }
@-webkit-keyframes throb1 { from { } to { font-weight: 700; } }
@keyframes throb2 { from { font-weight: 700; } to { } }
@-webkit-keyframes throb2 { from { font-weight: 700; } to { } }
