*{
  margin: 0;
  padding: 0;

  text-decoration: none;
  list-style-type: none;
  font-family: sans-serif;
  border: none;

  
  font-size: 1.1rem;
}
 
 

body
{
  color: rgb(255, 255, 255);
  background-color: black; 
}

.DarkModeButton
{
  cursor: pointer;
}

a{
  color:white;
}
button{
  color:white;
}
body.DarkMode{
  background-color: white;
  color: black;
}
.DarkMode   button{
  color: black;
}

.DarkMode  a{
  color: black;
}


.DarkMode #footer_nav {
  background-color: lightgray;
  color: black;
}

.DarkMode .es-review-content-text{
  color: black;
}

.DarkMode .virt_gal_figcap{
  background-color: lightgray;
}

.DarkMode .sub_text{
  color: black;
}

.DarkMode .Exb_Events_figcap{
  background-color: lightgray;
}

.DarkMode .swiper-slide{
  background-color: lightgray;
}

.DarkModeButton{
  background-color: black;
  color: white;
}

.DarkMode .DarkModeButton{
  background-color: white;
  color: black;
}


header
{
  padding: 30px;
  padding-right: 60px;
}
 
#top_nav
{
  display: flex;
  align-items: center;
  justify-content: flex-end;  

  gap: 3rem;
}

#top_nav :first-child
{
  height: 80px;
  margin-right: auto; /*moves logo to the left*/
}

#bottom_nav
{
  display: flex;
  justify-content: flex-end;  
  align-items: center;

  gap: 3rem;
}

.dropbtn
{
  background: none;
  cursor: pointer;
}

.dropbtn:hover
{
  display: block;
  color: rgb(132, 20, 236);
}

/* Dropdown Content (Hidden by Default)*/
.dropdown_content
{
  display: none;
  position: absolute;
  background-color: rgb(0, 0, 0);
}

.DarkMode .dropdown_content{
  background: lightgray;
}

/* Show the dropdown menu on hover*/
.dropdown:hover .dropdown_content
{
  display: block;
}



/*makes it clear what you are selecting*/
.dropdown_content li:hover {background-color: #515151}

.DarkMode .dropdown_content li:hover {
  background-color: rgb(255, 254, 254)
}


.dropdown_content > *
{
  padding: 20px;
}

 
#hero_image
{
  background: url('img/nxt_museum_intro_image2.jpg') center/cover; /* what does cover do? */
  height: 900px;
  color: white;
}

#intro_text {
  padding: 400px 0 0 150px; /* top right bottom left */
  max-width: 400px;
  font-size: 1.5rem;
}


main
{
  display: flex;
  flex-direction: column;
  align-items: center;
}

main > *
{
  margin: 60px 0;
}


#Exb_Events_slider_container
{
  width: 1300px;
  position: relative; /* puts buttons on the side of the images*/
}
#sub_title_weird
{
  margin-left: 20px;
}
.sub_title_bottom_spacing
{
  margin-bottom: 20px;  
}

.slide_show_piece
{
  margin: 20px;/*spaces out the slides*/
}



.Exb_Events_imgs
{
  width: 394px;
  height: 250px;
}

.Exb_Events_figcap
{
  background-color: #1d1d1d;
  padding: 40px;
  height: 120px;
}

.Exb_Events_sub_title
{
  margin-bottom: 10px;/*pushes sub text down*/
}



#virtual_gallery_list
{
  display: flex;
  align-content: center;
  width: min-content; 

  gap: 50px;
}

.virtual_gallery_image
{
  /* lines up the edges with the rest of the webisite*/
  width: 280px;
  height: 280px;
}

.virt_gal_figcap
{
  background-color: #1d1d1d;
  padding: 40px;
  height: 120px;

  margin-top: -20px;/*is used to cover gap between img and text*/
}

.sub_text
{
  color: rgb(227, 227, 227);/*makes the title pop out more*/
}


.swiper-wrapper > * {
  /* google reviews become wider*/
  width: 290px !important;
}


#footer_nav {
  display: flex;
  justify-content: center;
  height: 550px;
  
  background-color: rgb(21, 21, 21);
}

footer{
  color:white;
  text-decoration: none !important;
  border-color:white;
}

#footer_container
{
  width: 1300px;
}

#weird_row {
  display: grid;
  grid-template-columns: 1fr 2fr; /* First row: 1/3 and 2/3 */
}

.normal_row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* Second and third row: Three equal columns */
}

.grid-item {
  text-align: left;
  padding: 30px;
}

.img_logo {
  width: 60px;
  height: 60px;
}

#newsletter {
  width: 700px;
  height: 30px;
  color: black;
}

#newsletter_button
{
  color: rgb(0, 0, 0);
  background-color: rgb(255, 255, 255);
  padding: 5.5px;
}

#footer_address {
  max-width: 140px;
}