body {background-image:url('images/HindsightBackground.jpg');
 background-attachment:fixed;
}
p,a,th,td,input {font-family:Arial,Helvetica,sans-serif;
font-size:18px;
font-style:normal;
}
.p-indent {
  margin-left: 1.5rem;
}
td {
  text-align: center;
  border: 1px solid black;
}
table,th,td {
  border: 0 px;
  border-collapse: collapse;
  padding: 9px;
}
#anav {font-family:Arial,Helvetica,sans-serif;
font-size:16px;
font-style:bold;
}
a:link {color: red;}
a:visited {color: blue;}
a:hover {color: green;}
a:active {color: lightblue;}
f{font-family:Arial,Helvetica,sans-serif;
font-size:12px;
font-style:bold;
}
h1{font-family:Arial,Helvetica,sans-serif;
font-size:32px;
font-style:bold;
color:#c00000;
}
h2{font-family:Arial,Helvetica,sans-serif;
font-size:26px;
font-style:bold;
}
h3{font-family:Arial,Helvetica,sans-serif;
font-size:18px;
font-style:bold;
}
ul{list-style-type: circle;
}
li{list-style-type: circle;
font-family:Arial,Helvetica,sans-serif;
font-size:18px;
font-style:normal;
}
button {
  background-color: #D0D0F0; 
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-family:Arial,Helvetica,sans-serif;
  font-size: 16px;
  font-style:bold;
}
img {
  max-width: 100%;
  height: auto;
}

.action-button {
  margin: 6px;
  background-color: #D0D0F0; 
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-family:Arial,Helvetica,sans-serif;
  font-size: 14px;
  font-style:bold;
  border-radius: 4px;
  border: 1px solid black;
}
.btn:hover {
  background: #2f45cc;
}
.site-header {
  display: flex;              /* NEW */
  align-items: center;  
  padding: 1rem;
  color:black;
  width:98%;
  background-color: #e0e0ff;
  border: 1px solid darkgray;
}
.site-header .logo {
  margin: 0 auto;
}
.site-footer,.cust-header {
  padding: 1rem;
  color:black;
  width:98%;
  text-align:center;
}
.full-row {
  padding: 1rem;
  width:98%;
  text-align: left;
}
.main-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}
.mono-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.offset-layout  {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  align-items: start; 
}
.offset-layout.reverse  {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  align-items: start; 
}
.news-layout {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 2fr;
  gap: 1rem;
}
.resource-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1rem;
}
.std-section {
  text-align: center;
  vertical-align: top;
  padding: 2%;
}
.left-section {
  text-align: left;
  vertical-align: top;
  padding: 2%;
}
.title-section {
  text-align: left;
  vertical-align: top;
  padding-left: 2%;
  padding-right: 2%;
}
.login-section {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2%;
  text-align: center;
}
.book {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
	background-color:#ffffE0;
}
.player {
    width: 80%;
    margin: 0 auto;   
    background-color:#e0e0ff;
    padding: 10px;
    border: 1px solid black;
    border-radius: 20px;
    text-align: center;
    vertical-align: center;
}
.player audio {
  width: 90%;
  height: auto;
  max-width: 90%;
  display: block;
}
.login-box {
  background-color: #e0e0ff;
  border: 1px solid black;
  font-family: Arial, Helvetica, sans-serif;
  padding: 16px;
  display: inline-block;
}
.login-title {
  text-align: center;
  margin-bottom: 12px;
}
.login-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  margin: 8px 0;
}
.login-label {
  text-align: left;
}
.login-field input {
  width: 100%;
  max-width: 300px;
}
.photo-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;   /* overrides parent */
}
.photo-title {
  text-align: center;
  padding: 2%;
}
login, username, password, submit, user, pwd, subbtn, space, title {
  display: block;
}

/* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens */
@media only screen and (max-width: 1200px) {
.photo-cell {
  align-self: start;
  padding-top: 80px;
 }
}
@media only screen and (max-width: 900px) {
.photo-cell {
  padding-top: 0px;
 }
.news-layout {
  grid-template-columns: 1fr 2fr;
 }
.split-layout,.main-layout,.offset-layout,.offset-layout.reverse{
  grid-template-columns: 1fr;
 }
.resource-layout {
  grid-template-columns: 1fr 1fr;
 }
}

@media only screen and (max-width: 600px) {
  p, a, textarea, h3, th, td, li {
    font-size: 20px;
  }
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 24px;
  }
  .anav {
    font-size: 28px;
  }
  button {
    font-size: 24px;
    padding: 12px 28px; /* Adjust padding for smaller screens */
  }
.split-layout, .news-layout, .resource-layout {
  line-height: 1.6; /* Increase line height for readability */
 }
 .logo {
  width: 320px;
 }
 .home {
  width: 60px;
 }
 .login-section {
    height: auto; /* was 300px */
    padding: 1.5rem 1rem;
 }
.login-row {
    grid-template-columns: 1fr;
    row-gap: 0.25rem;
 }
.login-label {
    text-align: left;
    font-weight: bold;
 } 
.login-box {
  width: 60%;
 }
}

@media only screen and (max-width: 450px) {
.home {
    display: none;
}
.logo {
  width: 280px;
 }
}
