* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.navbar {
  background-color: white;
  padding: 1rem;
  display: flex;
  flex-wrap: inline;
}

.navbar-brand {
  font-weight: bold;
}
.nav-link li a {
  color: black;
}
.navbar-nav li a {
  text-decoration: none;
  color: black;
  padding: 0.5rem 2rem;
}

#mainHeadingText {
  color: black;
  font-family: Satisfy;
  margin-top: 1px;
}

.text-styles {
  color: black;
  font-weight: bold;
  margin: 0px 20px;
}

.text-styles:hover {
  color: darkgray;
}

#main-div {
  background-color: #e9e9e9;
  padding-bottom: 50px;
  height: 100vh;
  max-height: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#inner-div {
  width: 90%;
  height: 90%;
  background-color: #fbfbfb;
}

#black-line {
  background-color: rgb(74, 74, 74);
  height: 100%;
  width: 300px;
  display: flex;
  align-items: flex-end;
}

#image-div {
  display: flex;
  justify-content: flex-end;
  padding: 0;
  align-items: center;
}

#main-image {
  width: 600px;
  height: 400px;
  border: 5px solid black;
  margin-right: -80px;
  z-index: 0;
}

#img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateX(0) translateY(0); /* Initial transform for smooth animation */
  transition: transform 0.9s ease-in-out;
  animation: image-pop 0.9s ease-in-out 0s 1 forwards; /* Simplified animation property */
}

@keyframes image-pop {
  0% {
    transform: translateX(0) translateY(0); /* Starting position */
  }
  100% {
    transform: translateX(50px) translateY(-50px); /* Ending position */
  }
}

#dots {
  width: 200px;
  height: 200px;
  margin-bottom: 100px;
  margin-left: -45px;
}

#text-div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.text {
  font-weight: 900;
}

#resume {
  background-color: black;
  color: white;
  font-size: 12px;
  padding: 10px;
  border-radius: 8px;
  border: none;
  margin-top: 10px;
  margin-right: 20px;
  transition: transform 0.5s;
}

#more {
  background-color: white;
  color: black;
  font-size: 13px;
  padding: 10px;
  border-radius: 8px;
  margin-block: 10px;
  margin-right: 20px;
  transition: transform 0.5s;
  
.learn_more{
  text-decoration: none;
  color: black;
}
}

#resume:hover,
#more:hover {
  transform: scale(1.1);
}

.scroll-images {
  margin-left: -50px;
}

.link-images {
  background-color: blue;
}

.focus-in-expand {
  -webkit-animation: focus-in-expand 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: focus-in-expand 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@-webkit-keyframes focus-in-expand {
  0% {
    letter-spacing: -0.5em;
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}
@keyframes focus-in-expand {
  0% {
    letter-spacing: -0.5em;
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

.flicker-1 {
  -webkit-animation: flicker-1 2s linear infinite both;
  animation: flicker-1 2s linear infinite both;
}

@-webkit-keyframes flicker-1 {
  0%,
  100% {
    opacity: 1;
  }
  41.99% {
    opacity: 1;
  }
  42% {
    opacity: 0;
  }
  43% {
    opacity: 0;
  }
  43.01% {
    opacity: 1;
  }
  47.99% {
    opacity: 1;
  }
  48% {
    opacity: 0;
  }
  49% {
    opacity: 0;
  }
  49.01% {
    opacity: 1;
  }
}
@keyframes flicker-1 {
  0%,
  100% {
    opacity: 1;
  }
  41.99% {
    opacity: 1;
  }
  42% {
    opacity: 0;
  }
  43% {
    opacity: 0;
  }
  43.01% {
    opacity: 1;
  }
  47.99% {
    opacity: 1;
  }
  48% {
    opacity: 0;
  }
  49% {
    opacity: 0;
  }
  49.01% {
    opacity: 1;
  }
}

.fade-in-top {
  -webkit-animation: fade-in-top 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: fade-in-top 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  z-index: 100;
}

@-webkit-keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

#about {
  width: 100%;
  background-color: #e8e8e8;
  display: flex;
  justify-content: center;
  align-items: center;
}

#inner-about {
  width: 90%;
  /* height: 80%; */
  padding: 50px;
  background-color: black;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  -webkit-box-shadow: 0px 0px 16px 16px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 16px 16px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 50px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease-in-out;
}

#inner-about:hover {
  transform: scale(0.99);
  -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.5);
}

