html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}



/* Background Blur */

.modal {
    backdrop-filter: blur(8px);
}

/* Main Modal */

.modern-modal {
    background: rgba(15,20,40,.85);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(0,255,255,.3);
    border-radius: 25px;
    overflow: hidden;
    color: white;
    animation: popup .5s ease;
    box-shadow: 0 0 20px cyan, 0 0 40px #00bfff, 0 0 60px rgba(0,255,255,.5);
}

/* Animation */

@keyframes popup {

    from {
        opacity: 0;
        transform: translateY(-40px) scale(.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header */

.modal-header {
    background: linear-gradient(90deg,#0f172a,#1e3a8a);
    padding: 20px;
}

.modal-title {
    color: white;
    letter-spacing: 1px;
}

/* Inputs */

.custom-input {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.2);
    color: white;
    border-radius: 15px;
}

    .custom-input:focus {
        background: rgba(255,255,255,.1);
        border: 1px solid cyan;
        box-shadow: 0 0 10px cyan, 0 0 20px cyan;
        color: white;
    }

.form-floating label {
    color: #b6c4ff;
}

/* Upload */

.upload-box {
    border: 2px dashed cyan;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    cursor: pointer;
    transition: .4s;
    background: rgba(255,255,255,.05);
}

    .upload-box:hover {
        transform: scale(1.03);
        border-color: #00ffea;
        box-shadow: 0 0 15px cyan, inset 0 0 15px cyan;
    }

.upload-icon {
    font-size: 50px;
    color: cyan;
    animation: float 2s infinite;
}

@keyframes float {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Save Button */

.btn-modern-save {
    background: linear-gradient(45deg,#00d2ff,#3a7bd5);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    transition: .4s;
    font-weight: bold;
}

    .btn-modern-save:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 15px cyan, 0 0 30px cyan;
    }

/* Cancel */

.btn-modern-cancel {
    background: #343a40;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
}

    .btn-modern-cancel:hover {
        background: #555;
    }

/* Fade */

.modal.fade .modal-dialog {
    transition: .35s;
    transform: scale(.8);
}

.modal.show .modal-dialog {
    transform: scale(1);
}