

button{
background:red;
  color:white;
  font-size:20px;
  font-family
}

button{
  cursor: pointer;
  border: none;
  outline: none;
}

img{
  max-width: 100%;
  height: auto;
}

/*=============== MODAL ===============*/
.container1{
  margin-left: 1rem;
  margin-right: 1rem;
}

.modal1{
  height: 100vh;
  display: grid;
  place-items: center;
}

.modal__button{
  display: inline-block;
  background-color: red;
  color: #FFF;
  padding: 1rem 1.25rem;
  border-radius: .5rem;
  transition: .3s;
}

.modal__button:hover{
  background-color: var(--first-color-alt);
}

.modal__container{
  position: absolute;
  top: 0;
  left: 0;
  background: #4949497d;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  width: 100%;
  height: 194vh;
  display: grid;
  align-items: flex-end;
  overflow: hidden;
  transition: all .3s;
  z-index: 900;
  display:none;
/*   visibility: hidden;
  opacity: 0; */

  /*=== Effect 3 ===*/
  /* perspective: 1000px; */
}

.modal__content{
  position: relative;
  text-align: center;
  padding: 2rem 1rem 0rem;
  border-radius: 1rem 1rem 0 0;
  transition: all .3s;
      width: 317px;
    margin: 0 auto;

   backdrop-filter: blur(10px);      /* el blur real */
  -webkit-backdrop-filter: blur(10px); /* soporte Safari */
  background-color: rgb(103 61 121 / 29%);
  padding: 20px;
  border-radius: 10px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  
  
  /*=== Effect 1 ===*/
  transform: translateY(10%);

  /*=== Effect 2 ===*/
  /* transform: scale(.5) translateY(10%); */

  /*=== Effect 3 ===*/
  /* transform: rotateX(65deg) scale(.75) translateY(10%);
  transform-origin: 50% 100%; */
}

.modal__img{
  width: 150px;
  margin-bottom: .75rem;
}

.modal__close{
  display: inline-flex;
  background-color: var(--first-color);
  border-radius: .25rem;
  color: white;
  font-size: 1.5rem;
  position: absolute;
  top: 1rem;
    right: 1rem;
  cursor: pointer;
}

.modal__title{
  font-size: var(--big-font-size);
  color: var(--title-color);
  font-weight: 500;
}

.modal__description{
  margin-bottom: 1.5rem;
}

.modal__button-width{
  width: 90%;
}

.modal__button-link{
  display: block;
  margin: 1rem auto 0;
  background-color: transparent;
  color: var(--first-color);
  font-weight: 500;
}

/* Show modal */
.show-modal{
  visibility: visible;
  opacity: 1;
}

.show-modal .modal__content{
  /*=== Effect 1 ===*/
  transform: translateY(0);

  /*=== Effect 2 ===*/
  /* transform: scale(1) translateY(0); */

  /*=== Effect 3 ===*/
  /* transform: rotateX(0) scale(1) translateY(0); */
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */

.video{
width: 100%; 
}

@media(max-width:560px){
 .modal__content{
   width: 365px!important;
    margin: 0 auto!important;
    border-radius: 1.25rem!important;
  }
}

@media(max-width:495px){
    .modal__content {
        width: 314px !important;
  }
}
@media(max-width:485px){
    .modal__content {
        width: 287px !important;
    }
}


@media(max-width:461px){
    .modal__content {
       width: 67% !important;
    }
}