body,
html {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    height: 100%;
    width: 100%;
}

.cover {
    /* background: url('https://static.igem.wiki/teams/4608/wiki/backgrounds/purple-background.png') center/cover no-repeat; */
    background-color: #EEEBE5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%234B74A0' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%23253F6E'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 7rem 2rem;
    justify-content: center;
    height: 100vh;
    width: 100%;
}

.cover h1 {
    color: #253f6e;
    font-size: 9rem;
    margin: 0;
    z-index: 1;
    opacity: 0;
    transform: translateY(250px) scale(0.95);
    animation: fadeInUpZoom 1.2s ease-out 0.5s forwards;
}

@keyframes fadeInUpZoom {
    to {
        opacity: 1;
        transform: translateY(0) scale(1.2);
    }
}

.summary {
    width: 100%;
    height: 400px;
    background-color: turquoise;
    padding-left: 7rem;
    padding-right: 6rem;

    display: flex;
    align-items: center;
    flex-direction: column;
    /* vertical */
    justify-content: center;
    /* orizontal, dacă vrei */
}

.summary p {
    font-size: 20px;
    text-align: justify;
}


.practices {
    min-height: 100vh;
    padding: 4rem 8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-snap-align: start;
    overflow-y: auto;
    scrollbar-width: none;
}

.practices h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
    font-weight: 600;
    color: #111;
}

.grid-people {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    /* max-width: 1250px; */
}

.month-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 50px;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-wrapper:hover {
    box-shadow: 0 0 60px #253f6e;
    transform: translateY(-4px);
}

.card-content {
    display: flex;
    gap: 20px;
}

.card-image {
    width: 200px;
    height: 300px;
    max-width: 200px;
    max-height: 300px;
    border-radius: 10px;
    object-fit: cover;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-author {
    font-weight: 500;
    margin-bottom: 8px;
}

.card-body {
    color: #555;
}

.filters {
  margin-bottom: 20px;
  font-weight: 500;
}

#categoryFilters button {
  margin-right: 10px;
  padding: 6px 12px;
  background: #eee;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

#categoryFilters button:hover {
  background: #ccc;
}
