@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/*CSS rules to specify families

font-family: 'Space Grotesk', sans-serif;
font-family: 'Space Mono', monospace;*/

:root {
    --light1: rgba(75, 0, 255, 0.05);
    --light2: rgba(99, 67, 173, 0.222);
    --light3: rgb(255, 255, 255);
    --light4: rgba(246, 242, 255, 1);


    --sat1: rgba(75, 0, 255, 1);

    --dark1: #383838;
    --dark2: #424242;
}

.purple {
    color: var(--sat1);
}

.show{
    opacity: 1;
    visibility: visible;
}

/*  //////////////////////////////////////////////////// */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html{
        background: var(--light1);
}
html, body {

    min-height: calc(var(--vh) * 100);
    overflow: hidden;  
    scrollbar-width: none;  /* Firefox */

}
html::-webkit-scrollbar {
    display: none;

}

body::-webkit-scrollbar {
    display: none;
}


body {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 150%;
    scroll-behavior: smooth;
    color: var(--dark2)
}

div.container {
    width: 100%;
    min-height: 100%;
    flex-direction:column;
    display: flex;
    overflow: hidden;
}

div.content{
    display:flex;
    flex-direction:column;
    min-height: calc(var(--vh) * 80);
}

/* ///////////////      HEADER      /////////////// */

header {
    /*padding:1em;*/
    width: 100%;
    display:flex;
    justify-content: center;
    min-height: calc(var(--vh) * 10);
    max-height: calc(var(--vh) * 10);
}

#logo {
    width: 10%;
    margin: 0 auto;
}

#logo a img{
    width: 100%;
    height: 100%;
}


/* ///////////////      NAV      /////////////// */

nav{
    width:100%;
    display: flex;
    justify-content:space-around;
    order:3;
    min-height: calc(var(--vh) * 10);
}

nav button.tablink{
    cursor:pointer;
    background:none;
    border:1px solid var(--light2);
    border-radius:10px;
    transition: 0.222s cubic-bezier(0.075, 0.82, 0.165, 1);
    overflow:none;
    margin: 0 1em;
    max-width: 25%;
    min-width: 20%;

}
nav button.tablink:hover:not(.active){
    background-color: var(--light2);
    transform: scale(110%);
    font-style: none;
    z-index: 2;
}

nav button.tablink:hover p{ color:var(--sat1); }

nav button.tablink:active {
    background-color: var(--light1);
    border: none;
    transform: scale(90%);
}

nav button.tablink.active{
    background-color: var(--light2);
}

nav button.tablink svg{
    min-width:19%;
    max-width: 20%;
    margin:0 auto;
    fill:var(--sat1); 
    pointer-events:none;
}

nav button.tablink p{
    font-size: 0.8em;
    color:var(--dark2)
}



/* ///////////////      MAIN      /////////////// */

div.page-container{
    display:flex;

}

section.tabcontent {
    width: 100%;
    min-height: calc(var(--vh) * 78);
    max-height: calc(var(--vh) * 78);

}

/* :::::::: #HOME :::::::: */

#home {
    align-items: center;
    justify-content: center;
    overflow:hidden;
    display:flex;
}

#home h1 {
    font-size: 2em;
    margin: 0 auto;
    width: 80%;
    text-align: center;
}

#home video {
    position: fixed;
    object-fit: fill;
    object-position: center;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -99;
    overflow: hidden;
    -webkit-filter: blur(100vh);
    -moz-filter: blur(100vh);
    -o-filter: blur(100vh);
    -ms-filter: blur(100vh);
    filter: blur(100vh);
}

/* :::::::: #ABOUT ME :::::::: */
#aboutMe {
    width: 100%;
    flex-direction: row;
    overflow:scroll;
    scrollbar-width: none;  /* Firefox */
    align-items:center;
}
#aboutMe::-webkit-scrollbar {
    display: none;
}


#aboutMe article {
    min-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin:0 10%;
    font-size: calc(var(--vh)*3);
}


article.about1 img {
    max-width: 80%;
    margin: 0 0 2em 0;
    display: block;
    border-radius: 20px;
}

article.about2 {
    margin: 0 5em 0 0;
}

.highlight {
    font-family: 'Space Mono', monospace;
    font-size: 2em;
    font-style: italic;
}

