/*===============================
   HOME/INDEX PAGE
===============================*/   

* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body {
    background:#000;
    color:#49ff00;
    font-family:'Share Tech Mono', monospace;
    overflow-x:hidden;
    user-select:none;
}


.footer {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #555;
    padding: 20px 0;
    border-top: 1px solid rgba(73,255,0,0.2);
}

.highlight {
    color: #49ff00;
    text-shadow: 0 0 10px #49ff00;
}

/* SCANLINES */

.scanlines {
    position:fixed;
    width:100%;
    height:100%;
    pointer-events:none;
    z-index:9999;
    background:
    repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.02),
        rgba(255,255,255,0.02) 1px,
        transparent 1px,
        transparent 3px
    );
    opacity:0.15;
}

/* BOOT SCREEN */

/*
#boot-screen {
    position:fixed;
    width:100%;
    height:100%;
    background:#000;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:10000;
    animation:bootFade 4s forwards;
}

.boot-logo {
    font-size:5rem;
    margin-bottom:30px;
    text-shadow:0 0 15px #49ff00;
}

.boot-text p {
    margin:10px 0;
    opacity:0;
    animation:bootText 0.5s forwards;
}

.boot-text p:nth-child(1) {
    animation-delay:0.5s;
}

.boot-text p:nth-child(2) {
    animation-delay:1s;
}

.boot-text p:nth-child(3) {
    animation-delay:1.5s;
}

.boot-text p:nth-child(4) {
    animation-delay:2s;
}

@keyframes bootText {
    to {
        opacity:1;
    }
}

@keyframes bootFade {
    0%, 85% {
        opacity:1;
    }

    100% {
        opacity:0;
        visibility:hidden;
    }
}

*/


/* SITE TOP LOGO = LIVERIES GREEN LOGO */

.logo {
    display:flex;
    align-items:center;
    gap:15px;
}

.logo-k {
    color:#49ff00;
    font-size:1.5rem;
    font-weight:bold;
    text-shadow:0 0 10px #49ff00;
}

.logo-image {
    height:32px;
    width:auto;
    display:block;
}





/* SITE - First one is for boot screen timing. Second for non boot screen*/

/*
#site {
    opacity:0;
    animation:siteFade 1s forwards;
    animation-delay:3.5s;
}

*/

#site {
    opacity:1;
}

@keyframes siteFade {
    to {
        opacity:1;
    }
}





/* TOPBAR */

.topbar {
    width:100%;
    border-bottom:1px solid #49ff00;
    padding:20px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#050505;
    position:sticky;
    top:0;
    z-index:1000;
}

.logo {
    font-size:1.5rem;
    font-weight:bold;
    text-shadow:0 0 10px #49ff00;
}

.nav {
    display:flex;
    gap:30px;
}

.nav a {
    color:#49ff00;
    text-decoration:none;
    transition:0.3s;
}

.nav a:hover {
    text-shadow:0 0 10px #49ff00;
}

.status {
    color:#fff;
}






/* HERO */

.hero {
    padding:120px 10%;
}

.hero-panel {
    border:1px solid #49ff00;
    padding:50px;
    background:#050505;
    box-shadow:0 0 25px rgba(73,255,0,0.08);
}

.hero-small {
    margin-bottom:20px;
    letter-spacing:3px;
    color:#fff;
}

.hero h1 {
    font-size:4rem;
    line-height:1.2;
    margin-bottom:30px;
}

.hero-description {
    max-width:700px;
    color:#ccc;
    line-height:1.7;
}






/* PANELS */

.stats-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    padding:0 10% 80px;
}

.panel {
    border:1px solid #49ff00;
    padding:30px;
    background:#050505;
    transition:0.3s;
}

.panel:hover {
    transform:translateY(-5px);
    box-shadow:0 0 20px rgba(73,255,0,0.2);
}

.panel-title {
    display:block;
    margin-bottom:15px;
    color:#fff;
    letter-spacing:2px;
}

.panel h2 {
    font-size:2.5rem;
}






/* FEATURED */

.featured {
    padding:0 10% 80px;
}

.featured-panel img {
    width:100%;
    margin-top:20px;
    border:1px solid #49ff00;
}






