h1 {
	font-size: 58px;
	margin: 0;
}
.highlighted {
	text-decoration: underline;
}
.popUpStyle {
	background: #707070;
	padding: 6px 8px;
	border-radius: 4px;
	color: white;
	visibility: hidden;
	position: absolute;
	text-align: left;
}
.header-page2 {
	margin: 20px 0 0 -30px ;
	position: relative;
	
}
.header-page2 h2{
	font-size: 300%;
	position: absolute;
	top:0;
	left: 0;
	margin: 15px 20px;
}
.header-page2 {
	position: relative;
	margin-bottom: 20px;
	  padding: 0 50px;
	  height: 110px;
	border: 6px solid black;
	border-radius: 10px;
  }
  .header-page2 h1 {
	margin: 10px 0;
	padding: 0;
  }
  .header-page2 img  {
	position: absolute;
	left: 4px;
	top: 4px;
	height: 100px;
  }
  .header-page2 img.flipped {
	position: absolute;
	transform: scaleX(-1);
	right: 4px;
	top: 4px;
	left: auto
  }
.verb_header{
	padding: 6px;
}

header.lg {
	position: absolute;
	z-index: 22;
}
#menu {
    position: absolute;
    z-index: 1001;
}
.catsubtitle {
    font-style: italic;
}
#primaryContent {
	line-height: 1.7;
}
#primaryContent {
	margin: 10px;
	max-width: 800px;
	text-align: left;
    display: inline;
}
#interiorNavigation {
	flex-shrink: 0;
	text-align: left;
	padding: 8px 20px;
	clear: both;
	   margin-top: 28px;
	   border-radius: 20px;
	   border: 1px solid #CCCC;
	margin-right: 20px;
}
#interiorNavigation h2{
	padding: 0 8px;
}
@media (min-width: 1200px)  {
	#primaryContent {
		width: 800px;
	}
}

#interiorNavigation:hover{
	max-width: 300px;
	/* width: 50em;  optional width to set a size to main body text area */
}
#interiorNavigation ul {
	list-style-type: none;
  padding: 0 8px 4px; 
  margin: 0; 
}
#interiorNavigation li {
margin: 10px 0;
border-radius: 20px;
}
#interiorNavigation a {
	text-decoration:none;
}
h5 {
margin: 0 0 4px;
 padding: 4px 10px 10px; 
font-size: 120%;
font-weight: normal;
}
#current {
	font-weight: bold;
}
p {
	line-height: 1.75;
}
#site-title a {
	color: white;
	
	text-decoration:none;
}

.base {
	padding-bottom: 10px;
	text-align: center;
}
body {
	text-align: center;
}
.clearfix {
	text-align: left;
	align-items: flex-start;
	gap: 20px;
    display: flex;
    max-width: 1220px;
    margin: 0px auto;
	margin-top: 58px;
}
th td{
	text-align: center;
}
@media (max-width: 640px)  {
	.clearfix {
		flex-direction: column;
		margin-top: 70px;
	}
	#interiorNavigation {
		margin-top: 10px;
	}
	#primaryContent {
	margin-top: -10px;
	}
}

#buttonControl {
	position: fixed;
	top: 10px;
	left: calc(50% - 110px);
	width: 220px;
	background-color: white;
	z-index: 1000;
	box-shadow: 0 2px 4px rgb(0 0 0 / 50%);	
}

.conjugation-table {
	display: flex;
	flex-direction: column;
	width: 200px;
	line-height: 1.8;
	border: 1px solid rgba(0,0,0,.12); 
	border-radius: 20px;
}
.conjugation {
	display: flex;
	border-top: 1px solid rgba(0,0,0,.12); 

	gap: 5px;
}
.conjugation div, .conjugation td {
	width: 50%;	
}
.conjugation div:first-child {
	text-align: right;
	 font-style: italic;
}
.verb {
	text-align: center;
	width: 100%;
	position: relative;
}
.verb img {
	position: absolute;
	right: 0;
}
.pronoun {
	text-align: right;
}
.verb:hover,  .conjugation:hover {
background-image: -webkit-linear-gradient(#eeeeee, #ffffff);
background-image: -o-linear-gradient(#eeeeee, #ffffff);
background-image: linear-gradient(#eeeeee, #ffffff);
}
.conjugation-table-row {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}
.row{
	display: flex;
	justify-content: space-between;
	gap: 20px;
}
practice-launcher {
	margin-top: 20px;
}
.page-nav{
display: flex;
	justify-content: space-between;
}
.card {
  background-color: #735EAB;
  border-radius: 48px;
  display: inline-block;
  color: white;
  margin-top: 12px;
}
.card:hover {
  box-shadow: 0px 1px 2px 0px black;
  background-color: #826DBA;
}
.card-state {
  padding: 14px 24px;
  border-radius: 48px;
}
.card-container {
  display: flex;
  gap: 20px;
  align-items: center;
}
.card-state:hover {
  opacity: .92;
}
.verb{
	text-align:center;
	font-size: 130%;
}
.audio {
    color: #176092;
	cursor: pointer;
}
practice-launcher {
	margin-bottom: 10px;
}
.bold{
	font-weight:bold;
}
#current_nav{
	font-weight:bold;
}
.menu {
	display: none;
}
#menu-opener, #menu-closer{
	display: none;
	cursor: pointer;
}
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 19; 
  transition: 1s;
}
	
