/*
   primary colors:
   #150501, #3AOC00, #992407

   buttons:
   #4D1203,
*/
html{
    scroll-behavior: smooth;
}
body {
    font-family: 'Alegreya', sans-serif;
    font-size: 1.2rem;
    background-color: #FDFBF9;
}
a {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    background-color: transparent;
}
h2{
    font-family: 'Eczar', sans-serif;
}
h3{
    font-size: 1.5rem;
}
.content{
    margin-top: 65px !important;
}
.content--title{
    color: #992407;
}

/* Navigation Styling */
nav{
    background: rgba(58, 12, 0, 0.5);
    color: #f1f1f1;
    width: 100%;
    padding: 5px 0;
    z-index: 9999;
}
.nav-link {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    color: #ffffff !important;
}

.content--main {
    position: relative;
    text-align: center;
    color: #ffffff;
}

iframe{
    width: 100%;
}

/* Cover video styling */
#myVideo {
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85%;
    object-fit:fill;
    padding:0;
}

/* About US Styling */
.content--about-us{
    margin-top: 80vh !important;
}

.waviy {
    position: relative;
}
.waviy span {
    position: relative;
    margin-right: 10px;
    display: inline-block;
    font-size: 40px;
    color: #992407 !important;
    text-transform: uppercase;
    animation: flip 2s infinite;
    animation-delay: calc(.2s * var(--i))
}
@keyframes flip {
    0%,80% {
        transform: rotateY(360deg)
    }
}

.animate-character
{
    text-transform: uppercase;
    background-image: linear-gradient(
            -225deg,
            #231557 0%,
            #44107a 29%,
            #ff1361 67%,
            #fff800 100%
    );
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2s linear infinite;
    display: inline-block;
    font-weight: bold;
    font-family: 'Dancing Script', sans-serif;
}

@keyframes textclip {
    to {
        background-position: 200% center;
    }
}

.font-dancing-script{
    font-family: 'Dancing Script';
    font-size: 1.4em;
    font-weight: bold;
}

/* Menu Section Styling */
.content-secondary-title{
    font-weight: 500;
    font-size: 26px;
}
.btn-primary{
    background-color: #992407 !important;
    border-color: #992407 !important;
}
hr{
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}
.accordion-button{
    background-color: #992407 !important;
    border-color: #992407 !important;
    color: #ffffff;
    font-size: 22px;
    text-transform: uppercase;
}
.accordion-button:not(.collapsed){
    background-color: #992407 !important;
    border-color: #992407 !important;
    color: #ffffff;
}
.accordion-button:focus{
   box-shadow: none;
}
.accordion-button:after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}
.accordion-body{
    text-align: center;
    background-color: rgb(253, 251, 249);
    border-color: #992407;
    transition: all 500ms ease;
}

/* .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.hinge{-webkit-animation-duration:2s;animation-duration:2s
                                                                                                                                                                                                                         }@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}
@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}100%{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}100%{opacity:0}}.zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}
*/

/* Footer Styling */
footer {
    background: #3a0c00;
    color: #ffffff;
}
.extras__item{
    color: #ffffff;
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.5rem;
}
.extras__item:hover{
    color: #ffcec2;
}
.extras__cols{
    margin-bottom: 1rem;
}
.extras__cols h3{
    font-size: 1.3rem;
}
.col-count-2-md {
    column-count: 2;
    -webkit-column-count: 2;
}
@media (min-width: 768px) {
    .col-count-2-md {
        column-count: 1;
        -webkit-column-count: 1;
    }
}
.instagram-icon{
    width: 32px;
}
.facebook-icon{
    width: 30px;
    height: 26px;
}

.text-highlighter{
    font-family: 'Eczar', sans-serif;
    font-weight: bold;
}



/* Morphing CSS Text Effect */

#container {
    position: relative;
    margin: auto;
    height: auto;
    width: 100%;
    top: 0;
    bottom: 0;
}

#text1,
#text2 {
    position: absolute;
    width: 100%;
    display: inline-block;
    font-size: 40pt;
    text-align: center;
    user-select: none;
}
@media (min-width: 768px) {
    #container {
        height: 80pt;
    }
    #text1,
    #text2 {
        font-size: 80pt;
    }
}

/* Responsive Image Gallery styles */

.row-outer {
    padding: 20px 0;
}
.heading {
    text-align: center;
}
.container {
    width: 95%;
    max-width: 1160px;
    margin: auto;
}
.heading {
    text-align: center;
    padding: 20px 0;
}

.grid-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-areas: 'item1 item1 item2 item3'
                         'item4 item4 item2 item5'
                         'item4 item4 item2 item6';
    grid-gap: 10px;
}

