@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Raleway:wght@400;700&display=swap');

html, body {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  text-align: left;
  background-color: #FFFFFF;
  color: #435964;
  font-weight: 400;
  position: relative;
}
/*** Colors (Grab color codes from here)***/
.lightest_blue {
  color: #EBEFF2;
}
.light_blue {
  color: #AFBEC5;
}
.blue {
  color: #76919C;
}
.dark_blue {
  color: #435964;
}
.gray {
  color: #575457;
}
.orange {
  color: #FF8900;
}
.white {
  color: #FFFFFF;
}
/* Backgrounds */
.bg_1 {
  background-color: #EBEFF2;
}
.bg_2 { /* And pale orange just for fun */
  background: linear-gradient(#EBEFF2, #FFC076);
}
.bg_2 h1 {
  color: #76919C;
}
.bg_3 {
  background: linear-gradient(#FFC076, #76919C);
  color: #EBEFF2;
}
.bg_3 h1 {
  color: #FFFFFF;
}
.bg_4 { /** Add purple just for fun */
  background: linear-gradient(#76919C, #453657);
  color: #EBEFF2;
}
.bg_4 h1 {
  color: #FFFFFF;
}
.bg_5 {
  background: linear-gradient(#453657, #435);
  color: #FFFFFF;
}
.bg_5 h1 {
  color: #EBEFF2;
}
.bg_6 {
  background: linear-gradient(#435, #533);
  color: #EBEFF2;
}
.bg_6 h1 {
  color: #FFFFFF;
}
/*** ***/
::-moz-selection {
  color: #FFFFFF;
  background-color: #575457;
}
::selection {
  color: #FFFFFF;
  background-color: #575457;
}
h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 36px;
  color: #575457;
  text-align: center;
}
h2, .h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #76919C;
  text-align: center;
}
h5, .h5 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #435964;
  text-align: right;
}
h6, .h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #76919C;
  text-align: right;
}
a {
  color: #FF8900;
  text-decoration: none;
  cursor: pointer;
}
.btn {
  padding: 6px 25px;
  display: inline-block;
  margin-top: 10px;
  border-radius: 3px;
  font-size: calc(100% + 2px);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
  background:  #FF8900;
}
.btn:hover {
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
  background:  transparent;
}
.btn + .btn {
  margin-left: 15px;
}
li {
  line-height: 2;
}
img {
  display: inline-block;
}
hr {
  border: none;
  border-bottom: solid 1px #FFFFFF;
}
.container {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 50px;
  padding-right: 50px;
}
.clear_fix {
  clear: both;
}
.text_center {
  text-align: center;
}
.text_right {
  text-align: right;
}
.no-padding {
  padding: 0px 0px;
}
.padding_b, .padding_y {
  padding-bottom: 30px;
}
.padding_t, .padding_y {
  padding-top: 30px;
}
.padding_t_half {
  padding-top: 15px;
}
.padding_l, .padding_x {
  padding-left: 30px;
}
.padding_r, .padding_x {
  padding-right: 30px;
}
/** Nav **/
#nav {
  height: 100%;
}
nav {
  background-color:  #575457;
  height: 0;
  width: 100vw;
  left: 0;
  top: 0;
  padding-left: 50px;
  position: absolute;
  z-index: 3;
  padding-top: 0px;
  padding-bottom: 0px;
  -webkit-transition: padding 0.05s linear, height 0.4s linear;
  -moz-transition: padding 0.05s linear, height 0.4s linear;
  transition: padding 0.05s linear, height 0.4s linear;
}
#nav.closed nav div {
  opacity: 0;
  display: none;
}
#nav.open nav div {
  opacity: 1;
  -webkit-animation: fadeIn 1.5s ease;
  -moz-animation: fadeIn 1.5s ease;
  animation: fadeIn 1.5s ease;
}
@-webkit-keyframes fadeIn {
  0% {  display: none;  opacity: 0;  }
  20% { display: block; opacity: 0;  }
  100% {  opacity: 1;  }
}
@-moz-keyframes fadeIn {
  0% {  display: none;  opacity: 0;  }
  20% { display: block; opacity: 0;  }
  100% { opacity: 1;  }
}
@keyframes fadeIn {
  0% {  display: none;  opacity: 0;  }
  20% { display: block; opacity: 0; }
  100% {  opacity: 1;  }
}

