@keyframes toastCustom-delay {
    0% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

@keyframes toastCustom-fadeIn-Bottom-center {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastCustom-fadeIn-Bottom-left {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shakeme {
    0% { transform: scale(1); }
    5% { transform: scale(0.7); }
    10% { transform: scale(1.5); }
    15% { transform: scale(1.1); }
    20% { transform: scale(1.4); }
    30% { transform: scale(1.1); }
}

.toastCustomContainer {
    position: fixed;
    z-index: 10;
    /* pointer-events: none; */
    left: 0.5rem;
    bottom: 0.5rem;
    animation: toastCustom-fadeIn-Bottom-left 0.75s ease-in-out;
}

.toastCustom {
    background-color: transparent;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, .1); */
}

.toastCustom-delay {
    height: 4px;
    background-color: #007bff;
    /* animation: toastCustom-delay 20s linear forwards; */
}

.toastCustom-body {
    position: relative;
}
.toastCustom-body .btnClose {
    transition: all 0.35s ease-in-out;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 6px;
    color: #fff;
    /* box-shadow: 0 0 15px 0 rgba(0,0,0,.15); */
    /* position: fixed; */
    /* right: 32px; */
    /* bottom: 32px; */
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 38px;
    font-weight: 300;
    /* background: #c54987; */
    /* border: 1px solid #c54987; */
    text-align: center;
    background: transparent;
    border: none;
    cursor: pointer;
    line-height: 35px;
    animation: shakeme 3s infinite;
}


.toastCustomContainer{
    width: 700px;
    
}
.toastCustom{
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12) !important;
}
.toast-box{
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.toast-box .img-toast1{
    width: 44%;
    text-align: center;
}
.toast-box .img-toast1 img{
    height: 170px;
}
.toast-box p{
    font-size: 1.8rem;
    color:#fff;
    margin-bottom: 0;
    font-weight: 300;
    line-height: 1.2;
}
.toast-box .link-subrayado{
    color:#fff;
    /*box-shadow: inset 0 -4px 0 white;*/
    padding-bottom: 4px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
}
.toast-box .link-subrayado::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;             
  width: 100%;             
  background: white;
  transition: width 0.3s ease;
}
.toast-boxin{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.toast-boxin p{
    color: var(--bs-primary);

}
.toast-boxin p:first-child{
    width: 76%;
    flex: 0 0 auto;
}
.toast-box .img-toast2{
    width: 30%;
    text-align: center;
}
.toast-box .img-toast2 img{
    height: 170px;
}
.btn-toast{
    line-height: 1.2;
    border-radius: 1rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
}
.bg-light .toastCustom-body .btnClose{
    color: var(--bs-primary);
}


@media(max-width: 1100px){
    .toastCustomContainer {
        width: 500px;
    }
    .toast-box .img-toast1 img {
        height: 130px;
    }
    .toast-box p{
        font-size: 1.2rem;
    }
    .toast-box .img-toast2 img {
        height: 130px;
    }
    .btn-toast{
        font-size: 1rem;
    }
}
@media (max-width: 768px) {
    .toastCustomContainer {
        left: 0.5rem !important;
        bottom: 0.5rem !important;
        width: calc(100% - 1rem) !important;
        animation: toastCustom-fadeIn-Bottom-center 0.75s ease-out;
    }
    .toast-box{
        justify-content: center;
        gap: 1rem;
    }
    .toast-box .img-toast1 img {
        height: auto;
    }
    .toast-box p{
        font-size: 2rem;
    }
    .toast-box .img-toast1 {
        width: 38%;
    }
    .toast-box .img-toast2 img {
        height: auto;
    }
    .toastCustom {
      opacity: 1;
      transform: translateY(0);
      transition: transform 0.5s ease, opacity 0.5s ease;
    }

    .toastCustom.slide-out {
      opacity: 0;
      transform: translateY(100%);
    }
}
@media(max-width: 600px){
    .toast-box p {
        font-size: 1rem;
    }
    .btn-toast {
        font-size: 0.9rem;
    }
    .toast-boxin p:first-child{
        width: 60%;
    }
}

@media(min-width: 768px){
    .toastCustom {
      opacity: 1;
      transform: translateX(0);
      transition: transform 0.5s ease, opacity 0.5s ease;
    }

    .toastCustom.slide-out {
      opacity: 0;
      transform: translateX(100%); /* si quieres a la izquierda usa -100% */
    }
}
@media(min-width: 1900px){
    .toastCustomContainer {
        width: 820px;
    }
    .toast-box .img-toast1 {
        width: 45%;
    }
    .toast-box p {
        font-size: 2.2rem;
    }
    .toast-box .img-toast1 img {
        height: 210px;
    }
    .toastCustom-body .btnClose{
        height: 40px;
        width: 40px;
        font-size: 50px;
    }
}