/* start common styles */



body {
  font-family: "Times New Roman", serif;
  background-color: rgb(238, 212, 212);
  color: #130801;
}

body div {
  border: solid red 0px;
}

hr {
  border: 1px solid #130801;
}

.text-underline-hover {
  text-decoration: none;
  display: inline-block;
  position: relative;
}
.text-underline-hover:after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: black;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}
.text-underline-hover:hover:after {
  width: 100%;
  left: 0;
}

.title {
  font-size: 150px;
}

.subTitle {
  color: #db5d63;
}

.bio-img {
  width: 30%; /* Adjust the percentage as needed */
  max-width: 300px; /* Optional: Set a max-width to ensure it doesn't get too large */
}

.galleryImg {
  transition: transform 250ms;
  opacity: 0.9;
  cursor: pointer;
}

.galleryImg:hover {
  transform: translateY(-6px);
  opacity: 1;
}
#trailer {
  cursor: pointer;
  transition: transform 250ms;
  opacity: 0.9;
}

#trailer:hover {
  transform: translateY(-4px);
  opacity: 1;
}

#loading {
  max-width: 50%;
}

.dropdown-menu {
  background-color: rgb(236, 165, 177);
}

#formSubmitMessage {
  display: none;
}

.admin-nav {
  background-color: rgb(219, 139, 152);
}

#poetryAdminSection {
  display: none;
}
/* font */

@font-face {
  font-family: "Fira Sans";
  src: url("fonts/fira/eot/FiraSans-Regular.eot");
  src: url("fonts/fira/eot/FiraSans-Regular.eot") format("embedded-opentype"),
    url("fonts/fira/woff2/FiraSans-Regular.woff2") format("woff2"),
    url("fonts/fira/woff/FiraSans-Regular.woff") format("woff"),
    url("fonts/fira/woff2/FiraSans-Regular.ttf") format("truetype");
}

/* font */

/* modal */

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Modal Content (image) */
.modal-video-content {
  margin: auto;
  display: block;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content,
#caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* The Close Button */
.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;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}
/* modal */

/* Contact form */

.contact-form-wrapper {
  padding: 100px 0;
}

.contact-form {
  padding: 15px 20px;
  background-color: rgb(238, 212, 212);
  border-radius: 12px;
  max-width: 400px;
}

.contact-form textarea {
  resize: none;
}

.contact-form .form-input,
.form-text-area {
  background-color: rgb(238, 212, 212);
  height: 30px;
  padding-left: 16px;
}

.contact-form .form-text-area {
  background-color: rgb(238, 212, 212);
  height: auto;
  padding-left: 16px;
}

.contact-form .form-control::placeholder {
  font-weight: 500;
}

.contact-form .form-control:-ms-input-placeholder {
  font-weight: 500;
}

.contact-form .form-control::-ms-input-placeholder {
  font-weight: 500;
}

.contact-form .form-control:focus {
  border-color: #ac9a9a;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.07), 0 0 8px #ebe6e9;
}

.contact-form .title {
  text-align: center;
  font-size: 24px;
  font-weight: 500;
}

.contact-form .description {
  font-size: 20px;
  text-align: center;
}

.contact-form .submit-button-wrapper {
  text-align: center;
}

.contact-form .submit-button-wrapper input {
  border: none;
  border-radius: 4px;
  background-color: rgb(238, 212, 212);

  text-transform: uppercase;
  padding: 5px 30px;
  font-weight: 500;
  letter-spacing: 2px;
}

.contact-form .submit-button-wrapper input:hover {
  background-color: #e4e4e4;
  color: white;
}

/* Contact form */

/* poetry */

#book {
  display: flex;
  justify-content: center;
}

.book-mobile {
  --book-height: 60vh;
  --book-ratio: 1.4;
  justify-content: center;
  align-items: center;
  background-color: rgb(253, 181, 216);
}

