@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
* {
  font-family: 'Lato', sans-serif;
  padding: 20px;
  margin: 0;
  box-sizing: border-box;
}

.dm-serif-display-regular {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

input {
    color: black;
    width: 100%;
    height: 44px;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid #ccc;
    margin:8px;
}

body {
    font-family: Lato, sans-serif;
    background-color: #f4f4f4;
    
}

h1, h2, h3, h4, h5, h6, span {
  color: #242424;
  text-align: center;
  line-height: 1.25;
}
 
.div_label {
  color: white;
  padding: 10px 10px;
 padding-left: 1px 1px;
}

h1 {
  font-size: 36px;
  font-weight: 700;
}

div{
  color: black;
}

p {
  line-height: 1.5;
  font-size: 36px;
  color:black;
  margin: 0 auto;
  text-align: center;
}

a {
  text-decoration: none;
  position: relative;
  transition: opacity 300ms ease;
}

footer{
  margin: 50 auto;
  padding: 40px 0;
  margin-top: 30px;
}

section {
display: flex;
flex-direction: column;
justify-content:space-evenly ;
margin-bottom:200px;

}
i:hover {
  opacity: 0.7;
}

.link__hover-effect:after {
  content: "";
  position: absolute;
  height: 3px;
  width: 0;
  bottom: -3px;
  right: 0;
  transition: all 300ms ease;
}

.link__hover-effect--white:after {
  background-color: #fff;
}
.link__hover-effect--black:after {
  background-color: #000;
}

.link__hover-effect:hover:after {
  width: 100%;
  left: 0;
}

li {
  list-style-type: none;
}

.flex {
  display: flex;
}

.flex-1 {
  flex: 1;
}

.quote:hover {
  cursor: pointer;
  transition: all 300ms ease;
  background:  rgb(4, 55, 109);
  color: yellow;
  font-weight: 700;
  border: 2px solid yellow;
}
.App:hover {
  cursor: pointer;
  transition: all 300ms ease;
  background:  rgb(4, 55, 109);
  color: yellow;
  font-weight: 700;
  border: 2px solid yellow;
}

.App_container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  color:white;
  background: black;
  padding: 20px;
  max-width: 950px;
  margin-bottom: 50px;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin:0 auto;
  margin-top: 40px;
}

.App {
  flex: 1;
  padding: 30px;
  border: 2px solid rgb(4, 82, 146);
  border-radius: 25px;
  background-color: #161b41;
  color: white;
  text-align: center;
  font-size: 24px;
  justify-content: center;
}

.quote {
  flex: 1;
  padding: 30px;
  border: 2px solid rgb(4, 82, 146);
  border-radius: 25px;
  background-color: #161b41;
  color: white;
  text-align: center;
  font-size: 24px;
  justify-content: center;
}

.quote_container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
  color:white;
  background: black;
  padding-top: 1px;
  max-width: 1200px;
  margin-bottom: 50px;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: 2px solid rgb(11, 11, 11);
  margin-top: 1px;
}
.site_h2 {
  font-size: 32px;
  font-weight: 500;
  color: whitesmoke;
  text-align: center;
  margin-top: 8px;  
}
.site-header {
  max-width: 1200px;
  display: flex;
  align-items: center;        /* Centers items vertically */
  justify-content: space-evenly; /* Pushes logo left, nav right */
  height: 150px;              /* Sets fixed height */
  padding: 0 20px;            /* Adds some breathing room on sides */
  background-color: #fff;     /* Optional background color */
  /*box-shadow: 0 2px 5px rgba(0,0,0,0.1);*/
}

.logo img {
  height: 145px;              /* Adjust so it fits within the 100px header */
  width: auto;                /* Maintains aspect ratio */
}

