/* ==========================================================
   Humble Bee Games
   Home Page
========================================================== */


/* ==========================================================
   Hero
========================================================== */

.hero {
    text-align: center;
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cloud {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: -1;
}

.cloud-left {
    position: absolute;

    top: 0;
    left: 0;

    width: 42vw;
    max-width: 1080px;
}

.cloud-right {
    position: absolute;

    top: 0;
    right: 0;

    width: 42vw;
    max-width: 1080px;
}


/* ==========================================================
   About
========================================================== */

.about-title {
    text-align: center;
}

.about-layout {

    display: grid;
    grid-template-columns: 320px 1fr;

    gap: 32px;
    align-items: center;
}

.about-logo {

    display: flex;
    justify-content: flex-start;
    align-items: center;

    width: 100%;
    height: 220px;
    z-index: 5;
}

.about-logo img {

    width: 100%;
    height: 100%;

    object-fit: contain;
    z-index: 5;
}

.about-text p {
    text-align: justify;
    text-align-last: left;
    line-height: 1.8;
}

/* ==========================================================
   Projects
========================================================== */

.projects {
    margin-top: 24px;
}


/* ==========================================================
   Responsive
========================================================== */

@media (max-width: 820px) {

    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-logo {
        justify-content: center;
    }

    .about-text {
        max-width: 100%;
    }

}

@media (max-width: 1079px) {

    .cloud-left {
        width: 0vw;
        left: -30vw;
        top: 20px;
    }

    .cloud-right {
        width: 0vw;
        right: -30vw;
        top: 20px;
    }

}

@media (max-width: 1079px) and (orientation: portrait) {

    /* Make the hero shorter */
    .hero {
        min-height: 60vh;
    }

    /* Move the logo/content upward */
    .hero-content {
        transform: translateY(-35px);
    }

    /* Reduce spacing between hero and About */
    .about {
        padding-top: 40px;
    }

}