@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
:root {
  --bg: #fdf1cd; /* Light cream background */
  --popsical: #f0868f; /* Popsicle pink */
  --popsicalHighlight: #e5566f; /* Darker pink/red */
  --accent: #8f4a42; /* Brown accent */
  --text: #151030; /* Dark outline text */
  --stick: #f2c89f; /* Stick light brown */
}
.projects a{
  color: var(--text);
  text-decoration: none;
}
body {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background-color: var(--bg);
}
h1{
    font-size: 5rem;
}
p{
    font-size: 1.2rem;
}
.text-side .btn {
  display: inline-block;
  background-color: var(--popsical);
  color: white;
  padding: 1rem 2rem;
  margin: 0.5rem 0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.text-side .btn:hover {
  background-color: var(--popsicalHighlight);
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  width: 100vw;
}

.text-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  background-color: var(--stick);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: left;
}

.image-side {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px 8px 0 0;
  background-color: var(--bg);
}

.image-side img {
    border-radius: 8px 8px 0 0;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .container {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .image-side {
    order: -1; /* This puts it on top */
    width: 100%;
    height: auto;
    padding: 2rem 0;
  }

  .image-side img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
  }

  .text-side {
    padding: 2rem 1.5rem;
    text-align: center;
    align-items: center;
    gap: 1rem;
  }

  h1 {
    font-size: 3rem;
  }

  p {
    font-size: 1rem;
  }
}
.post {
  background-color: var(--stick);
  border-left: 8px solid var(--popsical);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post h2 {
  margin-top: 0;
  color: var(--accent);
}

.post p {
  line-height: 1.6;
  font-size: 1.1rem;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .image-side {
    order: -1;
    width: 100%;
    height: auto;
    padding: 3rem 0;
  }

  .image-side img {
    max-width: 70%;
    height: auto;
    border-radius: 8px;
  }

  .text-side {
    padding: 3rem 2rem;
    text-align: center;
    align-items: center;
    gap: 1.2rem;
  }

  h1 {
    font-size: 4rem;
  }

  p {
    font-size: 1.1rem;
  }
}





