html {
    scroll-behavior: smooth;
}

:root {
    --Dark: 40,15,37;
    --Purple: 144,93,161;
    --Pink: 255,175,196;
    --FadedPink: 242,198,213;
    --Lightest: 241,242,242;
}

/*ISSUE CHECKER*/
main {
    border: solid, red, 0px;
}
header, nav, section, article, footer, aside {
    border: solid, yellow, 0px;
}
figure, details, mark, summary, time {
    border: solid, lime, 0px;
}
img, map, ul, table {
    border: solid, cyan, 0px;
}
h1, h2, h3, h4, h5, h6, p, li, figcaption, th, td {
    border: solid, magenta, 0px;
}

body {
    background-color: rgb(var(--Pink));
    font-family: "giulia-plain", sans-serif;
    font-style: normal;
    text-align: center;
    background-image:url("../../../Images/CarrotBackground.jpg");
}

.Bordered {
    border-style:solid;
    border-radius: 20px;
    border-width: 4px;
    border-color:rgb(var(--Pink));
}

h1 {
    color:rgb(var(--Dark));
    font-size: 7vw;
    text-shadow: 0 0 20px rgb(var(--Lightest));
    padding-top: 20px;
    padding-left: 10px;
    font-family: "giulia", sans-serif;
    font-weight: 700;
    font-style: normal;
}

h2 {
    color:rgb(var(--Dark));
    text-shadow: 0 0 20px rgb(var(--Lightest));
    padding-top: 20px;
    padding-left: 10px;
    font-family: "giulia", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.Header {
    text-decoration: underline;
    color:rgb(var(--Dark));
}

.navbar {
    width: 99%;
    height: 30px;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 16px;
    padding-bottom: 6px;
    margin:auto;
    background-color: rgb(var(--FadedPink));
    overflow: auto;
    border: solid 10px rgb(var(--Purple));
    margin-bottom: 50px;
}

.navbar a {
    float:center;
    text-align: center;
    padding: 50px;
    padding-bottom: 10px;
    color: rgb(var(--Dark));
    text-decoration: none;
    font-size: 20px;
    width: 125px;
    transition: color 750ms, background-color 1s, font-size 750ms;
}

.navbar a:hover {
    transition: color 750ms, background-color 1s, font-size 750ms;
    background-color: rgb(var(--Lightest));
    color: rgb(var(--Purple));
    font-size: 22px;
}

p {
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 2vw;
    color: rgb(var(--Dark));
}

a {
    color:rgb(var(--Lavender_Lite_LighFadedPink));
}

::placeholder {
    font-style: italic;
}

.grid-container {
    display:grid; 
    grid-template-areas: 'header header header header right right''main main main main right right''main main main main right right'; 
    gap: 10px; 
    background-color: rgb(var(--Pink));
    padding: 7px;
}
.grid-container > header {
    background-color: rgb(var(--Purple));
    text-align: center;
    font-size: 30px;
}
.grid-container > section {
    background-color: rgb(var(--Purple));
    text-align: center; 
    padding: 10px 0; 
    font-size: 30px;
}
.grid-container > aside {
    background-color: rgb(var(--Purple));
    text-align: center; 
    padding: 10px 0; 
    font-size: 30px;
}
.grid-container > nav {
    background-color: rgb(var(--Purple));
    text-align: center; 
    padding: 10px 0; 
    font-size: 30px;
}
.item1 {
    grid-area: header;
}
.item2 {
    grid-area: main; 
}
.item3 {
    grid-area: right; 
    background-color: rgb(var(--Purple));
}

ul {
    padding-left: 150px;
}

li {
    color: rgb(var(--Dark));
    text-align: left;
}

.Hidden {
    color: rgb(var(--Dark));
    text-decoration: none;
}

h2 {
    color: rgb(var(--Dark));
    font-size: 3vw;
    text-decoration: underline;
}

h3, h4, h5, h6 {
    color: rgb(var(--Dark));
}

main {
    padding: 20px;
}

section {
    display: flex;
    flex-wrap: wrap;
    padding-right: 0px;
    margin: 0%;
}

figure{
    width: fit-content;
    margin-left: 10%;
    margin-right: 50%;
    margin-bottom: 5%;
}

aside {
    width: 40%;
    padding-left: 10px;
    padding-right: 10px;
}


/* CHATGPT MADE EVERYTHING BELOW */
/* Animate the bounce for individual letters */
.letter {
    display: inline-block;
    animation: bounce-fall 0.5s ease-in-out forwards;
    opacity: 0;
}

.word {
    display: inline-block; /* Treat words as separate units */
    white-space: nowrap;   /* Prevent words from breaking mid-line */
}

/* Animation keyframes */
@keyframes bounce-fall {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        transform: translateY(-10px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1; /* Ensure opacity remains visible */
    }
}


#NormalBunny {
    width: 50%; /* Use relative width for responsiveness */
    height: auto; /* Maintain aspect ratio */
    display: block;
    margin: auto; /* Center the image */
}
