/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 2 version
*/

/*
Colors used

Text Color (Dark Gray): #2b2b2b;
Primary Color (Purple): #357b70;
Secondary Color (Orange): #e0b354;
 */

/*:root {*/
/* Colors */
/* Fonts & Text */
/* Buttons */
/* Padding Values */
/* Container Widths */
/*} */

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  background-color: #eeeeee;
}

h1 {
  font-size: 30px;
  font-weight: 700;
  color: #9d1a13;
  text-align: center;
}

h2 {
  font-size: 24px;
  font-weight: 700;
  color: #28282b;
}

h3 {
  font-size: 18px;
  font-weight: 700;
  color: #28282b;
}

a {
  color: #9d1a13;
  -webkit-transition: 0.5s opacity;
  transition: 0.5s opacity;
}

a:visited {
  color: #9d1a13;
}

a:hover {
  text-decoration: none;
  cursor: pointer;
  opacity: 0.8;
}

a:focus {
  text-decoration: none;
  cursor: pointer;
  opacity: 0.8;
}

a:active {
  color: #28282b;
}

.button {
  border: 2px solid #9d1a13;
  display: inline-block;
  font-family: inherit;
  /* background-color: #28282b; */
  color: #9d1a13 !important;
  text-decoration: none;
  padding: 10px;
  /* border-radius: 3px; */
  /* border-bottom: 2px solid rgba(0, 0, 0, 0.3); */
  -webkit-transition: 0.2s opacity;
  transition: 0.2s opacity;
  margin-right: 10px;
}

button {
  border: 2px solid #9d1a13;
  display: inline-block;
  font-family: inherit;
  /* background-color: #28282b; */
  color: #9d1a13 !important;
  text-decoration: none;
  padding: 10px;
  /* border-radius: 3px; */
  /* border-bottom: 2px solid rgba(0, 0, 0, 0.3); */
  -webkit-transition: 0.2s opacity;
  transition: 0.2s opacity;
  margin-right: 10px;
}

button:hover {
  cursor: pointer;
  opacity: 0.8;
}

button:focus {
  cursor: pointer;
  opacity: 0.8;
}

.button:hover {
  cursor: pointer;
  opacity: 0.8;
}

.button:focus {
  cursor: pointer;
  opacity: 0.8;
}

.case {
  margin-top: 10px;
}

.button_secondary {
  background-color: #e0b354;
  color: #2b2b2b;
}

/* Header Section */
.page-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 9;
  background-color: #dddddd;
  /* border-bottom: 1px solid #2b2b2b; */
}

.page-header__logo {
  max-width: 100%;
  height: auto;
}

.page-header__item {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 200px;
  flex: 0 1 200px;
}

.page-header .page-header__item:last-child {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  text-align: right;
}

/* Navigation Section */
.navigation-list {
  list-style-type: none;
}

.navigation-list li {
  display: inline-block;
  margin-left: 15px;
}

.navigation-list__item--active {
  text-decoration: none;
}

/* Profile Pic */
.profile {
  max-width: 700px;
  margin: 0 auto;
  padding: 90px 0;
  color: #28282b;
}

.profile__portrait {
  float: left;
  width: 250px;
  margin-right: 40px;
  border-radius: 50%;
}

.profile__greeting {
  text-align: left;
}

/* Header bar */
.header__bar {
  background-color: #9d1a13;
  width: 150px;
  height: 5px;
  margin: 20px auto 40px;
}

/* About Me Section */
.about-me {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  color: #28282b;
  padding: 20px 0;
}

