.modal-box{ font-family: 'Poppins', sans-serif; } .modal-box .show-modal{ color: #fff; background-color: #CD454C; font-size: 20px; font-weight: 500; text-transform: capitalize; padding: 10px 15px; margin: 50px auto 0; border: none; outline: none; border-radius: 10px; display: block; transition: all 0.3s ease 0s; } .modal-box .show-modal:hover, .modal-box .show-modal:focus{ color: #fff; outline: none; box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3); } .modal-backdrop.in{ background-color: #000; opacity: 0.7; } .modal-box .modal-dialog{ width: 350px; margin: 70px auto 0; } .modal.fade .modal-dialog{ transform: translateY(-100px); } .modal.in .modal-dialog{ transform: translateY(0); } .modal-box .modal-dialog .modal-content .close{ color: rgba(255,255,255,0.5); font-size: 40px; font-weight: 200; text-shadow: none; line-height: 25px; height: 25px; width: 25px; padding: 0 0 0 3px; opacity: 1; overflow: hidden; position: absolute; left: auto; right: 15px; top: 15px; z-index: 2; transition: all 0.3s ease 0s; } .modal-box .modal-dialog .modal-content .close span{ margin: -2px 0 0; display: block; } .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{ background: #cd454c; text-align: center; border-radius: 20px; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 60px 30px 50px !important; } .modal-box .modal-dialog .modal-content .modal-body .modal-icon{ color: #FF3052; background-color: #fff; font-size: 80px; line-height: 150px; height: 150px; width: 150px; margin: 0 auto 30px; border-radius: 50%; box-shadow: 0 0 15px rgba(0,0,0,0.4),0 -10px 0 #FFCD01 inset; } .modal-box .modal-dialog .modal-content .modal-body .title{ color: #fff; font-size: 32px; line-height: 32px; font-weight: 500; text-transform: capitalize; margin: 0 0 10px; } .modal-box .modal-dialog .modal-content .modal-body .description{ color: #fff; font-size: 14px; letter-spacing: 0.5px; margin: 0 0 30px; } .modal-box .modal-dialog .modal-content .modal-body .btn{ color: #CD454C; background: #fff; font-size: 14px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; padding: 8px 30px; margin: 0 auto 10px; border-radius: 30px; border: none; display: block; transition: all 0.3s; } .modal-box .modal-dialog .modal-content .modal-body .btn:hover{ box-shadow: 0 0 7px rgba(0, 0, 0, 0.2),0 0 0 5px #FFCD01; } @media only screen and (max-width: 576px){ .modal-dialog{ width: 95% !important; } }