/* just-styles.css for cellardoor.bauska.org */
 @import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

/* horizontal line */
  hr { 
    display: block;
    width: 100%;  /* 50% */
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 25px;
    margin-right: auto;
    border-style: inset;
    border-width: 2px;
    background-color: red;
    color: red;
    height: 2px;
  }

/* unordered list styles */
ul.list-styles {
  list-style-type: circle;
  margin-left: 20px;
}
ul.list-styles2 {
  list-style-type: square;
  margin-left: 20px;
}
ul.list-styles3 {
  list-style-type: disc;
  margin-left: 20px;
}

/* body */
html, body {
  background-attachment: fixed;
  background-size: cover;
  min-height: 100%;
  padding: 30px; 
  font-family: 'Poppins', Inter, Bahnschrift, "Helvetica Neue", helvetica, arial, sans-serif; 
  background: url('./images/skyscraper.webp');
}

/* flip/drop down shingle menu/container */
#container {
  position: relative;
  width: 780px;  /* 710px; menu width - 745 - then 675 - 6 columns */
}
#container:after {
  content: "";
  display: block;
  clear: both;
  height: 0;
}
#menu {
  position: relative;
  float: left;
  width: 100%;  /* 100% */
  padding: 0 20px;
  border-radius: 3px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.5), inset 0 -1px 0 rgba(0,0,0,.15), 0 1px 3px rgba(0,0,0,.15);
  background: #ccc;  /* light gray */
}
#menu, #menu ul {
  list-style: none;
}
#menu > li {
  float: left;
  position: relative;
  border-right: 1px solid rgba(0,0,0,.1);
  box-shadow: 1px 0 0 rgba(255,255,255,.25);
  perspective: 1430px;  /* 1430, 1385, 1430, 1370, 1340px, 1400px */
}
#menu > li:first-child {
  border-left: 1px solid rgba(255,255,255,.25);
  box-shadow: -1px 0 0 rgba(0,0,0,.1), 1px 0 0 rgba(255,255,255,.25);
}
#menu a {
  display: block;
  position: relative;
  z-index: 10;
  padding: 13px 20px 13px 20px;
  text-decoration: none;
  color: rgba(75,75,75,1);  /* very dark gray */
  line-height: 1;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -.05em;
  background: transparent;		
  text-shadow: 0 1px 1px rgba(255,255,255,.9);  /* white */
  transition: all .25s ease-in-out;
}
#menu > li:hover > a {
  background: #333;  /* very dark gray */
  color: rgba(0,223,252,1);  /* cyan */
  text-shadow: none;
}
#menu li ul  {
  position: absolute;
  left: 0;
  z-index: 1;
  width: 240px;  /* 240px; drop down width each 200px */
  padding: 0;
  opacity: 0;
  visibility: hidden;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  background: transparent;
  overflow: hidden;
  transform-origin: 50% 0%;
}
#menu li:hover ul {
  padding: 15px 0;
  background: #333;  /* very dark gray */
  opacity: 1;
  visibility: visible;
  box-shadow: 1px 1px 7px rgba(0,0,0,.5);   /* black */
  animation-name: swingdown;
  animation-duration: 1s;
  animation-timing-function: ease;
}
@keyframes swingdown {
  0% {
    opacity: .99999;
    transform: rotateX(90deg);
  }
  30% {			
  transform: rotateX(-20deg) rotateY(5deg);
    animation-timing-function: ease-in-out;
  }
  65% {
  transform: rotateX(20deg) rotateY(-3deg);
    animation-timing-function: ease-in-out;
  }
  100% {
  transform: rotateX(0);
    animation-timing-function: ease-in-out;
  }
}

#menu li li a {
  padding-left: 15px;
  font-weight: 700;  /* 400 */
  color: #ddd;  /* very light gray */
  text-shadow: none;
  border-top: dotted 1px transparent;
  border-bottom: dotted 1px transparent;
  transition: all .15s linear;
}
#menu li li a:hover {
  color: rgba(0,223,252,1);  /* cyan */
  border-top: dotted 1px rgba(255,255,255,.15);
  border-bottom: dotted 1px rgba(255,255,255,.15);
  background: rgba(0,223,252,.02);  /* cyan */
}

/* pictures (images) */
img {
  display: block;
  margin-left: auto;
  margin-right: auto; 
}
.displayed {
  display: block;
  margin: 0 auto; 
}
.border {
  border-width: 1px;
  border-color: #778899;  /* dark grayish blue */
  border-style: solid; 
}