nav a {
  color: #AFBEC5;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  text-align: center;
}
#nav_icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #FF8900;
  border: 1px solid #FFFFFF;
  right: 35px;
  top: 25px;
  position: absolute;
  z-index: 5;
}
#nav_icon:hover {
  cursor: pointer;
}
#nav_icon hr {
  width: 22px;
  -webkit-transition: transform 0.5s ease, top 2s ease;
  -moz-transition: transform 0.5s ease, top 2s ease;
  transition: transform 0.5s ease, top 2s ease;
}
#nav.closed #nav_icon::after {
  content: '';
  display: block;
  line-height: 0;
  width: 22px;
  border-bottom: solid 1px #FFFFFF;
  margin-left: auto;
  margin-right: auto;
}
#nav.open #nav_icon hr:first-child {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  position: relative;
  top: 8px;
  -webkit-transition: transform 0.7s ease, top 2s ease;
  -moz-transition: transform 0.7s ease, top 2s ease;
  transition: transform 0.7s ease, top 2s ease;
}
#nav.open #nav_icon hr:nth-child(2) {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: transform 0.7s ease;
  -moz-transition: transform 0.7s ease;
  transition: transform 0.7s ease;
}
#nav_icon hr:first-child {
  margin-top: 11px;
}
#nav.open nav {
  padding-top: 30px;
  padding-bottom: 30px;
  height: 100%;
  -webkit-transition: padding 0.5s linear, height 1s linear;
  -moz-transition: padding 0.5s linear, height 1s linear;
  transition: padding 0.5s linear, height 1s linear;
}
/** **/

/** Top Section **/
#spin_svg {
  min-height: 83px;
}
.spin {
  display: inline-block;
  -webkit-animation: spinX 0.5s ease;
  -moz-animation: spinX 0.5s ease;
  animation: spinX 0.5s ease;
}
@-webkit-keyframes spinX {
  0% {
    -webkit-transform: rotateX(0deg);
    -ms-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
  100% {
    -webkit-transform: rotateX(360deg);
    -ms-transform: rotateX(360deg);
    transform: rotateX(360deg);
  }
}
@keyframes spinX {
  0% {
    -webkit-transform: rotateX(0deg);
    -ms-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
  100% {
    -webkit-transform: rotateX(360deg);
    -ms-transform: rotateX(360deg);
    transform: rotateX(360deg);
  }
}
/** **/

/** Skills **/
#skills .container {
  position: static;
}
#skills h5 {
  width: 25%;
}
dt {
  text-align: right;
  margin-bottom: 30px;
  width: 25%;
  display: inline;
  float: left;
  color: #575457;
}
dd {
  margin-bottom: 30px;
  width: calc(75% - 10px);
  margin-left: 10px;
  display: inline;
  float: left;
  text-align: left;
}
.bar_chart hr {
  width: 0px;
  margin-left: 0;
}

