@font-face {
    font-family: 'D-DIN';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/D-DIN.woff2) format('woff2'),
        url(fonts/D-DIN.woff) format('woff');
}

@font-face {
    font-family: 'D-DIN';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/D-DIN-Bold.woff2) format('woff2'),
        url(fonts/D-DIN-Bold.woff) format('woff');
}

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

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.content {
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.title {
    margin-bottom: 3vh;
}

.title img {
    width: 60vw;
}

.subtitle {
    font-family: 'D-DIN', Arial, sans-serif;
    font-size: 1.5vw;
    margin-bottom: 5vh;
    margin-top: 5vh;
    letter-spacing: 0.05em;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3vw;
}

.logo-container-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.logo-container-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.tesla-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tesla-logo img {
    width: 12vw;
    height: auto;
    transition: transform 0.3s ease;
}

.tesla-logo img:hover {
    transform: scale(1.1);
}

.spacex-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spacex-logo img {
    margin-top: -1vh;
    width: 14vw;
    height: auto;
    transition: transform 0.3s ease;
}

.spacex-logo img:hover {
    transform: scale(1.1);
}

.xai-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.xai-logo img {
    height: 6vh;
    width: auto;
    transition: transform 0.3s ease;
}

.xai-logo img:hover {
    transform: scale(1.1);
}

.separator {
    color: white;
    font-size: 6vh;
    font-weight: 300;
}

@media (max-width: 768px) {

    .title img {
        width: 86.4vw;
    }

    .subtitle {
        font-size: 3.9vw;
    }

    .logos {
        flex-direction: column;
        gap: 1vh;
    }

    .tesla-logo img {
        width: 36vw;
    }

    .xai-logo img {
        height: 3vh;
    }

    .spacex-logo img {
        width: 42vw;
    }

    .separator {
        font-size: 3vh;
        transform: rotate(90deg);
    }
}