/* My own CSS */

body {
  /* font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", Helvetica, */
  /* Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; */
  font-family: "Space Grotesk";
  background-image: url("../media/background-image.png"),
    linear-gradient(to right, #fcb3bf21, #fcb3bf21);
  background-size: 110%;
  background-position: 0 10%;
}

.ctn {
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}

.highlight {
  color: #d90a2c;
}

.main-logo {
  max-height: 44px;
  display: flex;
}
#header {
  transition: all cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.main-section {
  padding-top: 100px;
  padding-bottom: 55px;
  padding-left: 30px;
  padding-right: 30px;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: 100%;
}
.main-section-front {
  position: relative;
  z-index: 100;
}
.main-section-background {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -100;
  max-width: 100%;
}
.main-section h1 {
  font-size: 50px;
}

.main-section-head h1 {
  font-weight: 700;
}

.main-section-info {
  padding-top: 20px;
  display: flex;
}

.main-section-info-element {
  width: 100px;
  border-top: 1px solid rgba(23, 22, 26, 0.2);
  padding-top: 25px;
  margin-right: 25px;
}
#typewriter a {
  color: #000;
}

.navbar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}
.left-nav {
  display: flex;
  justify-content: flex-start;
  order: 0;
}
.middle-nav {
  display: flex;
  justify-content: center;
  flex: 1;
  order: 1;
}
.middle-nav ul {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}
.middle-nav li {
  cursor: pointer;
  align-items: center;
  display: flex;
  padding: 10px 20px 10px 20px;
  transition: all cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}
.middle-nav li a {
  text-decoration: none;
  color: #000;
}
.middle-nav ul:hover li {
  opacity: 0.5;
}
.middle-nav ul li:hover {
  color: #d90a2c;
  opacity: 1;
}
.right-nav {
  display: flex;
  justify-content: flex-end;
  order: 2;
  padding-left: 15px;
  padding-right: 15px;
}
.contact-hire {
  padding: 0;
  margin: 0;
}
.branding {
  display: flex;
  align-items: center;
}
.logo {
  padding: 10px;
}

.right-nav li {
  background: #17161a;
  color: #fff;
  border-radius: 6px;
  transition: all cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}
.right-nav li a {
  color: #fff;
  text-decoration: none;
}
.right-nav li:hover {
  color: #fff;
  background: #d90a2c;
}

