@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit:wght@100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  
}

body {
  font-family: "Inter", sans-serif;
  background-color: #1e182a   ;
  color: #1a1a1a;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  scale: 1.2;
  cursor: pointer;
}

button
{
  background-color: #564991;
  color: #fff;
  border: 1px solid #cee5ff;
  border-radius: 6px;
  padding: 0.5rem;
  margin: 0 1%;
  box-shadow: 2px 2px 5px #0000009a;
  font-size: 0.8em;
}

button:hover
{
  scale: 1.1;
  cursor: pointer;
  background-color: #cee5ff;
  color: #1e182a;
}

header {
  border-bottom: 2px solid #c589dc;
  margin-bottom: 1%;
  color: #ffff;
}

nav {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img{
  max-width: 64px;
  /* IE, only works on <img> tags */
  -ms-interpolation-mode: nearest-neighbor;
  /* Firefox */
  image-rendering: crisp-edges;
  /* Chromium + Safari */
  image-rendering: pixelated;
  border: #cee5ff solid 2px;
  border-radius: 100%;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul a.active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

main {
  background: #1e182a ;
  border: #cee5ff solid 2px;
  color: #fff;
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.hero {
  margin: 25vw 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;  
  text-transform: uppercase;
  font-style: normal;
}

.subtitle {
  font-size: 1.125rem;
  color: #c9c9c9;
  margin-bottom: 0.5rem;
}

h1{
  font-family: "Outfit", sans-serif;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.projects,
.about {
  margin-bottom: 4rem;
}

.project-list {
  gap: 1.5rem;
}

.project-card {
  display: inline-block;
  background-color: #564991;
  width: 300px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 1.25rem;
  margin: 0.5rem;
  box-shadow: 2px 2px 10px #cee5ffa0 inset;
}

.project-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.project-card p {
  color: #1e182a ;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

/* .project-card:hover
{
  scale: 1.05;
  box-shadow: 2px 2px 20px #cee5ff inset;
} */

.project-link {
  font-size: 0.875rem;
  color: #cee5ff ;
}

.about p {
  color: #e5e5e5;
  text-align: justify;
  max-width: 560px;
}

.blog h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.post-card time {
  display: block;
  font-size: 0.8125rem;
  margin-bottom: 0.25rem;
}

.post-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.post-card p {
  color: #666;
  font-size: 0.9375rem;
}

footer {
  background: #564991 ;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #cee5ff ;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.fiverr-button
{
  background-color: green;
  color: #fff;
  border: 1px solid #cee5ff;
  border-radius: 6px;
  box-shadow: 2px 2px 5px #0000009a;
  font-size: 0.8em;
}

.fiverr-button:hover
{
  background-color: green;
  color: #fff;
  scale: 1.1;
  cursor: pointer;
}

.tool-icons img
{
  margin-right: 5px;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  max-width: 480px;
}

#contact-form label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #cee5ff;
}

#contact-form input,
#contact-form textarea {
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid #564991;
  border-radius: 6px;
  background: #2a2340;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #cee5ff;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #7a6b9e;
}

#contact-form button[type="submit"] {
  align-self: flex-start;
  margin: 0;
}

#form-status {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  min-height: 1.25rem;
}

#form-status.success {
  color: #6fcf97;
}

#form-status.error {
  color: #eb5757;
}

#form-status.loading {
  color: #cee5ff;
}