@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap");
:root {
  --primary-color: #3244AD;
  --btn-radius: 2px;
  --home-text-color-dark: #2f2e41;
  --home-text-color-light: #9893a3;
  --text: #717082;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
  text-decoration: none;
}

body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

li {
  list-style-type: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--white);
}

.button {
  padding: 0.8rem 1.5rem;
  transition: filter 0.4s ease;
  cursor: pointer;
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.button:hover {
  filter: brightness(1.3);
}

header {
  padding: 2.5rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo p {
  color: var(--home-text-color-dark);
  font-style: normal;
  font-weight: normal;
  font-size: 37px;
  line-height: 53px;
  text-align: center;
  font-family: 'Satisfy', cursive;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3px;
}

.buttons > .button.contact {
  border: 1px solid var(--primary-color);
  border-radius: var(--btn-radius);
  color: var(--primary-color);
}

.buttons > .button.get-started {
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  border-radius: var(--btn-radius);
  color: white;
  margin-left: 1rem;
}

.mobile-menu {
  display: none;
  margin-top: 5px;
}

/*============= Header Content ======*/
.header-content {
  margin-top: 4rem;
  padding: 0 3.125rem 0 3.125rem;

  display: flex;
}

.header-content h1 {
  max-width: 470px;
  width: 100%;
  color: var(--home-text-color-dark);
  font-size: 5.1rem;
  font-weight: bold;
  font-family: "Playfair Display", serif;
  line-height: 5.5rem;
}

.header-content p {
  margin-top: 1.875rem;
  max-width: 470px;
  width: 100%;

  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 1.25rem;
  line-height: 2rem;

  color: var(--home-text-color-light);
}

.header-content a {
  display: inline-block;
  margin-top: 1.875rem;

  border: 2px solid var(--primary-color);
  background: var(--primary-color);
  border-radius: var(--btn-radius);
  color: white;
}

/*============= Section app-preview ======*/
section.app-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 10rem;
  padding: 0 3.125rem 0 3.125rem;
}

.app-preview-left {
  margin-right: 4rem;
}

h2.section-title {
  font-size: 3.75rem;
  font-family: "Playfair Display", serif;
  max-width: 413px;
}

p.section-paragraph {
  margin-top: 1.875rem;
  max-width: 450px;
  width: 100%;

  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 1.25rem;
  line-height: 2rem;

  color: var(--home-text-color-light);
}

.get-started-line {
  position: relative;
}

.get-started-line a.get-started {
  display: inline-block;
  margin-top: 1.875rem;

  color: var(--home-text-color-dark);
  font-weight: 600;
  font-size: 1.125rem;
  position: relative;
  z-index: 1;
}

.get-started-line .green-line {
  position: absolute;
  width: 100px;
  left: 0;
  top: 4px;
  bottom: 0%;
  z-index: 0;
  border-bottom: 10px solid #3244ad6d;
}

/*============= Section Track your spending ======*/
.track-your-spending {
  margin-top: 10rem;
  padding: 0 3.125rem 0 3.125rem;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.track-your-spending-left {
  margin-right: 4rem;
}

.track-your-spending-left h2 {
  margin-top: 4rem;
}

.track-your-spending-right img {
  width: 600px;
}

/*============= Mobile Menu ======*/
.menu {
  display: none;
}

.open-close {
  display: flex;
  align-items: center;
}

.mobile-menu .close {
  display: none;
}

.mobile-menu.active {
  width: 100%;
  height: 100%;

  position: fixed;
  right: 0;
  bottom: 0;
  background: rgb(255, 255, 255);
  z-index: 10;

  transition: 0.3s ease;
}

.mobile-menu .open {
  display: inline-block;
  cursor: pointer;
}

.mobile-menu.active .close {
  display: inline-block;
  cursor: pointer;
  margin-top: 3px;
}

.mobile-menu.active .open {
  display: none;
}

.mobile-menu.active .open-close {
  justify-content: flex-end;
  padding-top: 2.6rem;
  padding-right: 2.3rem;
}

.mobile-menu.active .menu {
  display: block;
}

.menu-items {
  margin-top: 4rem;
}

.menu-items ul a {
  display: inline-block;
}

.menu-items ul {
  display: block;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.menu-items ul a {
  margin-bottom: 4rem;
  width: 100%;
  padding: 2rem;
  font-size: 1.3rem;
  color: black;
  font-weight: bold;

  transition: all 0.3s ease;
}

.menu-items ul a:hover {
  color: var(--primary-color);
}

.mobile-menu div.logo-menu {
  display: none;
}

.mobile-menu.active .logo-menu {
  display: flex;
  align-items: center;

  position: absolute;
  left: 2.5rem;
}

.mobile-menu .logo-menu p {
  font-size: 1.375rem;

  font-size: 1.3rem;
  font-weight: bold;
  color: var(--home-text-color-dark);
  margin-left: 1rem;
}

.mobile-menu .logo-menu img {
  width: 2.8rem;
}

/*============= Section Get in touch with me ======*/
.get-in-touch.container{
  background-color: transparent;
}

.get-in-touch-content {
  background: var(--home-text-color-dark);
  padding: 5.25rem;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 70%;
  margin: 10rem auto;
}

.get-in-touch-content h2.section-title {
  color: white;
  max-width: 337px;
}

section.get-in-touch a.get-started {
  display: inline-block;

  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  border-radius: var(--btn-radius);
  color: white;
  margin-left: 1rem;
  padding: 1.5rem 5rem;
}

/*============= Footer ======*/

footer {
  margin-top: -320px;
  background: #ecebff;
  padding-left: 6rem;
  padding-right: 6rem;
  padding-top: 15rem;
  padding-bottom: 6rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;

  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-card {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 2rem 4rem;
}

.footer-card h3 {
  margin-bottom: 1.125rem;
  color: var(--home-text-color-dark);
}

.footer-card a {
  text-decoration: none;
  color: var(--text);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.footer-card a:hover {
  color: var(--primary-color);
}

.footer-card a:last-child {
  margin: 0;
}

.footer-card .social #git {
  margin-left: 1rem;
  margin-right: 1rem;
}

#insta,
#linkedin,
#git {
  transition: color 0.3s ease;
}

#insta:hover,
#linkedin:hover,
#git:hover {
  color: var(--primary-color);
}



/*========= Loading Screen =========*/
.loader-overlay{
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;
}

.loader{
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(45deg, transparent, transparent 40%, #3244AD);
  animation: animate 1s linear infinite;
}

@keyframes animate{
  0%{
    transform: rotate(0deg);
    filter: hue-rotate(0deg);
  }
  100%{
    transform: rotate(360deg);
    filter: hue-rotate(360deg);
  }
}

.loader:before{
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  background: #ffffff;
  border-radius: 50%;
  z-index: 1000;
}

.loader:after{
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: #0000ff;
  border-radius: 50%;
  z-index: 1;
  filter: blur(30px);
}

