
@import url('https://fonts.googleapis.com/css?family=Gothic+A1:200,400,500,700,800,900&display=swap');

:root{
    /* --shadow: 10px 0 50px 6px #1D0D38; */
    --mainCol: #491281;
    --styledFont: gloss;
    --hexFont: AquireLight;
    --nameFont: AquireLight;
    --codeNext: PopReg;
    --mainImg: url('../img/1062.png');
}

html{
    scroll-behavior: smooth;
    
}
@font-face {
    font-family: PopReg;
    src: url('../fonts/Poppins/Poppins-Regular.ttf') ;
}
@font-face {
    font-family: gloss;
    src: url('../fonts/gloss_and_bloom/Gloss_And_Bloom.ttf');
}

@font-face {
    font-family: AquireLight;
    src: url('../fonts/aquire/AquireLight-YzE0o.otf') format("opentype");
}

/* @font-face {
    font-family: HarmondBold;
    src: url('../fonts/harmond/Harmond-ExtraBoldExpanded.otf') format("opentype");
} */
/* @font-face {
    font-family: test;
    src: url('../fonts/signore/CodeNext.ttf');
} */
@font-face {
    font-family: Lantore;
    src: url('../fonts/signore/Newake.otf');
    }
    @font-face {
    font-family: newake;
    src: url('../fonts/signore/LanterosySansSerifFont.ttf');
    }
    /* @font-face {
    font-family: codeNext;
    src: url('../fonts/signore/CodeNext.ttf');
    } */
*{
    padding: 0; 
    margin: 0; 
}
body{
    position: relative;
    font-family:PopReg;
    overflow-x: hidden;
    background-color:#fffaf0;
}

main {
    scroll-snap-type: y mandatory;

}
section{
    scroll-snap-align: top;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    position: relative;
    min-height:100vh;
    width:100vw;
    

}



.tripSec{
    flex-direction: row;
    scroll-snap-align:start;
    position: relative;
}
.tripSec1 {
    display: flex;
    font-family:var(--nameFont);
    font-size: 2rem;
    color:var(--mainCol);
    justify-content:center;
    
    z-index: 1;
}
.tripSec1 > p{
    padding:2rem 0 2rem 0;
    align-self: center;
    position: sticky;
    top:0;
    
}
.tripSec2{
    flex-basis:80%;
    display:flex;
    flex-direction: column;
    min-height: 100%;

}
.tripSec1, .tripSec3{
    padding:2rem 2rem 0 2rem;
    flex-basis: 20%;
    min-height: 100vh;
    box-shadow: var(--shadow);
    position: relative;
}
.tripSecWrapper {
    /* display: flex; */
    width: 100vw;
    /* position: relative; */
}
nav {
    position: sticky;
    top:45%;
    z-index: 2;
    
}

.hidden-nav{
    opacity:0
}
nav>ul{
    position: absolute;
    list-style: none;
    font-family: 'newake';
    line-height: 3rem;
    letter-spacing: .4rem;
    right:5%;
    
}
nav>ul>li {
    text-align: right;
}
nav>ul>li:hover {
    font-size: 1.2rem;
    color:#ff0000
}

nav>ul>li>a {
    text-decoration: none;
    cursor: pointer;
    margin: 0 auto;
}