@media screen and (max-width: 920px) and (orientation: landscape) {
  .book-mobile {
    --book-height: 100vh;
  }
}

.book-mobile > div {
  height: var(--book-height);
  width: calc(var(--book-height) / var(--book-ratio));
  overflow: auto;
}

.mobPoemBody {
  padding-left: 20px;
  padding-right: 20px;
}

.book {
  --book-height: 100vh;
  --book-ratio: 1.4;
  justify-content: center;
  align-items: center;
  padding-left: 17%;
}

.book > div {
  height: var(--book-height);
  width: calc(var(--book-height) / var(--book-ratio));
  overflow: auto;
  background-color: #df8a8a;
  transform: scale(0.8);
  border-radius: 6px;
  transform-origin: left;
}

.book-cover {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 8;
  text-align: center;
  background: #df8a8a;
  background-size: 2em 2em;
  background-color: #232323;
  color: white;
  transition: transform 2s;
}

.book-cover::before {
  content: "";
  position: absolute;
  width: 20px;
  right: 20px;
  top: 0;
  bottom: 0;
  background-color: #df8a8a;
}

.bookHeader {
  font-size: 200%;
  font-weight: 300;
  color: #db5d63;
}

h2 {
  font-size: 16px;
}

.separator {
  --separator-size: 8px;
  width: var(--separator-size);
  height: var(--separator-size);
  background-color: #db5d92;
  margin: 50px auto 60px auto;
  border-radius: 50%;
  position: relative;
}

.separator::after,
.separator::before {
  content: "";
  position: absolute;
  width: 12px;
  background-color: white;
  height: 2px;
  top: calc(50% - 1px);
}

.separator::after {
  left: 15px;
}

.separator::before {
  right: 15px;
}

.book-content {
  transform: scale(0.8) translateY(30px);
  background-color: rgb(253, 181, 216) !important;
  transition: all 0.3s 1s;
}

.book-content h3,
.book-content p {
  opacity: 0;
  transition: all 0.3s 0.3s;
}

h3 {
  padding: 30px;
}

.book-content {
  padding: 0px 30px 10px 30px;
  text-align: justify;
  font-size: 15px;
}

.book-cover > div {
  transition: opacity 0s 0.6s;
}

.book:hover > .book-cover {
  transform: rotateY(180deg) scale(0.8);
}

.book:hover > .book-cover > div {
  opacity: 0;
}

.book:hover > .book-content {
  transform: scale(0.8) translateY(0px);
}

.book:hover > .book-content h3,
.book:hover > .book-content p {
  opacity: 1;
}

.underline-hover {
  text-decoration: none;
}

.underline-hover:hover {
  text-decoration: underline;
}

/* poetry */

/* poetry archive*/
.poemOfMonth {
  max-width: 100%;
}

@media screen and (max-width: 415px) {
  .poemOfMonth {
    max-width: 150%;
  }
}
/* poetry archive*/

/* Textiles
*/

.textilesBio {
  max-width: 60%;
}

/* start gallery.html style */

.gallery-image-overlay {
  backdrop-filter: blur(3px);
  opacity: 0.9;
  width: 100%;
  height: 100%;
  background-color: rgb(238, 212, 212);
  padding: 10px;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
}

.gallery-image:hover .gallery-image-overlay {
  display: block !important;
}

.gallery-image {
  background-color: rgb(238, 212, 212);
  width: 250px;
  height: 300px;
  display: inline-block;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 5px;
  margin: 5px;
  position: relative;
}

@media screen and (max-width: 950px) {
  .gallery-image {
    max-width: 150px;
    max-height: 175px;
  }
}

/* end gallery.html style */

/* start collection.html style */

#imgContainer {
  border-radius: 3%;
}

.desc-hidden {
  display: block;
  color: black;
  background: rgb(238, 212, 212);
  position: relative;
  padding: 5px;
  opacity: 0;
  transition: opacity 3s ease-in-out;
  border-radius: 3%;
  margin-left: 10px;
}

