/* These styles affect all pages on the site. */
    /* palette:
        peach - #FFCBA4
        red - #A11B32
        melon - #FFA7A5
        blue - #383B53
        rich black - #010B13
    */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  height: 100%;
}
body {
    background-color: peachpuff;
    color: #010B13;
  font-family: Courier, monospace; 
  font-size: 14px; 
  line-height: 1;
  margin: 0; 
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  position: relative;
  background: linear-gradient(rgba(255, 218, 185, 0.7), rgba(255, 218, 185, 0.7)), url('images/bgTile.JPG');
  text-align: center;
  overflow-x: hidden;
}


/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
h1 {
  font-size: 5rem;
  color: #a11b32;
}
h2 {
  font-size: 2.5rem;
}
.constuction {
  background-color: #ffc8008c;
  margin: 0em 1em 1em 1em;
  border: 15px double #000;
  border-width: 0 15px;
  padding: 0.5em 1em;
}
#constuction img { width: 400px; }
h3 {
  font-size: 2rem;
}


/* Paragraph Styles */
p, li { 
    font-size: 1.25rem;
    line-height: 1.75;
    margin-bottom: 1em;
    margin-top: 0;
}
ul {
    list-style-type: disc;
    padding-inline-start: 2em;
    text-align: left;
}
li {
    display: list-item;
    list-style-position: outside;
    margin-bottom: 1em;
}

/* links */
a { 
    color: #a11b32; 
    font-weight: 700; 
    text-decoration: none; 
    transition: all 0.25s ease-in-out; 
}
a:hover, 
a:active, 
a:focus { 
    background-color: #ffefe1; 
    color: #a11b32; 
}
a:focus { 
    text-decoration: underline; 
}
    /* links with additional info for accessibility */
a.info, button.info {
    position: relative;   
}
a.info span.linkInfo, button.info span.linkInfo, label.linkInfo {
    background-color: #FFA7A5;
    color: #010B13;
    font-size: 80%;
    font-style: italic;
    font-weight: normal;
    /*left: 20%;*/
    right: 0;
    min-width: 20em;
    opacity: 0;
    padding: 0.25rem;
    position: absolute;
    text-align: center;
    text-transform: none;
    top: 90%;    
    transition: all 0.25s ease-in-out;
    visibility: hidden;
    width: 0;
    z-index: 2;
}
a.info:hover span.linkInfo,
a.info:active span.linkInfo,
a.info:focus span.linkInfo {
    visibility: visible;
    opacity: 1;
}
a:disabled, a[disabled], button:disabled, button[disabled] {
    cursor: not-allowed;
    color: #777;
    font-style: italic;
    background-color: #eee;
}


/* Font effects */
strong { 
    font-weight: 600; 
}
em { 
    font-style: italic; 
}
small { 
    font-size: 85%; 
}
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.lead { font-size: 150%; }



/* Images and figures */
img {
  display: block;
  height: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}


/* sections */
footer {
  padding: 2em 1em 1em;
  text-align: center;
}
footer p {
  font-size: 0.9rem;
  margin-bottom: 0.5em;
}

hr {
  margin: 1em auto 2em;
  width: 5em;
  border: 0;
  border-top: 5px solid #a11b32;
}


/* navigation */
    /* Header Navigation */
nav ul {
  list-style-type: none;
  padding-top: 1em;
  padding-bottom: 1em;
  padding-inline-start: 0;
  text-align: center;
  margin-bottom: 0;
}
nav li {
  display: inline-block;
  margin-left: 1em;
  margin-right: 1em;
}
nav li a {
  padding: 0.5em;
}




/* wells */
.well {
    background-color: rgb(255 239 225 / 80%);
    border: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    height: 100%;
    padding: 1rem;
    transition: box-shadow .333s cubic-bezier(0.8, 0, 0.24, 1);
}

.well:hover,
.well:active,
.well:focus {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.1);
}
.well-body { 
    padding: 1em;
}

#scroller {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 1em;
}
#scroller .well {
    display: flex;
    flex-flow: column nowrap;
    height: auto;
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 2em;
    overflow: hidden;
    opacity: 1;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease-in-out;
    width: calc(33.33333% - 2em);
    border: 1px solid rgb(161 27 50 / 40%);
}
.well .btn {
    margin: auto 1em 1em;
    font-weight: 700;
}

/* buttons */
.btn {
    background-color: #a11b32;
    border: 2px solid #a11b32;
    /* border-radius: 5em; */
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.75em 1em; 
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s ease-in-out;
}
.btn:focus {
    background-color: #ffefff;
}
.btn:active,
.btn.active {
    background-color: #a11b32;
    color: #fff;
}



/* section specific */
section { padding: 1em; }
#haters {
    background-color: rgba(255,255,255,0.5);
    border: 3em solid #a11b32;
    border-width: 3em 0;
    padding: 2em;
}

