.modal-box{ font-family: 'Poppins', sans-serif; } .modal-box .show-modal{ color: #fff; background-color: #333; font-size: 18px; font-weight: 600; text-transform: capitalize; padding: 10px 15px; margin: 80px auto 0; border: none; border-radius: 10px 0; box-shadow: 0 0 10px rgba(0,0,0,0.4); display: block; 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: scale(0.5); } .modal.in .modal-dialog{ transform: scale(1); } .modal-box .modal-dialog .modal-content{ text-align: center; border: none; border-radius: 0; box-shadow: 0 0 10px rgba(0,0,0,0.2); } .modal-box .modal-dialog .modal-content .close{ color: #fff; font-size: 25px; font-weight: 400; text-shadow: none; line-height: 24px; height: 25px; width: 25px; border-radius: 50%; border: 2px solid #fff; overflow: hidden; opacity: 1; position: absolute; left: auto; right: 8px; top: 8px; z-index: 1; transition: all 0.3s; } .modal-box .modal-dialog .modal-content .close:hover{ color: #fff; box-shadow: 0 0 5px rgba(0,0,0,0.5); } .modal-box .modal-dialog .modal-content .close:focus{ outline: none; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 0 0 30px !important; } .modal-box .modal-dialog .modal-content .modal-body .icon{ color: #fff; background: linear-gradient(#00e27b, #00a6be); font-size: 100px; line-height: 170px; margin: 0 0 30px; } .modal-box .modal-dialog .modal-content .modal-body .title{ color: #111; font-size: 35px; font-weight: 600; line-height: 35px; text-transform: capitalize; margin: 0 30px 15px; } .modal-box .modal-dialog .modal-content .modal-body .description{ color: #989aa0; font-size: 16px; margin: 0 30px; } @media only screen and (max-width: 576px){ .modal-dialog{ width: 95% !important; } }