.modal-box{ font-family: 'Blinker', sans-serif; } .modal-box .show-modal{ color: #fff; background-color: #e34931; font-size: 18px; font-weight: 600; text-transform: capitalize; letter-spacing: 0.5px; padding: 10px 15px; margin: 80px auto 0; border: none; border-radius: 5px 5px; box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); outline: none; display: block; transition: all 0.3s ease 0s; } .modal-box .show-modal:hover, .modal-box .show-modal:focus{ color: #fff; box-shadow: -4px -4px rgba(0, 0, 0, 0.2); outline: none; } .modal-backdrop.in{ opacity: 0.1; } .modal-box .modal-dialog{ width: 450px; margin: 80px auto 0; } .modal.fade .modal-dialog{ transform: translateY(-50px); } .modal.in .modal-dialog{ transform: translateY(0); } .modal-box .modal-dialog .modal-content{ background: linear-gradient(#9dcbe5,#fff); text-align: center; border: none; border-radius: 10px 10px; box-shadow: 10px 10px 6px rgba(0, 0, 0, 0.1); position: relative; } .modal-box .modal-dialog .modal-content .close{ color: #999; 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: #7289da; } .modal-box .modal-dialog .modal-content .close:focus{ outline: none; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 30px 0 !important; } .modal-box .modal-dialog .modal-content .modal-body .icon{ color: #e34931; font-size: 100px; line-height: 100px; margin: 0 auto 18px; } .modal-box .modal-dialog .modal-content .modal-body .title{ color: #fff; background: #282f39; font-size: 35px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 15px 0; margin: 0 0 20px; } .modal-box .modal-dialog .modal-content .modal-body .description{ color: #282f39; font-size: 15px; letter-spacing: 0.5px; margin: 0 20px 20px; } .modal-box .modal-dialog .modal-content .modal-body .btn{ color: #fff; background: #e34931; border: none; position: relative; font-size: 20px; font-weight: 500; padding: 8px 20px; letter-spacing: 1px; border-radius: 5px 5px; text-transform: uppercase; transition: all 0.3s; } .modal-box .modal-dialog .modal-content .modal-body .btn:hover{ text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.6); box-shadow: 0 0 0 5px #9d2215 inset; } .modal-box .modal-dialog .modal-content .modal-footer .btn:focus{ outline: none; } @media only screen and (max-width: 576px){ .modal-dialog{ width: 95% !important; } }