﻿
body {
    background-image: url('bg.svg')
}

.text-danger {
    color: #dc3545;
}

.container-shadow {
    box-shadow: 0rem .2rem 1rem rgba(0, 0, 0, 0.3);
    background: white;
    border-radius: 10px;
}

.btn-primary {
    background-color: rgb(74, 37, 170);
    color: #FFFFFF;
    border: none;
}

.btn-primary:hover {
    box-shadow: 0rem .2rem 1rem rgba(0, 0, 0, 0.3);
    background-color: rgb(74, 37, 170);
    color: #FFFFFF;
}

.btn-secondary {
    background-color: #FFFFFF;
    color: rgb(74, 37, 170);
}

.btn-secondary:hover {
    box-shadow: 0rem .2rem 1rem rgba(0, 0, 0, 0.3);
    background-color: #FFFFFF;
    color: rgb(74, 37, 170);
}

.text-right {
    text-align: right;
}

.portal-links-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 1em;
    width: 10em;
    height: 10em;
    color: rgb(74, 37, 170);
}

.portal-link i.fa-solid {
    display: block;
    text-align: center;
    margin-bottom: 8px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    border: 1px solid #888;
    width: 50%;
    border-radius: 10px;
    display: flex;
    align-content: center;
    justify-content: center;
}

@media (max-width: 600px) {
    .modal-content {
        width: 95%;
    }
}


@media (min-width: 601px) {
    .modal-content {
        width: 50%;
    }
}

.modal-header {
    background-color: rgb(74, 37, 170);
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    flex-direction: row-reverse;
}

.close {
    color: white;
    float: right;
    font-size: 2em;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-footer {
    background-color: #f2f2f2;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    align-content: center;
    justify-content: end;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, .1);
    border-radius: 50%;
    border-top: 4px solid #3498db; /* Blue */
    width: 1.5em;
    height: 1.5em;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
