/* 
 * business-card.css
 * Copyright © 2014-20 David Lubkin. All rights reserved. 
 */

body {
  background-color: #EEEEEE;
  margin: 1em;
  max-width: 40em;
  height: auto;
  width: auto;
}

* {
  color: #FFFFFF;
  font-family: Candara, Arial, Helvetica, sans-serif;
}

article {
  background-color: #251EA1;
  background-image: -moz-linear-gradient(left, #291FCB, #251EA1);
  border-width: 2px;
  padding: 1em 3em 3em 3em;
  border-radius: 10px;
  box-shadow: 3px 3px 0 0 rgba(72,72,72,1);
}

h1 {
  font-size: 170%;
  font-weight: normal;
  padding-top: 0;
  padding-bottom: 0.2em;
  margin-bottom: 0;
  margin-top: 0;
}

h1 ~ img {
  display: none;
}

h1:hover ~ img {
  display: inline;
  right: 0.75em;
  top: 2em;
  position: absolute;
  border-width: 2px;
  border-radius: 10px;
}

h2 {
  display: none;
}

ul {
  margin-left: 0;
  padding-left: 0;
}

.roles {
  background-color: grey;
  margin-top: 0;
  margin-right: 0;
  height: 2em;
  margin-left: 3em;
  padding-left: 2em;
  width: 85%;
  overflow: hidden;
  color: #291FCB;
}

.roles ul {
  display: inline;
  padding-left: 1em;
}

.roles ul li {
  color: #291FCB; 
  display: inline;
  font-size: 140%;
  font-weight: bold;
}

.roles ul li:not(:first-child):before {
  content: "   •   ";
}

.competencies {
  margin: 0;
  margin-top: 1em;
  margin-bottom: 2em;
  padding: 0;
  clear: both;
}

.tech ul {
  font-size: 70%;
  list-style-type: none;
  padding-left: 0.2em;
  padding-right: 0.2em;
  text-transform: uppercase;
  float: left;
  width: 10em;
  margin: 0;
}

.traits ul {
  list-style-position: inside;
  list-style-image: url('resume-bullet.svg');
  left: 33%;
  margin: 0;
}

.traits * {
  padding-left: 0.2em;
  padding-right: 0.2em;
}

.social {
  width: 19em;
}

.contact {
  width: 15em;
}

address {
  clear: both;
  font-style: normal;
  margin-top: 1.2em;
  margin-bottom: 1em;
}

.social {
  float: left;
}

.contact {
  float: right;
  text-align: right;
}

.social ul {
}

.social * {
  display: inline;
}

.social li:not(:first-child):before {
  content: "   •   ";
}

:link {
  text-decoration: none;
}

:link:hover, :visited:hover {
  color: yellow;
  text-decoration: underline;
}
