@font-face {
  font-family: "Broowie";
  src: url("../assets/font/boowie/BOOWIE.ttf") format("truetype");
}

@font-face {
  font-family: "Nexa";
  src: url("../assets/font/nexa/Nexa-Heavy.ttf") format("truetype");
}
@font-face {
  font-family: "CeraRoundPro";
  src: url("../assets/font/nexa/fontspring-demo-ceraroundpro-black.otf")
    format("opentype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "CeraRoundPro";
  src: url("../assets/font/nexa/fontspring-demo-ceraroundpro-bold.otf")
    format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "CeraRoundPro";
  src: url("../assets/font/nexa/fontspring-demo-ceraroundpro-light.otf")
    format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "CeraRoundPro";
  src: url("../assets/font/nexa/fontspring-demo-ceraroundpro-medium.otf")
    format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "CeraRoundPro";
  src: url("../assets/font/nexa/fontspring-demo-ceraroundpro-regular.otf")
    format("opentype");
  font-weight: 400;
  font-style: normal;
}

/* Clases para cada grosor */
.font-sprin-black {
  font-family: "CeraRoundPro";
  font-weight: 900;
}

.font-sprin-bold {
  font-family: "CeraRoundPro";
  font-weight: 700;
}

.font-sprin-light {
  font-family: "CeraRoundPro";
  font-weight: 300;
}

.font-sprin-medium {
  font-family: "CeraRoundPro";
  font-weight: 500;
}

.font-sprin-regular {
  font-family: "CeraRoundPro";
  font-weight: 400;
}
body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
}

.overflowHidden {
  overflow: hidden;
}

#bg-video {
  position: fixed;
  /* right: 0; */
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
}

#bg-image {
  position: fixed;
  /* right: 0; */
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  overflow-x: hidden;
}

#bg-image > img {
  width: 100%;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(255 255 255 / 50%);
  padding: 15px 0;
  z-index: 1;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
  align-items: center;
  font-size: 17px;
}
a:hover {
    color: #534527;
    text-decoration: none;
}

.broowie {
  font-family: "Broowie", sans-serif;
}
.nexa {
  font-family: "Nexa", sans-serif;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #534527;
  letter-spacing: 3px;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  margin-top: 100px;
  z-index: 1;
}

.content-this-shalom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  color: white;
  padding: 50px;
  z-index: 1;
}

h1 {
  font-size: 3em;
}

.contact-btn {
  background-color: white;
  color: #333;
  padding: 25px 70px;
  border: none;
  cursor: pointer;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem;
  margin-top: 2rem;
}

.bento-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.bento-item h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.bento-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.bento-item p,
.bento-item ul {
  font-size: 1rem;
}

.bento-item ul {
  list-style-position: inside;
  padding-left: 1rem;
}

.bento-item img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.col-span-2 {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .col-span-2 {
    grid-column: span 1;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin-bottom: 0.5rem;
  }
}

.background-image {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  background: url("../assets/shalomTimon.JPG") no-repeat center center fixed;
  background-size: cover;
  z-index: -2;
}

.image-section {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  z-index: 1;
}

.adjust-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.preloader-content {
  text-align: center;
  display: grid;
}

.preloader-content img {
  width: 500px;
}

.spinner {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  margin-top: 20px; /* Espacio entre la imagen y el spinner */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  /* background: rgba(0, 0, 0, 0.1); */
  border-radius: 0px;
  /* backdrop-filter: blur(5px); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.inner-modal {
  width: 100%;
  height: 100%;
  background: rgb(255 255 255 / 20%);
  border-radius: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  position: absolute;
  top: -30px;
  left: 30px;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 35px;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.modal-text {
  font-size: 1.2em;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.modal-contact-btn {
  background: white;
  color: black;
  border: none;
  padding: 10px 20px;
  border-radius: 0px;
  font-size: 1em;
  cursor: pointer;
}

.newsletter-modal__modal-wrapper {
  position: relative;
  width: 40.625rem;
  max-width: 90%;
  padding: 0.75rem;
  color: #ece2d6;
}

.newsletter-modal__modal-wrapper svg.border-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: auto;
  height: 100%;
}

.newsletter-modal__modal-wrapper svg.border-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: auto;
  height: 100%;
  transform: scale(-1);
}

.newsletter-modal__modal-wrapper svg.border-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
}

.newsletter-modal__modal-wrapper svg.border-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 0, 0);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0);
  z-index: 1;
  border-radius: 5px;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-family: "CeraRoundPro";
  letter-spacing: 3px;
}

nav ul li:hover .dropdown-content {
  display: block;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin-bottom: 0.5rem;
  }

  .dropdown-content {
    position: static;
    background-color: transparent;
    box-shadow: none;
  }
}