#portTitleSM,#timeLineTitleSM,#contactTitleSM{
    visibility: hidden;
    display: none;
}
                                                              /* INTRO */

    /* @font-face {
    font-family: Lantore;
    src: url('../fonts/signore/Newake.otf');
    }
    @font-face {
    font-family: newake;
    src: url('../fonts/signore/LanterosySansSerifFont.ttf');
    }
    @font-face {
    font-family: codeNext;
    src: url('../fonts/signore/CodeNext.ttf');
    }
    @font-face {
    font-family: codeNext;
    src: url('../fonts/signore/CodeNext.ttf');
    } */
    .heroBackground{
    position: absolute;
    left: -10000px;
    min-height: 100dvh;
    width: 100dvw;
    background-image: var(--mainImg);
    background-size:cover;
    background-position: 50%;
    
    }
    .heroBackground p{
    color:red;
    font-family: gloss;
    font-size: 12vw;
    text-shadow: 0px 0px 20px #000;
    }
    .heroContainer {
    max-height: 100vh;
    max-width: 100vw;
    }
    .heroTexts {
    /* display: none; */
    position: relative;
    height: 100vh;
    animation:1s fadeOut 6s;
    animation-fill-mode: forwards;
    overflow: hidden;
    }
    .heroTexts ul {
    list-style: none;
    
    }
    
    .heroTexts li {
    mix-blend-mode: overlay;
    background-clip: text;
    }
    
    .leftTexts {
    position:absolute;
    display: flex;
    height: 100%;
    left: 15px;
    align-items: center;
    width: 40vw;
    background-clip: text;
    color: rgba(0,0,0,0);
    }
    
    .leftTexts li {
    writing-mode: vertical-lr;
    text-orientation: sideways-right;
    font-size: 9vw;
    padding-left: 15px;
    font-weight: 700;
    font-family: 'lantore';
    animation: comeUp ease 3s;
    background-image: var(--mainImg);
    background-size: cover;
    background-clip: text;
    opacity: 0;
    /* background-position: -30% 0; */
    }
    .leftTexts li:nth-child(1),.leftTexts  li:nth-child(3){
    background-position: -50% 0;
    animation: 3s comeUp ease 3s;
    animation-fill-mode: forwards;
    
    }
    .leftTexts li:nth-child(2) {
    animation: 3s comeDown ease 3s;
    animation-fill-mode: forwards;
    background-position: -150px 0;
    
    }
    @keyframes comeDown {
    from {
        transform: translateY(-1000px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
    }
    @keyframes comeUp {
    from {
        transform: translateY(1000px);
        opacity: 0;
    }
    to {
        transform: translateY(0%);
        opacity: 1;
    }
    }
    @keyframes comeLeft {
    from {
        transform: translateX(1000px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
    }
    
    @keyframes fadeOut {
    from{
        opacity: 1;
    }
    to{
        opacity: 0;
    }
    }
    @keyframes inLeft {
    from{
        left: -10000px;
        opacity: 0;
    }
    to{ 
        left: 0;
        opacity: 0;
    }
    }
    @keyframes opaque {
    from{
        opacity:0;
    }
    to{ 
        opacity: 1;
    }
    }
    
    
    .topTexts {
    position: absolute;
    top: 10%;
    left: 35%;
    color: red;
    font-size: 11vw;
    font-weight: 700;
    font-family: 'newake';
    animation: 3s comeLeft ease 2s;
    animation-fill-mode: forwards;
    background-image: var(--mainImg);
    background-clip: text;
    color: rgba(0,0,0,0);
    opacity: 0;
    }
    .topTexts li {
    line-height: 10vw;
    background-image: var(--mainImg);
    background-size: cover;
    background-clip: text;
    }
    
    .rightTexts {
    position: absolute;
    top: 50%;
    right: 0;
    color: #ff00a0;
    font-size: 9vw;
    font-weight: 700;
    font-family: 'newake';
    animation: 3s comeUp ease 2s;
    animation-fill-mode: forwards;
    opacity: 0;
    background-image: var(--mainImg);
    background-clip: text;
    color: rgba(0,0,0,0);
    }
    .rightTexts li {
    line-height: 7vw;
    background-image: var(--mainImg);
    background-size: cover;
    background-clip: text;
    }
    .bottomTexts {
    writing-mode: vertical-lr;
    text-orientation: sideways;
    position: absolute;
    bottom: 0;
    right: 43%;
    color: antiquewhite;
    font-size: 10vw;
    font-weight: 700;
    font-family: 'codeNext';
    animation:3s comeUp ease 2s;
    animation-fill-mode: forwards;
    opacity: 0;
    background-image: var(--mainImg);
    background-clip: text;
    color: rgba(0,0,0,0);
    
    }
    .bottomTexts li {
    /* margin-top: -350px; */
    line-height: 15vh;
    background-image: var(--mainImg);
    background-size: cover;
    background-clip: text;
    }
    
    
    /*//////////////////////////////////////////////////////////////////////media queries for intro*/
    
    @media only screen and (max-width: 800px){
        .leftTexts li{
        writing-mode:vertical-lr;
        display: flex;
        justify-content: space-around;
        font-size: 8vh;
        }
        .topTexts{
        left:10%;
        }
        .topTexts li {
        font-size: 8vh;
        line-height: 8vh;
        justify-content: flex-start;
        }
        .rightTexts {
        /* writing-mode:vertical-lr; */
        text-orientation: sideways;
        }
        .bottomTexts {
        font-size: 15vh;
        bottom: 2rem;
        right:30px;
        }
    }
    
    canvas {
        position: absolute;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
    }
    
    .showDisplayNone {
        display: flex;
        justify-content: center;
        align-items: center;
        animation: 500ms inLeft 1s, 500ms opaque ease 2s;
        animation-fill-mode: forwards;
        }       



                                                                                             /*PORTFOLIO */
.portfolio{
    position:relative;
    margin: 0;
}
#portTitleCont, .portTitleClass, #timeTitleCont, #contactTitleCont {
    position:absolute;
    
}
#portTitleCont, #timeTitleCont, #contactTitleCont{
    /* position: relative; */
    top: 5rem;
    bottom:3rem;
    height:100vh;
}
.portTitleClass {
    /* margin-top:-70px; */
    left: -80px;
    top:40%;
    opacity:0.2
}
/* .portfolioLeft{
    display: flex;
    font-family:var(--styledFont);
    font-size: 2rem;
    color:var(--mainCol);
    justify-content:center;
} */
/* .tripSec1 p{
    padding:2rem 0 2rem 0;
    align-self: flex-start;
    position: sticky;
    top:0;
} */
.portMid {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: space-evenly;
    min-height: 100vh;
}
.nameHeader{
    height:4rem;
    width: 15rem;
    /* margin-top:5rem; */
    margin-left: 6rem;
    position:static;
    align-self: center;
    justify-self: flex-start;
    color: #ff0000;
    font-family:var(--styledFont);
    font-feature-settings:"ss02";
    font-size:3rem;
    text-shadow: 2px 3px 2px rgba(0, 0, 0, 0.7);

}
.hive {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    justify-content: center;
    max-width: 1020px;
    margin: 0 auto;
 }
 .hex {
    flex: 0 1 250px;
    max-width: 250px;
    height: 137.5px;
    margin: 65.4px 12.5px 15px;
    position: relative;
    padding: 0.5em;
    text-align: center;
    z-index:1;
    /* box-shadow: 0px 0px 15px 0 rgba(0, 0, 0, 0.3); */
    box-shadow:  20px 20px 60px #bebebe,
             -20px -20px 60px #ffffff;
 }
 .hexImg{
    object-fit: cover;
    object-position: center;
    filter:grayscale(100%);
 }
 .hexTitle{
    height:100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    hyphens: auto;
    word-break: break-word;
    text-transform: uppercase;
    color:#fff;
    font-size: 1.75em;
    font-family: var(--hexFont);
    transition: opacity 360ms;

 }
 .hexTitle > small {
    font-weight: 800;
    margin-top: 0.25em;
 }
 .hex::before, .hex::after {
    content: '';
    

 }

 .hex::before, .hex::after, .hexImg{
    top:-50%;
    left:0;
    width:100%;
    height:200%;
    display:block;
    position:absolute;
    clip-path:polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25% );
    z-index: -1;
 
 }
 .hex::before {
    background: #fff;
    transform: scale(1.055);
 }
 .hex::after {
    background: #000;
    opacity: 0.7;
    transition: opacity 350ms;
 }
.hex:hover{
    z-index:2;
    cursor:alias;
    /* transition: .2s ease-in-out all; */
}
 .hex:hover
 .hexTitle {
    opacity:0;
 }
 .hex:hover
 .hexImg{
    filter: grayscale(0%);
    
}
/* .hex:hover::before{
    background:var(--mainCol);

} */
.hex:hover::after{
    opacity: 0;
}
.hexHidden {
    display: none;
    opacity: 0;
    width:250px;
    margin: 0 12.5px;
}
.hexModalContainer{
    background-color: rgba(0,0,0,0.9);
    opacity: 0;
    display:flex;
    display: none;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    min-height: 100vh;
    min-width: 100vw;
    background-size: cover;
}
.show{
    opacity:1;
    display:inline-flex;
    /* pointer-events: auto; */
    z-index:9999;
    cursor: crosshair;
}
.hexModal{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba( 73, 18, 129, 0.45 );
    /* var(--mainCol); */
    backdrop-filter: blur( 17.5px );
    -webkit-backdrop-filter: blur( 17.5px );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    box-shadow: inset 0 1.5rem 5rem rgba( 31, 38, 135, 0.9 ) ;
    color: #fff;
    padding: 15px;
    max-width:500px;
    height:600px;
    position:absolute;
    top:10vh;
    clip-path:polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25% );
    overflow-y: initial !important;
    scroll-behavior: smooth;
}
.hexModalTitle{
  margin-top: 15%;
}

