body {
  font-family: 'Cormorant Garamond', serif;
}

a {
  color: #464646;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}
a:hover {
  color: #333;
  text-decoration: none;
}

p {
  font-size: 25px;
}

.color-dark { color: #dbcfb5; }
.color-light { color: #f7f4ed; }

header {
  background-color: #dbcfb5;
  position: relative;
  height: 630px;
  display: flex;
  align-items: center;
}

header .logo {
  position: absolute;
  left: 5%;
  top: 30px;
}

.button {
  transition: all 0.2s ease-in-out;
  background: #dbcfb5;
  color: white;
  border-radius: 8px;
  padding: 10px 30px;
}
.button:hover {
  background: #c3b8a0;
  color: white;
  text-decoration: none;
}

h2, .h2 {
  font-size: 40px;
  font-weight: normal;
}

.header-bg {
  background-image: url('images/01-Foto-header.png');
  background-repeat: no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  height: 630px;
  width: 1035px;
  position: absolute;
  right: 0;
  bottom: 0;
}

.calendar-items > div { position: relative; margin-bottom: 30px; cursor: pointer; }
.calendar-items > div span {
  transition: opacity 0.2s ease-in-out;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  font-size: 150px;
  line-height: 1;
  opacity: 0;
}
.calendar-items > div:hover span {
  opacity: 1;
}
.calendar-items > div:before { transition: all 0.4s ease-in-out; }
.calendar-items > div:hover:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(255, 255, 255, 0.6);
}

.newsletter {
  background: #f7f4ed;
  padding: 50px 0;
  margin: 60px 0 80px 0;
}
.newsletter .container .row {
  position: relative;
}
.newsletter .calendar-image {
  position: absolute;
  left: 10%;
  top: 0;
  max-width: 350px;
  width: 100%;
}

footer {
  background: #dbcfb5;
  color: white;
  font-style: italic;
  font-size: 20px;
  font-weight: 300;
  margin-top: 50px;
}

.modal .close {
  transition: all 0.2s ease-in-out;
  font-size: 50px;
  text-shadow: none;
  margin: 0;
  padding: 0;
  width: 50px;
  height: 50px;
  position: absolute;
  right: 20px;
  top: 10px;
  outline: 0;
}
.modal .modal-content {
  background-color: #f7f4ed;
  border-radius: 0;
  border: 0px none;
}

.modal .modal-body {
  display: flex;
  align-items: center;
  position: relative;
  padding: 20px 40px 70px 40px;
}
.modal .modalImagesArrows {
  position: absolute;
  bottom: 30px;
  left: 20px;
  text-align: center;
  width: 350px;
}
.modal .modalImagesArrows i {
  transition: all 0.2s ease-in-out;
  font-size: 30px;
  margin: 0 20px;
  cursor: pointer;
}
.modal .modalImagesArrows i:hover {
  color: #333;
}
.modal .modalImages {
  position: relative;
  width: 350px;
  height: 350px;
  flex: 0 0 350px;
}
.modal .modalContent p {
  padding-left: 30px;
  font-size: 20px;
  font-weight: normal;
  line-height: 1.2;
}
.modal .modalImages img {
  transition: opacity 0.2s ease-in-out;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.modal .modalImages img.active {
  opacity: 1;
}
.modal .modal-header {
  border: 0px none;
  border-radius: 0;
  padding-top: 30px;
}
.modal .modal-header h5 {
  width: 100%;
  text-align: center;
  position: relative;
}
.modal .modal-header h5 span {
  display: block;
  font-size: 25px;
  line-height: 1;
}
.modal-header strong {
  font-size: 30px;
  font-weight: 400;
}

.modal-backdrop {
  background-color: white;
  opacity: .9 !important;
}

@media screen and (max-width: 1550px) {
  .header-bg { width: 630px; background-position: bottom center; }
}

@media screen and (max-width: 1050px) {
  .header-bg { width: 450px; background-position: bottom center; }
}

@media screen and (max-width: 991px ) {
  .modal-dialog { max-width: 90%; }
  .newsletter .calendar-image { left: 0; max-width: 300px; }
}

@media screen and (max-width: 768px ) {
  .modal .modal-body { flex-direction: column; padding: 40px; }
  .modal .modalImages { order: 1; }
  .modal .modalContent { order: 0; }
  .modal .modalImagesArrows { order: 2; position: relative; bottom: 0; left: 0; width: 100%; }
  .newsletter .calendar-image { display: none; }
}

@media screen and (max-width: 620px) {
  .modal-dialog { margin: 20px auto; }
  header { height: 500px; }
  header .logo { left: 50%; transform: translateX(-50%); }
  .header-bg { width: 330px; }
  .modal .modalContent p { padding-left: 0; }
}

@media screen and (max-width: 500px) {
  .modal .modalImages { width: 100%; }
  .modal .close { right: 0; top: -5px; }
}

@media screen and (max-width: 400px) {
  header { height: 630px; }
  .header-bg { width: 330px; }
}

@media (min-width: 992px) {
  .modal-lg, .modal-xl {
    max-width: 1000px;
  }
}
