﻿body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 0px 0px 5px rgba(256, 256, 256, 0.5);
}

.main-content {
    display: flex;
    gap: 0px;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .main-content {
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
        /* gap: 8px; */
    }

    .main-content>div {
        width: 100%;
        max-width: 420px;
        /* adjust as needed */
    }

    .main-content img {
        /* width: 100%; */
        max-width: 400px;
    }
}


.image-container {
    /* aspect-ratio: 1 / 1; */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    /* width: 100%;
    height: 100%; */
    aspect-ratio: 1 / 1; 
    object-fit: cover;
}
/*
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
*/

.tile {
    background-color: white;
    height: 400px;
    width: 256px;
    margin: 16px;
    border: 5px solid white;
    border-radius: 18px;
    box-shadow: 10px 30px 80px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.tile:hover {
    z-index: 1;
    border: 5px solid black;
    background-color: black;
    color: white;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 1);
    transform: scale(1.1);
    transition:
        background-color 1.5s ease,
        border-color 1.5s ease,
        color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.tile-wide {
    background-color: white;
    height: 400px;
    width: 554px;
    margin: 16px;
    border: 5px solid white;
    border-radius: 18px;
    box-shadow: 10px 30px 80px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.tile-wide:hover {
    z-index: 1;
    border: 5px solid black;
    background-color: black;
    color: white;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 1);
    transform: scale(1.05);
    transition:
        background-color 1.5s ease,
        border-color 1.5s ease,
        color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.title-inner {
    position: relative;
}

.title-inner-detail {
    margin: 16px;
    height: 128px;
}

.title-inner-detail:hover {
    color: white;
}

.title-inner-detail-text {
    position: relative;
    top: 35%;
    transform: translateY(-50%);
}

.title-inner-detail-text-break {
    height: 8px;
}

.title-inner-img {
    position: relative;
    top: 16px;
    height: 224px;
    width: 224px;
    object-fit: contain;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 0px 1500px rgba(0, 0, 0, 0.9);
}

.title-inner-img-wide {
    position: relative;
    top: 16px;
    height: 224px;
    width: 522px;
    object-fit: contain;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 0px 1500px rgba(0, 0, 0, 0.9);
}

.title-inner-img-container {
    height: 256px;
    opacity: 0.9;
}

.title-inner-backup {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    color: black;
}

a {
    text-decoration: none;
    color: inherit;
}

.tile2 {
    background-color: white;
    height: 256px;
    width: 256px;
    margin: 16px;
    transition: transform 1s ease;
}

.zoom-div {
    transition: transform 1s ease;
}

/* =========================
   MOBILE + TABLET
   ========================= */

@media (max-width: 768px) {

    .main-content {
        flex-direction: column;
        padding: 10px;
    }

    .tile,
    .tile-wide {
        width: 95vw;
        max-width: 600px;
        height: 400px;
        margin: 12px auto;
        box-sizing: border-box;
    }

    .title-inner-detail {
        /* height: auto; */
        margin: 16px;
    }

    .title-inner-detail-text {
        top: 35%;
        transform: translateY(-50%);
    }

    .title-inner-img {
        width: 224px;
        height: 224px;
        max-width: 70%;
    }

    .title-inner-img-wide {
        width: 90%;
        max-width: 522px;
        height: 224px;
    }
}

/* Small phones */

@media (max-width: 480px) {

    .tile,
    .tile-wide {
        width: 96vw;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p {
        font-size: 1rem;
    }
}

/* Disable hover effects on touch devices */

@media (hover: none) {

    .tile:hover,
    .tile-wide:hover {
        transform: none;
        border: 5px solid white;
        background-color: white;
        color: inherit;
        box-shadow: 10px 30px 80px rgba(0, 0, 0, 0.2);
    }
}


.download-container {
    display: flex;
    /* background-color: rgb(238, 238, 238); */
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding-bottom: 20px;
}

.download-left {
    flex: 1;
    text-align: right;    
    animation: slideFromLeft 0.8s ease forwards;
}

.download-right {
    flex: 1;
    text-align: left;
    animation: slideFromRight 0.8s ease forwards;
}

@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .download-container {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .download-left,
    .download-right {
        text-align: center;
        width: 100%;
    }

    .download-left {
        order: 1;
        /* top */
    }

    .download-right {
        order: 2;
        /* bottom */
    }
}


/* .url-text {
    user-select: text;
    cursor: text;
} */

/*
.top-header {
    top: 0;
    position: fixed;
    width: 100%;
    background-color: white;
    color: black;
    height: 48px;
    display: flex;
}

.bottom-header {
    color: black;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 48px;
    background-color: white;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 1);
    text-align: center;
    line-height: 48px;
}

.top-header-title-text {
    margin-left: 16px;
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: 700;
}

.top-header-text {
    margin-left: 16px;
    display: flex;
    align-items: center;
    font-size: 1em;
    font-weight: 500;
}
*/