@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

body {
    background-color: #B0CE88;
    font-family:'Open Sans', sans-serif;
    /* font-family:Georgia, 'Times New Roman', Times, serif */
    
}

.banner{
  display: flex;
  align-items: center;
  height: 120px;
  background: white;
  color: black;
  padding: 2rem 20px;
  width: 100%;
  font-family: 'Open Sans';
  font-size: 22px;

}

.banner-img {
  width: 15rem
}

.banner-text {
  flex: 1;
  text-align: center;
  font-size: 1.5rem;
}

.banner-text h1, .banner-text h2 {
  margin: 0;
}
.banner-text h2 {
  font-size: 1.5rem;
}

index {
    color: black;

}

footer {
    background-color: #4C763B;
    color: #FFFD8F;
    padding: 20px;
    text-align: center;
}

nav {
    text-align: center;
    background-color: #4C763B;
    padding: 0.1rem;
    width: 100%

}

.proefles {
  display: grid;
  align-items: center;
  gap: 40px;
  padding: 40px 30px 40px;
  max-width: 500px;
}

.proefles-knop {
  background: #4C763B;
  color: #FFFD8F;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 2px;
  font-size: 20px;
  font-weight: 500;
  display: inline-block;
}

.qr-foto { 
  width: 50%;
  margin-top: 10%;
  margin-left: 10%;
}

/* #oudefoto {
    width: 200px;
    
    transition: transform 0.3s ease, box-shadow 03.s ease;
    cursor: pointer;
    border-radius: 8px;
} */
#oudefoto {
  float: left;
  width: 300px;   /* optional */
  margin-right: 20px;
  margin-bottom: 10px;
}


nav {
  background-color: #4C763B;
}

nav a {
  text-decoration: none;
  color: #FFFD8F;
  font-size: 20px;
  padding: 15px 30px;
  display: inline-block;
}

nav a:hover {
  background-color: #043915;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-block;
}

nav ul li {
  position: relative;
  display: inline-block;
}

nav ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #4C763B;
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  width: auto;
  min-width: 100%;
}

nav ul li:hover ul {
  display: block;
}


nav ul li ul li a {
  display: block;
  width: 100%
  padding: 15px 30px;       /* Same padding as the main links */
  color: #FFFD8F;
  text-decoration: none;
}

nav ul li ul li:hover {
  display: block;
  color: #FFFD8F;
  text-decoration: none;
}

.wedstrijdlist {
    margin-right: 20px;
    display: block;
}

th {
    text-align: left; 
    border-bottom: 1px solid black; 
    padding: 3px;
}

.zoomed {
    
}

button {
    background-color: #043915;
    border-radius: 10px;
    border-color: #1ca748;
    color:#FFFD8F;
    padding: 15px 32px;
    text-align: center;
    font-size: 16px;
    width: 11rem;
}

body {
  margin: 0;
}

.bannerwrap {
  width: 100%;
  height: 10rem;
  overflow: hidden;
}

#historyfoto {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

#agendafoto {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 87%;
}

#contactfoto {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}

#indexfoto {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 39%;
}

#fotosfoto {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 41%;
}

#geweerfoto {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}

#pistoolfoto {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

#jeugdfoto {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

#concoursfoto {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}

.indexpage {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.indexpage p {
  flex: 1;
  margin-left: 5%;
}

#indexfoto-deco {
    width: 500px;
    max-width: 100%;
    margin-bottom: 10px;
    margin-right: 150px;
}


.intro {
    text-align: center;
}

#gallerij img {
  width: 200px;
  margin: 10px;
}

.gallerij {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  padding: 20px;
}

/* Perfect squares */
.gallerij img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.2s;
}

.gallerij img:hover {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  cursor: default;
}


.date-row td {
  font-size: 1.3rem;   /* adjust as you like */
  font-weight: 700;
  padding-top: 12px;
}

#agendaTable {
  font-weight: bold;
  margin-left: 10rem;
  width: 100%;
  font-size: 1 rem;
  border-collapse: collapse
}

#corveeTable {
  font-weight: bold;
  margin-left: 10rem;
  width: 100%;
  font-size: 1 rem;
  border-collapse: collapse
}

/*  */

#yearList {
  padding-left: 2rem;
}


.dayTable {
  width: 100%;
  border-collapse: collapse;
}

#resultsTable {
  width: 100%;
  border-collapse: collapse;
}

#resultsTitle: {
  
  margin-left: 10rem;
}

#resultsTable > tbody > tr > td {
  width: 33.33%;
  vertical-align: top;
  padding: 20px;
}

.results-layout {
  display: grid;
  grid-template-columns: 150px 1fr;
  width: 100%;
  margin-top: 2rem;
}

/*  */

#verhaal {
  padding-left: 2rem;
}

#yearListC {
  padding-left: 2rem;
}

#yearListC li:last-child {
  border-bottom: none;
}

#CresultsTable {
  width: 50%;
  border-collapse: separate;
  border-spacing: 0;
}

#CresultsTable tbody tr {
  border-bottom: 1px solid black;
}

#CresultsTable td {
  padding: 8px;
  border-bottom: 1px solid black;
}

/*  */

