body {
  margin: 0;
  background-color: #FCBBD6;
  font-family: "Consolas", "Arial", sans-serif;
  }
  
/*Everything goes inside here.*/
.wrapper {
  width: 900px;
  margin: 0 auto;
  }
  
   /* navigation section!! */
            #navbar {
                height: 40px;
                
                /* 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: #d71234;
                /* 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: #37c253;
                text-decoration: underline;
            }

            #flex {
                display: flex;
            }


.sidebar-img, .footer, .title, .links, .box {
  margin-top: 25px;
  }
  
.title, .links, .footer {
  text-align: center;
  color: #d71234;

  }
.titlegr {
  text-align: center;
  color: #37c253;
}

.textred {
    color: #d71234;
}

.textgrn {
    color: #37c253;
}



/*Navigation links.*/
.links ul {
  list-style-type: none;
  padding: 0;
  margin: 0;

  }
  
.links li {
  display: inline-block;
  }

/*flip*/

.flip-container {
    perspective: 1000px;
    
}
.flip-container:hover .flipper,
.flip-container.hover .flipper {
    transform: rotateY(180deg);
}
.flip-container,
.front,
.back {
    width: 400px;
    height: 400px;
}
.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
}
.front,
.back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    
}
.front {
    z-index: 2;
    transform: rotateY(0deg);
    
}
.back {
    transform: rotateY(180deg);
}


/*Basic box code that is used for all content boxes on the page.*/
.box {
  border: 1px solid black;
  padding: 0.5em 1em;
    	background-image: url("https://heydoggy.neocities.org/journal2.png");
}


/*Goes inside the box class. Not given any style by default, but can be used for stuff like fancy borders.*/
.inner {

  }
  
/*Prevent image overflow.*/
.box img, .sidebar img, .flip-container img {
  max-width: 100%;
  height: auto;
  }
  

/*Wrapper for the sidebar.*/
.sidebar {
  width: 200px;
  float: left;

  }
  
/*Container for the sidebar image.*/
.sidebar-image {
  border: 1px solid black;
  }
  
/*Remove extra padding line at the bottom of the image.*/
.sidebar-image img {
  display: block;
  }
  

/*This is where the title, navbar, and main content all go.*/
.main-wrapper {

  }
  
/*Two columns by default. The "single-column" class can be added to make it one column.*/
.main {
  columns: 2;
  column-gap: 25px;
  }
  
/*Make sure boxes don't spread over multiple columns.*/
.main .box {
  display: inline-block;
  }
  
.single-column {
  columns: 1;
  }
  
  
  
.footer {
  margin-bottom: 25px;
  }
  
@media(max-width:915px) {
  .wrapper {    
    width: 95%;
    }
    
  .main-wrapper {
    width: calc(100% - 225px);
    }
  }
  
@media (orientation: portrait), (max-width: 480px) {
  .wrapper {
    width: 100%;
    }
  
  .main-wrapper, .sidebar, .footer {
    margin: 0 auto;
    width: 90%;
    }
  
  .sidebar {
    float: none;
    display: block;
    }

  .sidebar-image {
    margin: 0 auto;
    width: 33%;
    margin-top:25px;
    }

  .sidebar .sidebar-image img {
    width: 100%;
    }
    
    
  .footer {
    margin-bottom: 25px;
    }
  
  }