/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
HTML content. To learn how to do something, just try searching Google for questions like
"how to change link color." */

  
  

            /* user styles */

            /* styles are what change the color and sizes of stuff on your site. */

            /* these are variables that are being used in the code
    these tended to confuse some people, so I only kept 
    the images as variables */

            :root {
                --header-image: url('https://tamarmalade.neocities.org/flowerheader.jpg');
                --body-bg-image: url('grass.png');

                /* colors */
                --content: #bd7da2;
            }


            body {
                font-family: 'courier', sans-serif;
                margin: 0;
                background-color: #09360f;
                background-size: 65px;
                color: #edffea;
                background-image: var(--body-bg-image);
            }

            * {
                box-sizing: border-box;
            }
            
       		.marquee {
      			border: 2px solid white ;
      			display: flex ;
      			overflow: hidden ;
      			white-space: nowrap ;
      			width: 650px ;
      		}
      		.marquee__item {
      			animation-duration: 17s ;
      			animation-iteration-count: infinite ;
      			animation-name: marquee-content ;
      			animation-timing-function: linear ;
      			padding: 5px 15px 5px 15px ;
      		}
      		.marquee:hover .marquee__item {
      			animation-play-state: paused ;
      		}
      
      		/**
      		* BOTH of the marquee items are going to be translating left at the same time.
      		* And, once each of them has translated to -100%, they will both snap back into
      		* place, making it seem as if they are continuously scrolling.
      		*/
      		@keyframes marquee-content {
      			from {
      				transform: translateX( 0% );
      			}
      			to {
      				transform: translateX( -100% );
      			}
      		}

            /* below this line is CSS for the layout */


            /* the "container" is what wraps your entire website */
            /* if you want something (like the header) to be Wider than
    the other elements, you will need to move that div outside
    of the container */
            #container {
                max-width: 1000px;
                margin: 0 auto;
                /* this centers the entire page */
            }

            /* the area below is for all links on your page
    EXCEPT for the navigation */
            #container a {
                color: #58a37e;
                font-weight: bold;
            }

            #header {
                width: 100%;
                background-color: #4e8c73;
                /* header color here! */
                height: 150px;
                /* this is only for a background image! */
                /* if you want to put images IN the header, 
      you can add them directly to the <div id="header"></div> element! */
                background-image: var(--header-image);
                background-size: 100%;
                background-repeat: no-repeat;
                background-attachment: fixed;
                background-position-y: 50%;
            }

            /* navigation section!! */
            #navbar {
                height: 40px;
                background-color: #092d0a;
                /* navbar color */
                width: 100%;
            }

            #navbar ul {
                display: flex;
                padding: 0;
                margin: 0;
                list-style-type: none;
                justify-content: space-evenly;
            }

            #navbar li {
                padding-top: 10px;
            }

            /* navigation links*/
            #navbar li a {
                color: #64f5a8;
                /* navbar text color */
                font-weight: 800;
                text-decoration: none;
                /* this removes the underline */
            }

            /* navigation link when a link is hovered over */
            #navbar li a:hover {
                color: #a49cba;
                text-decoration: underline;
            }

            #flex {
                display: flex;
            }
            


            /* this colors BOTH sidebars
    if you want to style them separately,
    create styles for #leftSidebar and #rightSidebar */
            aside {
                background-color: #144524;
                width: 300px;
                padding: 20px;
                font-size: smaller;
                /* this makes the sidebar text slightly smaller */
            }


            /* this is the color of the main content area,
    between the sidebars! */
            main {
                background-color: #256e40;
                display: flex
                flex-wrap: wrap;
                flex: 1;
                padding: 20px;
                order: 2;
            }

            /* what's this "order" stuff about??
    allow me to explain!
    if you're using both sidebars, the "order" value
    tells the CSS the order in which to display them.
    left sidebar is 1, content is 2, and right sidebar is 3! */

            */ #leftSidebar {
                order: 1;
            }

            #rightSidebar {
                order: 3;
            }

            footer {
                background-color: #13092D;
                /* background color for footer */
                width: 100%;
                height: 40px;
                padding: 10px;
                text-align: center;
                /* this centers the footer text */
            }

            h1,
            h2,
            h3 {
                color: #eba1f0;
            }

            h1 {
                font-size: 25px;
            }

            strong {
                /* this styles bold text */
                color: #eba1f0;
            }

            /* this is just a cool box, it's the darker colored one */
            .box {
                background-color: #13092D;
                border: 1px solid #ED64F5;
                padding: 10px;
            }

            /* CSS for extras */

            #topBar {
                width: 100%;
                height: 30px;
                padding: 10px;
                font-size: smaller;
                background-color: #13092D;
            }
        .blog {
        padding: 50px;
        }

        main p {
          font-size: 1em; /* Scales relative to parent font size */
          margin-bottom: 1em;
          width: 90%; /* Scales relative to parent width */
          max-width: 900px; /* Prevents excessive stretching on large screens */
         }

            /* BELOW THIS POINT IS MEDIA QUERY */

            /* so you wanna change the width of your page? 
    by default, the container width is 900px.
    in order to keep things responsive, take your new height,
    and then subtrack it by 100. use this new number as the 
    "max-width" value below
    */

            @media only screen and (max-width: 800px) {
                #flex {
                    flex-wrap: wrap;
                }

                aside {
                    width: 100%;
                }

    }

                /* the order of the items is adjusted here for responsiveness!
      since the sidebars would be too small on a mobile device.
      feel free to play around with the order!
      */
                main {
                    order: 1;
                }

                #leftSidebar {
                    order: 2;
                }

                #rightSidebar {
                    order: 3;
                }

                #navbar ul {
                    flex-wrap: wrap;
                }
            }
        </style>