/* Base HTML Styles */
@import url("https://fonts.googleapis.com/css2?family=Inter&family=Rubik:ital,wght@0,400;0,700;1,400&display=swap");
:root {
  --white: #ffffff;
  --bg:#957bd7;
  --pastel-light:#da9df9; /* lightest */
  --pastel-1: #e7b2ff;
  --pastel-2: #dbb2ff;
  --pastel-3: #d0b2ff;
  --pastel-4: #c8b2ff;
  --pastel-5: #b5b2ff; /* darkest */
}
 /* CSS Reset */

 html {
   box-sizing: border-box;
   font-size: 16px;
   font-family: "Inter", sans-serif;
   color:#513d81;
   scroll-behavior: smooth;
 }

body {
  background-color: #daccff;
}

 *,
 *:before,
 *:after {
   box-sizing: inherit;
 }

 h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
   font-family: "Rubik", sans-serif;
 }

 body,
 h1,
 h2,
 h3,
 h4,
 h5,
 h6,
 p,
 ol,
 ul {
   margin: 0;
   padding: 0;
 }

 ol,
 ul {
   list-style: none;
 }

 img {
   max-width: 100%;
   height: auto;
 }

 input,
 button,
 textarea {
   font: inherit;
 }

 /* Utilities */
 .display-none {
   display: none;
 }

 /* Components */

 /* header */
 header .mobile-header {
   padding: 16px;
   display: flex;
   align-items: center;
   justify-content: flex-end;
 }

 header button {
   all: unset;
 }

 @media (min-width: 768px) {
   header {
       display: flex;
       align-items: center;
       justify-content: flex-end;
   }

   header nav ul {
       display: flex;
       gap: 24px;
       margin-right: 16px;
   }

   header .mobile-header .hamburger-icon {
       display: none;
   }
 }

 /* .mobile-nav */
 .mobile-nav a {
   text-decoration: none;
   color:#513d81;
   display: block;
  padding: 4px 16px;
 }
 
 /* .desktop-nav */
 .desktop-nav {
   display: none;
 }

 @media (min-width: 768px) {
   .desktop-nav a {
       text-decoration: none;
       font-size: larger;
       color:#513d81;
   }
 
   .desktop-nav {
       display: inline-block;
   }
 }

 /* .hamburger-icon  */
 .hamburger-icon {
   height: 50px;
 }

/* About Me Page */


/* .hero */
.hero {
padding: 32px 20px;
background-color: #dbb2ff;
border-radius: 30px;
margin: 30px 50px;
text-align: center;
}

.hero h1 {
font-size: 2rem;
margin-bottom: 24px;
}

.hero h2 {
font-size: 1rem;
margin-bottom: 24px; 
}

/* article */
article {
padding: 30px 30px;
border-radius: 30px;
margin: 20px 30px;
}

.fact1 {
background-color:#b4b1ff;
}

.fact2 {
background-color:#a4a1f8;
}

.fact3 {
background-color:#8f8bf0;
}

article:hover {
transform: scale(1.04); /* zoom in on hover */
transition: transform 0.3s ease;
}

article h2 {
margin-bottom: 16px;
color:#513d81;    
}

article p {
margin-bottom: 16px; 
color:#513d81;  
}

/* Project Page */

.project {
    padding: 32px 20px;
    border-radius: 30px;
    margin: 30px 50px;
    background-color:var(--pastel-5);
}

project h2 {
margin-bottom: 16px;    
}

project p {
margin-bottom: 16px; 
}


/* Contact */

 .contact-form {
   padding: 48px 16px;
   margin: 5px 10px;
 }
 
 .contact-form input,
 .contact-form textarea {
   display: block;
   width: 100%;
   padding: 8px;
   border-radius: 10px;
   margin-bottom: 16px;
 }
 
 .contact-form label {
   display: block;
   width: 100%;
 }
 
 .contact-form h2 {
   color:#513d81;
   margin-bottom: 16px;
   text-align: center;
 }
 
 .contact-form input[type="submit"] {
   background-color:#e7b2ff;
   border: 0.1;
   margin-top: 8px;
   cursor: pointer;
   color:#513d81;
 }

 @media (min-width: 768px) {
   .contact-form h2 {
       font-size: 2.5rem;
   }
 
   .contact-form form {
       max-width: 60%;
       margin: 40px auto;
   }
 }

 /* footer for About Me and Projects */
 footer {
    text-align: center;
    padding: 20px 0;
    font-size: 16px;
    color:#6b6a6a;
}

/* footer for Contact */
 footer {
   padding: 16px;
   text-align: center;
   display: flex;
   justify-content: space-around;
 }
 
 .socials-icon {
   width: 50px;
   height: 50px;
 }

 @media (min-width: 768px) {
   footer {
       justify-content: center;
   }
 
   footer .socials-icon {
       margin-left: 20px;
       margin-right: 20px;
   }
 }
