.container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 40px 20px 0 20px;
  
}

.container .heading{
  width: 50%;
  padding-bottom: 50px;
}
.container .heading h3{
  font-size: 3em;
  font-weight: bolder;
  padding-bottom: 10px;
  border-bottom: 3px solid #222;
}

.container .heading h3 span{
  font-weight: 100;
}
.container .gallery{
 display: flex;
 flex-direction: row;
 justify-content: space-between;
}

.container .gallery .dream{
  display: flex;
  flex-direction: column;
  width: 48.5%;
}

.widedream {
  display: flex;
  flex-direction: column;
  width: 97%;
}

.twothirddream {
  display: flex;
  width:58% !important;
}

.onethirddream {
  display:flex;
  width:42% !important;
}
.container .gallery .dream img {
  width: 100%;
  padding-bottom: 15px;
/*  border-radius: 5px;*/
}

.container .btn{
  margin: 40px 0 70px 0;
  background: #222;
  padding: 15px 40px ;
  border-radius: 5px;
}

.container .btn a{
 color: #fff;
 font-size: 1.2em;
 text-decoration: none;
 font-weight: bolder;
 letter-spacing: 3px;
}

@media only screen and (max-width: 769px){
    .container .gallery{
   flex-direction: column;
  }

.container .gallery .dream{
  width: 100%;
}





}

@media only screen and (max-width: 643px){
.container .heading{
  width: 100%;
}
.container .heading h3{
  font-size: 1em;

}







}



/* Style the Image Used to Trigger the Modal */
.gallery__item {
  cursor: pointer;
  transition: 0.3s;
}


.gallery__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  transition: 0.3s ease-in-out;
}
.gallery__item:hover {
  opacity: 0.7;
}

/*Image modal*/


.modal img {
  max-width: 100%;
  /*height:auto !important;*/
  object-fit: cover;
  max-height: 100%;

}



.modal {
  width: 100%;
  height:auto;
  /*max-height: 100%;*/
  position: fixed;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.733);
  margin-top: -1px;
  animation: zoom 0.3s ease-in-out;
}
@keyframes zoom {
  from {
      transform: scale(0);
  }
  to {
      transform: scale(1);
  }
}

.closeBtn {
  color: rgba(255, 255, 255, 0.87);
  font-size: 25px;
  position: absolute;
  top: 0;
  right: 0;
  margin: 20px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}
.closeBtn:hover {
  color: rgb(255, 255, 255);
}

.fa-angle-left {
  font-size: 75px;
  position:absolute;
  left:0;
  margin: 40px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.fa-angle-left:hover {
  color: rgb(255, 255, 255);
}

.fa-angle-right {
  font-size: 75px;
  position:absolute;
  right:0;
  margin: 40px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.fa-angle-right:hover {
  color: rgb(255, 255, 255);
}

@media only screen and (max-width: 800px){
  .fa-angle-right {
    font-size: 50px;
    bottom: 0;
    right:0;
    margin: 20px;
  }

  .fa-angle-left {
    font-size: 50px;
    bottom: 0;
    left:0;
    margin: 20px;
  }
  
}


a.hovertext {
  position: relative;
  text-decoration: none !important;
  text-align: center;
}
a.hovertext::after {
  text-decoration: none !important;
  content: attr(data-title);
  position: absolute;
  left: 0;
  bottom: 3;
  padding: 0.5em 20px;
  max-width: 359.94px;
  background: rgba(0,0,0,0.8);
  text-decoration: none !important;
  color: #fff;
  opacity: 0;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
}
a.hovertext:hover::after, a.hovertext:focus::after {
  opacity: 1.0;
  
}

.container .gallery .dream a{
  text-decoration: none !important;
  color:white !important;
}

.container .gallery .dream a:hover{
  color:white !important;
  text-decoration: none;
}

.video {
  max-width: 100%;
  margin: 0 50px;
  vertical-align: center;
  flex: 1;
}


