@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap");
* {
  font-family: "Poppins", sans-serif;
}

.main-container {
  background-image: url("../images/52f61nfzmwl51.jpg"); /*linear-gradient(to right top, #41B883, #7297bd);*/
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-section {
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.2)
  );
  backdrop-filter: blur(2rem);
  width: 70vw;
  height: 80vh;
  border-radius: 0 30px 30px 30px;

  z-index: 1;
  border: 1px solid rgba(250, 255, 255, 0.1);

  display: flex;
}

.menu::before {
  content: "";
  width: 50px;
  height: 100px;
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.3)
  );

  display: block;
  position: absolute;
  top: -0px;
  left: -50px;
  border-radius: 0 0 0 30px;

  z-index: -1;
}
.menu::after {
  content: "";
  width: 120px;
  height: 50px;
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.3)
  );

  display: block;
  position: absolute;
  top: -50px;
  left: -50px;
  border-radius: 0 30px 0 0;
  z-index: -1;
}

.circle2 {
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.3)
  );
  height: 20vh;
  width: 20vw;
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(250, 255, 255, 0.1);
  top: -10%;
  left: -10%;
}

.page {
  width: 75%;
}

.menu {
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.1)
  );

  border: 1px solid rgba(250, 255, 255, 0.1);

  width: 25%;
  border-radius: 0 30px 30px 30px;
  display: flex;
  align-items: center;
  padding: 10px;
  flex-direction: column;
  animation: pulse 0.5s ease-in-out;
}

