.modal-box{ font-family: 'Comfortaa', cursive; } .modal-box .show-modal{ color: #fff; background-color: transparent; font-size: 17px; font-weight: 500; text-transform: capitalize; padding: 0; margin: 80px auto 0; border: none; border-radius: 0; display: block; transition: all 0.3s ease 0s; } .modal-box .show-modal:hover, .modal-box .show-modal:focus{ color: #fff; background-color: transparent; text-shadow: 0 0 5px rgba(0,0,0,0.7); text-decoration: underline; outline: none; } .modal-backdrop.in{ opacity: 0; } .modal-box .modal-dialog{ width: 500px; margin: 70px auto 0; } .modal.fade .modal-dialog{ transform: translate(-100px) rotate(45deg); } .modal.in .modal-dialog{ transform: translate(0) rotate(0); } .modal-box .modal-dialog .modal-content{ background: #fff; text-align: center; border-radius: 0; } .modal-content .close{ color: #1dd1a1; background: #fff; font-size: 35px; font-weight: 300; text-align: center; line-height: 37px; width: 40px; height: 40px; padding-left: 1px; border: 2px solid #1dd1a1; border-radius: 50%; overflow: hidden; opacity: 1; position: absolute; left: auto; top: -10px; right: -10px; z-index: 1; transition: all 0.3s; } .modal-content .close:hover{ color: #1dd1a1; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 20px 50px 40px !important; } .modal-box .modal-dialog .modal-content .modal-body .modal-icon{ color: #1dd1a1; font-size: 80px; line-height: 80px; margin: 0 0 5px; position: relative; } .modal-box .modal-dialog .modal-content .modal-body .modal-icon:before{ content: "\f00c"; color: #fff; font-family: "Font Awesome 5 Free"; font-size: 60px; font-weight: 900; transform: translateX(-50%); position: absolute; bottom: -10px; left: 50%; } .modal-box .modal-dialog .modal-content .modal-body .title{ color: #1dd1a1; font-size: 36px; font-weight: 700; line-height: 40px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 10px; } .modal-box .modal-dialog .modal-content .modal-body .description{ color:#777; font-size: 13px; font-weight: 500; margin: 0 0 20px; } .modal-box .modal-dialog .modal-content .modal-body .btn{ color: #fff; background: #1dd1a1; font-size: 20px; font-weight: 700; width: 200px; padding: 10px 10px 9px; white-space: pre-wrap; border: none; border-radius: 0; transition: all 0.3s ease 0s; } .modal-box .modal-dialog .modal-content .modal-body .btn:hover{ box-shadow: 0 0 0 5px rgba(255,255,255,0.5) inset; text-shadow: 2px 2px 3px #a6a6a6; } .modal-box .modal-dialog .modal-content .modal-body .btn:focus{ outline: none; } @media only screen and (max-width: 576px){ .modal-dialog{ width: 95% !important; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 20px 30px 40px !important; } }