/* The Modal (background) */

.A0 {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    -webkit-animation-name: fadeIn;
    /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s
}


/* Modal Content */

.A1 {
    position: fixed;
    bottom: 0;
    background-color: #fefefe;
    width: 100%;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s
}


/* The Close Button */

.close {
    color: black;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: red !important;
    text-decoration: none;
    cursor: pointer;
}

.A3 {
    padding: 2px 16px;
}


/* Add Animation */


/* @-webkit-keyframes slideIn {
    from {bottom: -300px; opacity: 0} 
    to {bottom: 0; opacity: 1}
  } */

@keyframes slideIn {
    from {
        right: -300px;
        opacity: 0
    }
    to {
        bottom: 100px;
        opacity: 1
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

button#myBtn {
    background-color: #006494;
    border-radius: 11px;
    padding: 12px 28px;
    outline: none;
    border: none;
    position: fixed;
    right: -10px;
    bottom: -10px;
}

.A1 {
    max-width: 360px;
    min-height: 250px;
    right: 100px;
    bottom: 100px;
}

.A2 {
    display: flex;
}

.A2 span {
    margin-left: auto;
    margin-right: -15px;
}

.accord_btn {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 20px; /* Adjust as needed */
    padding: 10px 20px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10;
}
@media (max-width: 992px) {
    .A1 {
        max-width: 350px;
    }
}

/* Media query for screens smaller than 768px */
@media (max-width: 576px) {
    .A1 {
        width: 250px;
    }
}

/* Media query for screens smaller than 576px */
@media (max-width: 576px) {
    .acord-image {
        width: 100px;
    }
}


a.close-btn {
    z-index: 999;
    position: absolute;
    top: -40px; /* Adjust as needed */
    right: -2px; /* Adjust as needed */
    font-size: 16px;
    color: #ff0000;
    text-decoration: none;
}


.animate {
    animation: mover 1s infinite alternate;
}

.animate:hover {
    animation-play-state: paused !important;
}

a.close-btn .fa {
    color: #fff;
}

a.close-btn .fa:hover {
    color: red;
}

@keyframes mover {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

.A3 p {
    text-align: center;
    font-size: 27px;
    font-weight: 500;
}

.A3 {
    padding: 2px 23px;
}

.close {
    text-shadow: none;
    opacity: 1;
}

@media (max-width:500px) {
    .A1 {
        right: unset !important;
        margin-left: 3rem;
    }
}