.logo {
  opacity: 0.2;
  max-width: 30%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3%;
} 

.logo-lama {
  opacity: 0.3;
  max-width: 30%;
  height: 1;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3%;
} 

.conformeren {
  max-width: 95%;
 
} 


/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 4000px) {
  img {max-width: 70%;}
} 

/* Change img width in landscape */
@media only screen and (orientation: landscape) {
  img {max-width: 70%;}
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  body {max-width: 700px;}

} 



/* margin is set to auto to center*/
body {
  margin: auto;
  font-family: "Times New Roman", Times, serif;
  font-size: 120%;
}

/* Style the header */
.header {
  background-color: #ffffff;
  padding: 1px;
  margin: 10px;
  font-size: 1.5em;
  text-align: center;
}

/* Style the content */
.content {
  background-color: #ffffff;
  padding: 10px;
  margin: 10px;
  border-style: solid;
  border-width: 0.05em;;
  font-size: 1.1em;
}

.windguru {
  background-color: rgb(255, 255, 255);
  padding: 1px;
  margin: 10px;
  border-style: solid;
  border-width: 0.05em;
}

.graphs {
  background-color: rgb(255, 255, 255);
  padding: 15px;
  margin: 10px;
  border-style: solid;
  border-width: 0.05em;;
  font-size: 1.1em;
}

/* Style the dropdown */

/* CSS code for the dropdown */
#data-select {
  visibility:hidden;
  padding: 8px;
  border: 1px solid #ddd;
  background-color: #ddd;
  color: #333;
}

#data-select:hover, #data-select:focus {
  border-color: #973737;
}

#data-select option {
  font-size: 10px;
  padding: 8px;
  background-color: #d91a1a;
  color: #333;
}


.weerkaart-container {
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}



/* Style the footer */
.footer {
  background-color: #f1f1f1;
  padding: 10px;
  margin: 10px;
  text-align: center;
}
a.fill-div {
  display: block;
  height: 100%;
  width: 100%;
  text-decoration: none;
}

/* Tell the browser this site supports light and dark mode.
   This helps native controls, such as dropdowns and scrollbars,
   match the visitor's device setting. */
:root {
  color-scheme: light dark;
}

/* Apply these styles only when the visitor prefers dark mode. */
@media (prefers-color-scheme: dark) {

    /* Turn the black logo white in dark mode.
    Its transparent background remains transparent. */
  .logo {
    filter: invert(1);
  }

  /* Set the main page background and default text colour. */
  body {
    background-color: #121212;
    color: #eeeeee;
  }

  /* Give the existing page sections a slightly lighter background.
     "body" adds specificity so these rules override the existing
     class styles without needing !important. */
  body .header,
  body .content,
  body .windguru,
  body .graphs,
  body .footer {
    background-color: #1e1e1e;
    color: #eeeeee;
    border-color: #555555;
  }

  /* Use a lighter blue so links remain readable on dark backgrounds. */
  a {
    color: #8ab4f8;
  }

  /* Darken the weather-station dropdown and its options.
     This does not change the existing show/hide behaviour. */
  #data-select,
  #data-select option {
    background-color: #333333;
    color: #eeeeee;
  }

  /* Darken the forecast tables, including their individual cells.
     The added "body" specificity overrides the white cell backgrounds
     defined in the inline stylesheet in index.html. */
  body .realtable,
  body .realtable th,
  body .realtable td {
    background-color: #1e1e1e;
    color: #eeeeee;
    border-color: #555555;
  }
}