.about-me {
  background-image: url("../media/background-image.png"),
    linear-gradient(to right, #17161a, #17161a);
  background-size: 100%;
  color: #fff;
  display: flex;
  justify-content: center;
}

.about-head {
  display: flex;
  align-items: center;
  padding: 20px;
  flex-direction: column;
  max-width: 1000px;
}
.about-head h1 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
img.about-pic {
  height: 150px;
  border-radius: 100px;
  margin-right: 30px;
}
.about-p {
  display: flex;
  align-items: center;
  align-self: start;
  font-weight: 500;
}
.list-head {
  padding: 50px 0 20px 0;
  text-align: center;
}
.about-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.about-list h1 {
  border: 0;
}
.about-list-element img {
  height: 100px;
}
.about-list-element h1 {
  padding-top: 10px;
}
.about-list-element {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  margin-right: 0;
  padding: 10px;
  transition: all cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}
.about-list-element:hover {
  background: #2b2930;
}

.projects-list-section {
  display: flex;
  justify-content: center;
  width: 100%;
}

.projects-list-pc {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  max-width: 1000px;
  padding: 25px 0;
}

a.list-item {
  color: #000;
  margin: 2px;
  border: 1px solid transparent;
  border-radius: 5px;
  text-decoration: inherit;
  padding: 4px 6px;
  transition: all cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

a.list-item:hover {
  color: #d90a2c;
  border: 1px solid #17161a;
}

.projects-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.projects-head {
  padding-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects-head h5 {
  font-weight: 700 !important;
}

.projects-head p {
  font-weight: 500;
}
.projects-head h1 {
  font-weight: 700;
  transition: all cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}
.projects-head h1:hover {
  letter-spacing: 2px;
}
.projects-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.projects-list-element {
  padding: 20px 25px;
  /* width: 400px; */
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
}

.projects-list-element img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.199);
  cursor: pointer;
  transition: all cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}
.project-button {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center
}
.projects-list-element:hover img{
  opacity: 0.5;
}
.projects-list-element:hover div.project-button{
  opacity: 1;
}
.project-text {
  background-color: #d90a2c;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}

.project-view ul {
  display: flex;
}

.project-view img {
  height: 20px;
  width: 20px;
}

.contact-footer-section {
  background-image: url("../media/background-image.png"),
    linear-gradient(to right, #17161a, #17161a);

  background-size: cover;
  color: #fff;
}

.contact-heading {
  padding: 10px;
  text-align: center;
}
.contact-row {
  padding: 10px;
  display: flex;
  justify-content: center;
}

.contact-options {
  display: flex;
  justify-content: center;
}
.contact-options .contact-row {
  max-width: 800px;
  justify-content: space-evenly;
}
.contact-options a {
  display: flex;
  flex-flow: column;
  text-align: center;
  text-decoration: none;
  color: #fff;
}

.contact-row-element img {
  /* width: 100%; */
  /* max-width: 30px; */
  height: 50px;
  margin: 5px 10px;
  /* height: 30px; */
  /* height: 100%;
  max-height: 30px; */
}
.contact-row-element a {
  transition: all cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}
.contact-row-element a:hover {
  opacity: 0.6;
}

.footer {
  background-color: #17161a;
  color: #fff;
}
.footer p {
  margin-bottom: 0;
}

.copyright {
  display: flex;
  justify-content: space-between;
}

.footer-extra-height {
  height: 50px;
}

/* HAMBURGER */
.hamburger {
  padding: 15px 15px;
  height: 100%;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}
.hamburger:hover {
  opacity: 0.7;
}
.hamburger.is-active:hover {
  opacity: 0.7;
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
  background-color: #000;
}

.hamburger-box {
  width: 40px;
  height: 14px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 20px;
  height: 4px;
  background-color: #000;
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}
.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}
.hamburger-inner::before {
  top: -7.5px;
}
.hamburger-inner::after {
  bottom: -7.5px;
}

/* SPIN HAMBURGER */
.hamburger--spin .hamburger-inner {
  transition-duration: 0.22s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin .hamburger-inner::before {
  transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in;
}
.hamburger--spin .hamburger-inner::after {
  transition: bottom 0.1s 0.25s ease-in,
    transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin.is-active .hamburger-inner {
  transform: rotate(225deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--spin.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out;
}
.hamburger--spin.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.1s ease-out,
    transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* React logo */
.react-logo {
  display: inline-block;
  border-radius: 50%;
  border: 10px solid #00d8ff;

  animation-name: rotate;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.react-logo,
.react-logo:before,
.react-logo:after {
  position: absolute;
  display: inline-block;
  width: 70px;
  height: 24.5px;
  border-radius: 50%;
  border: 2px solid #00d8ff;
}

.nucleo,
.react-logo,
.react-logo:before,
.react-logo:after {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nucleo {
  width: 7px;
  height: 7px;
  border-radius: 100%;
  background: #00d8ff;
}

.react-logo:before,
.react-logo:after {
  content: "";
}

.react-logo:after {
  transform: rotate(-57deg);
}

.react-logo:before {
  transform: rotate(57deg);
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.react-contain {
  width: 100px;
  height: 100px;
  margin: 0 auto 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-device-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .middle-nav {
    display: none;
  }
  .right-nav {
    display: none;
  }
  .about-p {
    flex-direction: column;
  }
  .about-p img {
    margin: 20px 0;
  }
  .about-list-element {
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
    margin-bottom: 20px;
  }
  .caption {
    display: none;
  }
  .projects-list-section {
    display: none;
  }
  .copyright {
    flex-direction: column;
  }
  .copyright div {
    padding: 0 0 10px 0;
  }

  #myList ul li a {
    text-decoration: none;
    color: #000;
  }
  #myList ul {
    border-top: 1px solid rgba(23, 22, 26, 0.1);
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0 30px 0;
  }
  #myList li {
    display: block;
    padding: 5px 0;
    border-bottom: 2px solid rgba(23, 22, 26, 0.2);
  }
  .nav-visible {
    display: block;
    opacity: 1;
    transition: all cubic-bezier(0.4, 0, 0.2, 1) 0.7s;
  }
  .is-hidden {
    display: none;
  }
  .visuallyhidden {
    opacity: 0;
  }
  .white-bg {
    background: #fff;
  }
}
/* iPads & bigger screens(portrait and landscape) ----------- */
@media only screen and (min-device-width: 769px) and (max-device-width: 1024px) {
  .projects-list-element {
    width: 700px;
  }
  #burger {
    display: none;
  }
  #myList {
    display: none;
  }
  .projects-section {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Laptop size & above */
@media only screen and (min-width: 1024px) {
  .projects-list-element {
    width: 700px;
  }
  #burger {
    display: none;
  }
  #myList {
    display: none;
  }
  .ctn {
    padding-left: 5%;
    padding-right: 5%;
    max-width: 2000px;
  }
  .about-me {
    width: 100%;
  }
  .contact-row {
    min-width: 500px;
  }
}

@media only screen and (min-width: 2000px) {
  .projects-list-section {
    padding-left: 5%;
    padding-right: 5%;
    max-width: 2000px;
  }
}
