a {
  text-decoration: none;
  color: #046497;
}

h2 {
  margin-bottom: 0px;
}

.grid-container {
    display: grid;
    grid: auto / 50% 30%;
    background-color: none;
    padding: 20px 0 20px 0;
}

.grid-container > div {
    background-color: none;
    text-align: center;
    padding: 20px 0;
    font-size: clamp(14px, 1.2vw + 0.5rem, 20px);
}

/* grid text-- art description/links */
.item2 {
    margin-top: 50%;
}

/* Element 3 */
/* Mobile Menu Icon */
#navbay {
		border: solid 0px red;
		clear: both;
/*		float: right; */
		display: block;
/*		margin-top:0%;
		margin-right:0%; */
		margin: auto;
		top: 0%;
/*		right: 0%; */
		width:15%;
		color: #046497;
/*		background-color: rgba(0,0,0,0.5);
		background-color: darkblue; */
		padding:10px;
		text-align:center;
}

@media screen and (min-width: 800px) {
	#navbay {
		display: none;
	}
}


/* Element 4 */
/* Desktop Menu/Nav Bar */

.navbar {
        font-weight: bold;
		margin: auto;
		margin-top: 20px;
		margin-bottom: 20px;
		text-align: center;
		width: 760px;
		font-size: 22px;
}

#navbar li {
        padding-top: 10px;
}

@media screen and (max-width: 800px) {
	.navbar {
		display: none;
	}

	.grid-container {
        grid: auto / 60% 35%;
    }

    .item2 {
        margin-top: 10%;
    }

    .item2 h1 {
        font-size: 25px;
    }

    .item2 a {
        padding: 5px;
        font-weight: bold;
    }

}


/* Menu Links No Decoration/Colour Change on Hover */
.navbar a:link, a:visited, a:visited {
    text-decoration: none;
	color: #046497;
}

.navbar a:hover {
    text-decoration: none;
	color: #1a1a1a;
}


/* Mobile Menu/Navigator Slide-Over CSS */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background-color: #1a1a1a;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-family: Lato, sans-serif;
    font-size: 25px;
    color: white;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
    background-color: #444;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

/* END Mobile Menu/Navigator Slide-Over CSS */
/* END Element 5 */

.slideshow-container {
  position: relative;
  max-width: 100%;
  height: 100vh;
 /* overflow: hidden; */
}

.slide {
	position: relative;
  display: none;
  height: 100vh;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


@media only screen and (max-width: 800px) {
	.mobnoshow{
		display: none;
	}
}

@media only screen and (min-width: 800px) {
	.desknoshow {
		display: none;
	}
}


.overlay-text {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #1a1a1a;
  border-radius: 10px;
  color: white; /* Example text color */
  padding: 5px;
  font-size: 24px; /* Example font size */
  /* Add more styling as needed */
}

.fade {
  animation: fade 1.5s ease-in-out;
}

@keyframes fade {
  from { opacity: 0.4 }
  to { opacity: 1 }
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
  color: white;
  font-size: 24px;
  user-select: none;
  z-index: 1;
}

.prev { left: 20px; }
.next { right: 20px; }

.dots-container {
  text-align: center;
  position: absolute;
  top: 110%;
  width: 100%;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.active, .dot:hover {
  background-color: #717171;
}
