.modal-box{ font-family: 'Poppins', sans-serif; } .modal-box .show-modal{ color: #fff; background-color: #e04f8a; font-size: 18px; font-weight: 600; text-transform: capitalize; padding: 10px 15px; border-radius: 0; margin: 80px auto 0; border: none; outline: none; display: block; box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); transition: all 0.3s ease 0s; } .modal-box .show-modal:hover, .modal-box .show-modal:focus{ color: #fff; box-shadow: 6px 6px 4px rgba(0, 0, 0, 0.4); outline: none; } .modal-box .modal-dialog{ width: 550px; margin: 50px auto 0; } .modal.fade .modal-dialog{ transform: translateX(50px); } .modal.in .modal-dialog{ transform: translateX(0); } .modal-box .modal-dialog .modal-content{ color: #fff; background: #1a1a1a; text-align: center; border: none; border-radius: 0; } .modal-box .modal-dialog .modal-content .close{ color: #fff; font-size: 30px; font-weight: 400; text-shadow: none; line-height: 20px; overflow: hidden; opacity: 1; position: absolute; left: auto; right: 15px; top: 15px; z-index: 1; transition: all 0.3s; } .modal-box .modal-dialog .modal-content .close:hover{ color: #fff; } .modal-box .modal-dialog .modal-content .close:focus{ outline: none; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 30px 35px 35px !important; } .modal-box .modal-dialog .modal-content .modal-body .icon{ color: #fff; font-size: 130px; line-height: 110px; margin: 0 auto 15px; text-shadow: 4px 4px rgba(224,79,138, 0.5), -4px -4px rgba(224,79,138, 0.5); } .modal-box .modal-dialog .modal-content .modal-body .title{ font-size: 26px; line-height: 45px; font-weight: 600; margin: 0 0 30px; } .modal-box .modal-dialog .modal-content .modal-body .btn{ color: #fff; background: #e04f8a; font-size: 18px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 12px 40px; margin: 0 auto 15px; border: none; border-radius: 50px; display: block; transition: all 0.3s ease 0s; } .modal-box .modal-dialog .modal-content .modal-body .btn:hover{ background: #196771; text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5); } .modal-box .modal-dialog .modal-content .modal-body .btn.cancel{ background-color: transparent; font-size: 15px; font-weight: 500; text-transform: capitalize; padding: 0; margin: 0; border-radius: 0; display: inline-block; } .modal-box .modal-dialog .modal-content .modal-body .btn.cancel:hover{ text-shadow: 0 0 5px rgba(255,255,255,0.5); } .modal-box .modal-dialog .modal-content .modal-body .btn:focus{ outline: none; } @media only screen and (max-width: 576px){ .modal-dialog{ width: 95% !important; } }