@font-face {
    font-family: 'Helvana';
    src: url('../fonts/helvena/Helvena-Regular.otf');
}

header{
    background-color: #f5f5f5e1;
    mix-blend-mode: initial !important; 
    filter: none !important;
    transition: opacity 0.1s ease-in-out;ç
    
    
}

body{
    overflow: hidden;
    margin:0;
    padding: 0;
    cursor: url(../img/cursor/cursor.png), auto;
}
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;

    color: white;
    font-size: 0.8em;
    letter-spacing: 2%;
    font-weight: bold;
    /* color:rgb(255, 252, 75); */
    /* text-shadow: 
        -1px -1px 0 black,
         1px -1px 0 black,
        -1px  1px 0 black,
         1px  1px 0 black; */


    transform: translate(-50%, -50%);
    z-index: 100;
    transition: all 0.2s ease-out;
    font-family: 'Helvana';
}
#custom-cursor span{
    font-family: Arial, Helvetica, sans-serif;
}
img {
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
}

#gallery {
    user-select: none;
    touch-action: none;
}

#gallery-hint {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 1000;
    width: fit-content;
    height: auto;
    max-width: calc(100% - 40px);
    box-sizing: border-box;
    margin: 0;
    padding: 4px 8px;
    background-color: #F9FF3E;
    color: #383838;
    font-family: 'Helvena-Medium';
    font-size: 0.8em;
    line-height: 1.2;
    text-align: center;
    pointer-events: none;
}


#gallery{
    width: calc(var(--gallery-tile-width, 200vh) * var(--gallery-columns, 3));
    height: calc(var(--gallery-tile-height, 100vh) * var(--gallery-rows, 3));
    transform: translate(
        calc(-1 * var(--gallery-tile-width, 200vh)),
        calc(-1 * var(--gallery-tile-height, 100vh))
    );
}

.photos_gallery{
    flex: 0 0 var(--gallery-tile-width, 200vh);
    width: var(--gallery-tile-width, 200vh);
    height: var(--gallery-tile-height, 100vh);
    display: flex;
    flex-direction: column;
}

.photos_gallery_container{
    width: 100%;
    height: var(--gallery-tile-height, 100vh);
    display: flex;
    flex-direction: row;
}

.linea{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 50%;
}

.yellow{
    background-color: yellow;
}
.pink{
    background-color: rgb(255, 0, 174);
}
.red{
    background-color: rgb(255, 0, 0);
}

.blue{
    background-color: rgb(8, 0, 255);
}

.photo{
    width: 25%;
    height: 100%;
    position: relative;
}

.photo img{
    padding:30px;
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    object-fit: contain;
    transition: all 0.5s ease-in-out;
    position: absolute;
}


.photo:hover .photo_tittle{
    display: initial;
    color:#ffff3a;
    font-size: 2.1em;
    text-align: left;
    margin: 20px;
    width: calc(100% - 104px);
}

.photo .photo_tittle {
    position: absolute;
    bottom: 30px;
    left: 30px;
    padding: 2px;
    color: #ffff3a;
    font-weight: bold;
    z-index: 90;
    font-family: 'Helvana';
    display: none;
}

.photo img {
    transition: transform 0.1s;
}



#gallery{
    background-color: #f5f5f5
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;

    background-image: url("noise.png");
    background-size: 400px;
    opacity: 0.12;

    animation: noiseMove 0.1s infinite;
}

@keyframes noiseMove {
    0% { transform: translate(0,0); }
    25% { transform: translate(-1%, 1%); }
    50% { transform: translate(1%, -1%); }
    75% { transform: translate(-1%, -1%); }
    100% { transform: translate(0,0); }
}