/* TELEMETRY */

.telemetry {
    padding:0 10% 100px;
}

.panel-header {
    margin-bottom:25px;
    color:#fff;
    letter-spacing:3px;
}

.telemetry-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.telemetry-item {
    border:1px solid #49ff00;
    padding:20px;
    background:#000;
}

.telemetry-item span {
    display:block;
    margin-bottom:10px;
    color:#fff;
}

.telemetry-item strong {
    font-size:2rem;
}






/* RESPONSIVE */

@media(max-width:1000px) {

    .stats-grid,
    .telemetry-grid {
        grid-template-columns:1fr 1fr;
    }

    .hero h1 {
        font-size:2.8rem;
    }

    .topbar {
        flex-direction:column;
        gap:20px;
    }

}

@media(max-width:700px) {

    .stats-grid,
    .telemetry-grid {
        grid-template-columns:1fr;
    }

    .nav {
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero {
        padding-top:80px;
    }

    .hero h1 {
        font-size:2rem;
    }

    .hero-panel {
        padding:30px;
    }

}





/* PAGE LOADER/BOOT SCREEN DEACTIVATED for all pages other than index.html*/

/*
.page-loader {
    position:fixed;
    width:100%;
    height:100%;
    background:#000;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
    animation:loaderFade 3.0s forwards;
}

.loader-text p {
    margin:15px 0;
    opacity:0;
    animation:loaderText 0.5s forwards;
}

.loader-text p:nth-child(1) {
    animation-delay:0.2s;
}

.loader-text p:nth-child(2) {
    animation-delay:0.7s;
}

.loader-text p:nth-child(3) {
    animation-delay:1.2s;
}

.loader-text p:nth-child(4) {
    animation-delay:1.7s;
}

.loader-text p:nth-child(5) {
    animation-delay:2.2s;
}


.connect-line {
    margin-top:40px;
}

@keyframes loaderText {
    to {
        opacity:1;
    }
}

@keyframes loaderFade {

    0%, 85% {
        opacity:1;
    }

    100% {
        opacity:0;
        visibility:hidden;
    }

}


*/


/*===============================
   LIVERY VIEWER PAGE
===============================*/   

/* LIVERY VIEWER PAGE HERO SECTION */

.viewer-hero {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    padding:120px 10%;
    align-items:center;
}

.viewer-tag {
    color:#fff;
    letter-spacing:3px;
    margin-bottom:20px;
}

.viewer-hero h1 {
    font-size:4rem;
    margin-bottom:30px;
    line-height:1.1;
}

.viewer-description {
    color:#ccc;
    line-height:1.8;
    margin-bottom:40px;
}

.viewer-buttons {
    display:flex;
    gap:20px;
}

.viewer-btn {
    border:1px solid #49ff00;
    padding:15px 30px;
    color:#49ff00;
    text-decoration:none;
    transition:0.3s;
}

.viewer-btn:hover {
    background:#49ff00;
    color:#000;
    box-shadow:0 0 20px rgba(73,255,0,0.3);
}

.viewer-btn.secondary {
    border-color:#fff;
    color:#fff;
}

.viewer-btn.secondary:hover {
    background:#fff;
    color:#000;
}

.software-display {
    border:1px solid #49ff00;
    background:#050505;
    padding:20px;
    box-shadow:0 0 25px rgba(73,255,0,0.08);
}

.software-display img {
    width:100%;
    display:block;
}




/* SOFTWARE BOX SECTION */

.software-box-section {
    padding:0 10% 100px;
}

.software-box-wrapper {
    display:grid;
    grid-template-columns:400px 1fr;
    gap:50px;
    align-items:center;
}

.software-box-wrapper img {
    width:100%;
}

.software-box-info h2 {
    font-size:2.5rem;
    margin-bottom:25px;
}

.software-box-info p {
    color:#ccc;
    line-height:1.8;
}




/* FEATURES ON LIVERY VIEWER PAGE */

.features-section {
    padding:0 10% 100px;
}

.features-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:30px;
}

.feature-card {
    border:1px solid #49ff00;
    padding:30px;
    background:#050505;
    transition:0.3s;
}