/* :::::::: #PORTFOLIO :::::::: */

/* nav */

div.portfolio-menu {
    display: flex;
    justify-content: space-around;

    
}

div.portfolio-menu button {
    border: 0.5px solid var(--light2);
    border-radius: 5px;
    padding: 10px 20px;
    font-size: calc(var(--vh)*1.5);
    background: none;
    color: var(--dark2);
    transition: 0.333s cubic-bezier(0.075, 0.82, 0.165, 1);
    height:5vh;
}

div.portfolio-menu button:hover:not(.active-portfolio) {
    background: var(--sat1);
    color: var(--light3);
    cursor: pointer;
    transform: scale(1.05);
    margin: 0 1.2em;
}

div.portfolio-menu button.active-portfolio {
    background: var(--sat1);
    color: var(--light3);
}

.portfolio-link:active:not(.active-portfolio){
    background: var(--dark1);
    color: var(--light3);
    cursor: pointer;
    transform: scale(1);
    margin: 0 1.2em;
}

.portfolio-link:first-child{
    margin-right:1em;
}

#artworks{
    display:flex;
    height:100%;
    align-items: center;
}

/* CARDS */
#portfolio {
    width: 100%;
    flex-direction: column;
    justify-content:space-around;
}

div.cards-container::-webkit-scrollbar {
    display: none;
    scrollbar-width: none;  /* Firefox */
}

div.cards-container {
    display:none;
    flex-direction: row;
    overflow-x: scroll;
    scrollbar-width:none;
}

a.card {
    min-height: calc(var(--vh) * 70);
    border: var(--light2) solid 1px;
    border-radius: 20px;
    min-width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow:hidden;
    transition:5s;
    margin:0 1em;
    text-decoration: none;
    background-position: center;
    background-size: cover;
}

a.card:hover{
    filter:brightness(1.1)
    hue-rotate(1turn) ;
    -webkit-box-shadow: 0px 18px 29px -6px rgba(75,0,255,0.1); 
    box-shadow: 0px 18px 29px -6px rgba(75,0,255,0.1);

}


.cardText {
    padding: 20px;
    color:var(--light3);
    text-align: left;
}

a.end{
    margin-right:3em;
}

/* CONTENT */

article.panel {
	overflow: hidden;
	max-width: 0;
	transition: max-height 0.222s ease-out;
}
div.panel-header{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}

/* :::::::: #Contact :::::::: */

article.contact{

    display:flex;
    flex-direction: column;
    justify-content: flex-start;
    margin:auto auto;
    font-size:calc(var(--vh)*3);
    width:70%;
}

article.contact a{
    display:block;
    text-decoration:none;
    color:var(--sat1);
    transition:0.222s cubic-bezier(0.075, 0.82, 0.165, 1);
    margin: 1em 0;
}

article.contact a:hover{
    background-color:var(--light2);
    padding:0.5em;
    border-radius: 10px;
}

a.mail::before{
    content: "" url("../img/icons/contact_btt.svg");
    display:inline-block;
    width:1em;
    height:1.2em;
    margin:0 0.3em 0 0;
    vertical-align:middle;
}

a.tel::before{
    content: "" url("../img/icons/phone_icon.svg");
    display:inline-block;
    width:1em;
    height:1.2em;
    margin:0 0.3em 0 0;
    vertical-align:middle;
}

div.social-links{
    width:100%;
    display:flex;
    justify-content:flex-start;
}
div.social-links a.ig{
    margin-right:2em;
}

a.ig::before{
    content: "" url("../img/icons/ig.svg");
    display:inline-block;
    width:1em;
    height:1.2em;
    margin:0 0.3em 0 0;
    vertical-align:middle;
   
}
a.behance::before{
    content: "" url("../img/icons/behance.svg");
    display:inline-block;
    width:1em;
    height:1.2em;
    margin:0 0.3em 0 0;
    vertical-align:middle;
}






/* /////////////// SCROLL BAR /////////////// */


.barContainer{
    width:100%;
    height:3px;
    position:fixed;
    top:0;
    left:0;
    z-index:999;

}

.bar{
    width:0;
    background: var(--sat1);
    height: 100%;
}


/* /////////////// MODAL  /////////////// */


