﻿.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.honeycomb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: left;
    align-items: center;
    max-width: 1200px;
    padding: 0;
}

.honeycomb-cell {
    flex: 0 0 15rem;
    max-width: 13rem;
    height: 7rem;
    margin: 3rem 1rem 2rem;
    position: relative;
    padding: 0.1em;
    text-align: center;
    align-items: center;
    z-index: 1;
    cursor: pointer;
    
}

.honeycomb-cell__title {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    hyphens: auto;
    word-break: break-word;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.75em;
    transition: opacity 350ms;
}

    .honeycomb-cell__title > small {
        font-weight: 300;
        margin-top: 0.25em;
    }

.honeycomb-cell__image {
    object-position: center;  
}

.honeycomb-cell::before, .honeycomb-cell::after {
    content: '';
}

.honeycomb-cell::before, .honeycomb-cell::after, .honeycomb-cell__image {
    top: -25%;
    left: -50px;
    width: 150%;
    height: 150%;
    display: block;
    position: absolute;
    z-index: -1;
    background-color: white;
    border:2px solid white;
   border-radius:10px; 
   border-color:white;
}

.honeycomb-container {
    display: grid;
    grid-template:
        repeat(2, auto) / 2fr repeat(2, 1fr) 2fr;
    gap: 10px; /* add some space between cells */
}

.honeycomb-cell::before {
    background: #149be6;
}

.hidden-cell {
    visibility: hidden;
}

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    #bodyContainer {
        margin-top: -15rem;
    }
}
/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    #bodyContainer {
        margin-top: -15rem;
    }
}
/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    #bodyContainer {
        margin-top: -15rem;
    }
}
/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    #bodyContainer {
        margin-top: -15rem;
    }
}

@font-face {
    font-family: customFont;
    src: url('GearEngine.App\src\GearEngine.App\wwwroot\fonts\Orbitron-Black.ttf');
}


@media {
    .honeycomb-cell:nth-child(1) {
        margin-left: calc(60% / 3 * 2 - 80px);
    }

    .honeycomb-cell:nth-child(2) {
        margin-left: calc(110% / 3*2 - 80px);
       /* margin-right: calc(100% / 2 - 50px);*/
        margin-top: -145px;
    }

    .honeycomb-cell:nth-child(3) {       
        margin-left: calc(60% / 3 * 2 - 80px);
        margin-top: 70px;
    }

    .honeycomb-cell:nth-child(4) {
        margin-left: calc(212% / 3 - 47px);
        margin-top: -145px;
    }

    .honeycomb-cell:nth-child(5) {
        margin-left: calc(60% / 3 * 2 - 80px);
        margin-top: 70px;
    }
}