.feature-card:hover {
    transform:translateY(-5px);
    box-shadow:0 0 20px rgba(73,255,0,0.2);
}

.feature-card h3 {
    margin-bottom:15px;
    color:#49ff00;
}

.feature-card p {
    color:#ccc;
    line-height:1.7;
}



/* SPECS ON LIVERY VIEWER PAGE*/

.specs-section {
    padding:0 10% 100px;
}

.spec-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.spec-item {
    border:1px solid #49ff00;
    padding:25px;
    background:#000;
}

.spec-item span {
    display:block;
    margin-bottom:10px;
    color:#49ff00;
    letter-spacing:2px;
    text-transform:uppercase;
    font-size:0.9rem;
}

.spec-item strong {
    font-size:1.5rem;
    color:#fff;
}




/* GALLERY ON LIVERY VIEWER PAGE*/

.gallery-section {
    padding:0 10% 100px;
}

.gallery-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
    margin-top:30px;
}

.gallery-grid img {
    width:100%;
    border:1px solid #49ff00;
    transition:0.3s;
}

.gallery-grid img:hover {
    transform:scale(1.02);
    box-shadow:0 0 25px rgba(73,255,0,0.2);
}




/* RESPONSIVE LIVERY VIEWER PAGE */

@media(max-width:1000px) {

    .viewer-hero,
    .software-box-wrapper {
        grid-template-columns:1fr;
    }

    .features-grid,
    .spec-grid {
        grid-template-columns:1fr 1fr;
    }

}

@media(max-width:700px) {

    .viewer-hero h1 {
        font-size:2.5rem;
    }

    .features-grid,
    .spec-grid,
    .gallery-grid {
        grid-template-columns:1fr;
    }

    .viewer-buttons {
        flex-direction:column;
    }

}





html, body {
    height: 100%;
}

#site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* pushes footer to bottom when content is short */
#site {
    flex: 1;
}







/*===============================
   RACING PAGE
===============================*/   

/* RACING PAGE HERO SECTION */

.racing-hero {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
    padding:120px 10%;
}

.racing-hero-image img {
    width:100%;
    border:1px solid #49ff00;
    background:#050505;
    box-shadow:0 0 25px rgba(73,255,0,0.08);
}

.racing-tag {
    color:#fff;
    letter-spacing:3px;
    margin-bottom:20px;
}

.racing-hero-content h1 {
    font-size:4rem;
    margin-bottom:30px;
    line-height:1.1;
}

.racing-description {
    color:#ccc;
    line-height:1.8;
    margin-bottom:25px;
}

.racing-buttons {
    display:flex;
    gap:20px;
    margin-top:40px;
}

/* SERVICES */

.services-section {
    padding:0 10% 100px;
}

.services-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:30px;
}

.service-card {
    border:1px solid #49ff00;
    background:#050505;
    padding:35px;
    transition:0.3s;
}

.service-card:hover {
    transform:translateY(-5px);
    box-shadow:0 0 25px rgba(73,255,0,0.2);
}

.service-card h3 {
    margin-bottom:20px;
    color:#fff;
}

.service-card p {
    color:#ccc;
    line-height:1.8;
}

/* TEAM SECTION */

.team-section {
    padding:0 10% 100px;
}

.team-content {
    display:grid;
    grid-template-columns:350px 1fr;
    gap:60px;
    align-items:center;
}

.team-logo img {
    width:100%;
}

.team-text h2 {
    font-size:2.5rem;
    margin-bottom:30px;
}

.team-text p {
    color:#ccc;
    line-height:1.9;
    margin-bottom:25px;
}

/* RESPONSIVE */

@media(max-width:1000px) {

    .racing-hero,
    .team-content {
        grid-template-columns:1fr;
    }

    .services-grid {
        grid-template-columns:1fr 1fr;
    }

}

@media(max-width:700px) {

    .services-grid {
        grid-template-columns:1fr;
    }

    .racing-hero-content h1 {
        font-size:2.5rem;
    }

    .racing-buttons {
        flex-direction:column;
    }

}




/*===============================
   LLINKS PAGE
===============================*/   

/* LINKS HERO */

.links-hero {
    padding:120px 10% 80px;
    text-align:center;
}

