html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.custom-submit-btn {
    background-color: #4CAF50; /* Green background */
    width: 200px;
    color: white; /* White text */
    border-radius: 4px; /* Rounded corners */
    padding: 10px 20px; /* Padding */
    font-size: 18px; /* Larger font size */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transition */
}

    .custom-submit-btn:hover {
        box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
    }


.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%;
}

.large-header {
    position: relative;
    width: 100%;
    background: #333;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    z-index: 1;
}
    
#large-header {
    background-image: url('https://www.marcoguglie.it/Codepen/AnimatedHeaderBg/demo-1/img/demo-1-bg.jpg');
}

.main-title {
    color: #000;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(0,0,0,0.1);
    animation: matrixGlow 2s ease-in-out infinite alternate;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    position: absolute;
    margin: 0;
    padding: 0;
    text-align: center;
    top: 20%;
    left: 50%;
    -webkit-transform: translate3d(-50%,-50%,0);
    transform: translate3d(-50%,-50%,0);
}
.centered-button {
    position: absolute;
    top: 30%; /* Adjust this value to position the button below the title */
    left: 50%;
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
}

.warning-title {
    position: absolute;
    margin: 10px;
    padding: 0;
    color: #bd1539;
    text-align: center;
    bottom: 30%;
    left: 50%;
    -webkit-transform: translate3d(-50%,-50%,0);
    transform: translate3d(-50%,-50%,0);
}

.main-title .thin {
    color: #4a4646;
    font-weight: 200;
}

.warning-title .line {
    color: #bd1539;
    font-weight: 200;
}


.demo-1 .main-title {
    text-transform: uppercase;
    font-size: 4.2em;
    letter-spacing: 0.1em;
}


.label {
    
    padding: 8px;
}

.success {
    color: #04AA6D;
}
/* Green */
.info {
    color: #2196F3;
}
/* Blue */
.warning {
    color: #ff9800;
}
/* Orange */
.danger {
    color: #f44336;
}
/* Red */
.other {
    color: #e7e7e7;
}
/* Gray */


@media only screen and (max-width : 768px) {
    .demo-1 .main-title {
        font-size: 3em;
    }
}

/*tab navigation*/
.login-logout-card .card-header {
    padding: 0px 0px 12px 0px;
}

.login-logout-card ul.nav-tabs {
    margin: 0px 0px -12px 0px;
}

.login-logout-card li.nav-item {
    width: 50%;
}

.login-logout-card a.nav-link {
    font-size: 1rem;
    color: #495057;
    text-align: center;
    padding: 1rem;
}

.login-logout-card .card-body {
    padding: 10px 20px;
}

.logo-small {
    color: #f4511e;
    font-size: 50px;
}

.logo {
    color: #f4511e;
    font-size: 200px;
}

.panel {
    border: 1px solid #f4511e;
    border-radius: 0;
    transition: box-shadow 0.5s;
}

    .panel:hover {
        box-shadow: 5px 0px 40px rgba(0,0,0, .2);
    }

.panel-footer .btn:hover {
    border: 1px solid #f4511e;
    background-color: #fff !important;
    color: #f4511e;
}

.panel-heading {
    color: #fff !important;
    background-color: #1e49f4 !important;
    padding: 10px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.panel-footer {
    background-color: #fff !important;
}

    .panel-footer h3 {
        font-size: 32px;
    }

    .panel-footer h4 {
        color: #aaa;
        font-size: 14px;
    }

    .panel-footer .btn {
        margin: 15px 0;
        background-color: #f4511e;
        color: #fff;
    }



/*For Services View*/
.panelservices {
    border: 1px solid #3840c9;
    border-radius: 0;
    transition: box-shadow 0.5s;
}

    .panelservices:hover {
        box-shadow: 5px 0px 40px rgba(0,0,0, .2);
    }

    .panelservices .btn:hover {
        border: 1px solid #3840c9;
        background-color: #fff !important;
        color: #3840c9;
    }

.panelservices-heading {
    color: #fff !important;
    background-color: #3840c9 !important;
    padding: 25px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.panelservices-footer {
    background-color: #fff !important;
}

    .panelservices-footer h3 {
        font-size: 32px;
    }

    .panelservices-footer h4 {
        color: #aaa;
        font-size: 14px;
    }

    .panelservices-footer .btn {
        margin: 15px 0;
        background-color: #f4511e;
        color: #fff;
    }

/* Remove border and add padding to thumbnails */
.thumbnail {
    padding: 0 0 15px 0;
    border: none;
    border-radius: 0;
}

    .thumbnail p {
        margin-top: 15px;
        color: #555;
    }

.card {
    padding: 0 0 15px 0;
    border: none;
    border-radius: 0;
}

    .card p {
        margin-top: 15px;
        color: #555;
    }


/* Black buttons with extra padding and without rounded borders */
.btnservices {
    padding: 10px 20px;
    margin: 20px 20px;
    background-color: #333;
    color: #f1f1f1;
    border-radius: 0;
    transition: .2s;
}

    /* On hover, the color of .btn will transition to white with black text */
    .btnservices:hover, .btn:focus {
        border: 1px solid #333;
        background-color: #fff;
        color: #000;
    }

.custom-tooltip {
    --bs-tooltip-bg: var(--bd-violet-bg);
    --bs-tooltip-color: var(--bs-white);
}

.modal-header, .close {
    background-color: #072b6e;
    color: #fff !important;
    text-align: center;
    font-size: 14px;
}

.modal-header, .modal-body {
    padding: 20px 20px;
}

.containermain {
    padding: 80px 120px;
}

.navbar-nav li a:hover {
    color: #f00505 !important;
}

.affix {
    top: 0;
    width: 100%;
    z-index: 9999 !important;
}

    .affix + .container-fluid {
        padding-top: 70px;
    }


a:hover, a:focus {
    text-decoration: none;
    outline: none;
}

@keyframes matrixGlow {
    from {
        text-shadow: 0 0 5px rgba(0,0,0,0.1);
    }

    to {
        text-shadow: 0 0 10px rgba(0,0,0,0.2), 0 0 15px rgba(0,0,0,0.15);
    }
}

@keyframes scan {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #ffffff;
}

/* Quote section */
.quote-section {
    text-align: center;
    padding: 3rem 0;
    background: rgba(240, 240, 240, 0.8);
    margin: 3rem 0;
    border-left: 5px solid #000;
    border-right: 5px solid #000;
}

.quote-text {
    font-size: 1.5rem;
    color: #000;
    font-family: 'Courier New', monospace;
    font-style: italic;
    margin-bottom: 1rem;
}

.quote-binary {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.my-toast {
    background: linear-gradient(90deg, #ffecb3, #ffe082);
    color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    font-size: 1.1rem;
    min-width: 300px;
}

    .my-toast .toast-body {
        font-weight: 500;
    }

.custom-card {
    background: #fff;
    border: 1px solid #222;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 0.75rem 1rem;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    max-width: 660px;
    font-size: 0.96rem;
    color: #111;
    transition: box-shadow 0.2s, border-color 0.2s;
}

    .custom-card:hover {
        box-shadow: 0 4px 18px rgba(0,0,0,0.10);
        border-color: #111;
    }

.custom-card-header {
    background: #111;
    color: #fff;
    font-weight: 500;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    padding: 0.55rem 1rem;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
    border-bottom: 1px solid #222;
}