.hexModalTitle h2{
    margin: 0 auto;
}
.hexModalContent{
    display:flex;
    flex-direction:column;
    justify-content: start;
    align-items: center;
    align-self: center;
    height:50%;
    width:100%;
    cursor:default;
    margin-top: 8%;
    overflow-y:scroll;
}
/* .fa {
    font-family: popReg;
} */
.summary {
    margin-bottom: 1.5rem;
}
.links {
    margin-top: 1.5rem;
}
.links button {
    padding: 1.3em 1.3em;
    margin-left: .3rem;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    color: #000;
    background-color: #fff;
    border: none;
    border-radius: 45px;
    box-shadow:  7px 7px 14px #260943,
             -7px -7px 14px var(--mainCol);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
    
}

.links button:hover{
    background-color: #ff0000;
    box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
    color: var(--mainCol);
    transform: translateY(-3px);
}
.links a{
    color:var(--mainCol);
    text-decoration: none;
    display: flex;
    /* flex-direction: row-reverse; */
    align-items: center;
}
.links a img{
    height: 20px;
    margin-right:.4rem;

}


                                                                                     /* TIMELINE */

.timeLineTitle {
    margin-top: 2rem;
    font-family: var(--codeNext);
    font-size: 1.5rem;

}
.cardContainer{
    /* height: 100vh; */
    position: relative;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /* flex-wrap: wrap; */
    /* margin-top: 5rem; */
    border-radius: 50px;
    background: #fffaf0;
    box-shadow:  -28px -28px 57px #ede9df,
             28px 28px 57px #fffaf0;
    padding: 2em;
    max-width: 930px;
    overflow-x: scroll;
    overflow-y:hidden ;
    align-self: center;

}

