
@import url('fonts/Switzer/WEB/css/switzer.css');
@import url('fonts/Satoshi/WEB/css/satoshi.css');

.hide{
    display:none
}

:root{
    --color-primary: #D500F9;
    --color-secondary: #D9D9D9;
    --color-white: #F3E5F5;
    --color-bg: #242424;
    --color-bg-light: #313131;
    --color-shadow: #171717;
    --color-primary-shadow: #5f2d68;

    --header-h: 25px;
    --section-x-margin: 5rem;
    --section-y-margin: 4rem;
}

/* width */
::-webkit-scrollbar {
  width: 20px;
}

/* Track */
::-webkit-scrollbar-track {
  background-color: transparent; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--color-bg-light); 
    border-radius: 20px;
    border: 6px solid transparent;
    background-clip: content-box;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--color-shadow); 
  border: 6px solid transparent;
  background-clip: content-box;
}

::-moz-selection { /* Code for Firefox */
    color: var(--color-white);
    background: var(--color-primary);
  }
  
  ::selection {
    color: var(--color-white);
    background: var(--color-primary);
  }


body {
    margin: 0;
    color: var(--color-white);
    font-family: Satoshi-Variable, sans-serif;
    background-color: var(--color-bg);
    cursor: url('../img/cursor.svg'), default;
}

/* add a pointer for every 'pointable' element */
a, button, input, textarea, .work-content {
    cursor: url('../img/pointer.svg'), pointer;
}

a {
    color: var(--color-primary);
}

p{
    /* a changer */
    font-size: 1.5rem; 
    font-weight: 500;
    line-height: 110%;
    margin: 0 0 0.7rem 0;
}

h1, h2, h3, h4 {
    font-family: Switzer-Variable, sans-serif;
    margin: 0;
}

footer{
    text-align: center;
    background: var(--color-bg-light);
    height: 10vh;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
footer p{
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}
footer .outside-links{
    display: flex;
    gap: 1rem;
}
footer .outside-links a{
    text-decoration: none;
}

.separator{
    border-top: 1px solid var(--color-white);
    width: 80%;
    margin: 0 0;
}

.btn{
    padding: 0.5rem 1rem;
    background: var(--color-bg-light);
    filter: drop-shadow(0px 4px 7px var(--color-shadow));
    border: none;
    border-radius: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
}
.btn-primary{
    background: var(--color-primary);
    filter: drop-shadow(0px 4px 7px var(--color-shadow));
    color: var(--color-bg);
    transition: all 0.2s ease-out;
}
.btn-primary:hover{
    filter: drop-shadow(0px 4px 7px var(--color-primary-shadow));
}

.title {
    font-size: 10vw;
    font-weight: 900;
}

.subtitle {
    margin-left: 0.5rem;
    color: var(--color-white);
    font-size: 7.5vw;
    font-weight: 400;
    height: 18vh;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.typewrite{
    text-decoration: underline var(--color-primary);
    font-weight: 700;
}

.hero {
    padding: 25vh 5vw 3vh 11vw;
    background-image: url('../img/Hero.png');
    background-size: cover;
    background-position: center;
    height: 80vh;
    outline: var(--color-primary) 2px solid;
    border-radius: 0 0 4rem 4rem;
}

.section{
    margin: var(--section-y-margin) var(--section-x-margin);
    display: inline-block;
}

.bento{
    margin-bottom: calc( 3 * var(--section-y-margin));
}
.bento-cell-title{
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.section-title{
    font-size: 4rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
}
.work-content{
    display: flex;
    gap: 1rem;
    padding: 0 0 1rem 0;
}
.work-content .indent{
    margin: 0 1rem;
    border-bottom: var(--color-white) 1px solid;
    width: 3rem;
    height: 2rem;
}
.work-content .text{
    width: 50vw;
    padding-right: 29vw;
}

.work-content .work-title{
    font-size: 2.8rem;
    font-weight: 500;
    letter-spacing: .2em;
    margin: 0 0 0.5rem 0;
}
.work-content .btn{
    margin-left:auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    gap: 1.5rem 1rem;
    height: 54rem;
}

.bento-cell{
    border-radius: 1rem;
    filter: drop-shadow(0px 4px 7px var(--color-shadow));
    padding: 1.6vw 1.2vw;
}
   
/* AI */
.bento1 { 
    grid-area: 1 / 1 / 4 / 4; 
    background-image: url('../img/AI_background.png');
    background-size: cover;
    background-position: center;
}
.ai-separator{
    margin: 2rem 3rem;
    border-left: 2px dotted var(--color-primary);
    height: 60%;
    height: 60vh;
}

/* Logo */
.bento2 { 
    grid-area: 1 / 4 / 2 / 7;
    background-image: url('../img/round_icon.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
}

/* BUILD */
.bento3 { 
    grid-area: 1 / 7 / 2 / 13; 
    background: var(--color-bg-light);
    position: relative;
}
.bento3 button{
    position: absolute;
    bottom: 1.6vw;
    right: 1.2vw;
}

/* DESIGN */
.bento4 { 
    grid-area: 2 / 4 / 3 / 10; 
    background: var(--color-bg-light);
    position: relative;
}
.bento4 button{
    position: absolute;
    bottom: 1.6vw;
    right: 1.2vw;
}
.bento4 .figma-icon{
    position: absolute;
    top: 1.6vw;
    right: 1.2vw;
    height: 5rem;
    width: auto;
}

/* About me */
.bento5 { 
    grid-area: 2 / 10 / 3 / 13; 
    background: var(--color-bg-light);
    border: var(--color-primary) 2px solid;
}

/* Bold */
.bento6 { 
    grid-area: 3 / 4 / 4 / 7; 
    color: var(--color-bg);
    background: var(--color-primary);
}

.bold-header{
    font-size: 8rem;
    font-weight: 900;
}

/* CREATE */
.bento7 { 
    grid-area: 3 / 7 / 4 / 13; 
    background-image: url('../img/Megamandra.png');
    background-size: cover;
    background-position: center;
    position: relative;
}
.bento7 button{
    position: absolute;
    transform: rotate(90deg);
    bottom: -10%;
    right: -1.4vw;
}

.icon{
    height: 3rem;
    width: auto;
    position: absolute;
    z-index: 10;
    /* top: 1.7vh; */
    top: 1vh;
    left: 50%;
    transform: translate(-50%, 0);
}

.lang-selector{
    background: none;
    border: none;
    text-decoration: underline;
    font-size: 1rem;

    color: var(--color-secondary);
    font-weight: 500;
}

header{
    padding: 3vh 5.5vw 3vh 5.5vw;
    position: absolute;
    top: 0;
    height:var(--header-h);
    /*noinspection CssInvalidPropertyValue*/
    width: -webkit-fill-available;
    width: -moz-available;
    display: flex;
    justify-content: space-between;
    align-items: center;

    color: var(--color-secondary);
    font-weight: 500;

    transition: top 0.2s ease-in-out;
}

.nav-up {
    top: calc((var(--header-h) * -1) - 7vh);
}

header div{
    display: inherit;
}

.scroll-down{
    display: flex;
    justify-content: center;
}

/* This is for the img on hover animation */
.cursor {
    position: fixed;
    top: 0;
    right: 3rem;
    min-height: 14rem;
    height: 17vw;
    max-height: 18rem;
    aspect-ratio: 480/270;
    pointer-events: none;
    opacity: 0;
}
.cursor-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s;
}
.cursor-media.active {
    opacity: 1;   
}
.cursor-trigger {
    position: relative;
}
/* This is for the img on hover animation */

@media screen and (max-width : 570px) {

}

@media screen and (max-width : 430px) {

}