* {
  box-sizing: border-box;
}

/* Create two equal columns that floats next to each other */
.column50 {
    float: left;
    width: 50%;
    padding-left: 0.6em;
    padding-right: 0.6em;
}
/*.column333 {
    float: left;
    width: 33.3%;
    padding-left: 0.6em;
    padding-right: 0.6em;
}*/
.column270p {
    float: left;
    width: 17em;
    padding-left: 0.6em;
    padding-right: 0.6em;
}
.column43e {
    float: left;
    max-width: 43em;
    padding-left: 0.6em;
    padding-right: 0.6em;
}
/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 55em) {
  .column50 {
    width: 100%;
  }
    .column333 {
    width: 100%;
  }
    .column270p {
    width: 100%;
  }
    .column43e {
    width: 100%;
  }
    .navlogom {
    width: 20em;
    }
    .navbar a {
    font-size: 1.4em;
    }
    .blogimg {
    width: 100%;
    }
    
}
@media (min-width: 55em) {
  /* CSS that should be displayed if width is equal to or less than 800px goes here */
    .floatleftchara {
        float: left;
        padding: 1.125em;
        width: 35%;
    .floatleftd {
        float: left;
        padding: 1.125em;
        width: min-content;
    }
    .floatrightd {
        float: right;
        padding: 1.125em;
    }
    .navbar a {
    font-size: 2em;
    }
    .blogimg {
        width: 70%;
    }
}
@media (min-width: 65.4em) {
  /* Sidebar*/
    .sidebar {
        float: left;
        padding: auto;
        border: double;
        max-width: 25em;
        height: min-content;
        max-height: calc(100vh - 14.9em);
        position: fixed;
        overflow-y: auto;
    }
    .contents {
    margin-left: 25.625em;
    }
    .floatleft {
    float: left;
    padding-top: 0.4em;
    }
}

@media (max-width: 65.4em) {
    h1 {
        padding-top: 0.2em;
    }
    .floatleft {
    float: left;
    padding-top: 1em;
    }

}

.sidebar {
    padding-bottom: 0.6em;
    border-style: solid;
    border-color: white;
    min-width: 20em;
    max-width: 24.375em;
    }

.emote {
    height: 20px;
    }

/* NAVBAR OLD -----------------------------------------------------------------------------------------------*/

.navbar {
    padding-top: 5px;
    padding-bottom: 20px;
    width: 100%; 
    display: flex;
    flex-direction: row; 
    justify-content: center; 
    flex-wrap: wrap; 
    margin: auto;
    font-family: "liquid_embrace";
    line-height: 200%;
    
}
.navbar a {
    color: white;
    padding: 10px;
    margin-right: 20px;
    transition: color 0.5s ease;
}

.navbar a:hover {
    color: #a9e976;
}

.navlogo {
    padding-top: 20px;
    padding-bottom: 5px;
    display: flex;
    justify-content: center;
}

/*-----------------------------------------------------------------------------------------------------------*/

/* NAVFRAME -------------------------------------------------------------------------------------------------*/

@media (min-width: 0em) {
    .navframe {
        height:15.9em;
        border:none;
    }
}

@media (min-width: 25.4em) {
    .navframe {
        height:13em;
        border:none;
    }
}

@media (min-width: 37.0em) {
    .navframe {
        height:16.6em;
        border:none;
    }
}

@media (min-width: 65.4em) {
    .navframe {
        height:13em;
        border:none;
    }
}

/*-----------------------------------------------------------------------------------------------------------*/


.containersb {
    max-width: 100%;
    margin: auto;
}
.container {
    max-width: 60em;
    margin: auto;
    
}
.contents {
    max-width: 60em;
    float: left;
}

body {
    background-image: url("images/TP04_BGPunk_Web.jpg");
    /*Halloween*//*background-image: url("images/TP04_BGRed_Web.jpg");*/
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}
.floatleft {
    float: left;
    padding-left: 0.9em;
    padding-right: 0.9em;
    padding-bottom: 0.4em;
    }
    .floatright {
    float: right;
    padding: 0.9em;
    }
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
.center {
    width: 100%; 
    display: flex;
    flex-direction: row; 
    justify-content: center; 
    flex-wrap: wrap;
    margin: auto;
}
.spacer {
    padding-top: 0.3em;
}
.riitag {
    width: 31.25em;
}

/* GALLERY --------------------------------------------------------------------------------------------------*/

.gallery {
    column-count: 1;
    column-gap: 0.9em;
    padding: 1.25em;
}

.gallery img {
    width: 100%; 
    max-width: 100%; 
    height: auto; 
    margin-bottom: 0.6em;
    display: block;
}

@media (min-width: 25em) {
    .gallery {
        column-count: 1; 
    }
        .cards { grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 42em) {
    .gallery {
        column-count: 2; 
    }
        .cards { grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 75em) {
    .gallery {
        column-count: 3; 
    }
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}


.cards {
    max-width: 100%; 
    margin: 0.6em;
    display: grid;
    gap: 0.5rem;
}

.card {
    background-color: none;
    color: black;
    width: 100%; 
    max-width: 100%;
    height: auto;
}

.card img {
    width: 100%; 
    max-width: 100%;
    height: auto;
}


/*-----------------------------------------------------------------------------------------------------------*/

/* FONTS ----------------------------------------------------------------------------------------------------*/

@font-face {
    font-family: 'liquid_embrace';
    src: url('fonts/liquid_embrace-webfont.woff2') format('woff2'),
         url('fonts/liquid_embrace-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Bit Cell';
    src: url('fonts/BitCell-Regular.eot');
    src: url('fonts/BitCell-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/BitCell-Regular.woff2') format('woff2'),
        url('fonts/BitCell-Regular.woff') format('woff'),
        url('fonts/BitCell-Regular.ttf') format('truetype'),
        url('fonts/BitCell-Regular.svg#BitCell-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
h1 {
    color: #ffffff;
    font-family: 'liquid_embrace';
    font-size: 3em;
    margin-top: 0.1em;
    margin-bottom: 0.1em;
    line-height: 100%;
}
h2 {
    color: #ffffff;
    font-family: 'liquid_embrace';
    font-size: 2.3em;
    margin-top: 0.5em;
    margin-bottom: 0.1em;
}
.sidebar h2 {
    margin-top: 0.2em;
    margin-bottom: 0.1em;
}
h3 {
    color: #ffffff;
    font-family: 'liquid_embrace';
    font-size: 1.7em;
    margin-top: 0.5em;
    margin-bottom: 0.1em;
}
h4 {
    color: #ffffff;
    font-family: 'liquid_embrace';
    font-size: 1.4em;
    margin-top: 0.5em;
    margin-bottom: 0.1em;
}
h5 {
    color: #ffffff;
    font-family: 'liquid_embrace';
    font-size: 1em;
    margin-top: 0.1em;
    margin-bottom: 0.1em;
}
p {
    color: #ffffff;
    font-family: 'Bit Cell';
    font-size: 1.9em;
    margin-top: 0.1em;
    margin-bottom: 0.6em;
    line-height: 85%;
}
section {
    color: #ffffff;
    font-family: 'Bit Cell';
    font-size: 1.9em;
    margin-top: 0.1em;
    margin-bottom: 0.1em;
    line-height: 85%;
}
a {
    color: #a9e976;
    /*Halloween*//*color: orange;*/
}
.p {
    color: #ffffff;
    font-family: 'Bit Cell';
    font-size: 1.9em;
    margin-top: 0.1em;
    margin-bottom: 0.1em;
    line-height: 85%;
}
ul {
    color: #ffffff;
    font-family: 'Bit Cell';
    font-size: 30px;
    margin-top: 0.1em;
    margin-bottom: 0.8em;
    line-height: 90%;
}
ol {
    color: #ffffff;
    font-family: 'Bit Cell';
    font-size: 30px;
    margin-top: 0.1em;
    margin-bottom: 0.8em;
    line-height: 90%;
}
span {
  font-size: 0.5em;
}

.blogmargins p{
    margin-top: 1em;
    margin-bottom: 1em;
}
.blogmargins hr{
    margin-top: 2em;
    margin-bottom: 1em;
}



/*-----------------------------------------------------------------------------------------------------------*/