.modal-box{ font-family: 'Poppins', sans-serif; } .modal-box .show-modal{ color: #fff; background-color: #7318bb; font-size: 16px; font-weight: 500; text-transform: capitalize; padding: 12px 18px; margin: 50px auto 0; border: none; outline: none; border-radius: 5px; box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); display: block; transition: all 0.3s ease 0s; } .modal-box .show-modal:hover, .modal-box .show-modal:focus{ color: #fff; outline: none; } .modal-backdrop.in{ background-color: #000; opacity: 0.7; } .modal-box .modal-dialog{ width: 500px; margin: 70px auto 0; } .modal.fade .modal-dialog{ transform: translate(-100px,-100px); } .modal.in .modal-dialog{ transform: translate(0); } .modal-box .modal-dialog .modal-content .close{ color: rgba(255, 255, 255, 0.5); font-size: 30px; font-weight: 300; text-shadow: none; line-height: 20px; height: 20px; width: 20px; 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{ color: #fff; background: linear-gradient(to right, #3d0d71, #7318bb); text-align: center; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 45px 25px !important; } .modal-box .modal-dialog .modal-content .modal-body .modal-icon{ color: #ffc100; font-size: 100px; line-height: 100px; margin: 0 auto 30px; text-shadow: 0 0 7px #FF6706; } .modal-box .modal-dialog .modal-content .modal-body .title{ color: #fff; font-size: 20px; font-weight: 500; text-transform: capitalize; margin: 0 0 35px; } .modal-box .modal-dialog .modal-content .modal-body .description{ font-size: 0; padding: 0; margin: 0 0 25px; list-style: none; } .modal-box .modal-dialog .modal-content .modal-body .description li{ color: rgba(255,255,255,0.8); font-size: 13px; text-align: left; letter-spacing: 0.5px; width: calc(50% - 20px); margin: 0 10px 10px; vertical-align: top; display: inline-block; } .modal-box .modal-dialog .modal-content .modal-body .description li i{ background: rgba(255, 255, 255, 0.3); font-size: 16px; text-align: center; line-height: 30px; width: 30px; height: 30px; margin: 0 7px 0 0; border-radius: 3px; } .modal-box .modal-dialog .modal-content .modal-body .btn{ color: #7318bb; background: #fff; font-size: 14px; font-weight: 600; padding: 15px 25px; border: none; border-radius: 3px; transition: all 0.3s ease 0s; } .modal-box .modal-dialog .modal-content .modal-body .btn:hover{ color:#fff; background: rgba(255, 255, 255, 0.3); } @media only screen and (max-width: 576px){ .modal-dialog{ width: 95% !important; } .modal-box .modal-dialog .modal-content .modal-body .description li{ width: 100%; text-align: center; margin: 0 0 15px; } }