.nav-links a {
  margin-left: 20px;          /* Adds space between individual links */
  text-decoration: none;
  color: #333;
}
.application-container {
    color: white;
    background: #161b41;
    padding: 30px;
    max-width: 1100px;
    margin:0 auto;
    border-radius: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.container {
  margin: 0 auto;
  padding: 5px 0;
  box-sizing: border-box;
}
.row {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8 16px;
  justify-content: center;
}

.text--purple {
  color: #6030b1;
}

section:nth-child(even) {
  background-color: #f8f8f8;
}

.section__title {
  margin-bottom: 20px;
}

#Loan {
margin-bottom:8px;
}
/* NAVIGATION BAR */

nav {
  position: relative; /* Fixes position relative to viewport */
  top: 0;          /*Pins to top edge */
  left: 0;         /*Ensures it starts from left edge */
  z-index: 1000;*   /* Ensures it stays above other content */
  height: 50px;
  width: 100%;
  max-width: 1200px;
  /*margin: -115px auto;*/
  display: flex;
  justify-content:space-evenly ;
  align-items: center;
  padding: 0px 0px;
  padding-top:1px;
  padding-left: 400px;
}

.nav__link--list {
  display: flex;
}

.nav__link--anchor {
  margin: 0 12px;
  color: #242424;
  font-weight: 700;
}
.nav__link--anchor:hover {
  margin: 0 12px;
  color: #7c7979;
  font-weight: 700;
}

.nav__link--anchor-primary {
  background-color: #161b41;
  background-color: ;
  padding: 18px;
  border-radius: 50px;
  color: white;
  transition: all 300ms ease;
  border: 2px solid #161b41;
}

.nav__link--anchor-primary:hover {
  background-color: rgb(4, 55, 109);
  color: yellow;
  border: 2px solid yellow;
  transition: all 400ms ease;
}

.personal__logo {
  font-size: 24px;
  color: #6030b1;
  margin: 0 auto  ;
  font-weight: bold;
  transform: scale(1.0);
  padding: 0px 0px;
}

/* form */
body { 
      font-family: 'Inter', system-ui, sans-serif; 
      background-color: white;
    }

.submit-btn {
    /* Colors */
    background-color: #d38f10; /* Green background */
    color: black; /* White text */

    /* Padding and Alignment */
    padding: 15px 32px; /* Space between text and border */
    text-align: center;
    justify-content: center;
    text-decoration: none; /* Remove underline for anchor tags styled as buttons */
    font-weight: 700;
    font-size: 16px;

    /* Border and Shape */
    border: none; /* Remove default border */
    border-radius: 58px; /* Rounded corners */
    cursor: pointer; /* Change mouse cursor on hover */

    /* Other styles */
    width: 25%; /* Optional: make the button full width */
    margin-top: 10px; /* Optional: add space above the button */
    margin: 0 auto;
    display: flex; /* this allows me to center the button*/
    flex-direction: row; /* this allows me to center the button*/
}
/* ABOUT ME */

#about-me {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.about-me__info {
  display: flex;
  flex-direction: column;
}

.about-me__info--container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about-me__picture--mask {
  width: 100%;
  height: 100%;
  border-radius: 0%;
  overflow: hidden;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.16);
  margin-bottom:   1px;
  animation: animate-profile-picture 800ms 200ms backwards;
}

@keyframes animate-profile-picture {
  0% {
    transform: scale(0);
  }
  80% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.about-me__picture {
  width: 100%;

  /* Improving my own picture */
  transform: scale(1.0);
  padding-top: 0px;
 }

.about-me__info--title {
  margin-bottom: 16px;
  animation: fade-up 650ms 400ms backwards;
}
.about-me__info--para {
  font-size: 24px;
  margin-bottom: 8px;
  animation: fade-up 650ms 600ms backwards;

}

.calculator {
scale: 1.0;
}

.about-me__link {
  font-size: 20px;
  color: #242424;
  padding: 0 16px;
}

.about-me__links {
  animation: fade-up 650ms 800ms backwards;
}

@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-me__img--container {
  flex: 1;
  display: flex;
  align-items: center;
}
.about-me__img {
  width: 100%;
  animation: fade-in 1200ms 800ms backwards;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.wave {
  display: inline-block;
  animation: animate-wave 500ms infinite ease-in-out;
}

@keyframes animate-wave {
  0% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(30deg);
  }
  100% {
    transform: rotate(0);
  }
}

/* TECH - STACK */

.language__img {
  width: 100%;
  max-width: 100px;
  transition: all 300ms;
}
.language:hover .language__img {
  filter: brightness(80%);
  opacity: 0.86;
  transform: scale(0.9);
}

.language {
  width: 25%;
  display: flex;
  justify-content: center;
  position: relative;
}
.language__img--wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px 16px;
}