.about-me__table {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-me__table {
  padding: 20px 0;
}

/* Container for skill bars */
.skills__container {
  background-color: #dddddd;
  padding: 5px 20px 20px 20px;
}

.container {
  width: 100%;
  /* Full width */
  background-color: #eeeeee;
  /* Grey background */
}

.skills {
  text-align: left;
  /* Right-align text */
  padding: 3px 10px;
  /* Add padding */
  color: #eeeeee;
  /* White text color */
  font-size: small;
  background-color: #9d1a13;
}

.html {
  width: 50%;
}

.css {
  width: 40%;
}

.js {
  width: 20%;
}

.react,
.angular {
  width: 10%;
}

.indesign {
  width: 90%;
}

.photoshop,
.illustrator {
  width: 80%;
}

/* CSS Animation */
@-webkit-keyframes color-change {
  0% {
    fill: #edc655;
  }

  50% {
    fill: #fcffad;
  }

  100% {
    fill: #f76414;
  }
}

@keyframes color-change {
  0% {
    fill: #edc655;
  }

  50% {
    fill: #fcffad;
  }

  100% {
    fill: #f76414;
  }
}

.sun {
  -webkit-animation: 4s color-change infinite alternate linear;
  animation: 4s color-change infinite alternate linear;
}

@-webkit-keyframes ring-color {
  0% {
    fill: #1A232C;
  }

  50% {
    fill: #425970;
  }

  100% {
    fill: #7e99b4;
  }
}

@keyframes ring-color {
  0% {
    fill: #1A232C;
  }

  50% {
    fill: #425970;
  }

  100% {
    fill: #7e99b4;
  }
}

.sun-ring {
  -webkit-animation: 6s ring-color infinite alternate linear;
  animation: 6s ring-color infinite alternate linear;
}

@-webkit-keyframes cloud-move {
  from {
    -webkit-transform: translate(0, 50px);
    transform: translate(0, 50px);
  }

  to {
    -webkit-transform: translate(200px, 50px);
    transform: translate(200px, 50px);
  }
}

@keyframes cloud-move {
  from {
    -webkit-transform: translate(0, 50px);
    transform: translate(0, 50px);
  }

  to {
    -webkit-transform: translate(200px, 50px);
    transform: translate(200px, 50px);
  }
}

.cloud-front {
  -webkit-animation: 30s cloud-move infinite alternate linear;
  animation: 30s cloud-move infinite alternate linear;
}

@-webkit-keyframes cloud-move-reverse {
  from {
    -webkit-transform: translate(446px, 48px);
    transform: translate(446px, 48px);
  }

  to {
    -webkit-transform: translate(100px, 48px);
    transform: translate(100px, 48px);
  }
}

@keyframes cloud-move-reverse {
  from {
    -webkit-transform: translate(446px, 48px);
    transform: translate(446px, 48px);
  }

  to {
    -webkit-transform: translate(100px, 48px);
    transform: translate(100px, 48px);
  }
}

.cloud-back {
  -webkit-animation: 34s cloud-move-reverse infinite alternate linear;
  animation: 34s cloud-move-reverse infinite alternate linear;
}

/* My Work Section */
.my-work {
  margin: 0 auto;
  padding: 20px;
  color: #28282b;
  text-align: center;
}

/* Grid Section on Work Page */

/* Start Grid Fallback */
.project-grid__item {
  display: inline-block;
  width: 25%;
  text-align: left;
}

/* End Grid Fallback */
@supports (display: grid) {
  .project-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
    margin: 0;
  }

  .project-grid__item {
    background-color: #dddddd;
    width: auto;
    min-height: auto;
    margin: 0;
    padding: 15px;
  }

  .project-image {
    width: 100%;
    margin-bottom: 15px;
  }

  /* .project-grid__item:last-child {
    grid-column: 3 / 3;
    grid-row: 2 / 3;
  } */
}

/* Contact Section */
.contact-me {
  /* max-width: 700px; */
  margin: 0 auto;
  text-align: center;
  padding: 20px 0 50px;
  color: #28282b;
  background-color: #dddddd;
}

.form-section {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.form-section {
  padding: 20px 0;
}

/* Footer */
.page-footer {
  clear: both;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  background-color: #dddddd;
  /* border-top: 1px solid #2b2b2b; */
}

.footer-icon {
  text-decoration: none;
  padding: 0 5px;
}

@media all and (max-width: 500px) {
  .project-grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}

@media all and (min-width: 500px) and (max-width: 750px) {
  .project-grid {
    -ms-grid-columns: 1fr 20px 1fr;
    grid-template-columns: 1fr 1fr;
  }
}

@media all and (max-width: 750px) {
  .project-grid {
    grid-gap: 10px;
  }

  /* .project-grid__item:last-child {
    grid-column: auto / auto;
    grid-row: auto / auto;
  } */
  h1 {
    font-size: 22px;
  }
}