@charset "utf-8";
/* CSS Document */
h2{
  text-align: center;
  font-family: "park-lane", serif;
  font-weight: 500;
font-size: 1.5rem;
line-height: 1.875;
  color: #cc005f;
}

.gallery-grid{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin: 2rem 4rem 2rem;
}

.box{
  flex: 1 0 35%;
  margin: 5px;
  background: #cc005f;
}
.box1{
  object-fit: cover;
  position: relative;
  overflow: hidden;
}
.box1 img{
  position: absolute;
  width: 100%;
  height: 100%;
}


@media screen and (min-width:700px){
  .box{
    flex: 1 0 20%;
    margin: 5px;
    background: #cc005f;
  }
}
.box:after{
  content: '';
  display: block;
  padding-bottom: 100%;
}

div.gallery {
  position: relative;
}



/* div.gallery img {
  width: 100%;
  height: auto;
} */
div.gallery img:hover {
  opacity: 0.35;
  transition: .45s ease;
}


* {
  box-sizing: border-box;
}

/* For now with only two pics, leave this out */
/* .responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
} */

/* @media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
} */

.responsive {
  padding: 0 6px;
  float: left;
  width: 49.99999%;
  margin: 6px 0;
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}



.btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -95%);
  -ms-transform: translate(-50%, -95%);
  background-color: #cc005f;
  padding: 6px 24px;
  border: none;
  cursor: pointer;
  font-family: "lora-regular", serif;
    font-size: 0.8rem;
    line-height: 2.4rem;
    text-transform: uppercase;
    letter-spacing: .1rem;
    color: #FFFFFF;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.btn {
  opacity:0;
}

.btn:hover{
  opacity: 1;
  transition: .45s ease;
}


/* ----------Halley---------- */
.case img{
  display: block;
  width: 95%;
	margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}
* {box-sizing:border-box}




/* Portfolio */
section#title.intro{
  margin: auto;
  
}
section#title.intro h5{
  margin-top: 1.5rem;
  font-size: 1.5rem;
  letter-spacing: 0.07rem;
}
section#title.intro h1{
  margin-bottom: 1rem
}

p.portfolio-link{
    font-family: "park-lane", serif;

}

section#title.intro p{
  /* font-family: "park-lane", serif; */
  font-size: 1.3rem;
  margin:0 1.5rem 1rem;
  line-height: 1.75rem;
  padding: 0 1rem
}

section#title.intro p strong{
  font-family: "park-lane", serif;
  font-size: 1.35rem;
}

div.desc {
  font-family: "park-lane", serif;
  font-weight: 500;
  color: #444;
  font-size: 1rem;
}

.desc p{
  text-align: left;
}

section#title.outro .btm{
    margin: 1rem 1.5rem 7rem;
    font-size: 1.3rem;
    line-height: 1.75rem;
    padding: 0 1rem

}

section#title.outro .btm p strong{
  font-family: "park-lane", serif;
  font-size: 1.35rem;
}

section#title.outro a{
  padding-top: 1.5rem;
  font-family: "park-lane", serif;
  font-size: 1.35rem;
}
.previous-project{
  float:left;
}

.next-project{
  float: right;
}
.flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: normal;
  align-content: stretch;
  padding: 0 1rem;
}
.flex-items{
  flex-grow: 1;
  flex-shrink: 1;
  margin:auto;
  padding: 1rem;
  width:50%;
  min-width: 300px;
}
.flex-items .case img{
  margin-bottom: 0rem;
  width:100%;
}

.flex-items.dis-lg{
  width:100%;
  margin: auto;
  align-content: stretch;
}

div.case.dis-sm{
  width:100%;
  margin: auto;
  align-content: stretch;
}

.flex-items-2{
  flex-grow: 1;
  flex-shrink: 1;
  margin:auto;
  padding: 0.25rem;
  width:30%;
  min-width: 160px;
}

@media screen and (max-width:400px){
  .previous-project{
    float:none;
  }
  .next-project{
    float: none;
    width:100%;
  }
  section#title.outro .btm{
    margin-bottom: 0;
  }
  section#title.outro p{
    margin-bottom: 3rem;
  }
}

@media screen and (min-width:400px){
.hide{
  display: none;
}
}

/*this query will apply for the devices those have width smaller than 480px*/
@media screen and (max-width: 480px) {
  .vert_video {
    width: 100%;
    height: 100%;
    padding: 5%;
  }
  source{
    border: solid 2px #717171;
  }
}

@media screen and (min-width: 481px) {
.vert_video {
    width: 75%;
    height: 75%;
    padding: 5%;
    margin: 2%;
    background-color: #f2f2f2;
}
}

@media screen and (min-width: 600px) {
  .vert_video {
    width: 45%;
    height: 45%;
    margin: 2%;
    padding: 4%;
    background-color: #f2f2f2;
  }
}

@media screen and (min-width: 750px) {
main{
  margin: 0 18%;
}
  
}

.lightbox {
  /* Default to hidden */
  display: none;

  /* Overlay entire screen */
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  /* A bit of padding around image */
  padding: 1em;

  /* Translucent background */
  background: rgba(0, 0, 0, 0.8);
}

/* Unhide the lightbox when it's the target */
.lightbox:target {
  display: block;
}

.lightbox span {
  /* Full width and height */
  display: block;
  width: 100%;
  height: 100%;

  /* Size and position background image */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}