@font-face {
  font-family: 'nintendo';
      src: url('fonts/nintendo.ttf') format('truetype');
}

.background {
  position:fixed;
  top: 0; left: 0;
  width: 200vw;  /* wider than viewport */
  height: 100vh;
  background: url('bellla.xyz/img/studiobg.jpg')no-repeat center;
  background-size: cover;
  z-index: -1;
  will-change: transform;
}

.layer{
    position:relative;
    height:100vh;           /* full-viewport sections */
    display:flex;
    align-items:center;
    justify-content:center;
    padding:4rem;
    box-sizing:border-box;
    overflow:visible;
  }
    .layer .content{
    max-width:900px;
    width:100%;
    text-align:left;
    transform:translate3d(0,0,0);
    will-change:transform;
  }
  
  
.contentblock {
  text-align: justify;
}
  /* rotating image*/
  .rotate90 {
        transform: rotate(90deg);
      }

/* DIV CLASSES */
 .entry {
  padding-left:10px;
}
.subtitle {
  font-family: "Times New Roman", serif;
  font-style: italic;
  font-size: 24px;
  font-weight: normal;
  padding-top:0%;
  margin-bottom: 5px;
}
 .post {
   display: flex;
   gap: 5px;
}
.post-header {
  display: flex;
  flex-direction: column;
  width: 95%;
  gap: 2px;
}
.post-content .image,
.post-content video {
  padding: 2px;
  object-fit: contain;
}
/* SIDENAV */
.left {
  width: 130px;
  display:flex;
  flex-wrap: wrap;
}
.right {
  margin-left:10px;
  padding: auto;
}
.box {
  width: 200px;
  border-style: solid;
  border-width: thin;
  border-color: red;
  margin:10px;
  padding-left:0px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-top: 10px;
}
.flex {
  display:flex;
}
.boxwrap {
  padding-left:10px;
  padding-right: 10px;
  padding-bottom:10px;
}
.shortbox {
    border-style: solid;
    border-width: thin;
    border-color: red;
    padding: 15px;
    margin-bottom: 15px;
    line-height: 1.3;
}
.writebox {
  border-style: solid;
  border-width: thin;
  border-color: red;
  padding: 15px 45px 15px 45px;
  margin-bottom: 15px;
  line-height: 1.5;
}

@media only screen and (max-width: 500px) {
	.shortbox {
		width: 90%;
	}
	
	.box {
		width: 90%;
	}
	
	.writebox {
		width: 90%;
	}
}
/* JUSTIFYING / CENTERING BLOCKS OF TEXT AND IMAGES */
figure, .contentblock {
  width: 80%; /* takes 80% of page width */
  margin: 0 auto;
}

figcaption {
  font-size: 0.8rem;
  color: blue;
  margin-top: 0.5em;
}
img {
  width: 100%;
  height: auto;
}

content {
  display:flex;
  margin:0 auto;
}

/* COLORS, FONTS + OTHER STYLES:
MAIN COLORS*/
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}
main {
  position: relative;
  z-index: 1;
}

section {
   height: 100vh;
    display:flex; align-items:center; justify-content:center;
    font-size: 3rem;
}
body {
  background-color: white;
  color: blue;
  position: relative;
  font-size: 15px;
}

/*HEADINGS*/
h1, h2 {
  font-family: "Times New Roman", serif;
  font-style: italic;
}
  h1 {
    font-size: 60px;
    font-weight: normal;
}
  h2 {
    font-size: 24px;
    font-weight: normal;
}
  h3 {
    font-family: "Times New Roman", serif;
    font-size: 16px;
    font-weight: normal;
}

/*MAIN TEXT*/
p {
  font-family: "Times New Roman", serif;
  font-size: auto;
}
/*LISTS*/
ul {
  font-family: 'Times New Roman', serif;
  font-size: auto;
}
ol {
  font-family: 'Times New Roman', serif;
  font-size: auto;
  list-style-type: lower-roman;
}
li {
  font-family: 'Times New Roman', serif;
  font-size: auto;
}
/*LINKS*/
a {
  text-decoration: none;
  color: blue;
  font-size: auto;
}
a:hover {
  font-style: italic;
  color: red;
  font-size: auto;
}


table, th, td {
  border: 1px solid;
  border-collapse: collapse;
  padding: 5px;
}