/* Global Layout Set-up */
* { 
  box-sizing: border-box;
}
  
body {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  color: #222;
  background: #f7f5f0;
}
/* Link Styles */

a {
  text-decoration: none;
  color: #999;
}
a:hover {
  color: #6633ff;
}

.custom-list {
  list-style-position: inside;
  line-height: 1.4; /* gap between lines of paragraph */
}

.custom-list li {
  margin-bottom: 12px;  /*gap between items */
}
/* Popup Styles */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(54, 53, 53, 0.5);
  z-index: 9999;
}

.popup-content {
  display: flex;
  flex-direction:column;
  /* justify-content: center; */
  font-family: calibri;
  font-size: 16px;
  /* align-items: center; */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 50%;
  background-color: white;
  /* padding: 20px; */
  text-align: left;
  text-indent: -23px;
  padding: 0px 35px 10px;
  /* gap: 18px; */
}

.popup-close {
  font-family: calibri;
  font-size: 17px;
  position:absolute;
  top: 89%;
  right: 45%;
  cursor: pointer;
}

/* Section Styles */

h3{
  margin:0;
  padding:0;
}

h5{
  margin:0;
  padding:0;
  /* line-height:10px; */
}

.dropbtn {
  background-color: #04AA6D;
  color: white;
  padding: 10px;
  height: 35px;
  padding-top: 8px;
  font-family: calibri;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 3%;
  width: auto;
}

.dropdown {
  position: relative;
  text-align:center;
  vertical-align: middle;
  display: inline-block;
}

.dropdown-content {
  display: none;
  width:140%; left:50%; margin-left:-70%; /* submenu centered to main menu */
  position: absolute;
  border-radius: 2%;
  white-space: nowrap;
  font-family: calibri; 
  font-size: 14px;
  text-align: center;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  
}

.dropdown-content a {
  color: black;
  padding: 7px 14px;
  height: auto;
  text-decoration:none;
  display: block;
}

/* .dropdown-content a:hover {background-color: #ddd;} */
.dropdown-content a:hover {background-color: #2a6eeb;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #3e8e41;}
.dropbtn:hover  {background-color: #3e8e41;}

.divider { border-bottom: 1px solid #2a6eeb; 
  margin-top: -15px;
  border-radius: 0px;}

.divider1 { margin-left: -19px; }

.main-nav {
  width: 100%;
  background: black;
  font-family: calibri;
  /* min-height: 30px; */
  padding: 10px;
  /* position: fixed; */
  text-align: left;
}
.nav {
  display: flex;
  /* justify-content: space-around; */
   /* flex-wrap: nowrap; */
   /* align-items: center; */
  font-weight: 700;
  list-style-type: none;
  margin: auto;
  padding: 0;
}

.nav .name {
    display: block;
    font-size:22px;
    margin-right: auto;
    color: white;
}
.nav li{
  padding: 5px 10px 10px 10px;
  white-space: nowrap;
}

.dropbtn, 
.nav a {
  transition: all .5s;
    /* display: inline-block; */
  white-space: nowrap;  /* prevent text wrapping */
  width: auto; 
}
.nav a:hover {
  color: white
}

header {
  text-align: center;
  /* background: url('images/myimage.jpg') no-repeat ; */
  background-size:cover;
  overflow:hidden;
  padding-top: 62.4px;  /* 56px */
}
header {
  line-height: 1.5;
}
header .profile-image {
  margin-top: 50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid black;
  transition: all .5s;
}
header .profile-image:hover {
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
        -ms-filter: "FlipH";
}
.card .thumbnail{
  width:100%; 
}

.tag {
  background-color: #efefef;
  color: black;
  padding: 10px;
  border-radius: 5px;
  display: table;
  margin: 10px auto;
} 
.location {
  background-color: #222;
  color: yellow;
}
.card {
  margin: auto;
  text-indent: -23px;
  padding: 0px 60px 10px;
  max-width: 80%;
  font-family: calibri;
  display: inline-block;
  text-align: justify;
  background: #fff;
  border-bottom: 4px solid #ccc;
  border-radius: 6px;
  transition: all .5s;
}
.card:hover {
  border-color: #ff99ff;
}

hr.solid {
  border-top: 2px solid #bbb;
}

ul.skills {
  padding: 0;
  text-align: center;
}

.skills li {
  border-radius: 6px;
  display: inline-block;
  background: #ff9904;
  color: white;
  padding: 5px 10px;
  margin: 2px;
}

.skills li:nth-child(odd) {
  background: #0399ff;
}

footer {
  width: 100%;
  min-height: 30px;
  padding: 20px 0 40px 20px;
}

footer .copyright {
  top: -8px;
  font-size: .75em;
}

footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

footer ul li {
  display: inline-block;
}

a.social {
  display: inline-block;
  text-indent: -9999px;
  margin-left: 5px;
  width: 30px;
  height: 30px;
  background-size: 30px 30px;
  opacity: .4;
  transition: all .5s;
}
a.twitter {
  background-image: url(images/twitter.svg);
}
a.linkedin {
  background-image: url(images/linkedin.svg);
}
a.github {
  background-image: url(images/github.svg);
}
a.social:hover {
  opacity: 1;
}
.clearfix {
  clear: both;
}

/* Styles for larger screens */
@media screen and (min-width: 720px) {
  
  .flex {
      display: -ms-flexbox;      /* TWEENER - IE 10 */
      display: flex; 
      max-width: 2000px;
      -ms-flex-pack: distribute;
      justify-content: space-around;
      margin: 0 auto;
  }

  header {
    min-height: 470px;
  }

  .nav {
    max-width: 1200px;
    padding: 0 30px;
  }


  main {
    padding-top: 20px;
  }

  main p {
    line-height: 1.6em;
  }

  footer {
    font-size: 1.3em;
    max-width: 1200px;
    margin: 40px auto;
  }


}