.language__list {
  display: flex;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}

.language__name {
  position: absolute;
  bottom: 0;
  transform: scale(0);
  transition: all 300ms;
  font-size: 20px;
  opacity: 0;
}
.language:hover .language__name {
  transform: scale(1);
  opacity: 1;
}

/* PROJECTS */

.project {
  margin-bottom: 390px;
}

.project:last-child {
  margin-bottom: 140px;
}

.project__img {
  width: 100%;
  transition: all 900ms ease;
}

.project__wrapper {
  display: flex;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
  border-radius: 20px;
  overflow: visible;
  position: absolute;
  margin-bottom: 100px;
}
.project__wrapper:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #1c1d25;
  opacity: 0;
  transition: all 450ms ease;
  z-index: 2;
  transform: translateY(100%);
}
.project:hover .project__wrapper:before {
  transform: translateY(0);
  opacity: 0.7;
}
.project:hover .project__img {
  transform: scale(1.07);
  filter: blur(5px);
}

.project:hover .project__description {
  opacity: 1;
  transform: translateY(-50%);
}

.project__list {
  padding-top: 40px;
}

.project__description {
  position: absolute;
  top: 50%;
  left: 29px;
  transform: translateY(100%);
  max-width: 500px;
  z-index: 3;
  opacity: 0;
  transition: transform 450ms, opacity 300ms;
}

.project__description--title {
  font-size: 40px;
}

.project__description--para {
  margin: 16px 0;
}

.project__description--link {
  font-size: 20px;
  margin-right: 16px;
}

.project__description--title,
.project__description--sub-title,
.project__description--para,
.project__description--link {
  text-align: left;
  color: #fff;
}

/* FOOTER */

footer {
  background-color: #161b41;
  border-radius: 24px;
  max-width: 1200px;
  height: 250px;
  text-align: center;
}

.footer__social--list {
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: space-around;
  margin-top: 8px;
  margin-bottom: 8px;
}
.footer__row {
  width: 980px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0px;
  margin: 0 auto;
  border-radius: 20px;
}

.footer__logo--img {
  width: 250px;
  height: 150px;
}

.footer__social--link,
.footer__logo--popper {
  color: #fff;
}

.footer__copyright{
  color: #fff;
  margin: 1px;
}

.footer__logo--popper {
  position: absolute;
  right: 0;
  top: 10px;
  font-weight: 700;
  opacity: 0;
  transition all 300ms ease;
}

.footer__anchor {
  margin-bottom: 20px;
  position: relative;
}

.footer__anchor:hover .footer__logo--popper {
  transform: translateX(60px);
  opacity: 1;
}

/* Small phones, tablets, large smartphones */
@media (max-width: 768px) {
  nav {
    height: 68px;
  }

  h1 {
    font-size: 28px;
  }

  .about-me__info--para {
    font-size: 18px;
  }

  .language {
    width: calc(100% / 3);
  }

  .project__description--para {
    font-size: 14px;
  }

  .project__description {
    left: 30px;
    padding-right: 30px;
  }
}

/* SMALL PHONES */
@media (max-width: 480px) {
  .nav__link:not(:last-child) {
    display: none;
  }

  .project__wrapper {
    border-radius: 0;
  }

  .project__description {
    padding: 0;
    left: 0;
    width: 100%;
  }

  .project__description--para {
    display: none;
  }

  .project__description--links {
    display: flex;
    justify-content: center;
  }

  .project__description--title {
    font-size: 32px;
    line-height: 1;
    text-align: center;
  }

  .project__description--sub-title {
    text-align: center;
    margin: 12px 0;
  }
}