@font-face {font-family: 'Pacifico'; src: url('/recursos/font/Pacifico.woff') format('woff');}

* {margin: 0; padding: 0; box-sizing: border-box; text-decoration: none; list-style: none;   scroll-behavior: smooth; }

/* Fuente principal */
.fontPrincipal {font-family: 'Pacifico'; }

body{
     background-image: url(/recursos/img/fondoInde.jpeg);
    background-repeat: repeat;
    background-size: contain;

}

.container_sobre{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container_img {
    width: 850px;
    height: 500px;
    overflow: hidden;
    position: relative;
      z-index: 6;
          border: 7px solid #5d6d26bd;
    border-radius: 30px;
}

.container_img img{
    width: 100%;
    height: 100%;
   object-fit: cover;
}

.container_img::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 100%;
  left: 20em;
  bottom: -6em;
  background-image: url("/recursos/img/sello.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 5;
cursor: pointer;
  /* animación sutil */
  animation: parpadeoSutil 3s infinite ease-in-out;
}

/* TEXTO */
.container_img::before {
    content: "Ábreme";
    position: absolute;
    left: 16.5em;
    bottom: 11em;
    transform: translateX(-50%);
    background: rgb(255 255 255 / 85%);
    color: #916d08;
    font-size: 25px;
    padding: 0.5em 1em;
    border-radius: 10px;
    font-family: 'Pacifico';
    border: 1px solid rgba(48, 31, 6, 0.879);
    opacity: 0; 
    transition: opacity .3s ease, transform .3s ease;
    z-index: 6;
    pointer-events: none;
}

/* HOVER */
.container_img:hover::before{
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

/* animación parpadeo suave */
@keyframes parpadeoSutil {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}

/* CSS */
.button-6 {
  align-items: center;
  background-color: #ffffffcf;
  border: 1px solid  rgb(120 117 117 / 44%);
  border-radius: 20px;
  font-size: 24px;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color:#ba4b47;
  font-weight: bold;
  padding: 0.3em 0.8em 0.3em 0.8em;
  transition: all 250ms;
  width: auto;
  cursor: pointer;
  
}

.button-6:hover,
.button-6:focus {
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: rgba(0, 0, 0, 0.171) 0 4px 12px;
}

.button-6:hover {
  transform: translateY(-1px);
}

.button-6:active {
  background-color: #fffaf9de;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px;
  color:rgba(228, 57, 57, 0.755);
  transform: translateY(0);
}

.animate__animated {
    animation-duration: 5s;
    animation-fill-mode: both;
  }

@keyframes fadeIn {
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }
  
  .fadeIn {
    animation-name: fadeIn;
  }

@media (max-width: 768px) {
.container_img::after {
  left: 17em;
}

.container_img::before {
    left: 14.5em;
}
}


@media (max-width: 670px) {
.container_img::after {
  left: 14em !important;
}

.container_img::before {
    left: 12.5em !important;
}
}

@media (max-width: 620px) {
.container_img::after {
  left: 12em !important;
}

.container_img::before {
    left: 12em !important;
}
}

@media (max-width: 541px) {
.container_img::after {
  left: 10em !important;
}

.container_img::before {
    left: 10em !important;
}
}

@media (max-width: 431px) {
.container_img::after {
  left: 6em !important;
}

.container_img::before {
    left: 7.5em !important;
}
}

@media (max-width: 376px) {
.container_img::after {
  left: 5em !important;
}

.container_img::before {
    left: 7em !important;
}
}


