:root {
    --hex-width:250px;
    --gap:calc(var(--hex-width)/15);
    --hex-height:calc(0.866*var(--hex-width));
    --x-adj:calc(var(--hex-width)*0.75 + calc(0.866*var(--gap)));
    --y1-adj:calc(var(--hex-height)/2 + var(--gap)/2);
    --y2-adj:calc(var(--hex-height) + var(--gap));
    --hex-path-transition:0ms;
}

html{
    background-color:ghostwhite;
    font-family: sans-serif;
}

html,body{
    margin:0;
    padding:0;
    height: 100%;
}

body{
    height: 100%;
}

section.landing{
    position: relative;
    width:100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

.hexagon-container{
    width:var(--hex-width);
    height:var(--hex-height);
    position:relative;
    perspective: 100px;
    opacity:1;
    transition:all 400ms, opacity 400ms 100ms, visibility 0ms 0ms;
    visibility:visible;
}

.hexagon-container *{
    cursor:pointer;
}


.hexagon-container.hidden{
    opacity: 0;
    visibility:hidden;
}

.hexagon{
    border: 3px solid black;
    user-select: none;
    width: 97%;
    height: 97%;
    background-color: #cccccc;
    font-size: 2.2rem;
    font-weight:bold;
    font-style: italic;
    font-family:sans-serif;
    clip-path:polygon(25% 1%,75% 1%,99% 50%, 75% 99%, 25% 99%, 1% 50%);
    position:absolute;
    transition: all 200ms 50ms ease, visibility 0ms 0ms;
    color: #ffffff;
    -webkit-text-stroke:2px black;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hexagon:nth-of-type(1){
    top:0px;
    left:0px;
}
.hexagon:nth-of-type(1){
    
}
.hexagon:nth-of-type(1):hover > img{
    transform: translate(2%,2%);   
}
.hexagon:nth-of-type(2){
    top: var(--y1-adj);
    left: calc(-1*var(--x-adj));
}
.hexagon:nth-of-type(2):hover > img{
    transform: translate(-5%,5%);   
}
.hexagon:nth-of-type(3){
    left:var(--x-adj);
    top: calc(-1*var(--y1-adj));
}
.hexagon:nth-of-type(3):hover > img{
    transform: translate(5%,-5%);   
}
.hexagon:nth-of-type(4){
    top: calc(-1*var(--y2-adj));
    left:0px;
}
.hexagon:nth-of-type(4):hover > img{
    transform: translate(0%,-5%);   
}
.hexagon:nth-of-type(5){
    top: var(--y2-adj);
    left:0px;
}
.hexagon:nth-of-type(5):hover > img{
    transform: translate(0%,5%);   
}
.hexagon:nth-of-type(6){
    left: calc(-1*var(--x-adj));
    top: calc(-1*var(--y1-adj));
}
.hexagon:nth-of-type(6):hover > img{
    transform: translate(-5%,-5%);   
}
.hexagon:nth-of-type(7){
    left:var(--x-adj);
    top:var(--y1-adj);
}
.hexagon:nth-of-type(7):hover > img{
    transform: translate(5%,5%);   
}

.hexagon img {
    position:absolute;
    width:110%;
    min-height:110%;
    z-index: -1;
    opacity: 0.8;
}

.hexagon:hover{
    transform:scale(1.1);
}

.hexagon:hover > img{
    transition:5s;
}

.padding{
    height:3000px;
}

.hexSVG{
    width:100%;
    height:100%;
    position:absolute;
    top: 0px;
    left: 0px;
    background-color:#757575;
    z-index:-1;
}

.hex-path{
    stroke-width: 3px;
    stroke: black;
    fill:none;
}

.hex-path.animated{
    transition:var(--hex-path-transition);    
}


.hex-path.drawn{
    stroke-dashoffset:0px!important;
}

.hex-path.leading{
    stroke-width: 2px;
    stroke:#E53935;

}

.starterHexagon{
    opacity:1;
    transition: 400ms;
}

.starterHexagon.hidden{
    opacity:0;
}