html { 
  font-family: 'Montserrat', sans-serif;

}

body {
  margin: 0;
  padding: 0
}

.gray-div {
  background-color:gainsboro;
  margin-top: 0%;
  margin-left: 300px;
  margin-right: 300px;
  padding: 25px;
}


.table-of-contents {
  margin-bottom: 40px;
  padding: 10px;
  border: 2px solid black;
}

.table-of-contents .toc-heading{
  font-size: 20px;
  font-weight: bold;
  color:black;
}

.table-of-contents a {
  text-decoration: none;
  color: black;
}

.table-of-contents ul{
  list-style: none;
  padding-left: 0;
}

.table-of-contents .heading{
  font-size: 14px;
  font-weight: bold;
  color: black;
}

@media screen and (max-width: 800px) {
  .leftcolumn, .rightcolumn {
    width: 100%;
    padding: 0;
  }
}


figure>figure>img {
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}

figure {
  position: relative;
  text-align: center;
  margin:20px auto 20px;
  padding: 10px 0px 10px;
  width: 100%;
}

figure>figure {
  vertical-align: top;
  position: relative;
  margin: 0px auto 5px;
  padding: 0px 4px 0px;
  max-width: 100%;
  height: auto;
}

figure>figure>figcaption {
  padding: 5px 0px 5px;
}

figure>figcaption {
  left: auto;
  right: auto;
  text-align: justify;
  margin: 0px auto 0px;
  padding: 10px 0px 5px;
  width: 90%;
    
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -moz-box-pack: center; 
  -ms-flex-pack: center; 
  -webkit-justify-content: center;
  justify-content: center;
}

.rotate90 {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}


#Gallery
* {
  box-sizing: border-box;
}

body {
  background-color: #f1f1f1;
  padding: 20px;
  font-family: Arial;
}

/* Center website */
.main {
  max-width: 1000px;
  margin: auto;
}

h1 {
  font-size: 50px;
  word-break: break-all;
}

.row {
  margin: 8px -16px;
}

/* Add padding BETWEEN each column (if you want) */
.row,
.row > .column {
  padding: 8px;
}

/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 33.33%;
  display: none; /* Hide columns by default */
}

/* Clear floats after rows */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.content {
  background-color: white;
  padding: 10px;
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

/* Style the buttons */
.btn {
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color: white;
  cursor: pointer;
}

/* Add a grey background color on mouse-over */
.btn:hover {
  background-color: #ddd;
}

/* Add a dark background color to the active button */
.btn.active {
  background-color: #666;
   color: white;
}



/* Reset and basic styling */
body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}

/* Header styling */
header {
  background-color: #333;
  color: #fff;
  padding: 10px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

nav .logo {
  font-size: 1.5em;
  font-weight: bold;
}

/* Gallery styling */
.gallery {
  padding: 20px;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.gallery-item {
  width: 300px;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s;
}

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

.gallery-item:hover {
  transform: scale(1.05);
}

/* Footer styling */
footer {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: #fff;
}
