:root {
    --primary-color: #000;
    --secondary-color: #013d53;
    --accent-color: #82005d;
    --neutral-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--primary-color);
    color: var(--neutral-color);
}

.header-nav {
    position: sticky;
    top: 0;
    z-index: 1;
}

.container button {
    background-color: var(--accent-color);
    color: var(--neutral-color);
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 1rem;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    width: max-content;
}

.container button:hover {
    box-shadow: 0 0 25px var(--secondary-color);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    padding-top: 60px;
}

.modal-content {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(22, 22, 22);
    padding: 20px;
    border: 1px solid var(--primary-color);
    width: 80%;
    max-width: 25vw;
    /* Adjust for larger screens */
    border-radius: 2rem;
    box-shadow: 0 0 10px var(--accent-color);
    z-index: 2;
}

.modal-close,
.output-modal-close {
    position: absolute;
    top: 3px;
    right: 20px;
    color: var(--accent-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover {
    top: .5px;
    right: 18px;
    font-size: 32px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal h2 {
    text-align: center;
}

.modal form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    padding: 1rem;
}

.form-item-container {
    display: flex;
    flex-direction: column;
}

.form-item-container input {
    padding: .5rem;
    border: none;
    border-radius: 1rem;
    margin: 0;
}

.form-item-container .contact-text-area {
    width: 100%;
    height: 150px;
    padding: 10px;
    border-radius: 1rem;
    border: 1px solid #ccc;
    resize: vertical;
    box-sizing: border-box;
}

.modal-content-output .row {
    align-items: flex-start;
}

.modal-content-output .copy {
    margin: 1rem;
}

.modal-content button {
    background-color: var(--accent-color);
    color: var(--neutral-color);
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 1rem;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    width: max-content;
}

.modal-output-container h3 {
    color: var(--accent-color);
    margin-top: 1rem;
    text-decoration: underline;
    font-weight: bolder;
}

.modal-output-container h4 {
    color: var(--accent-color);
    margin: .5rem;
}

.modal-output-container li {
    margin: .25rem 1rem;
    list-style: none;
}

.reqAstrict {
    color: red;
}

.loading-dialog {
    display: none;
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 4;
    background: black;
    opacity: .95;
}

.loading-wrapper {
    display: none;
    position: fixed;
    z-index: 5;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.loading-content {
    padding: 2rem;
    /* background: green; */
}


.loader {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    perspective: 800px;
}

.inner {
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 11;
}

.inner.one {
    left: 0%;
    top: 0%;
    animation: rotate-one 1s linear infinite;
    border-bottom: 3px solid var(--accent-color);
}

.inner.two {
    right: 0%;
    top: 0%;
    animation: rotate-two 1s linear infinite;
    border-bottom: 3px solid var(--accent-color);
}

.inner.three {
    right: 0%;
    bottom: 0%;
    animation: rotate-three 1s linear infinite;
    border-bottom: 3px solid var(--accent-color);
}

.sphere {
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.5;
    z-index: 12;
    box-shadow: 0px 0px 15px 10px var(--accent-color);
    animation: pulse 3s ease-in-out infinite;
}

/* @keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(2);
    }

    100% {
        transform: scale(1);
    }
} */

@keyframes rotate-one {
    0% {
        transform: rotateX(65deg) rotateY(-45deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(65deg) rotateY(-45deg) rotateZ(360deg);
    }
}

@keyframes rotate-two {
    0% {
        transform: rotateX(105deg) rotateY(10deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(105deg) rotateY(10deg) rotateZ(360deg);
    }
}

@keyframes rotate-three {
    0% {
        transform: rotateX(165deg) rotateY(55deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(165deg) rotateY(55deg) rotateZ(360deg);
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        max-width: 90vw;
    }

    .contact-text-area {
        height: 100px;
    }

    .modal-content button {
        padding: 8px 15px;
        font-size: 16px;
    }

    .modal-close {
        font-size: 24px;
    }

    /* Add more responsive adjustments as needed */
}

@media (max-width: 480px) {

    .modal-content {
        width: 95%;
        max-width: 95vw;
    }



}