.card {
    min-width: 300px;
    height: 600px;
    border-radius: 15px;
    transition: all 0.2s;
    margin: 0.5em;
    position: relative;
    cursor: pointer;
    perspective: 1000px;
    background-color: transparent;
    transform: translateY(100px);
    opacity: 0;
}
.showCard {
    transform: translateY(0);
    opacity:1;
}

.card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* padding: 1rem; */
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.05);
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
    border-radius: 8px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    
}

.card:hover .card-inner{
    /* transform: scale(1.04) rotate(1deg); */
    transform: rotateY(180deg);
    transition: transform 0.6s;

}

.card-back, .card-front{
    display: flex;
    position: absolute;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width:100%;
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-backface-visibility: hidden;
    backface-visibility:  hidden;
    
}
.card-front{
    font-family: var(--codeNext);
}

.timeLineImg {
    max-width: 60px;
    border-radius: 50%;
}

.card-back{
    transform: rotateY(180deg);
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    

}
.card-back h3 {
    
    padding:1rem 1rem 0 1rem;

}

.card-back ul {
    padding-left: 2rem; 
    font-family: var(--codeNext);
}


.timeLineHex{
    /* width: 100px; */
    height: 100px;
    background: radial-gradient(#491281, #aa01ff74);
    /* border-radius: 50%; */
    aspect-ratio: cos(30deg);
    clip-path: polygon(-50% 50%,50% 100%,150% 50%,50% 0);
    position: absolute;
    animation: move-up6 2s ease-in infinite alternate-reverse;
    z-index: -2;

}

.timeLineHex:nth-child(1) {
    top: -25px;
    left: -25px;
    }

.timeLineHex:nth-child(2) {
    bottom: -25px;
    right: -25px;
    animation-name: move-down1;
}

.pulsingButton {
    position: absolute;
    text-align: center;
    white-space: nowrap;
    display: block;
    margin: 50px auto;
    padding: 10px;
    box-shadow: 0 0 0 0 rgba(73, 18, 129, .3);
    border-radius: 50%;
    background-color: var(--mainCol);
    opacity: .8;
    -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    font-size: .8rem;
    /* font-weight: normal; */
    font-family: 'AquireLight';
    /* text-decoration: none !important; */
    color: #ffffff;
    transition: all 300ms ease-in-out;
    z-index: 9999;
  }

  .pButton {
    top: 40%;
    cursor: pointer;
    right:15px;
    width: 50px;
  }

  .pClick {
    display: none;
    bottom:15%;
    left:10%;
  }

@keyframes move-up6 {
    to {
        transform: translateY(-10px);
    }
}

@keyframes move-down1 {
    to {
        transform: translateY(10px);
    }
}
                                                                                              
@keyframes pulsing {
    to {
      box-shadow: 0 0 0 30px rgba(232, 76, 61, 0);
    }
  }                                                                        
                                                                                              
                                                                                                                                                                                            


                                                                            /* CONTACT  */

.socials {
    display: flex;
    justify-content: center;
}
.socialLinks {
    display: flex;
    list-style: none;

}
.socialLinks img{
    max-width: 40px;
    margin: 1.5rem;
}




                                                                        /*MEDIA QUERIES */







@media screen and (max-width: 1340px)
{
    nav >ul {
        display:flex;
        width: 30px;
        writing-mode: vertical-lr;
        flex-direction: row;
        gap:30px;
        justify-content: space-around;
        align-items: flex-start;
        text-wrap: nowrap;
        /* top: -10vh; */
        bottom: -280px;
        
    }
    /* nav > ul > li {
        width: 70px;
    } */
  
    .nameHeader{
        margin: 0 0 5rem 1.2rem ;
        /* margin-bottom:5rem ; */
        text-align:center
    }
    .tripSec, section{
        display:flex;
        /* align-items: flex-start; */
        flex-direction:column;
        position: relative;
        min-height:100dvh;
        margin: 1em 0 1em 0;
        white-space: normal;
        /* display:inline-block; */

    }
    .tripSec1,.portfolioLeft{
        display: flex;
        justify-content: flex-start;
        min-height: 1px;
        min-width:100dvw;
       /* align-items: flex-start; */
        position:relative;
        z-index: 98;
        pointer-events:none;
    }
    .tripSec2{
        max-width: 690px;
    }
    .tripSec3{
        height:50px;
        display: none;
        position:relative;
    }
    .portfolioLeft, .timeLineLeft, .contactLeft{
        position: sticky;
        padding: 0;
        left:-5px;
        top:50dvh;
    }
    #portTitleCont, #timeTitleCont, #contactTitleCont{
        position: absolute;
        left: 0;
        height:50px;
        visibility: hidden;

    }
    #portTitleSM,#timeLineTitleSM,#contactTitleSM{
        visibility: visible;
        display: block;
        position: sticky;
        /* top:50%; */
        padding:.3em;
        margin-top: 2rem;
        writing-mode: vertical-lr;
        font-size: .8em;
        /* top: 50dvh; */
        left: 15px;
        rotate: -180deg;
    }

    .portMid,.timeLineMid{
        top:-150px;
    }
    .hexModalContainer, #portfilio{
        /* visibility: hidden; */
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        width: 100vw;
        overflow: hidden;
    }
    .hexModal{
        position:static;
        font-size: .8em;
        top:1%;
    }

    .cardContainer {
        max-width: 40dvw;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: -5rem;
        background-color: #fffaf0;
        box-shadow: none;
        overflow: hidden;
     }
    
    .card {
        transform: translatex(100px);
        opacity:0;
    }
    .showCard {
        transform: translateX(0);
        opacity:1;
    }
    .pButton {
        display: none;
    }
    .pClick {
        display: block;
    }
}