#styling {
  width: 80%;
  height: 80%;
}
#right-about {
  color: white;
}

#left-about {
  color: white;
}
#picture {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#profile-picture {

max-height: 450px;
  max-width: 300px;
  width: 100%;
  /* border-radius: 50%; */
  -webkit-box-shadow: 0px 0px 116px 12px rgba(247, 247, 247, 0.5);
  -moz-box-shadow: 0px 0px 116px 12px rgba(247, 247, 247, 0.5);
  box-shadow: 0px 0px 116px 12px rgba(247, 247, 247, 0.5);
}

#about-text {
  color: white;
}

.color {
  color: #706c61;
}

.typewrite:hover {
  text-decoration: none;
}

.highlight {
  font-weight: bold;
  line-height: 3;
  font-size: 20px;
}
.highlight .skills{
  word-break: keep-all;
}
.highlight i{
  padding-left:3px;
  color: white;
}

.btn41-43 {
  padding: 10px 25px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  background: transparent;
  outline: none !important;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.btn-43 {
  border: 2px solid rgb(255, 255, 255);
  z-index: 1;
  color: white;
  border-radius: 20px;
}

.btn-43:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  z-index: -1;
  background: rgb(255, 255, 255);
  transition: all 0.3s ease;
}

.btn-43:hover {
  color: rgb(0, 0, 0);
  border-radius: 20px;
}

.btn-43:hover:after {
  top: auto;
  bottom: 0;
  height: 100%;
  border-radius: 20px;
}

.shadow-drop-2-center {
  -webkit-animation: shadow-drop-2-center 0.4s
    cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: shadow-drop-2-center 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@-webkit-keyframes shadow-drop-2-center {
  0% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-box-shadow: 0 0 0 0 transparent;
    box-shadow: 0 0 0 0 transparent;
  }
  100% {
    -webkit-transform: translateZ(50px);
    transform: translateZ(50px);
    -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.35);
  }
}
@keyframes shadow-drop-2-center {
  0% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-box-shadow: 0 0 0 0 transparent;
    box-shadow: 0 0 0 0 transparent;
  }
  100% {
    -webkit-transform: translateZ(50px);
    transform: translateZ(50px);
    -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.35);
  }
}

#projects {
  position: relative;
  background-color: #e8e8e8;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#inner-projects {
  display: flex;
  flex-wrap: wrap;
  /* width: 80vmax; */
  align-items: center;
  justify-content: center;
}
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@700&display=swap");

:root {
  /* Colors */
  --brand-color: hsl(0, 0%, 1%);
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);
  /* Fonts */
  --font-title: "Montserrat", sans-serif;
  --font-text: "Lato", sans-serif;
}

/* RESET */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h2,
p {
  margin: 0;
}

h2 {
  font-size: 2.25rem;
  font-family: var(--font-title);
  color: var(--white);
  line-height: 1.1;
}

p {
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white);
}

.flow > * + * {
  margin-top: var(--flow-space, 1em);
}

/* CARD COMPONENT */

.card-box {
  cursor: pointer;
  display: grid;
  place-items: center;
  max-width: 340px;
  width: 100%;
  min-height: 22.125rem;
  overflow: hidden;
  border-radius: 0.625rem;
  box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
  margin: 20px 25px;
}