.avatar-container p {
  text-align: center;
  margin-top: 5px;
  color: white;
  text-shadow: 1px 1px 5px black;
}
.avatar-container {
  margin-top: 30px;
}
.avatar-img {
  width: 220px;
  height: 220px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.sidebar-links {
  text-align: center;
  font-size: 20px;
  position: absolute;
  display: flex;
  height: 80vh;
  align-items: center;
  top: 5vh;
}

/*------------------------------------*/ /*------------------------------------*/
/*------------------------------------*/ /*------------------------------------*/
/*------------------------------------*/ /*------------------------------------*/
.project-buttons-down {
  display: flex;
  justify-content: space-between;
  position: absolute;
  width: 22vw;
  top: 70vh;
}

.project-buttons {
  display: flex;
  justify-content: space-between;
  position: absolute;
  width: 22vw;
}

.project-buttons a:hover {
  color: rgb(94, 94, 94);
}

.project-buttons div:nth-child(2) {
  display: none;
}

.project-buttons div {
  background-image: linear-gradient(
    to right,
    rgba(199, 199, 199, 0.4),
    rgba(180, 180, 180, 0.644)
  );
  backdrop-filter: blur(2rem);
  margin: 5px;
  padding: 5px;
  border-radius: 5px;
  text-align: center;
  text-shadow: 1px 1px 5px black;
  width: 100%;
  opacity: 0;
}

.project-buttons a {
  color: white;
  padding-left: 5px;
}

.project-buttons svg {
  padding-left: 5px;
  text-shadow: 1px 1px 5px black;
  color: white;
}

/*------------------------------------*/ /*------------------------------------*/
/*------------------------------------*/ /*------------------------------------*/
/*------------------------------------*/ /*------------------------------------*/

.container {
  display: flex;
  width: 100%;
  padding: 4% 2%;
  box-sizing: border-box;
  height: 40vh;
}

.project-description1,
.project-description2,
.project-description3,
.project-description4,
.project-description5,
.project-description6 {
  color: white;
  font-size: 15px;
  position: absolute;
  top: 270px;
  width: 21.5vw;
  height: 100px;
  z-index: 1;
  left: 32px;
  text-shadow: 1px 1px 5px black;
  text-align: center;
  z-index: -1;
  opacity: 0;
}
.box-p-show {
  opacity: 1;
  transition: all 2s;
}

.box:hover > p {
  animation: box-atributes-show 1s 1s ease-in-out forwards;
}

.box:hover > .project-buttons div {
  animation: box-atributes-show 1s 1s ease-in-out forwards;
}

@keyframes box-atributes-show {
  100% {
    opacity: 1;
  }
}

.project-description1 {
  top: 37vh;
  left: 2.35vw;
}

.project-description2 {
  top: 37vh;
  left: 14.3vw;
}

.project-description3 {
  top: 37vh;
  left: 26.3vw;
}

.project-description4 {
  top: 33vh;
  left: 2.35vw;
}

.project-description5 {
  top: 31.5vh;
  left: 14.3vw;
}

.project-description6 {
  top: 31.5vh;
  left: 26.3vw;
}

.box-z-indez {
  z-index: 1;
  /*position: relative;*/
}

.fff {
  position: absolute;
  top: 10.5vh;
  left: 34.5vw;
  z-index: 1;
}

.fff2 {
  position: absolute;
  z-index: auto;
}

.box {
  flex: 1;
  overflow: hidden;
  transition: 0.5s;
  margin: 0 2%;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
  /*line-height: 0;*/
  border-radius: 20px;
  color: rgb(190, 190, 190);
}

.box > img {
  width: 200%;
  height: calc(100% - 10vh);
  object-fit: cover;
  transition: 0.5s;
}

.box > span {
  font-size: 20px;
  display: block;
  text-align: center;
  height: 10vh;
  line-height: 2.6;
  color: rgb(219, 216, 216);
  text-shadow: 1px 1px 5px black;
}

.box:hover p {
  z-index: auto;
}

.box:hover {
  flex: 1 1 25%;

  cursor: pointer;
}
.box:hover > img {
  width: 100%;
  height: 100%;
}

/*------------------------------------*/ /*------------------------------------*/
/*------------------------------------*/ /*------------------------------------*/
/*------------------------------------*/ /*------------------------------------*/

.blobs-container {
  display: flex;
}

.resume-btn a {
  color: rgb(71, 71, 71);
  text-decoration: none;
}

.resume-btn :hover {
  cursor: pointer;
  color: white;

  /* Start the shake animation and make the animation last for 0.5 seconds */
  animation: shake 0.5s !important;

  /* When the animation is finished, start again */
  animation-iteration-count: infinite !important;
}

.blob {
  border-radius: 5px;
}

.blob.white {
  animation: pulse-white 2s infinite;
}

@keyframes pulse-white {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/*------------------------------------*/ /*------------------------------------*/
/*------------------------------------*/ /*------------------------------------*/
/*------------------------------------*/ /*------------------------------------*/

:root {
  --color-bg: #e8ebf0;
  --color-border: #1b4965;
  --color-bg-nav: #fda531;
  --color-bg-ham: #cae9ff;
  --color-nav-icon: #1b4965;
  --color-text: #1d3949;
  --color-text-alt: #e76f51;
  --color-bg-dummy: #cae9ff;
  --color-primary: #5091b6;
  --color-primary-light: #5fa8d3;
  --color-secondary: #5091b6;
  --color-secondary-light: #5fa8d3;
  --duration: 0.5s;
}

.nav__checkbox {
  display: none;
}

.nav__button {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  height: 4.75rem;
  width: 4.75rem;
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
  background-color: var(--color-bg-ham);
  z-index: 3000;
}

.nav__button:hover {
  box-shadow: 0 0.1rem 2rem rgba(18, 18, 18, 0.2);
}

.nav__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav__icon::before,
.nav__icon::after {
  content: "";
  position: absolute;
  top: 0%;
  left: 0%;
  transition: all 0.2s;
}

.nav__icon,
.nav__icon::before,
.nav__icon::after {
  width: 1.75rem;
  height: 0.4rem;
  background-color: var(--color-nav-icon);
}

.nav__icon:before {
  transform: translateY(-150%) rotate(0deg) scale(1) skewX(15deg);
}

.nav__icon:after {
  transform: translateY(150%) rotate(0deg) scale(1) skewX(-15deg);
}

.nav__link:link,
.nav__link:visited {
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  text-transform: uppercase;
  padding: 1rem 2rem;
  position: relative;
  transition: all 0.2s;
}

.nav__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  outline: 0px solid white;
  z-index: -1;
  transition: all 0.3s ease-in;
}
.nav__link:hover,
.nav__link:active {
  color: var(--color-text-alt);
  transform: translateX(1rem);
}
.nav__link:hover::before,
.nav__link:active::before {
  outline-offset: -2.5rem;
  outline-width: 2.5rem;
}
.nav__checkbox:checked ~ .nav__nav {
  opacity: 1;
  transform: translateX(0%);
}

.nav__checkbox:checked ~ .dummy-content {
  transform: translateX(50%);
}

.nav__checkbox:checked + .nav__button .nav__icon {
  background-color: transparent;
}

.nav__checkbox:checked + .nav__button .nav__icon::before {
  transform: rotate(135deg);
}

.nav__checkbox:checked + .nav__button .nav__icon::after {
  transform: rotate(-135deg);
}

.navbar-links li a {
  margin: 10px;
  display: block;
  color: white;
  text-shadow: 1px 1px 5px black;
}

.navbar-links-active {
  cursor: pointer;
  color: black;
}

.navbar-links li a:hover {
  cursor: pointer;
  text-shadow: 0 0 white !important;
}

.dummy-content {
  width: 100%;
  height: 90vh;
  border-radius: 12px;
  padding: 1rem 2.8rem;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-dummy);
  transition: transform var(--duration) cubic-bezier(0.8, 0, 0.2, 1);
}

