body {
    margin: 0;
    font-family: sans-serif;
    background-color: gray;
  }

  form {
display: grid;
grid-template-columns: 150px 1fr;
gap: 12px 16px;
max-width: 500px;
margin: 16px auto;
padding: 16px;
background-color: #f9f9f9;
border: 2px solid #ccc;
border-radius: 8px;
font-size: 1.5em;
}

form label {
text-align: right;
padding-top: 6px;
}

form input,
form textarea {
width: 100%;
padding: 6px;
box-sizing: border-box;
}

form button {
grid-column: 1 / -1;
justify-self: center;
padding: 10px 20px;
}


  .gallery {
      /* margin:16px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding-top: 16px; 
    padding-bottom: 16px; 
    background-color: antiquewhite;
    border: 2px solid lightgray;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  }

  .top {
      display: flex;
    flex-wrap: wrap;
    padding: 16px;
    /* justify-content: center; */
    /* gap: 16px; */
  
    background-color: antiquewhite;
    border: 2px solid lightgray;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  }

.top > * {
flex: 1 1 50%;
box-sizing: border-box;
padding: 8px;
}


  .picWidth {
    max-width: 280px;
    max-height: 280px;
    width: auto;
    height: auto;
    padding: 8px;
    background-color: antiquewhite;
    border: 2px solid gray;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s;
  }
  
  .borderBox {
      /* margin:16px; */
      border:4px solid gray;
      border-radius: 8px;
      background-color: antiquewhite;
      padding: 8px;
  
  }

  .picWidth:hover {
    transform: scale(1.02);
  }


  a {
display: inline-block;
text-align: center;
margin: 8px;
text-decoration: none;
color: black;
}

/* .titleImg {
  width:50%;
} */

.titleImg {
width: 100%;
/* height: auto; */
max-width: 100%;
}

/* .connectus {
  width: 50%;
height: auto;
max-width: 50%;
} */

.imgSlide {
max-width: 180px;
height: auto;
box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
border: 2px solid #ccc;
background-color: white;
padding: 4px;
transition: transform 0.2s;
}

.imgSlide:hover {
transform: scale(1.03);
}

a div {
margin-top: 4px;
font-size: 14px;
}

#wall {
  color:blue;
  /* background-image: url("media/halfwall.png"); */
  background-color: lightgray;
  padding: 16px;
  border: 4px solid black;
}

#wall a {
float: right;
margin-left: 16px;
margin-bottom: 8px;
}

#littleWall a {
float: right;
margin-left: 16px;
margin-bottom: 8px;
}

#wall a img {
max-width: 320px;
height: auto;
display: block;
}

#littleWall {
  padding: 8px;
  border: 2px solid lightgray;
  font-family: 'Permanent Marker', cursive;
  font-size: 10px;
  cursor: pointer;
  position: relative;
  overflow: scroll;
}


/* #littleWall::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 40px;
background: linear-gradient(to bottom, transparent, white);
pointer-events: none;
} */

#littleWall::after {
content: "Click to see full wall";
position: absolute;
bottom: 8px;
/* right: 12px; */
font-size: 18px;
color: black;
background-color: #ddd;
padding: 8px;
/* opacity: 0.7; */
border-radius: 4px;
border: 1px solid black;
}


#littleWall a {
pointer-events: none;
cursor: default;
text-decoration: none;
color: inherit;
}

#littleWall:hover {
  background-color: #ddd;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

#littleWall img {
  width:120px;
}

#littleWall .clickPrompt {
text-align: center;
padding: 8px;
font-style: italic;
background-color: #f0f0f0;
border-top: 1px solid #ccc;
}

#littleWall .videoIcon {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 0.8em;
  pointer-events: none;
  }

.scripty {
  font-family: 'Permanent Marker', cursive;
}

.section-nav {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 16px;
padding: 4px 0;
border-top: 3px solid #333;
border-bottom: 3px solid #333;
background-color: #f9f9f9;
margin: 4px 0;
}

.section-nav a {
text-decoration: none;
color: #333;
font-weight: bold;
padding: 2px 12px;
transition: background-color 0.3s, color 0.3s;
}

.section-nav a:hover {
background-color: #ddd;
color: #000;
}

html {
scroll-behavior: smooth;
}

.wallMessage {
  font-size:18px;
}

.wallMessage::after {
content: "";
display: table;
clear: both;
}


.mediaThumb {
position: relative;
display: inline-block;
}

.mediaThumb img {
display: block;
max-width: 100%;
height: auto;
}

.mediaThumb video {
  max-width: 280px;
}

.videoIcon {
position: absolute;
bottom: 8px;
right: 8px;
background-color: rgba(255, 255, 255, 0.7);
padding: 4px 6px;
border-radius: 4px;
font-size: 1.2rem;
pointer-events: none;
}

.download {
  width:280px;
  text-align: center; 
  background-color: #333;
  color:white;
  margin:0px;
  margin-top:-6px;
  padding-top:4px;
  padding-bottom:4px;
}

.fullscreen {
  width: 280px;
  text-align: center;
  background-color: #333;
  color: white;
}

@media (max-width: 600px) {
  .gallery {
    flex-direction: column;
    align-items: center;
  }
  .top {
    flex-direction: column;
    align-items: center;
  }
  .section-nav  {
    padding: 0px;
    gap:0px;
    row-gap: 0px;
    column-gap: 16px;
    margin: 0px;
  }
  .section-nav a {
    padding: 0px;
  }

  .wallMessage {
    font-size:32px;
  }

  #wall a {
float: none;
display: block;
margin: 12px 0;
}
}
