
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');


.photo-album__title {
  font-family: 'Montserrat', sans-serif;
}

body, .photo-album__description {
  font-family: 'Roboto', sans-serif;
}

.photo-album__title {
  font-family: 'Montserrat', sans-serif;
}

body, .photo-album__description {
  font-family: 'Roboto', sans-serif;
}


.photo-album__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px; 
}

.photo-album__title {
  font-size: 20px;
  width: 300px;
  font-weight: 900;
  margin-bottom: 32px;
  color: #fff;
  background: rgba(18, 4, 4, 0.77);  
  display: inline-block;         
  padding: 10px 28px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.photo-album-sub__title {
  color: #fff;
  background: rgba(18, 4, 4, 0.77);  
  padding: 10px 28px;
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.photo-album__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.photo-album__item {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

.photo-album__item:hover {
  transform: scale(1.03);
}

.photo-album__img {
  width: 90%;
  height: 74%;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  border-radius: 20px;
}


.photo-album__description {
  padding: 10px;
  font-size: 18px;
  color: #333;
  background: rgba(255,255,255,0.7); 
  width: 100%;
  box-sizing: border-box;
  border-radius: 20px;
  width: 80%;
}

#landing-page {
  background: none;
}


body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('./assets/boston-harbor.jpeg') no-repeat center center;
  background-size: cover;
  z-index: -1;
  pointer-events: none;
  transform: scale(1.1);
}



/* 

Modal/Mail BTN

*/

.mail__btn {
  width: 70px;
  height: 70px;
  font-size: 32px;
  border-radius: 50%;
  border: none;
  background-color: #242424;
  color: white;
  position: fixed;
  bottom: 32px;
  right: 40px;
  z-index: 9999;
}

.mail__btn a {
  color: inherit;
  text-decoration: none;
}

.mail__btn:hover {
  background-color: #d62626;
  color: white;
  transition: all 300ms ease-in-out;
}

.mail__btn.invert {
  background-color: white;
  color: #242424;
}

.mail__btn.invert:hover {
  background-color: #d62626;
  color: white;
  transition: all 300ms ease-in-out;
}



@media (max-width: 1024px) {

  .photo-album__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1400px;
    margin: 0 auto;
  }

    .photo-album__img {
    width: 90%;
    border-radius: 20px;
  height: 74%;
}

.photo-album__title {
  font-size: 20px;
  width: 80%;
}

.photo-album__description {
  border-radius: 20px;
  width: 80%;
}

.modal__exit {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  cursor: pointer;
  z-index: 1000;
}



}



@media (max-width: 768px) {
  
  

  .photo-album__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1400px;
    margin: 0 auto;
  }

    .photo-album__img {
    width: 90%;
    border-radius: 20px;
  height: 80%;
}


.photo-album__title {
  font-size: 20px;
  width: 84%;
}

.photo-album__description {
  border-radius: 20px;
  width: 80%;
}


.modal__img {
  width: 100%;
}



}




@media (max-width: 480px) {
  


  #landing-page::after {
  content: '';
  display: block;
  height: 30vh;
}
  
  .photo-album__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    max-width: 1400px;
    margin: 0 auto;
  }
  
  
  .photo-album__img {
    width: 90%;
    border-radius: 20px;
  height: 74%;
}

.photo-album__title {
  font-size: 20px;
 width: 300px;
}

.photo-album-sub__title {
  border-radius: 20px;
  width: 400px;
}

.mail__btn {
  width: 70px;
  height: 70px;
  font-size: 32px;
  border-radius: 50%;
  border: none;
  background-color: #242424;
  color: white;
  position: fixed;
  bottom: 32px;
  right: 40px;
  z-index: 9999;

  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}

.mail__btn.transparent {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: auto;
}

.mail__btn:hover {
  opacity: 1 !important;
  transform: scale(1);
  background-color: #d62626;
  color: white;
  cursor: pointer;
}
  }


 

@media (max-width: 375px) {
  .photo-album-sub__title {
font-size: 17.4px;  
    width: 100%;
  }



}