/*------------------------------------*/ /*------------------------------------*/
/*------------------------------------*/ /*------------------------------------*/
/*------------------------------------*/ /*------------------------------------*/
.contact {
  display: none;
  animation: pulse 0.5s ease-in-out;
}
.about {
  display: none;
  animation: pulse 0.5s ease-in-out;
  margin: 20px;
}
.projects {
  display: none;
  animation: pulse 0.5s ease-in-out;
  width: 50vw;
}

.show-categories {
  display: block;
}

.link-select {
  text-shadow: 0 0 white !important;
}
@keyframes pulse {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

/*------------------------------------*/ /*------------------------------------*/
/*------------------------------------*/ /*------------------------------------*/
/*------------------------------------*/ /*------------------------------------*/

.abaut-container li {
  margin-left: 40px;
}
.abaut-container p {
  margin-top: 40px;
}

.abaut-container p:nth-child(1) {
  margin-top: 0;
}

.abaut-container {
  display: flex;
  color: rgba(255, 255, 255, 0.801);
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-shadow: 1px 1px 5px black;
  height: 75vh;
}
.abaut-container > :nth-child(2) {
  position: relative;
  top: 60px;
}

/*------------------------------------*/ /*------------------------------------*/
/*------------------------------------*/ /*------------------------------------*/
/*------------------------------------*/ /*------------------------------------*/
.contact h2 {
  margin: 40px;
  color: white;
  text-shadow: 1px 1px 5px black;
  font-size: 24px;
  text-align: center;
}
.githup {
  position: relative;
  top: 50px;
}

.linkedin {
  position: relative;
  top: 58px;
}
.contact a {
  margin: 40px;
}
.contact {
  margin-top: 80px;
  margin-left: 40px;
}
/*------------------------------------*/ /*------------------------------------*/
/*------------------------------------*/ /*------------------------------------*/
/*------------------------------------*/ /*------------------------------------*/

.menu-toggle-button {
  display: none;
}

@media screen and (max-width: 480px) {
  .container a {
    pointer-events: none;
  }
  .box-z-indez a {
    pointer-events: all;
  }
  .project-description1,
  .project-description2,
  .project-description3,
  .project-description4,
  .project-description5,
  .project-description6 {
    width: 120%;
  }

  .project-buttons-down {
    all: unset;
  }

  .project-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
  }

  .project-description1 {
    top: 20vh;
    left: 1vw;
  }

  .project-description2 {
    top: 30vh;
    left: 1vw;
  }

  .project-description3 {
    top: 40vh;
    left: 1vw;
  }

  .project-description4 {
    top: 60vh;
    left: 1vw;
  }

  .project-description5 {
    top: 70vh;
    left: 1vw;
  }

  .project-description6 {
    top: 80vh;
    left: 1vw;
  }

  .project-buttons {
    width: 120%;
  }

  .box-show {
    margin-bottom: 105px !important;
  }

  span {
    margin-bottom: 50px !important;
  }

  .box > img {
    height: calc(100% - 5vh);
  }

  .box {
    margin: 5px;
  }

  .container .box {
    width: 120%;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.432);
  }

  .container {
    padding: 0;
    flex-direction: column;
  }

  .abaut-container > div:nth-child(1) {
    margin-bottom: 20px;
  }

  .main-section {
    border-radius: 0;
  }
  .menu {
    width: 25vw;
    border-radius: 0 30px 30px 0;
  }
  .menu-toggle-button {
    display: block;
  }
  .avatar-container :nth-child(3) {
    margin-top: 15px;
  }
  .avatar-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .avatar-img {
    width: 70px;
    height: 70px;
  }
  .menu::before {
    content: "";
    width: 0;
    height: 0;
  }
  .menu::after {
    content: "";
    width: 0;
    height: 0;
  }
  .main-section {
    width: 100% !important;
    height: 100% !important;
  }
  .abaut-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 90vh;
  }
  .navbar-links li {
    margin: 0 !important;
  }

  /*contact*/
  .contact div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly !important;
    height: 40vh;
  }
  .contact {
    margin: 0;
    margin-top: 24vh;
  }
  .contact a {
    margin: 0;
  }
  .linkedin {
    top: 0;
  }
  .githup {
    top: 0;
  }
  .contact h2 {
    margin: 0;
  }
  .main-section {
    width: 90vw;
    height: 90vh;
  }
}

@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }
  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }
  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }
  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }
  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }
  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }
  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }
  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }
  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}
