body {
    font-family: 'Mulish', sans-serif;
}

.title-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}

.title {
    color: white;
    font-size: 8rem;
    font-weight: 800;
    font-family: 'Mulish', sans-serif;
    margin: 0;
}

.subtitle {
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Mulish', sans-serif;
    margin: 0;
}

.info-title {
    font-weight: 700;
}

.info-subtitle {
    font-weight: 600;
    margin-bottom: 0;
}

.info-text {
    font-weight: 500;
    margin-top: 5px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dark-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.window-overlay {
    position: absolute;
    inset: 40px;
    border-radius: 25px;
    z-index: 1;
    background: #ffffff;
    opacity: 1;
    mix-blend-mode: overlay;
}

.content-overlay {
    position: absolute;
    inset: 0;
    margin: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    z-index: 3;
}

.header {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
}

.header img {
    max-width: 100vw;
    height: auto;
}

.footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.footer img {
    max-width: 100%;
    height: auto;
} 

.tour-button {
    display: flex;
    align-items: center;
    gap: 20px;
    position: static;
    padding: 15px 30px;
    font-size: 1em;
    font-weight: 700;
    color: white;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tour-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.tour-button:last-child {
    margin-left: 40px;
}

.button-icon {
    height: 20px;
    width: auto;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100vw - 80px);
    height: calc(100dvh - 80px);
    padding: 40px;
    background-color: transparent;
    z-index: 1000;
}

#panoModal #pano {
    border-radius: 25px;
    overflow: hidden;
}

.marketplace-button {
    position: absolute;
    top: 60px;
    right: 60px;
    max-width: 28px;
    color: #ffffff;
    filter: brightness(0) invert(1);
    cursor: pointer;
    z-index: 1001;
}

.marketplace-button:hover {
    filter: brightness(0) invert(.95);
}

@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }
    
    .content-overlay {
        margin: 18px;
        padding: 18px;
        justify-content: center;
    }
    
    .window-overlay {
        inset: 18px;
        clip-path: none;
    }

    .header {
        display: grid;
        height: 60%;
    }

    .header img {
        justify-self: flex-start;
    }

    .title,
    .subtitle,
    .tour-button {
        align-self: center;
        justify-self: center;
    }

    .footer {
        justify-content: center;
        align-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: auto;
        height: 40%;
    }

    .tour-button:last-child {
        margin-left: 0;
    }

    .modal {
        width: calc(100vw - 36px);
        height: calc(100dvh - 36px);
        padding: 18px;
    }

    .close-button {
        top: 35px;
        right: 35px;
    }

    #arrow {
        display: none;
    }

    #singlecode {
        max-width: 30%;
    }

    #prr {
        max-width: 70%;
    }
}