.card-box > * {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.card__background {
  object-fit: cover;
  max-width: 100%;
  height: 100%;
  max-height: 22.125rem;
}

.card__content {
  --flow-space: 0.9375rem;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  align-self: flex-end;
  padding: 12% 1.25rem 1.875rem;
  background: linear-gradient(
    180deg,
    hsla(0, 0%, 0%, 0) 0%,
    hsla(0, 0%, 0%, 0.3) 10%,
    hsl(0, 0%, 0%) 100%
  );
}

.card__content--container {
  --flow-space: 1.25rem;
}

.card__title {
  position: relative;
  width: -moz-fit-content;
  width: fit-content; /* Prefijo necesario para Firefox  */
}

.card__title::after {
  content: "";
  position: absolute;
  height: 0.3125rem;
  width: calc(100% + 1.25rem);
  bottom: calc((1.25rem - 0.5rem) * -1);
  left: -1.25rem;
  background-color: var(--white);
}

.card__button {
  padding: 5px 1.6em;
  width: -moz-fit-content;
  margin-top: 0px;
  width: fit-content; /* Prefijo necesario para Firefox  */
  font-variant: small-caps;
  font-weight: bold;
  border-radius: 0.45em;
  border: none;
  background-color: var(--white);
  font-family: var(--font-title);
  font-size: 1.125rem;
  color: var(--black);
}

.card__button:focus {
  outline: 2px solid white;
  outline-offset: -5px;
}

@media (any-hover: hover) and (any-pointer: fine) {
  .card__content {
    transform: translateY(62%);
    transition: transform 500ms ease-out;
    transition-delay: 500ms;
  }

  .card__title::after {
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 1000ms ease-in, transform 500ms ease-out;
    transition-delay: 500ms;
    transform-origin: right;
  }

  .card__background {
    transition: transform 500ms ease-in;
  }

  .card__content--container > :not(.card__title),
  .card__button {
    opacity: 0;
    transition: transform 500ms ease-out, opacity 500ms ease-out;
  }

  .card-box:hover,
  .card-box:focus-within {
    transform: scale(1.05);
    transition: transform 500ms ease-in;
  }

  .card-box:hover .card__content,
  .card-box:focus-within .card__content {
    transform: translateY(0);
    transition: transform 500ms ease-in;
  }

  .card-box:focus-within .card__content {
    transition-duration: 0ms;
  }

  .card-box:hover .card__background,
  .card-box:focus-within .card__background {
    transform: scale(1.3);
  }

  .card-box:hover .card__content--container > :not(.card__title),
  .card-box:hover .card__button,
  .card-box:focus-within .card__content--container > :not(.card__title),
  .card-box:focus-within .card__button {
    opacity: 1;
    transition: opacity 500ms ease-in;
    transition-delay: 1000ms;
  }

  .card-box:hover .card__title::after,
  .card-box:focus-within .card__title::after {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
    transition: opacity 500ms ease-in, transform 500ms ease-in;
    transition-delay: 500ms;
  }
}

.nine h1 {
  padding-top: 50px;
  text-align: center;
  font-size: 50px;
  text-transform: uppercase;
  color: #222;
  letter-spacing: 1px;
  font-family: "Playfair Display", serif;
  font-weight: 400;
}
.nine h1 span {
  margin-top: 5px;
  font-size: 15px;
  color: #444;
  word-spacing: 1px;
  font-weight: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "Raleway", sans-serif;
  font-weight: 500;

  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  grid-template-rows: 27px 0;
  grid-gap: 20px;
  align-items: center;
}

.nine h1 span:after,
.nine h1 span:before {
  content: " ";
  display: block;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  height: 5px;
  background-color: #f8f8f8;
}

@media screen and (max-width:768px) {
  .nine h1 span:after,
.nine h1 span:before {
  display: none;
}
.nine h1 span{
  display: block;
  align-items: center;
}
}
#main-section {
  margin-top: 30px;
}

#more-projects-button {
  margin: 20px 0px;
  text-align: center;
}

/* CSS */
.button-27 {
  appearance: none;
  background-color: #000000;
  border: 2px solid #1a1a1a;
  border-radius: 15px;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-family: Roobert, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  min-height: 60px;
  width: 200px;
  min-width: 0;
  outline: none;
  padding: 16px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
  will-change: transform;
}

.button-27:disabled {
  pointer-events: none;
}

.button-27:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.button-27:active {
  box-shadow: none;
  transform: translateY(0);
}

*,
*:before,
*:after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#contact {
  background-color: #e8e8e8;
  font-size: 12px;
  padding-block: 50px;
}

#contact,
.contact-button,
input {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.background {
  display: flex;
  min-height: 100%;
}

#contact .container {
  flex: 0 1 700px;
  margin: auto;
  padding: 10px;
}

.screen {
  position: relative;
  background: #3e3e3e;
  border-radius: 15px;
}