.header-page {	
	background-size: cover;
	padding: 10px 20px 20px;
	margin: 20px 0 30px -20px ;
	border-radius: 20px;
}

@media (max-width: 550px) {
	.menu {
		display: block;
	}
	#menu-opener{
		display: block;
	}
	#menu-closer {
		display: none;
	}
	#interiorNavigation {
		display: none;
		border-radius: 0 20px 20px 0;
		z-index: 1000;
		position: absolute;
		background-color: white;
	}
	.header-page {
		border-radius: 0;
		margin: 0 -10px 20px -20px ;
	}
	.row {
		flex-direction: column;
	}
	.other {
		margin-top: 20px;
	}
}

.header{
	text-align:center;
	box-shadow: inset 0 5px 8px rgba(255, 255, 255, .2);
	padding: 5px;
	font-size: 120%;
	box-sizing: border-box;
	border-radius:  5px 5px 0  0 ;
	background: #D5AAFF;
	width: 230px;
}
.verb_list {
    background: #EEEEEE;
    background: -webkit-gradient(linear, left top, left bottom, from(#EEEEEE), to(#F4F4F4));
    border-radius: 0 0 5px 5px;
	width: 230px;
    padding: 6px;
    border: 1px solid #DDDDDD;
}
.definition{
	font-style: italic;
}
.examples {
	width: 24px;
}
.hover, .infinitive {
	cursor: pointer;
}
.infinitive {
	text-align: right;
}
a.hover, .examples {
    color: #176092;
}
a.hover:hover {
    color: #9900FF;
}
.trophy {
	font-size: 340%;
	padding-top: 16px;
	margin-left: 10px;
}
.card-and-reward {
	display: flex;
}

.nav-row {
	display: flex;
	gap: 20px;
	margin-top: 20px;
}
.nav-row a {
	flex: 1;
	text-decoration: none;
}
.nav-card {
	background: #f3f6fc;
	border-radius: 40px;
	display: flex;
	align-items: center;
	padding: 10px 20px;
	flex-direction: column;
	justify-content: center;
}
.nav-card:hover {
	background-color: #C1E7FE;
}
.nav-card.left {
	align-items: flex-start;
}
.nav-card.right {
	align-items: flex-end;
}
.nav-card .center {
	display: flex;
}
.next-page-title {
	padding: 0 24px;
}

.explanation-box {
  position: relative;
  padding: 20px 30px;
  margin: 20px 0;
  background: #f8f9fa;
  border-radius: 10px;
  margin-left: -30px;
}

.explanation-box::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: repeating-linear-gradient(
    45deg,
    #007bff 0px,
    #007bff 8px,
    transparent 8px,
    transparent 16px
  );
  border-radius: 15px;
  z-index: -1;
  opacity: 0.3;
}

.explanation-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, transparent 12px, rgba(0, 123, 255, 0.1) 13px, rgba(0, 123, 255, 0.1) 18px, transparent 19px),
    radial-gradient(circle at 40% 20%, transparent 12px, rgba(0, 123, 255, 0.1) 13px, rgba(0, 123, 255, 0.1) 18px, transparent 19px),
    radial-gradient(circle at 80% 80%, transparent 12px, rgba(0, 123, 255, 0.1) 13px, rgba(0, 123, 255, 0.1) 18px, transparent 19px),
    radial-gradient(circle at 90% 10%, transparent 12px, rgba(0, 123, 255, 0.1) 13px, rgba(0, 123, 255, 0.1) 18px, transparent 19px);
  border-radius: 10px;
  z-index: -1;
}