@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600&display=swap');

:root {
  --sakura-claro: #FEE9F2;
  --sakura-rosa: #F8C8DC;
  --sakura-medio: #F49AC2;
  --sakura-escuro: #D86A9E;
  --verde-escuro: #2e4e2e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
body {
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--verde-escuro);
  background: url('imagens/arvoreSakura.png') no-repeat center center fixed;
  background-size: cover;
  background-attachment: contain;
  padding: 40px 20px;
}

#container {
  max-width: 1200px;
  margin: auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(244, 154, 194, 0.25); /* tom sakura suave */
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.main.supporting,
#jar-intro,
#jar-supporting {
  flex: 1 1 65%;
  min-width: 300px;
}

.sidebar,
#jar-link-list.sidebar {
  flex: 0 0 280px;
  background: var(--sakura-rosa);
  padding: 25px;
  border-radius: 16px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
}

.sidebar h3,
#jar-link-list h3 {
  font-weight: 600;
  color: var(--sakura-escuro);
  margin-bottom: 15px;
}

.sidebar ul,
#jar-link-list ul {
  list-style: none;
  padding-left: 0;
}

.sidebar li,
#jar-link-list ul li {
  margin-bottom: 12px;
  padding: 6px 10px;
  background-color: var(--sakura-claro);
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.sidebar li:hover {
  background-color: var(--sakura-medio);
}

/*Títulos*/
h1, h2, h3 {
  font-family: 'Georgia', serif;
  color: #3b5e3c;
  margin-bottom: 12px;
}

.header h1 span {
  font-size: 2.8rem;
  color: var(--verde-escuro);
}

.header h2 span {
  font-size: 1.4rem;
  color: #4a7f4a;
  margin-top: 10px;
  display: block;
}

h3 span {
  font-size: 1.6rem;
  color: #2f5e2f;
  margin-bottom: 15px;
  display: inline-block;
}

/*Parágrafos*/
p {
  margin-bottom: 1em;
  color: #3c5c3c;
}

/*Links*/
a {
  color: #c8508d; /* tom rosa forte */
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--sakura-escuro);
  border-bottom-color: var(--sakura-escuro);
}

/*Rodapé*/
.footer,
#jar-footer {
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  color: #4d704d;
  border-top: 1px solid #ccc;
  padding-top: 20px;
}

/*Responsividade*/
@media (max-width: 900px) {
  #container {
    flex-direction: column;
    padding: 20px;
  }

  .sidebar,
  #jar-link-list.sidebar {
    flex: 1 1 100%;
    margin-top: 20px;
  }
}

/*Efeito de flores caindo*/
.folha-caindo {
  position: fixed;
  top: -50px;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 9999;
  animation: cairFolha linear forwards;
}

@keyframes cairFolha {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}
