.modal-box{ font-family: 'Poppins', sans-serif; } .modal-box .show-modal{ color: #13A0AB; background-color: #EFEFEF; font-size: 17px; font-weight: 500; text-transform: capitalize; padding: 10px 20px; margin: 80px auto 0; border: none; border-radius: 0; outline: 2px solid #13A0AB; display: block; transition: all 0.3s ease 0s; } .modal-box .show-modal:hover, .modal-box .show-modal:focus{ color: #fff; background-color: #C51796; outline: none; } .modal-backdrop.in{ opacity: 0.5; } .modal-box .modal-dialog{ width: 500px; margin: 70px auto 0; } .modal.fade .modal-dialog{ transform: translateY(100px); } .modal.in .modal-dialog{ transform: translateY(0); } .modal-box .modal-dialog .modal-content{ color: #1B2541; background: #EFEFEF; border: none; border-top: 3px solid #C51796; border-radius: 0; box-shadow: 0 0 25px rgba(0,0,0,0.1); } .modal-box .modal-dialog .modal-content .modal-body{ padding: 40px 240px 40px 40px !important; position: relative; overflow: hidden; } .modal-box .modal-dialog .modal-content .modal-body .modal-icon{ color: #C51796; background-color: #fff; font-size: 280px; text-align: center; line-height: 295px; width: 290px; height: 290px; margin: 0; border-radius: 50%; position: absolute; right: -70px; bottom: -40px; z-index: 1; } .modal-box .modal-dialog .modal-content .modal-body .modal-icon:before{ content: ''; background-color: #C3E6EA; border-radius: inherit; position: absolute; left: 13%; right: 13%; bottom: 13%; top: 13%; z-index: -1; } .modal-box .modal-dialog .modal-content .modal-body .title{ color: #13A0AB; font-size: 60px; font-weight: 500; line-height: 60px; text-transform: uppercase; margin: 0 0 20px; } .modal-box .modal-dialog .modal-content .modal-body .title span{ color: #C51796; display: block; } .modal-box .modal-dialog .modal-content .modal-body .description{ color: #888; font-size: 14px; font-weight: 500; margin: 0; } @media only screen and (max-width: 576px){ .modal-dialog{ width: 95% !important; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 30px 200px 30px 30px !important; } .modal-box .modal-dialog .modal-content .modal-body .modal-icon{ font-size: 250px; line-height: 255px; height: 250px; width: 250px; } .modal-box .modal-dialog .modal-content .modal-body .title{ font-size: 40px; line-height: 45px; } }