@media screen and (max-width: 690px) {
    .hive{
        max-width: 570px;
    }
    .cardContainer {
       min-width: 300px;
       overflow: hidden;
       background-color: #fffaf0;
       box-shadow: none;

    }
    /* .card {
        transform: translatex(100px);
        opacity:0;
    }
    .showCard {
        transform: translateX(0);
        opacity:1;
    } */
    .tripsec1 {
        pointer-events: none;
    }
}

@media screen and (max-width: 550px)
{
    .intro{
        background-image: url('../img/hexBg.png');
        background-position: center center;
        /* flex-grow: 1; */
        background-repeat: no-repeat;
        background-size: cover;
        min-height: 100%;
        min-width:100%;
        position:relative;
        z-index: 3;
        margin-top: 0;
    }
    .intro::after{
        font-size: 3em;
    }
    .intro-words-2{
        position:absolute;
        flex-direction: column;
        justify-self: center;
    }
    #portTitleSM,#timeLineTitleSM,#contactTitleSM{
        left:0;
        padding: 1rem 0.3rem ;
        margin:0;
        backdrop-filter: blur(10px);
        border-radius: 50px;

    }
    .hexModalTitle {
        margin-top: 7em;
    }
    .hexModalContent{
        margin-top: 2rem;
    }
    .links button {
        padding:.5em
    }
}


/* @media (max-width: 550px) and (max-width:825px)
{

}
@media (max-width: 550px) and (max-width:825px)
{
 
}
@media (max-width: 1100px)
{

} */ 

nav ul li a.active-link {
    color: #ff0000;
  }