.screen:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  bottom: 0;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.screen-header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: #4d4d4f;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.screen-header-left {
  margin-right: auto;
}

.screen-header-button {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 3px;
  border-radius: 8px;
  background: white;
}

.screen-header-button.close {
  background: #ed1c6f;
}

.screen-header-button.maximize {
  background: #e8e925;
}

.screen-header-button.minimize {
  background: #74c54f;
}

.screen-header-right {
  display: flex;
}

.screen-header-ellipsis {
  width: 3px;
  height: 3px;
  margin-left: 2px;
  border-radius: 8px;
  background: #999;
}

.screen-body {
  display: flex;
}

.screen-body-item {
  flex: 1;
  padding: 50px;
}

.screen-body-item.left {
  display: flex;
  flex-direction: column;
}

.app-title {
  display: flex;
  flex-direction: column;
  position: relative;
  color: white;
  font-size: 26px;
}

.app-title:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 25px;
  height: 4px;
  background: white;
}

.app-contact {
  margin-top: auto;
  font-size: 8px;
  color: #888;
}

.app-form-group {
  margin-bottom: 15px;
}

.app-form-group.message {
  margin-top: 40px;
}

.app-form-group.buttons {
  margin-bottom: 0;
  text-align: right;
}

.app-form-control {
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #666;
  color: #ddd;
  font-size: 14px;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.2s;
}

.app-form-control::placeholder {
  color: #666;
}

.app-form-control:focus {
  border-bottom-color: #ddd;
}

.app-form-button {
  background: none;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

.app-form-button:hover {
  color: #b9134f;
}

.credits {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  color: #ffa4bd;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 16px;
  font-weight: normal;
}

.credits-link {
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.dribbble {
  width: 20px;
  height: 20px;
  margin: 0 5px;
}

#last-part {
  overflow-x: hidden;
  padding: 0;
}

.footer {
  background: #000;
  padding: 30px 0px;
  font-family: "Play", sans-serif;
  text-align: center;
}

.footer .row {
  width: 100%;
  margin: 1% 0%;
  padding: 0.6% 0%;
  color: gray;
  font-size: 0.8em;
  display: flex;
  justify-content: center;
}

.footer .row a {
  text-decoration: none;
  color: gray;
  transition: 0.5s;
}

.footer .row a:hover {
  color: #fff;
}

.footer .row ul {
  width: 100%;
}

.footer .row ul li {
  display: inline-block;
  margin: 0px 30px;
}

.footer .row a i {
  font-size: 2em;
  margin: 0% 20px;
}

.contact-button{
  padding-right: 20px;
}
/* #linkedin{
  background-color: white;
} */
 


@media (max-width: 720px) {
  .footer {
    text-align: left;
    padding: 5%;
  }
  .footer .row ul li {
    display: block;
    margin: 10px 0px;
    text-align: left;
  }
  .footer .row a i {
    margin: 0% 20px;
  }
}
@media screen and (max-width: 520px) {
  .screen-body {
    flex-direction: column;
  }

  .screen-body-item.left {
    margin-bottom: 30px;
  }

  .app-title {
    flex-direction: row;
  }

  .app-title span {
    margin-right: 12px;
  }

  .app-title:after {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .screen-body {
    padding: 40px;
  }

  .screen-body-item {
    padding: 0;
  }
}

@media (max-width: 768px) {
  h5.text {
    margin-top: 50px;
  }
  #text-div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  #dots {
    opacity: 0;
  }

  .scroll {
    display: none;
  }

  #main-image {
    width: 100%;
    height: 100%;
    border: 5px solid black;
    margin: 0px;
    z-index: 0;
  }

  #img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-left: 20%; /* Initial transform for smooth animation */
    transition: transform 0.2s ease-in;
    animation: image-pop 0s ease-out 0s 1 alternate;
  }

  #black-line {
    background-color: black;
    height: 100%;
    width: 40%;
  }
  #main-div {
    width: 100%;
    height: 100vh;
    max-height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #about {
    height: auto;
    padding: 35px 0;
  }
  #inner-about {
    padding: 50px 10px;
  }
  #left-about {
    height: 100%;
  }

}



.container {
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 700px !important;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 900px !important;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 1100px !important;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1300px !important;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1440px !important;
  }
}