#elfs {
    padding-top: 3em;
    padding-bottom: 3em;
}
#elfs .col-8 ul {
    margin-bottom: 3em;
}
#elfs .col-8 ul li {
    margin-bottom: 0;
}
#exitHaters {
    clear: both;
    padding-top: 1em;
}
#whomst {
    background-color: rgb(255 167 165 / 75%);
    padding: 2em 1em;
}
aside {
    background-color: #383B53;
    color: #fff;
    padding: 2em;
}
aside h3 {
    margin-top: 0;
}
aside a {
    color: #FFA7A5;
}
aside ul {
    margin-bottom: 1em;
    margin-top: 1em;
}
aside p, aside li {
    font-size: 1rem;
    margin-bottom: 0;
}
#beloved {
    background-color: rgb(56 59 83 / 80%);
    color: #fff;
    padding: 2em;
}
.attribution {
    background-color: rgb(255 218 185 / 85%);
    color: #010B13;
    font-style: italic;
    padding: 0.5rem;
}



/* rows and columns */
.row {
    width: 100%;
    clear: both;
}
    /* clearfix */
.row:after { 
    visibility: hidden; display: block; font-size: 0; 
    content: " "; clear: both; height: 0; 
}
[class^="col-"] {
    float: left;
    padding-left: 1em;
    padding-right: 1em;
    display: inline-block;
}
@media (min-width: 768px) {
    .col-8 { width: 66.666666%; }
    .col-4 { width: 33.333333%; }
    /* .row { margin-left: -1em; margin-right: -1em; } */
}


/* speechbubble */
.speechbub {
  position: relative;
}
.speechword {
    background-color: #baf0f9;
    border: 10px solid #0a5461;
    border-radius: 50%;
    display: inline-block;
    padding: 2em;
    font-weight: 700;
    position: absolute;
    z-index: 2;
}
.speechword:after {
    content: ' ';
    background-color: #baf0f9;
    height: 80px;
    width: 40px;
    position: absolute;
    bottom: -50px;
    clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
    right: 50%;
    transform: rotate(45deg);
}
.speechword:before {
    content: ' ';
    background-color: #0a5461;
    height: 90px;
    width: 60px;
    position: absolute;
    bottom: -60px;
    right: calc(50% - 5px);
    clip-path: polygon(30% 50%, 50% 100%, 100% 0%);
    transform: rotate(45deg);
}



/* animations */
#spinner {
  text-align: center;
  animation-name: spin, depth;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 6s;
}
@keyframes spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(-360deg); }
}
@keyframes depth {
  0% { text-shadow: 0 0 black; }
  25% { text-shadow: 1px 0 black, 2px 0 black, 3px 0 black, 4px 0 black, 5px 0 black; }
  50% { text-shadow: 0 0 black; }
  75% { text-shadow: -1px 0 black, -2px 0 black, -3px 0 black, -4px 0 black, -5px 0 black; }
  100% { text-shadow: 0 0 black; }
}
#spinner:hover, #marquee:hover span {
  animation-play-state: paused;
}

#marquee {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}
#marquee span {
  display: inline-block;
  animation: marquee 10s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(-110%);
  }
}

.stopAnim * {
  /*CSS transitions*/
  -o-transition-property: none !important;
  -moz-transition-property: none !important;
  -ms-transition-property: none !important;
  -webkit-transition-property: none !important;
  transition-property: none !important;
  /*CSS transforms*/
  -o-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -webkit-transform: none !important;
  transform: none !important;
  /*CSS animations*/
  -webkit-animation: none !important;
  -moz-animation: none !important;
  -o-animation: none !important;
  -ms-animation: none !important;
  animation: none !important;
}



/* media queries */
@media (max-width: 539px) {
    h2.constuction { font-size: 1.25rem; }
    .speechword { position: relative; }
    .speechword:before, .speechword:after {
        transform: rotate(0deg);
        clip-path: polygon(100% 0%, 50% 100%, 0 0%)
    }
    .speechword:before {
        height: 60px;
        width: 50px;
    }
}

@media (max-width: 1199px) {
    #scroller .well { width: calc(50% - 2em); }
}
@media (max-width: 768px) {
    #scroller .well { width: 100%; }
    a.info span.linkInfo, button.info span.linkInfo, label.linkInfo { min-width: 12em; }
    nav li {
        display: block;
    }
}
@media (min-width: 992px) {
    .text-left-lg { text-align: left; }
    #antiHaters {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-flow: row-reverse nowrap;
    }
    #antiHaters_body, #antiHaters_img {
        flex: 1;
    }
    #antiHaters_body h3 { font-style: italic; }
    #antiHaters_body p {
        margin-bottom: 0;
    }
    #antiHaters_img {
        position: relative;
    }
    #antiHaters img {
        margin-left: 1em;
        height: auto;
        position: absolute;
    }
    #exitHaters { margin-top: 1em; }
}


/* .speechbub { display: none; } */


/* utility */
.hidden { display: none!important; }