/*VARIABLES*/

:root {
  --primary-text-color: #ffffff;
  --primary-background-color: #191a1a;

  --secondary-text-color: #ff7f50;
  --secondary-background-color: #ff7f50;
  --secondary-dark-text-color: #00b7ff;
  --secondary-dark-background-color: #191a1a;

  --tertiary-text-color: #00b7ff;
  --tertiary-background-color: #191a1a;

  --black-color: #333;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: Arial;
  font-size: 1em;
}

body {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  flex-direction: column;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-color: var(--primary-background-color);
  color: var(--primary-text-color);

  /* font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; */
}

body.dark-mode {
  background-image: url("../img/laptop.jpg");
}

.navContainer {
  position: absolute;
  width: 100%;
  z-index: 1000;
}

body.dark-mode .navContainer {
  background: none;
}

#darkIcon {
  display: block;
}

#lightIcon {
  display: none;
}

body.dark-mode #darkIcon {
  display: none;
}

body.dark-mode #lightIcon {
  display: block;
}

#devImgLight {
  display: block;
}

#devImgDark {
  display: none;
}

body.dark-mode #devImgLight {
  display: none;
}

body.dark-mode #devImgDark {
  display: block;
}

#aboutRef {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: var(--primary-text-color);
  position: relative;
  /* background-color: var(--tertiary-background-color); */
}

body.dark-mode #aboutRef {
  background: none;
}

body.dark-mode .project-img {
  background: none;
}

.small-image-container {
  display: none;
}

.large-image-container {
  display: block;
}

.large-image-container img {
  width: 100%;
}

.download-resume-btn {
  padding: 8px 20px;
  border: 1px solid #fff;
  background-color: #0000;
  color: var(--primary-text-color);
  width: 200px;
  font-weight: bold;
}

.hire-resume-btn {
  padding: 8px 20px;
  border: 1px solid #fff;
  background-color: var(--secondary-background-color);
  color: var(--primary-text-color);
  width: 200px;
  font-weight: bold;
}

body.dark-mode .hire-resume-btn {
  background-color: var(--secondary-dark-background-color);
}

.arrow-down {
  position: fixed;
  bottom: 30px;
  z-index: 2000;
}

.fa-arrow-down {
  opacity: 0.5;
  transition: ease 0.5s;
  text-shadow: 0 0 3px #000;
}

.fa-arrow-down:hover {
  opacity: 1;
  cursor: pointer;
}

.arrow-up {
  position: fixed;
  top: 30px;
  z-index: 2000;
}

.fa-arrow-up {
  opacity: 0.5;
  transition: ease 0.5s;
  text-shadow: 0 0 3px #000;
}

.fa-arrow-up:hover {
  opacity: 1;
  cursor: pointer;
}

.section-header {
  font-size: 1.5em;
}

section.developer-box {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
}

.developer-name {
  /* width: 100%; */
  /* margin: 10px 0px; */
}

.developer-level {
  font-weight: bold;
  color: var(--secondary-text-color);
}

body.dark-mode .developer-level {
  color: var(--secondary-dark-text-color);
}

.accent-color-1 {
  color: var(--secondary-text-color) !important;
}

body.dark-mode .accent-color-1 {
  color: var(--secondary-dark-text-color) !important;
}

.nav-item {
  color: var(--primary-text-color) !important;
  margin: 0 20px;
}

.nav-item a {
  color: var(--primary-text-color) !important;
}

.nav-item a:hover {
  color: var(--secondary-text-color);
}

p.developer-description {
  text-align: justify;
}

.project-img {
  width: 100%;
}

/*PROJECT*/
.projects-container {
  position: relative;
  min-height: 400px;
  width: 100%;
}
.project-list {
  min-height: 200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  overflow-x: hidden;
}

.project-box {
  margin: 1.25em 0;
  height: 200px;
  width: 320px;
  border: 1px solid #ffffff;
  position: relative;
  overflow: hidden;
}

.project-box::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: rgba(8, 5, 5, 0.68);
}

.project-img {
  width: 100%;
}

.project-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-details-box {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #3e3d3dc7;
  z-index: 100;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease;
}

.project-box:nth-of-type(odd) .project-details-box {
  right: 100%;
}

.project-box:nth-of-type(even) .project-details-box {
  left: 100%;
}

.project-box:nth-of-type(odd) .project-title span {
  color: var(--tertiary-text-color);
}

.project-box:nth-of-type(even) .project-title span {
  color: var(--secondary-text-color);
}

.project-box:nth-of-type(odd):hover .project-details-box {
  right: 0;
}

