/* Global Layout Set-up */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  color: #222;
  /*background: rgb(1,79,79);*/
  background: linear-gradient(34deg, rgb(79,79,79) 0%, rgb(222,222,222) 53%, rgb(184,184,184) 100%);
  background-repeat: no-repeat;
  background-attachment: fixed; !* Optional: keeps the background fixed during scroll *!*/
  height: 100vh;
}
/* Link Styles */

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


/* Section Styles */

.main-nav {
  width: 100%;
  background: black;
  min-height: 30px;
  padding: 10px;
  position: fixed;
  text-align: center;
}
.nav {
  display: flex;
  justify-content: space-around;
  font-weight: 700;
  list-style-type: none;
  margin: 0 auto;
  padding: 0;
}
.nav .name {
  display: none;
}
.nav li {
  padding: 5px 10px 10px 10px;
}
.nav a, footer h2 a{
  transition: all .5s;
}
.nav a:hover, footer h2 a:hover {
  color: white
}

.header {
  text-align: center;
  background: url('images/portland.jpg') no-repeat center 25% ;
  background-size: cover;
  overflow: hidden;
  padding-top: 20px;
  min-height: 200px;
}
.toparea {
  margin: 30px;
}
.headertwo {
  text-align: center;
  background: url('images/Portland2.jpg') no-repeat top center ;
  background-size: cover;
  overflow: hidden;
  padding-top: 60px;
}
.headerthree {
  text-align: center;
  background: url('images/Portland3.jpg') no-repeat top center ;
  background-size: cover;
  overflow: hidden;
  padding-top: 60px;
}
header {
  line-height: 1.5;
}
header .profile-image {
  margin-top: 20px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid white;
  transition: all .5s;
}
header .profile-image:hover {
  transform: scale(1.3) rotate(0deg);
}
header .profile-image:active {
  transform: scale(1.3) rotate(-20deg);
}
.tag {
  background-color: #efefef;
  color: black;
  padding: 10px;
  border-radius: 20%;
  display: table;
  margin: 10px auto;
  border-bottom: 4px solid #ccc;
  border-radius: 6px;
}
.tag:hover {
  border-color: #ADD8E6;
}
.location {
  background-color: #222;
  color: #0499ff;
}
.card {
  margin: 30px;
  padding: 20px 40px 40px;
  max-width: 500px;
  text-align: left;
  background: #fff;
  border-bottom: 4px solid #ccc;
  border-radius: 6px;
}
.card:hover {
  border-color: #ADD8E6;
  transform: scale(1.03);
}
img.resume-pic {
  margin-top: 1px;
  margin-left: 60px;
  margin-right: 60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid gray;
  transition: all .5s;
}
img.resume-pic:hover {
  transform: scale(1.3) rotate(0deg);
}
ul.skills {
  padding: 0;
  text-align: center;
}

.skills li {
  border-radius: 2px;
  display: inline-block;
  background: White;
  margin: 2px;
}
img.skills-pic {
  border: 2px solid gray;
  border-radius: 50%;
  height: 60px;
  width: 60px;
  border-bottom: 4px solid #ccc;
}
img.skills-pic:hover {
  border-color: #ADD8EE;
}

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

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

footer .copyright {
  top: -8px;
  margin-right: 20px;
  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: .5;
  transition: all .25s;
}
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;
}
/* === Recorded Activities Table Cleanup === */

/* Allow <main> to expand fully for wide tables */
main {
  max-width: none !important;
  width: 98% !important;
  padding: 1em 0 !important;
}

/* Disable any flex wrapper around the table */
.data-display {
  display: block !important;
}

/* Base table styling */
table {
  width: 95% !important;  
  margin: 1em auto !important;
  border-collapse: collapse;
}

/* Uniform cell styles */
table th,
table td {
  border: 1px solid #ccc;
  padding: 0.5em;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Column widths:
   1–8 (Date through Grocery): auto
   9 (Media/Game):  8%
   10 (Notes):     44%
   11 (DailyScore): 8%
*/
table th:nth-child(-n+8),
table td:nth-child(-n+8) {
  width: auto;
}

table th:nth-child(9),
table td:nth-child(9) {
  width: 8%;
}

table th:nth-child(10),
table td:nth-child(10) {
  width: 44%;
}

table th:nth-child(11),
table td:nth-child(11) {
  width: 8%;
}

/* ==== Final Table Tweaks ==== */

/* Let Notes wrap onto multiple lines */
table th:nth-child(10),
table td:nth-child(10) {
  /* keep its 44% width, but allow wrapping */
  white-space: normal !important;
}

/* Clamp Daily Score even tighter */
table th:nth-child(11),
table td:nth-child(11) {
  width: 5% !important;    /* shrink down */
}

/* Optionally adjust Media/Game (col 9) too */
table th:nth-child(9),
table td:nth-child(9) {
  width: 6% !important;
}

/* Let the rest auto-size */
table th:nth-child(-n+8),
table td:nth-child(-n+8) {
  width: auto !important;
}