.desc-hidden p {
  font-size: 0.9rem;
}

.arrow-hidden {
  color: #f1f1f1;
  opacity: 0;
  transition: opacity 3s;
  padding: 5px;
  position: relative;
  border: 1px solid darkgray;
}

.arrow-hidden:hover {
  background-color: gray;
}

.thumbnail {
  background-color: rgb(238, 212, 212);
  width: 75px;
  height: 75px;
  display: inline-block;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 5px;

  margin: 5px;
  cursor: pointer;

}

.thumbnail-hidden {
  visibility: hidden;
  opacity: 0;
  transition: opacity 3s;
}

.thumbnail:hover {
  border: #e67979;
}

.collection-image {
  background-color: rgb(238, 212, 212);
  width: 100%;
  height: 400px;
  display: inline-block;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  opacity: 0;
  transition: opacity 3s ease-in-out;
  cursor: pointer;
}

.fade-in {
  opacity: 1;
  visibility: visible;
}

.arrow-img {
  visibility: visible;
  opacity: 1;
}



#showHideDescContainer {
  display: none;
}

.caption-text {
  color: #f1f1f1;
  font-family: Arial, Helvetica, sans-serif;
}

#imgCounter {
  display: block;
  position: relative;
  margin: 5px;
  padding: 2px;
  background-color: black;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  width: 50px;
  font-size: 0.8rem;
  border-radius: 10px;
  text-align: center;
}

#thumbnailRow {
  margin-top: 10px;
}

@media screen and (max-width: 950px) {
  #thumbnailRow {
    display: none;
  }

  #showHideDescContainer {
    margin-top: 10px;
    display: block;
  }

  .arrow-img {
    visibility: visible;
    opacity: 1;
  }

  .desc-hidden {
    display: none;
    margin-top: 10px;
  }

  .spacer-col {
    display: none;
  }

  #imgContainer {
    margin-top: 10px;
  }

  #imgCounter {
    display: block;
  }

  #arrowLeftImg {
    margin-right: 10px;
  }

  #arrowRightImg {
    margin-left: 10px;
  }
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 75px;
  padding-bottom: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: auto;
  max-width: 700px;
  max-height: 100%;
}

/* Add Animation - Zoom in the Modal */
.modal-content {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 10px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    max-width: 100%;
    max-height: 100vh;
  }
}

/* Textiles
*/
.mobileBio {
  display: none;
}

.mobSubTitle {
  display: none;
}

.mobileImage {
  display: none;
}

.mobFilm {
  display: none;
}

.textMob {
  display: none;
}

.mobPoemTitle {
  display: none;
}

.book-mobile {
  display: none;
}

@media screen and (max-width: 700px) {
  .desktop {
    display: none;
  }

  .mobileBio {
    display: block;
  }

  .mobSubTitle {
    display: block;
  }

  .mobileImage {
    display: block;
  }

  .deskFilm {
    display: none;
  }

  .mobFilm {
    display: block;
  }

  .textDesk {
    display: none;
  }

  .textMob {
    display: block;
  }

  .gallery-image {
    width: 150px;
    height: 150px;
  }


}

@media screen and (max-width: 415px) {
  .contact {
    width: 400px;
    padding-left: 10%;
  }
}

@media screen and (max-width: 916px) and (orientation: landscape) {
  .homeFooter {
    display: none;
  }

  .homeHr {
    display: none;
  }

  .subTitle {
    padding-top: 30px;
  }
}

@media screen and (max-width: 1181px) {
  .subTitle {
    font-size: 30px;
  }

  .book {
    display: none;
  }

  .book-mobile {
    display: block;
  }

  .mobPoemTitle {
    display: block;
  }
}

@media screen and (max-width: 415px) {
  .contact {
    width: 400px;
    padding-left: 10%;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1300px) {
  .book {
    padding-left: 10%;
  }
}