.project-box:nth-of-type(even):hover .project-details-box {
  left: 0;
}

.project-title {
  text-align: center;
  font-size: 1.25em;
}

.project-description {
  text-align: justify;
  font-size: 0.7em;
  padding: 0 20px;
}

.project-action {
  text-align: center;
}

.project-action button {
  font-size: 0.8em;
  padding: 5px 10px;
  margin: 0;
  border: none;
}

/*skills*/

.skills-wrapper {
  width: 100%;
}

.skills {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow-x: hidden;
  color: var(--black-color);
}

.skills-row {
  display: flex;
  overflow-y: hidden;
  overflow-x: hidden;
}

.skill-icon {
  font-size: 5em;
}

.skill-rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: 30px 0;
  color: #fff;
}

footer {
  min-height: 150px;
  width: 100%;
  position: relative;
  /* background: var(--tertiary-background-color); */
  font-size: 1.25em;
}

body.dark-mode footer {
  background: none;
}

.footer-wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  margin-top: 20px;
}

.footer-wrapper * {
  color: var(--primary-text-color);
}

.contact-description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.25em;
}

.contact-box {
  margin: 1em 0;
}

.copyright {
  font-size: 1.25em;
  font-weight: bold;
  color: #393939;
  text-align: center;
  margin: 1em 0;
}

@media only screen and (min-width: 400px) {
  /*Projects*/
  .project-box {
    height: 230px;
    width: 370px;
  }
}

@media only screen and (min-width: 500px) {
  /*Projects*/
  .project-box {
    height: 270px;
    width: 470px;
    margin: 1.5em 0;
  }
}

@media only screen and (min-width: 600px) {
  /*Projects*/
  .project-box {
    height: 350px;
    width: 570px;
  }
}

/*// Medium devices (tablets, 768px and up)*/
@media only screen and (min-width: 768px) {
  .section-header {
    font-size: 2.25em;
  }

  /*banner*/
  /* .developer-name{
		width: 100%;
	} */

  .developer-description {
    width: 720px;
    font-size: 1.25em;
  }

  /*Projects*/
  .project-box {
    height: 400px;
    width: 700px;
    margin: 1.75em 0;
  }

  /* .projects-container::after{
		content: '';
		width: 100%;
		height: 200px;
		display: block;
		background: url("../svg/wave2.svg");
		background-repeat: no-repeat;
		background-size: cover;
		z-index: -100;

	} */

  .project-title * {
    text-align: center;
    font-size: 2em;
  }

  .project-description {
    font-size: 1.5em;
    width: 600px;
    padding: 0 20px;
  }

  .project-action button {
    font-size: 1.5em;
    padding: 10px 15px;
  }

  /*Skills*/
  .skill-icon {
    font-size: 6em;
  }

  .skill-rating {
    padding: 20px 0;
    flex-direction: column;
  }

  /*footer*/

  .contact-description {
    font-size: 1em;
    flex-direction: row;
  }

  .contact-box {
    margin: 1em 0;
  }

  .copyright {
    font-size: 1em;
  }

  /*Footer*/

  /* footer {
    background: var(--primary-background-color);
  } */

  .footer-wrapper {
    height: 250px;
    width: 100%;
    color: #393939;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
  }

  body.dark-mode .footer-wrapper {
    background: none;
  }
}

/*// Large devices (desktops, 992px and up)*/
@media only screen and (min-width: 992px) {
  .appNavBar {
    margin-top: 20px;
  }

  /*banner*/
  /* .developer-name{
		width: 100%;
	} */

  /*Projects*/
  .project-box {
    height: 400px;
    width: 750px;
    margin: 2em 0;
  }

  .project-list .project-box:nth-of-type(odd) {
    margin-left: 3em;
    align-self: flex-start;
  }

  .project-list .project-box:nth-of-type(even) {
    margin-right: 3em;
    align-self: flex-end;
  }

  /*Skills*/
  .skill-icon {
    font-size: 5em;
  }
}

/*// mesdium devices (medium screns, 992px and below)*/
@media only screen and (max-width: 992px) {
  /*banner*/
  .developer-name {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .navContainer {
    position: relative;
  }

  .hire-resume-btn,
  .download-resume-btn {
    width: 100%;
    margin-top: 4px;
    margin-bottom: 4px;
  }

  .small-image-container {
    display: block;
  }

  .small-image-container img {
    margin: auto;
    width: 50%;
  }

  .large-image-container {
    display: none;
  }
}

/*// Extra large devices (large desktops, 1200px and up)*/
@media only screen and (min-width: 1200px) {
  /*banner*/

  /*Skills*/
}
