
/********cstm **************/
*{
    margin: 0;
    padding: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent; /* Removes the blue shade on iOS */
    -webkit-touch-callout: none; /* Disables callouts (e.g., when you long-press) on iOS */
}
@font-face {
    font-family: myFont;
    src: url('../font/Geometos.ttf');
}
body {
    font-family: myFont;
}
button:active, a:active, input:active {
    background-color: transparent; /* Custom active state, here removing the background color */
}
/* body,h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6{
    font-family: "Roboto", sans-serif !important;

} */

.main {
    height: 100vh;
    width: 100%;
    background-color: rgb(15, 15, 15);
    display: flex;
    position: relative;
    overflow: hidden;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
}

.tile {
    height: 100vh;
    width: 144px;
    background-color: rgba(5, 34, 34,0.8);
    writing-mode: vertical-rl;
    z-index: 10;
    position: relative;
    cursor: pointer;
    
    /* opacity: 0.7; */
}


.left-tile {
    margin-right: auto; /* Pushes the first tile to the left */
}
.right-tile {
    margin-left: 5px; /* Adjust this value to decrease the gap between the second tile and the first tile */
}
.left-tile.active ,
.right-tile.active  {
    visibility: hidden;
    opacity: 0;
    z-index: 3;
    margin-left: 0;
    width: 0;
}

.tile-head {
    z-index: 15;
}



.tile-title {
    font-size: 36px;
    font-weight: bold;
    color: aliceblue;
    display: flex;
    justify-content: center;
    margin-right: 40px;
    margin-top: -64px;
}

.inner-tile {
    position: fixed; 
    height: 100vh;
    width: 0;
    background-color: rgb(255, 255, 255);
    top: 50px;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease-in-out;
    z-index: 5;
    text-align: center;
    display: flex;
    align-items: center;
}

.inner-tile.active {
    top: 0;
    opacity: 1;
    visibility: visible;
    width: 100%;
  
}
 .inner-tile.active::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    top: 0;
    left: 0;
    z-index: 0;
}



.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the entire area */
    z-index: 1; /* Ensure the image is behind the tiles */
    pointer-events: none; /* Allows clicks to go through to underlying elements */
}

.enterprise-tile {
    background-image: url('../img/mountcrest-small-bg.jpg');
}

.automation-tile {
    background-image: url('../img/automation-small-bg.jpg');
}

.extrusion-tile {
    background-image: url('../img/extrusion-small--bg.jpg');
}

.software-tile {
    background-image: url('../img/software-small-bg.jpg');
}
.tile-icon {
    display: block;
    width: 64px; /* Adjust width as needed */
    margin-top: 18px; /* Adjust spacing between text and icon */
    margin-left: auto; /* Center horizontally if needed */
    margin-right: auto;
}
.icon-div{
    position: absolute;
    bottom: 120px;
    width: 100%;
    display: flex;
    align-items: center;
    left: 0;

}
.inner-tile .inner{
    text-align: left;
    color: #fff;
    margin: 100px;
    width: 50%;
    z-index: 15;
    min-width: 500px;
}
img.inner-icon {
    max-width: 150px;
    max-height: 150px;
}
img.inner-icon-png {
    max-width: 100px;
    max-height: 100px;
}
.inner-tile .inner h3{
    font-size: 48px;
    
    line-height: 1.3;
    color: #fff;
    text-transform: uppercase;
}
.inner-tile .inner p{
    font-size: 16px;
    line-height: 1.5;
}
.btn.btn-link{
    color: rgb(44, 44, 44);
    background: #dfb444;
    padding: 10px 25px;
    border-radius: 40px;
    margin: 12px 0;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
}
.electronics , .extrusion, .software{
    padding-left:150px;
}

.footer {
    height: 60px;
    width: 100%;
    z-index: 20;
    background-color: rgb(39 39 39 / 91%);
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-footer {
    /* margin-top: 24px; */
    margin-left: 25px;
}

.left-footer a {
    color: rgb(255, 255, 255);
    margin: 5px;
}

.right-footer {
    color: white;
    margin-right: 25px;
}

.bg-image {
    background-size: cover;
    background-position: center;
}

.desc {
    font-family: "Roboto", sans-serif
}

.btn.btn-link {
    font-family: "Roboto", sans-serif
}
@media only screen and (max-width: 1400px) {
    .inner-tile .inner h3 {
        font-size: 36px;
    }
    .tile-title{
        font-size: 24px;
        margin-right: 60px;
    }
    .icon-div{
        bottom: 64px;
    }
    .tile-icon {
        width: 48px;
    }
}

@media only screen and (max-width: 768px) {
    .main {
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
        overflow: hidden;
        position: fixed;
        bottom:0;
    }

    .tile {
        height: auto;
        width: 100%;
        writing-mode: horizontal-tb;
        text-align: center;
        padding: 24px 0 48px;
        max-height: 64px;
        border-top: 1px solid #ffffff17;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        box-shadow: 0 0 10px 4px rgba(255, 255, 255, 0.5);
        margin-bottom: -20px;
        transform: all 0s ease-in-out;
        -webkit-transform: translateZ(0);
        

    }
    .tile::after{
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        top: 0;
        left: 0;
        z-index: 0;
        border-radius: 18px;
    }
    .inner-tile .inner h3{
        font-size: 28px;
    }
    

    .left-tile {
        order: -1;
        flex-shrink: 0;
        align-self: flex-end;
    }

    .right-tile {
        flex-shrink: 0;
        align-self: flex-end;
    }

    .tile .tile-title {
        writing-mode: horizontal-tb;
        font-size: 18px;
        z-index: 10;
        position: relative;
        margin-left: 48px;
        margin-top: 0;
    }

    .icon-div {
        left: 0;
        top: 15px;
        width: 75px;
        bottom: inherit;
        z-index: 10;
    }
    .icon-div img{
        width: 24px;
    }
    .left-tile.active,
    .right-tile.active {
        visibility: hidden;
        opacity: 0;
        z-index: 3;
        width: 100%;
        height: 0;
        margin: 0;
        padding: 0;
    }

    .inner-tile {
        position: fixed;
        height: 100vh;
        width: 100%;
        background-color: rgb(255, 255, 255);
        top: 0;
        left: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 1s ease-in-out;
        z-index: 5;
        text-align: center;
        display: flex;
        align-items: center;
    }

    .inner-tile.active {
        top: 0;
        opacity: 1;
        visibility: visible;
        width: 100%;
    }

    .inner-tile.active::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2);
        top: 0;
        left: 0;
        z-index: 0;
    }
    .inner-tile .inner{
        margin: 20px auto;
        width: 82%;
        position: absolute;
        top: 10px;
        left: 25px;
        min-width: 300px;
    }
    .electronics , .extrusion, .software{
        padding-left:50px;
    }


    img.inner-icon {
        max-width: 100px;
        max-height: 100px;
    }
    img.inner-icon-png {
        max-width: 70px;
        max-height: 70px;
        width: 50px;
        margin-bottom: 12px;
    }

    .footer {
        display: none;
    }


    
}