.modal-box{ font-family: 'Hind', sans-serif; } .modal-box .show-modal{ color: #fff; background: linear-gradient(#4f5585,#d9b9c3); font-size: 18px; font-weight: 600; text-transform: capitalize; padding: 10px 15px; margin: 80px auto 0; border: none; outline: none; box-shadow: 5px 5px 5px 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; background: linear-gradient(#4f5585,#d9b9c3); outline: none; box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2) inset; } .modal-backdrop.in{ opacity: 0; } .modal-box .modal-dialog{ width: 500px; margin: 70px auto 0; } .modal.fade .modal-dialog{ opacity: 0; transform: translate(100%,0) scale(0.5); } .modal.fade.in .modal-dialog{ opacity: 1; transform: translate(0,0) scale(1); } .modal-box .modal-dialog .modal-content{ color: #fff; background: linear-gradient(to bottom, #4f5585,#d9b9c3); text-align: center; border: none; border-radius: 0; position: relative; } .modal-box .modal-dialog .modal-content:before, .modal-box .modal-dialog .modal-content:after{ content: "\f0e0"; color: #fff; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 60px; line-height: 50px; transform: rotate(18deg); position: absolute; top: 11%; left: 8%; } .modal-box .modal-dialog .modal-content:after{ transform: rotate(-18deg); top: auto; bottom: 95px; left: auto; right: 10%; } .modal-box .modal-dialog .modal-content .close{ color: rgba(255,255,255,0.5); font-size: 35px; font-weight: 200; text-shadow: none; line-height: 40px; height: 35px; width: 35px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5); opacity: 1; overflow: hidden; position: absolute; left: auto; top: 10px; right: 10px; z-index: 1; transition: all 0.3s ease 0s; } .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 .modal-body{ padding: 30px 25px !important; } .modal-box .modal-dialog .modal-content .modal-body .modal-heading{ font-size: 25px; font-weight: 300; line-height: 25px; letter-spacing: 0.5px; text-transform: uppercase; margin: 0 0 40px; border-bottom: 1px solid #fff; display: inline-block; } .modal-box .modal-dialog .modal-content .modal-body .title{ font-family: 'Shadows Into Light', cursive; font-size: 50px; font-weight: 700; letter-spacing: 2px; margin: 0 0 20px; } .modal-box .modal-dialog .modal-content .modal-body .description{ color: #fff; font-size: 15px; margin: 0 20px 70px; } .modal-box .modal-dialog .modal-content .modal-body .form-group{ margin: 0 20px; border: 2px solid #fff; border-radius: 30px; } .modal-box .modal-dialog .modal-content .modal-body .form-group .form-control{ color: #fff; background: transparent; font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; text-align: center; height: 48px; width: calc(100% - 54px); padding: 2px 15px; border-radius: 0; border: none; vertical-align: top; display: inline-block; } .modal-box .modal-dialog .modal-content .modal-body .form-group .form-control:focus{ box-shadow: none; border: none; } .modal-box .modal-dialog .modal-content .modal-body .form-group .form-control::placeholder{ color: #fff; font-size: 18px; font-weight: 600; text-transform: uppercase; } .modal-box .modal-dialog .modal-content .modal-body .subscribe{ color: #fff; background-color: transparent; font-size: 40px; line-height: 48px; height: 48px; width: 50px; padding: 4px 0 0; border: none; display: inline-block; transition: all 0.4s ease 0s; } .modal-box .modal-dialog .modal-content .modal-body .subscribe:hover, .modal-box .modal-dialog .modal-content .modal-body .subscribe:focus{ text-shadow: 0 0 10px rgba(0,0,0,0.5); outline: none; } @media only screen and (max-width: 576px){ .modal-dialog{ width: 95% !important; } } @media only screen and (max-width: 479px){ .modal-box .modal-dialog .modal-content .modal-body{ padding: 30px 15px !important; } .modal-box .modal-dialog .modal-content .modal-body .title{ font-size: 40px; } .modal-box .modal-dialog .modal-content .modal-body .description{ margin: 0 0 70px; } .modal-box .modal-dialog .modal-content .modal-body .form-group{ margin: 0; } }