dt#sports::after {
  content: " ";
  background: url("../svgs/sad_face.svg");
  background-size: contain;
  width: 20px;
  height: 20px;
  margin-left: 5px;
  display: inline-block;
  vertical-align: bottom;
}
/** **/
/** Portfolio **/
.slider {

}
.slides {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.slide {
  text-align: center;
  margin-bottom: 30px;
}
.slide.show {
  position: relative;
  z-index: 2;
}
.slide.hide {
  position: absolute;
  top: 20px;
  width: 100%;
  z-index: 0;
  right: -20px;
}
.slide.show + .slide.hide {
  z-index: 1;
}
.slide.hide .caption {
  opacity: 0;
}
.caption {
  display: block;
  width: 100%;
  margin-top: 60px;
}
.caption ul {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  display: flex;
  align-content: stretch;
  flex-wrap: wrap;
}
.caption ul li {
  text-align: left;
  display: flex;
  width: auto;
  flex-basis: 33.33333333%;
}
.slide img {
  width: auto;
  max-width: 100%;
  border-radius: 3px;
}
@media screen and (min-width: 570px) {
    .slide {
      text-align: right;
      max-width: 650px;
      margin-left: auto;
      margin-right: auto;
    }
    .caption {
      display: inline-block;
      width: 27%;
      text-align: right;
      margin-top: 15px;
      margin-bottom: 0px;
      float: left;
    }
    .caption ul {
      display: block;
    }
    .caption ul li {
      text-align: right;
      display: block;
      width: 100%;
    }
    .slide img {
      vertical-align: top;
      width: 68%;
      margin-left: 5%;
      float: right;
    }
}
@media screen and (min-width: 600px) {
  .caption {
    width: 22%;
  }
  .slide img {
    width: 73%;
  }
}
@media screen and (min-width: 600px) {
  .caption {
    width: 22%;
  }
  .slide img {
    width: 73%;
    margin-left: 3%;
  }
}
.pagination {
  margin-top: 60px;
}
.pagination:hover {
  cursor: pointer;
}
.pagination div {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
  background-color: #FFFFFF;
  opacity: 0.6;
}
.pagination div.active {
  opacity: 1;
}
/** **/
/** Interests **/
.tabs_nav {
  margin-bottom: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid #FF8900;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}
.tab_link {
  flex: 1 0 auto;
  box-sizing: border-box;
  position: relative;
}
.tab_link svg {
  height: 27px;
  stroke-width: 0px;
  stroke: rgba(255, 137, 0, 0.6);
  fill: rgba(255, 137, 0, 0.6);
}
svg#paw {
  stroke-width: 2px;
}
.tab_link:last-child {
  margin-right: 0;
}
.tab_link .active_tab {
  stroke: #ff8900;
  fill: #ff8900;
}
.tab_link:hover {
  cursor: pointer;
}
.tab_link img {
  max-height: 27px;
  max-width: 100%;
}
.tabs_content {
  position: relative;
}
.tab {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  text-align: left;
  line-height: 1.75;
}
.tab.show {
  opacity: 1;
  position: relative;
}
@media screen and (min-width: 650px) {
  .tabs_nav {
    margin-bottom: 30px;
  }
  .tab_link img {
    max-width: 100%;
    max-height: none;
  }
}
/** **/
/** Page border **/
#left_border, #right_border {
  position: absolute;
  top: 0;
  height: 100%;
  font-size: 0;
  z-index: 4;
}
#left_border {
  -webkit-background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 20px, #FFFFFF 21px, transparent 22px);
  -moz-background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 20px, #FFFFFF 21px, rgba(255, 255, 255, 0) 22px);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 20px, #FFFFFF 21px, rgba(255, 255, 255, 0) 22px);
  width: 32px;
  left: 0;
}
#right_border {
  -webkit-background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 11px, #FFFFFF 12px, rgba(255, 255, 255, 0) 13px);
  -moz-background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 11px, #FFFFFF 12px, rgba(255, 255, 255, 0) 13px);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 11px, #FFFFFF 12px, rgba(255, 255, 255, 0) 13px);
  width: 32px;
  right: 0;
}
#left_border img:nth-child(odd) {
  position: absolute;
  left: 9px;
  top: 0px;
  -webkit-transform: scale(0.3);
  -ms-transform: scale(0.3);
  transform: scale(0.3);
}
#left_border img:nth-child(even) {
  position: absolute;
  left: 21px;
  top: 15px;
  -webkit-transform: scale(0.3) rotateY(180deg);
  -ms-transform: scale(0.3) rotateY(180deg);
  transform: scale(0.3) rotateY(180deg);

}
#right_border img:nth-child(odd) {
  position: absolute;
  right: 21px;
  top: 0px;
  -webkit-transform: scale(0.3);
  -ms-transform: scale(0.3);
  transform: scale(0.3);
}
#right_border img:nth-child(even) {
  position: absolute;
  right: 9px;
  top: 15px;
  -webkit-transform: scale(0.3) rotateY(180deg);
  -ms-transform: scale(0.3) rotateY(180deg);
  transform: scale(0.3) rotateY(180deg);
}
#left_border img.bloom:nth-child(odd), #right_border img.bloom:nth-child(odd) {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}
#left_border img.bloom:nth-child(even), #right_border img.bloom:nth-child(even) {
  -webkit-transform: scale(1) rotateY(180deg);
  -ms-transform: scale(1) rotateY(180deg);
  transform: scale(1) rotateY(180deg);
}
/** Contact */
#email_me {
  position: fixed;
  bottom: 15px;
  right: 35px;
  z-index: 100;
}
