@font-face {
  font-family: 'courierprime';
  src: url(courierprime/courierprime.ttf);
}

@font-face {
  font-family: 'courierprimebold';
  src: url(courierprime/courierprimebold.ttf);
}

html, body {
    overscroll-behavior-y: none;
    overflow-x:hidden;
    margin:0;
}
body {
	color: black;
	font-family: georgia;
	word-wrap:normal;
	background-color:#fff;
	background-image: url("icedancerbg.png");
}
.content {
    width:810px;
    margin-left: auto;
    margin-right:auto;
    margin-top:0px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    padding-top:20px;
    padding-bottom:20px;
		background-color: rgba(255, 255, 255, 0.5);
		border-right:3px black solid;
		border-left:3px black solid;
}
.main {
	table-layout: fixed;
	border-collapse: collapse;
	text-align: center;
	vertical-align: text-top;
	margin-left: auto;
	margin-right: auto;
	width:800px;

}



.titlecell h1 {
	margin-left: auto;
	margin-right: auto;
	width:800px;
	margin-top:5px;
	margin-bottom:20px;
	padding-bottom:10px;
	border-bottom:black 3px solid;
}


.left {
	width:50%;
	vertical-align: text-top;
}

.right {
	width:50%;
	vertical-align: text-top;
}

.media {
	padding:10px;
}

.media img{
	width:350px;
	margin-left: auto;
	margin-right: auto;
	border: 3px black solid;
}

.subtitle {
	margin-top: 5px;
	margin-bottom:0px;
}

.subsubtitle {
	color:gray;
	font-size: 14px;
	margin-top: 0px;
	margin-bottom:0px;
	font-style: italic;
}

h1 {
	font-family: courierprimebold;
	
}
h2 {

}
h3 {

}
h4 {
	font-size: 14px;
}
p {

}

  @media (max-width: 700px) {
    .mainrow {
      display: flex;
    flex-direction: column;
    align-items: center;
    }
    .left, .right {
    width: 100%; /* Take full width when stacked */
  }


  }

  @media (max-width: 900px) {
    .content {
      width: 600px;
    }
  }
  @media (max-width: 700px) {
    .content {
      width: 350px;
    }
  }

 @media (max-width: 900px) {
    .main {
      width: 590px;
    }
  }
  @media (max-width: 700px) {
    .main {
      width: 340px;
    }
  }


  @media (max-width: 900px) {
    .titlecell h1 {
      width: 580px;
    }
  }
  @media (max-width: 700px) {
    .titlecell h1 {
      width: 330px;
    }
  }


@media (max-width: 900px) {
    .media img {
      width: 250px;
    }
  }
  @media (max-width: 700px) {
    .media img {
      width: 250px;
    }
  }