.item {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    min-height: 12rem;
    cursor: pointer;
    background: red;
}

.item1 {
    grid-area: item1;
    background-position: top !important;
}
.item2 {
    grid-area: item2;
}
.item3 {
    grid-area: item3;
}
.item4 {
    grid-area: item4;
}
.item5 {
    grid-area: item5;
}
.item6 {
    grid-area: item6;
}


@media (max-width: 768px) {
    .grid-gallery {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas: "item1 item1 item2"
                             "item3 item4 item2"
                             "item5 item6 item2";
    }
}

@media (max-width: 620px) {
    .grid-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "item1 item3"
                             "item2 item4"
                             "item2 item5"
                             "item2 item6";
    }
}


@media (max-width: 360px) {
    .grid-gallery {
        grid-template-columns: 1fr;
        grid-template-areas: "item1"
                             "item2"
                             "item3"
                             "item4"
                             "item5"
                             "item6";
    }
    .item2 {
        background-position: top;
    }
}



#hexGrid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    font-family: sans-serif;
    list-style-type: none;
}

.hex {
    position: relative;
    visibility:hidden;
    outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
    transition: all 0.5s;
    backface-visibility: hidden;
    will-change: transform;
}
.hex::after{
    content:'';
    display:block;
    padding-bottom: 86.602%;  /* =  100 / tan(60) * 1.5 */
}
.hexIn{
    position: absolute;
    width:96%;
    padding-bottom: 110.851%; /* =  width / sin(60) */
    margin: 2%;
    overflow: hidden;
    visibility: hidden;
    outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
    -webkit-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
    -ms-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
    transform: rotate3d(0,0,1,-60deg) skewY(30deg);
    transition: all 0.5s;
}
.hexIn * {
    position: absolute;
    visibility: visible;
    outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
}
.hexLink {
    display:block;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    overflow: hidden;
    -webkit-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
    -ms-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
    transform: skewY(-30deg) rotate3d(0,0,1,60deg);
}




/*** HEX CONTENT **********************************************************************/
.hex img {
    left: -100%;
    right: -100%;
    width: auto;
    height: 100%;
    margin: 0 auto;
}

.hex h1, .hex p {
    width: 100%;
    padding: 5%;
    box-sizing:border-box;
    font-weight: 300;
    opacity: 0;
}

#demo1 {
    color: #F5CE95;
    text-transform: capitalize;
    text-align: center;
    bottom: 50%;
    padding-top:50%;
    font-size: 1.5em;
    z-index: 1;
}
.hex h1:before, .hex h1:after {
    display: inline-block;
    margin: 0 0.5em;
    width: 0.25em;
    height: 0.03em;
    background: #ffffff;
    content: '';
    vertical-align: middle;
    transition: all 0.3s;
    text-align:center;
}

#demo2 {
    top: 50%;
    text-align: center;
    text-transform: uppercase;

}

.img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.img:before, .img:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';
    opacity: 0;
    transition: opacity 0.5s;
}
.img:before {
    background: rgba(22, 103, 137, 0.3)
}
.img:after {
    background: linear-gradient(to top, transparent, rgba(0, 0, 0, 0.5), transparent);
}

/*** HOVER EFFECT  **********************************************************************/



.hexLink:hover h1, .hexLink:focus h1,
.hexLink:hover p, .hexLink:focus p{
    opacity:1;
    transition: 0.8s;
}


.hexIn:hover .img:before,
.hexIn:hover .img:after,
.hexIn:hover .hexLink {
    opacity: 1;
}


/*** HEXAGON SIZING AND EVEN ROW INDENTATION *****************************************************************/

@media (min-width:768px) { /* <- 4-3  hexagons per row */
    #hexGrid{
        padding-bottom: 7.4%;
        font-size: 14px;
    }
    .hex {
        width: 33.333%; /* = 100 / 3 */
    }
    .hex:nth-child(5n+4){ /* first hexagon of even rows */
        margin-left:16.666%;  /* = width of .hex / 2  to indent even rows */
    }
}

@media (max-width: 600px) { /* <- 2-1  hexagons per row */
    #hexGrid{
        padding-bottom: 11.2%;
        font-size: 12px;
    }
    .hex {
        width: 50%; /* = 100 / 3 */
    }
    .hex:nth-child(3n+3){ /* first hexagon of even rows */
        margin-left:25%;  /* = width of .hex / 2  to indent even rows */
    }
}

@media (max-width: 400px) {
    #hexGrid {
        font-size: 8px;
    }
}
