/* GLOBAL STYLE STUFF */

:root {
  --accentcolor: #bca715;
  --normalcolor: rgb(42, 42, 42);
}

html {
	background-color:var(--normalcolor);
  color:var(--accentcolor);
	font-family: sans-serif;
	box-sizing:border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

a {
	color:var(--accentcolor);
}

p {
  color: #ccc;
}

h1, h2, h3, h4, button, input, textarea {
	font-family: 'Montserrat', sans-serif;
}

a:link {
  text-decoration: underline;
}
a:visited {
  text-decoration: underline;
}
a:hover {
  text-decoration: underline;
}
a:active {
  text-decoration: underline;
}

.circle {
	border-radius:50%;
	}



/* ACCORDION SECTIONS */

details.section {
  border-top: 1px solid var(--accentcolor);
}

details.section:first-of-type {
  margin-top: 1em;
}

details.section:last-of-type {
  border-bottom: 1px solid var(--accentcolor);
}

details.section summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6em 0;
}

details.section summary::-webkit-details-marker {
  display: none;
}

details.section summary h1 {
  margin: 0;
  flex: 1;
  text-align: center;
}

details.section summary::before,
details.section summary::after {
  content: '+';
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: var(--accentcolor);
  flex-shrink: 0;
}

details.section[open] summary::before,
details.section[open] summary::after {
  content: '−';
}

details.section summary:hover h1 {
  opacity: 0.8;
}


/* MAIN STUFF */


#main {
	align-content: center;
  justify-content: center;
  text-align: center;
  width: 60%;
  margin: 0 auto;
}



.vanpics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5em;
  margin-top: 2em;
  margin-bottom: 3em;
}

.imageGallery1 a {
  display: block;
  overflow: hidden;
}

.imageGallery1 img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.topimg {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
}

@media only screen and (max-width: 900px) {
  #main {
    width: 80%;
  }
}

@media only screen and (max-width: 600px) {
  #main {
    padding-top: 1rem;
    width: 95%;
  }

  .vanpics {
    grid-template-columns: repeat(2, 1fr);
  }

  .imageGallery1 img {
    height: 140px;
  }
}

@media only screen and (max-width: 380px) {
  .vanpics {
    grid-template-columns: 1fr;
  }

  .imageGallery1 img {
    height: 220px;
  }
}