div.modal {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width:100%;
    height:100%;
    overflow:hidden;
    display: none;
    padding:1em;
    transition: 0.222s ease;
    background: var(--light4);
    z-index: 99;
}
div.modal-header {
    width:100%;
    top: 2em;
    left: 2em;
}

div.imgModalCont{
    width:auto;
    max-height: 60vh;
  

}

.imgModal{
    display: block;
    max-width:100%;
    max-height:60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 0.5em;
    -webkit-box-shadow: 0px 18px 29px -6px rgba(75,0,255,0.14); 
    box-shadow: 0px 18px 29px -6px rgba(75,0,255,0.14);
    
}
.close {
    color: var(--dark1);
    top: 0;
    right: 35px;
    font-size: 2.5em;
    transition: 0.222s ease;
    border: none;
    background: none;
    cursor:pointer;
}

.close:hover {
    color: var(--sat1);
    cursor: pointer;
}


article.project-desc{
    display: flex;
    flex-direction: column;
    width:100%;
    margin:0 auto;

}

article.project-desc h5{
    font-size:0.5em;
    text-transform: uppercase;
    color:var(--sat1);
    margin:1em 0;
}

article.project-desc h4{
    color:var(--dark2);
    font-family: 'Space Mono', monospace;
    font-style: italic;
    font-weight: 300;
    font-size:1em;
    width:100%;
}


/* ///////////////      MEDIA QUERIES      /////////////// */


@media (min-width: 768px) { 
    
    #home h1{
        font-size: 4em;
    }


    #logo {
        width: 4%;
    }
    
    div.content{
        flex-direction:row;
        align-items:center;
        width:100%;
        overflow:hidden;
        max-height: calc(var(--vh)*90);
        min-height: calc(var(--vh)*90);
    }

    div.page-container{
        order:2;
        min-height:calc(var(--vh) * 85);
        max-height:100%;
        align-items: center;
        max-width: 94%;
        min-width:93%;
    }

    nav{
        flex-direction:column;
        min-height: calc(var(--vh) * 40);
        order:1;
        align-items: center;
        padding:0 0.2em;
        max-width: 10vh;
        min-width: 10vh;
        max-height: calc(var(--vh) * 40);

    }
    nav button.tablink{
        min-width:70%;
        max-width:70%;
        padding: calc(var(--vh)*1);
        min-height: calc(var(--vh)*6);
        max-height: calc(var(--vh)*10);
    }

    nav button.tablink p{
        visibility:hidden;
        display:none;
    }

    nav button.tablink svg{
        min-width:80%;
        max-width:80%;

    }

    section.tabcontent {
        width: 100%;
        min-height: calc(var(--vh) * 85);
        max-height: calc(var(--vh) * 85);
    }

    #aboutMe article{
        min-width:60%;
    }



    article.about1 img{
        max-width:50%;
    }

    div.portfolio-menu{
        justify-content: flex-end;
        margin: calc(var(--vh)*1) 0;
        max-width: 93%;

    }

    div.portfolio-menu .art-link{
        margin-right:2em;
        
    }

    #portfolio{
        justify-content:center;
    }

    #artworks{
       min-height: calc(var(--vh)*85);
    }

    a.card{
       min-width: 50%;
       min-height: calc(var(--vh)* 80);
    }

    article.project-desc{
        width:50%
    }
    article.contact {
        margin: auto 2em;
        width: 100%;
    }   

    article.contact p{
        width:50vh;
     
    }
 
}

/*
@media (min-width: 992px) { 
  

}
*/

@media (min-width: 1200px) { 
    
  
    #aboutMe article {
        height:80%;
        min-width:60%;
    }

    article.about2 p{
        font-size:1.5em;
    }

    article#about1{
        flex-direction: row;
        font-size: 200%;
        justify-content:space-around;
        align-items: center;
    }

    article.about1 img{
        max-width:60%;
        max-height: 60%;
        margin-right:2em;
      
    }
  

    div.img-container{
        max-height:100%;
    }

 }

@media (min-width: 1400px){
  #home{
      width:100%;
  }
 
 #home h1 {
  font-size: 5em;
  }

 
}



@media (min-width: 1600px){
    
    #logo {
        width: 4%;
    }

    #aboutMe article {
        height:80%;
        min-width:60%;

    }
    div.content-container{
        overflow-x:hidden;
    }

    div.img-container{
        width:75%;
        
    }
}