/* summary & details */
details {
  font-size: 12.5px;
  font-family: Inter, Bahnschrift, Calibri, sans-serif;
  width: 920px;
}
details > summary {
  padding: 2px 6px;
  width: 15em;
  line-height:120%;
  background-color: #eee; /* very light gray */
  color: #000;  /* black */
  border: none;
  box-shadow: 3px 3px 4px #000000;  /* black */
  cursor: pointer;
}
ul li {
  line-height:160%;
}
details > p {
  border-radius: 0 0 5px 5px;  /* 0 0 10 10 */
  background-color: #ffffff;  /* white */
  padding: 2px 6px;
  margin: 0;
  box-shadow: 3px 3px 4px #800080;  /* dark magenta */
}
details > ul {
  border-radius: 0 0 5px 5px;
  background-color: #ffffff;  /* white */
  padding: 2px 6px;
  margin: 0;
  color: #800080;  /* dark magenta */
  box-shadow: 3px 3px 4px #00008b;  /* d blue */
}
details[open] > summary {
  color: #800080;  /* dark magenta */
  background-color: #eeeeee;  /* light gray */
}

// added from html
div.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: #d3d3d3;  /* light gray */
  padding: 0px;
  font-size: 20px;
}

/* social buttons wrapper, button, icon and 'a' */
.wrapper {
  display: inline-flex;
}
.wrapper .icon {
  margin: 0 20px;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 2;
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .icon span {
  display: block;
  height: 60px;
  width: 60px;
  background: #fff;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0px 10px 10px rgba(0,0,0,0.1);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .icon span i {
  line-height: 60px;
  font-size: 25px;
}
.wrapper .icon .tooltip {
  position: absolute;
  top: 0;
  z-index: 1;
  background: #fff;
  color: #fff;
  padding: 10px 18px;
  font-size: 20px;
  font-weight: 500;
  border-radius: 25px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0px 10px 10px rgba(0,0,0,0.1);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .icon:hover .tooltip {
  top: -70px;
  opacity: 1;
  pointer-events: auto;
}

.icon .tooltip:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  background: #fff;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%) rotate(45deg);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .icon:hover span {
  color: #fff;
}
.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0,0,0,0.4);
}
.wrapper .facebook:hover span,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip:before {
  background: #1877f2;  /* vivid blue */
}
.wrapper .youtube:hover span,
.wrapper .youtube:hover .tooltip,
.wrapper .youtube:hover .tooltip:before {
  background: #ff0000;  /* pure red */
}
.wrapper .twitter:hover span,
.wrapper .twitter:hover .tooltip,
.wrapper .twitter:hover .tooltip:before {
  background: #1da1f2;  /* vivid blue */
}
.wrapper .snapchat:hover span,
.wrapper .snapchat:hover .tooltip,
.wrapper .snapchat:hover .tooltip:before {
  background: #fffc00;  /* pure yellow */
}
.wrapper .github:hover span,
.wrapper .github:hover .tooltip,
.wrapper .github:hover .tooltip:before {
  background: #171515;  /* very dark (mostly black) red */
}
.wrapper .codepen:hover span,
.wrapper .codepen:hover .tooltip,
.wrapper .codepen:hover .tooltip:before {
  background: #47cf73;  /* moderate cyan - lime green */
}
.wrapper .linkedin:hover span,
.wrapper .linkedin:hover .tooltip,
.wrapper .linkedin:hover .tooltip:before {
  background: #0077b5;  /* strong blue */
}
.wrapper .quora:hover span,
.wrapper .quora:hover .tooltip,
.wrapper .quora:hover .tooltip:before {
  background: #aa2200;  /* dark red */
}
.wrapper .amazon:hover span,
.wrapper .amazon:hover .tooltip,
.wrapper .amazon:hover .tooltip:before {
  background: #ff9900;  /* pure (or mostly pure) orange */
}
.wrapper .email:hover span,
.wrapper .email:hover .tooltip,
.wrapper .email:hover .tooltip:before {
  background: #90ee90;  /* very soft lime green - was: 228b22 dark lime green */
}

@media (min-width: 640px) { body {font-size:1rem;} } 
@media (min-width:960px) { body {font-size:1.2rem;} } 
@media (min-width:1100px) { body {font-size:1.5rem;} }
