 html {
  min-height: 100vh;
    margin: 0%;
    padding: 0%;
      background-image: url(images/Spooky_Portugal_Web_Background.jpg);
    background-attachment: fixed;
    background-size: 100%;
    box-sizing: border-box;
 }

 body{
  min-height: 100vh;
    margin: 0px;
    padding: 0px;
    /*background: #000000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(148, 15, 15, 1) 100%);
    background-attachment: fixed;*/
    font-family: Georgia, 'Times New Roman', Times, serif;
    display: flex ;

  }

  h1, h3 {
    color: #fff;
  }

/* menu style*/
  a{
    margin: 0%;
    padding: 0%;
  }

.logo {
  color: #fff;
  font-size: 2em;
  min-height: 30px;
  min-width: 30px;
  filter: invert();
}

.menu {
  position: fixed;
  width: 15%;
  height: 100%;
  background-color: #111;
  overflow-x: hidden;
  padding-top: 20px;
  padding: 30px; 
  align-items: center;
  margin-right: 20px;
}

.menu a {
  padding: 6px ;  
  text-decoration: none;
  font-size: 1.6em;
  color: #818181;
  display: block;
}

#selected {
  color: #fff;
}

.menu a:hover {
  color: #fff;
}

#main {
  display: flex;
  flex-grow: 1;
  margin-left: 20%;
  height: auto;
}

/*gallery page styles*/

#images{
  margin: 5%;
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

#images img, .picture, .picture.a{
   width: 300px;
  height: 225px;
}

.picture{
  margin: 10px;
  transition: transform .2s;
  align-items: center;
  justify-content: center;
  position: relative;
}

.picture:hover{
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1); 
  .caption{
    opacity: 1;
  }
} 

.caption {
  display: flex;
  position: absolute;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  opacity: 0;
  color: #fff;
  z-index: 2;
  transition: 0.2s;
    background: rgba(0,0,0,0.5);
}

.picture h1 {
  text-align: center;
  margin: 0% auto;
}

.picture a{
  display: block;
  height: auto;
  width: auto;
}

/* Description page style*/

#content {
background-color: #111;
  height: auto;
  width: 100%;
  margin:5%;
  padding: 3%;
  p {
    color: #fff;
    margin-bottom: 40px;
  }
}

#colors{
  display: flex;
  flex-direction: row;
}

#colors img{
  width: 100%;
}

.art{
  display: flex;
  justify-content: center;
}

.art img {
  max-width: 70%;
}

  /* Style the Image Used to Trigger the Modal */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 0.7;
}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 700px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }
  to {
    transform: scale(1)
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/*About style*/
#cont {
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;

}

.profile {
  display: flex;
flex-direction: column;
  align-items: center;
  width: 40%;

}

.pfp{
  width: 150px;
  height: 150px;
}

#sol-cont {
  display: flex;
  width: 90%;
  flex-direction: row;
  justify-content: space-evenly;
  margin: 10px;
}

#description {
  margin-top: 10%;
  width: 80%;
  height: 20%;
  text-align: center;

}

@media only screen and (max-width: 1000px){
  .menu {
    a {
    font-size: .9999em;
    }

  }
  #cont {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.profile{
    display: flex;
flex-direction: column;
  align-items: center;
  width: auto;
}

#spacer {
  height: 40px;
}
}

@media only screen and (min-width: 600px){
.menu a.icon {
  display: none;
}
}

/*mobile sizing*/

@media only screen and (max-width: 600px){
  .modal-content {
    width: 100%;
  }

  html, body {
    display: flex;
    flex-direction: column;
    background-image: url(images/Spooky_Portugal_Web_Mobile_Background.jpg);
    background-attachment: fixed;
    background-size: 100%;
  }

#main {
  padding: 0%;
  margin: 0%;
  margin-top: 20%;
  flex-grow: 0;
  height: auto;
}

 /* Style the navigation menu */
.menu {
    width: 100%;
    height: auto;
  padding: 0px;
  margin: 0px;
  overflow: hidden;
  background-color: #333;
  z-index: 5;

   h1{

    font-size: 1em;
    margin: 20px;
  }

  a {
    font-size: 1em;
  }
}

/* Hide the links inside the navigation menu (except for logo/home) */
.menu #myLinks {
  display: none;
  z-index: 4;
}

/* Style navigation menu links */
.menu a {
  color: white;
  height: fit-content;
  text-decoration: none;
  font-size: 17px;
  display: block;
  align-items: baseline;
  margin: 10px;
}

/* Style the hamburger menu */
.menu a.icon {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  margin: 0%;
  padding: 20px;
  background-color: black;
}

/* Add a grey background color on mouse-over */
.menu a:hover {
  background-color: #ddd;
  color: black;
}


}