.links-tag {
    color:#fff;
    letter-spacing:3px;
    margin-bottom:20px;
}

.links-hero h1 {
    font-size:4rem;
    margin-bottom:30px;
}

.links-description {
    max-width:900px;
    margin:auto;
    color:#ccc;
    line-height:1.9;
}

/* LINKS SECTION */

.links-section {
    padding:0 10% 120px;
}

.links-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

/* LINK CARD */

.link-card {
    border:1px solid #49ff00;
    background:#050505;
    text-decoration:none;
    color:#fff;
    overflow:hidden;
    transition:0.3s;
    position:relative;
}

.link-card:hover {
    transform:translateY(-6px);
    box-shadow:0 0 30px rgba(73,255,0,0.2);
}

.link-card img {
    width:100%;
    height:240px;
    object-fit:cover;
    border-bottom:1px solid #49ff00;
}

.link-content {
    padding:30px;
}

.link-content h3 {
    margin-bottom:18px;
    color:#49ff00;
    letter-spacing:1px;
}

.link-content p {
    color:#ccc;
    line-height:1.8;
}

/* SPONSOR CARDS */

.sponsor-card {
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

.sponsor-placeholder {
    height:240px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-bottom:1px solid #49ff00;
    color:#49ff00;
    font-size:1.4rem;
    letter-spacing:3px;
    background:
    linear-gradient(
        135deg,
        rgba(73,255,0,0.03),
        rgba(0,0,0,0.6)
    );
}

/* HOVER SWEEP */

.link-card::before {
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:
    linear-gradient(
        90deg,
        transparent,
        rgba(73,255,0,0.08),
        transparent
    );
    transition:0.6s;
}

.link-card:hover::before {
    left:100%;
}

/* RESPONSIVE */

@media(max-width:1100px) {

    .links-grid {
        grid-template-columns:1fr 1fr;
    }

}

@media(max-width:700px) {

    .links-grid {
        grid-template-columns:1fr;
    }

    .links-hero h1 {
        font-size:2.5rem;
    }

}



/*===============================
   CONTACT PAGE
===============================*/

/* HERO */

.contact-hero {
    padding:120px 10% 80px;
    text-align:center;
}

.contact-tag {
    color:#fff;
    letter-spacing:3px;
    margin-bottom:20px;
}

.contact-hero h1 {
    font-size:4rem;
    margin-bottom:30px;
}

.contact-description {
    max-width:850px;
    margin:auto;
    color:#ccc;
    line-height:1.9;
}

/* CONTACT GRID */

.contact-section {
    padding:0 10% 100px;
}

.contact-grid {
    display:grid;
    grid-template-columns:400px 1fr;
    gap:40px;
}

/* CONTACT PANEL */

.contact-panel,
.transmission-panel {
    border:1px solid #49ff00;
    background:#050505;
    padding:35px;
}

.contact-item {
    margin-bottom:35px;
}

.contact-item span {
    display:block;
    color:#49ff00;
    margin-bottom:10px;
    letter-spacing:2px;
}

.contact-item strong {
    color:#fff;
    font-size:1.2rem;
}

/* FORM */

.contact-form {
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea {
    width:100%;
    background:#000;
    border:1px solid #49ff00;
    padding:18px;
    color:#49ff00;
    font-family:'Share Tech Mono', monospace;
    outline:none;
}

.contact-form textarea {
    min-height:180px;
    resize:none;
}

.contact-form button {
    background:#000;
    border:1px solid #49ff00;
    color:#49ff00;
    padding:18px;
    cursor:pointer;
    transition:0.3s;
    font-family:'Share Tech Mono', monospace;
}

.contact-form button:hover {
    background:#49ff00;
    color:#000;
    box-shadow:0 0 25px rgba(73,255,0,0.2);
}

/* CONTACT CARDS */

.contact-cards-section {
    padding:0 10% 100px;
}

.contact-cards-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.contact-card {
    border:1px solid #49ff00;
    background:#050505;
    overflow:hidden;
    transition:0.3s;
}

.contact-card:hover {
    transform:translateY(-6px);
    box-shadow:0 0 25px rgba(73,255,0,0.2);
}

.contact-card img {
    width:100%;
    height:240px;
    object-fit:cover;
    border-bottom:1px solid #49ff00;
}

.contact-card-content {
    padding:30px;
}

.contact-card-content h3 {
    margin-bottom:20px;
    color:#49ff00;
}

.contact-card-content p {
    color:#ccc;
    line-height:1.8;
}

/* TERMINAL */

.terminal-section {
    padding:0 10% 120px;
}

.terminal-box {
    border:1px solid #49ff00;
    background:#050505;
}

.terminal-header {
    border-bottom:1px solid #49ff00;
    padding:20px;
    color:#fff;
    letter-spacing:3px;
}

.terminal-content {
    padding:30px;
}

.terminal-content p {
    margin-bottom:15px;
    color:#49ff00;
}

/* RESPONSIVE */

@media(max-width:1000px) {

    .contact-grid,
    .contact-cards-grid {
        grid-template-columns:1fr;
    }

}

@media(max-width:700px) {

    .contact-hero h1 {
        font-size:2.5rem;
    }

}


/* SMC FOOTER COLOUR */

.powered-by {
    color:#fff;
}

/*===============================
   NEWS PAGE
===============================*/

/* HERO */

.news-hero {
    padding:120px 10% 80px;
    text-align:center;
}

.news-tag {
    color:#fff;
    letter-spacing:3px;
    margin-bottom:20px;
}

.news-hero h1 {
    font-size:4rem;
    margin-bottom:30px;
}

.news-description {
    max-width:900px;
    margin:auto;
    color:#ccc;
    line-height:1.9;
}

/* FEATURED NEWS */

.featured-news-section {
    padding:0 10% 100px;
}

.featured-news-panel {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    border:1px solid #49ff00;
    background:#050505;
    padding:40px;
    align-items:center;
}

.featured-news-image img {
    width:100%;
    border:1px solid #49ff00;
}

.news-date {
    color:#49ff00;
    letter-spacing:2px;
    display:block;
    margin-bottom:20px;
}

.featured-news-content h2 {
    font-size:2.5rem;
    margin-bottom:25px;
}

.featured-news-content p {
    color:#ccc;
    line-height:1.9;
    margin-bottom:35px;
}

/* NEWS GRID */

.news-grid-section {
    padding:0 10% 100px;
}

.news-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

/* NEWS CARD */

.news-card {
    border:1px solid #49ff00;
    background:#050505;
    transition:0.3s;
}

.news-card:hover {
    transform:translateY(-5px);
    box-shadow:0 0 25px rgba(73,255,0,0.2);
}

.news-card-header {
    padding:18px;
    border-bottom:1px solid #49ff00;
    color:#fff;
    letter-spacing:2px;
}

.news-card-content {
    padding:30px;
}

.news-card-date {
    display:block;
    color:#49ff00;
    margin-bottom:20px;
}

.news-card-content h3 {
    margin-bottom:20px;
    line-height:1.5;
}

.news-card-content p {
    color:#ccc;
    line-height:1.8;
}

/* DEV TERMINAL */

.dev-terminal-section {
    padding:0 10% 120px;
}

.dev-terminal {
    border:1px solid #49ff00;
    background:#050505;
}

.terminal-log {
    padding:35px;
}

.terminal-log p {
    margin-bottom:15px;
    color:#49ff00;
}

/* RESPONSIVE */

@media(max-width:1100px) {

    .featured-news-panel,
    .news-grid {
        grid-template-columns:1fr;
    }

}

@media(max-width:700px) {

    .news-hero h1 {
        font-size:2.5rem;
    }

    .featured-news-content h2 {
        font-size:2rem;
    }

}





/* DEMO VIDEO SECTION */

.demo-video-section {
    padding: 0 5% 100px;
}

.demo-video-wrapper {
    position: relative;

    width: 100%;
    max-width: 1600px;

    margin: 0 auto;

    padding-bottom: 56.25%;
    height: 0;

    overflow: hidden;

    border: 2px solid #49ff00;
    background: #000;

    box-shadow:
        0 0 25px rgba(73,255,0,0.3),
        inset 0 0 25px rgba(73,255,0,0.1);
}

.demo-video-wrapper iframe {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
}