body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Orbitron', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto auto;
    min-height: 100vh;
    padding: 2vw;
    box-sizing: border-box;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(to right, rgba(255, 102, 0, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 102, 0, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4em 0;
}

h1 {
    font-size: 4vw;
    color: var(--primary-color);
    margin-bottom: 0.5em;
    text-shadow: 0 0 0.2em var(--primary-color);
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff9900;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #ff3300;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(17px, 9999px, 74px, 0);
    }

    20% {
        clip: rect(33px, 9999px, 150px, 0);
    }

    40% {
        clip: rect(60px, 9999px, 11px, 0);
    }

    60% {
        clip: rect(29px, 9999px, 130px, 0);
    }

    80% {
        clip: rect(91px, 9999px, 67px, 0);
    }

    100% {
        clip: rect(90px, 9999px, 80px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(65px, 9999px, 200px, 0);
    }

    20% {
        clip: rect(120px, 9999px, 80px, 0);
    }

    40% {
        clip: rect(29px, 9999px, 165px, 0);
    }

    60% {
        clip: rect(80px, 9999px, 68px, 0);
    }

    80% {
        clip: rect(133px, 9999px, 151px, 0);
    }

    100% {
        clip: rect(110px, 9999px, 40px, 0);
    }
}

.tagline {
    font-size: 2vw;
    margin-bottom: 1em;
}

.description {
    font-size: 1.2vw;
    color: var(--text-color);
    margin-bottom: 2em;
    max-width: 80%;
}

.cta-button {
    display: inline-block;
    padding: 0.8em 2em;
    border: 0.15em solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2vw;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 1em var(--primary-color);
}

.about,
.contact {
    margin: 4em 0;
    text-align: center;
}

.contact form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

.contact input,
.contact textarea {
    margin-bottom: 1em;
    padding: 0.5em;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--text-color);
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    padding: 0.8em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
    box-shadow: 0 0 0.5em var(--primary-color);
}

.service-details {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(10, 10, 10, 0.9);
    padding: 2em;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 1em var(--primary-color);
    z-index: 1000;
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto;
}

.close-button {
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    padding: 0.5em 1em;
    cursor: pointer;
    margin-top: 1em;
}

footer {
    text-align: center;
    font-size: 0.8vw;
    color: #666666;
    margin-top: 2em;
    padding: 1em 0;
}

@media (max-width: 768px) {

    h1,
    .tagline,
    .description,
    .cta-button,
    footer {
        font-size: 16px;
    }
}