@font-face {
    font-family: "Apfel Grotezk Regular";
    font-weight: normal;
    src: url(fonts/ApfelGrotezk-Regular.woff) format("woff");
  }

@font-face {
font-family: "Apfel Grotezk Mittel";
font-weight: medium;
src: url(fonts/ApfelGrotezk-Mittel.woff) format("woff");
}

@font-face {
    font-family: "Apfel Grotezk Fett";
    font-weight: bold;
    src: url(fonts/ApfelGrotezk-Fett.woff) format("woff");
}

@font-face {
    font-family: "Apfel Grotezk Satt";
    font-weight: black;
    src: url(fonts/ApfelGrotezk-Satt.woff) format("woff");
 }


@media screen and (min-width: 1024px){
:root{
    font-size: 20px;
}
}

@media screen and (max-width: 1024px){
:root{
    font-size: 16px;
}
}

body{
    margin:0;
    scroll-behavior: smooth;
    font-family: Apfel Grotezk Regular;
    font-weight: normal;
    letter-spacing: 0.6px;
    scrollbar-color:  var(--bg-rad-3) rgba(0,0,0,.25);
    scrollbar-width: thin;
    /* --bg-solid: rgb(126, 0, 0);
    --bg-rad-1: rgb(102, 255, 0);
    --bg-rad-2: rgb(0, 126, 175);
    --bg-rad-3: rgb(252, 0, 105); */
    /* scroll-snap-type: both proximity; */
}

h1{
    letter-spacing: 0.8px;
}

h1,h2,h3,h4,h5,p{
    line-height: 1.1;
    margin: 1rem 0;
}

a{
    color: unset;
}

/*PALETAS CUSTOM*/

body{
    --bg-solid: hsl(329, 100%, 90%);
    --bg-rad-1: hsl(90, 100%, 70%);
    --bg-rad-2: hsl(51, 100%, 77%);
    --bg-rad-3: hsl(337, 100%, 74%);
}

body:has(#intro.paleta-ativa), body:has(#question.paleta-ativa){
    --bg-solid: hsl(329, 100%, 89%);
    --bg-rad-1: hsl(90, 100%, 70%);
    --bg-rad-2: hsl(51, 100%, 77%);
    --bg-rad-3: hsl(337, 100%, 74%);
}
body:has(#meet.paleta-ativa){
    --bg-solid: hsl(349, 100%, 82%);
    --bg-rad-1: hsl(49, 100%, 70%);
    --bg-rad-2: hsl(49, 100%, 77%);
    --bg-rad-3: hsl(313, 100%, 62%);
}

body:has(#stylist.paleta-ativa){
    --bg-solid: #EF009E;
    --bg-rad-1: #FFF;
    --bg-rad-2: #FFCCCC;
    --bg-rad-3: #920072;
}

body:has(#pshop.paleta-ativa){
    --bg-solid: #eb9cff;
    --bg-rad-1: #b6b6b6;
    --bg-rad-2: #c56dbe;
    --bg-rad-3: #fff;
}

body:has(#sorvete.paleta-ativa){
    --bg-solid: #FFCECE;
    --bg-rad-1: #d6aaff;
    --bg-rad-2: #fda0c4;
    --bg-rad-3: #FFFFCE;
}

body:has(#clouds.paleta-ativa){
    --bg-solid: #ff75da;
    --bg-rad-1: #fff;
    --bg-rad-2: #ffe2ff;
    --bg-rad-3: #FF9CE7;
}

body:has(#phone.paleta-ativa){
    --bg-solid: #D10EA0;
    --bg-rad-1: #FF189C;
    --bg-rad-2: #FFCCF3;
    --bg-rad-3: #ffffcc;
}

body:has(#kitchen.paleta-ativa){
    --bg-solid: #e0ffff;
    --bg-rad-1: #0042FF;
    --bg-rad-2: #fa7272;
    --bg-rad-3: #ffc400;
}

body:has(#fadas.paleta-ativa){
    --bg-solid: #fd70da;
    --bg-rad-1: #00e713;
    --bg-rad-2: #008b35;
    --bg-rad-3: #97ff77;
}

body:has(#pixelworld.paleta-ativa){
    --bg-solid: #4AFFCE;
    --bg-rad-1: #00CECE;
    --bg-rad-2: #FF99E6;
    --bg-rad-3: #EF00B3;
}

body:has(#glitch.paleta-ativa){
    --bg-solid: #fefefe;
    --bg-rad-1: #bf93e0;
    --bg-rad-2: #FF9213;
    --bg-rad-3: #cbff94;
}

body:has(#propaganda.paleta-ativa){
    --bg-solid: #B3E2F6;
    --bg-rad-1: #CBB7FE;
    --bg-rad-2: #FFFEC5;
    --bg-rad-3: #FFB3AC;
}

body:has(#datamosh.paleta-ativa){
    --bg-solid: #8395ff;
    --bg-rad-1: #ffaa71;
    --bg-rad-2: #f1ae61;
    --bg-rad-3: #686868;
}

body:has(#ring.paleta-ativa){
    --bg-solid: #f5be72;
    --bg-rad-1: #88827d;
    --bg-rad-2: #ffffff98;
    --bg-rad-3: #51ABFF;
}

body:has(#final.paleta-ativa){
    --bg-solid: #bf0ce3;
    --bg-rad-1: #F0A8FF;
    --bg-rad-2: #ffffff8a;
    --bg-rad-3: #fdfdfd;
}
/*    --mag-pastel: #F0A8FF;
    --mag-dark: #bf0ce3;
    --mag-offblack: #2B0033;
    --offwhite: #FDFDFD;*/
body:has(#otro.paleta-ativa){
    --bg-solid: hsl(305, 21%, 67%);
    --bg-rad-1: hsl(96, 100%, 50%);
    --bg-rad-2: hsl(197, 100%, 34%);
    --bg-rad-3: hsl(335, 100%, 49%);
}

.medium{
    font-family: Apfel Grotezk Mittel;
}

.bold{
    font-family: Apfel Grotezk Fett;
}

.black{
    font-family: Apfel Grotezk Satt;
}

#container {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    width:100vw;
    height: 100dvh;
    /* scroll-snap-type: x proximity; */
    background-color:var(--bg-solid);
    background-image:
    radial-gradient(at 0% 41%, var(--bg-rad-1) 0px, transparent 50%),
    radial-gradient(at 62% 88%, var(--bg-rad-2) 0px, transparent 50%),
    radial-gradient(at 90% 12%, var(--bg-rad-3) 0px, transparent 50%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 200% 100%;
    transition: .5s ease-out;
    animation-name: none;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
  }

  @keyframes scrollsmooth{
    0%{
        scroll-behavior: smooth;
    }
    100%{
        scroll-behavior: auto;
    }
  }
  
.window{
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
    margin: 2rem 1rem;
    transition: .6s ease;
}

/* .wrapper-obra{
    transition: 0.3s ease !important;
    transform: scale(.9);
}

.paleta-ativa .wrapper-obra{
    transform: scale(1);
} */
 
@media screen and (max-width: 1024px){
    .overflowy{
    overflow-y: scroll;
    }
    .wrapper-obra{
        height: fit-content !important;
        margin: auto 1rem !important;
    }
}

@media screen and (max-height: 500px) {
    .overflowy .centralizado{
        padding-top: 10rem;
    }
}

.tela{
    min-width: 1000px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-left: 0;
    display: flex;
    align-items: center;
    position: relative;
}

.ghost-id{
    position: absolute;
    width: 100vw;
    top: 50%;
    left: 50%;
    z-index: 500;
    transform: translate(-50%, -50%);
}

.tela.fullwidth{
    min-width: 100vw;
}

.conteudo{
    margin: 1rem;
    padding: 1rem;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    width: -moz-available;
    height: initial;
}

.centralizado{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    align-items: center;
}

.grandão{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    align-items: center;
}

.grandão h1{
    font-size: 3.5rem;
}
.grandão h2{
    font-size: 1.75rem
}

.swipe-hint{
    position: fixed;
    bottom: 1rem;
    right: -6.5rem;
    padding: 0.5rem;
    margin: 0;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    gap: 10px;
    align-items: center;
    transition-delay: 0.1s;
}

.swipe-hint h4{
    margin: 0;
}

body:has(#intro.paleta-ativa) .swipe-hint{
    right: 0;
}

.colunas-meet {
	display: grid;
	grid-template-columns: 1fr 3fr;
	gap: 1rem;
    align-items: center;
}

.colunas-meet img{
    width: 100%;
    margin: 0;
}

.colunas-meet div{
    height: fit-content;
}

.infos-obra {
	margin-top: 1rem;
}

.infos-obra * {
	margin: 6px auto;
}

.link-small a{
    font-size: 0.8rem;
}

.obra{
    background: transparent;
    aspect-ratio: 4 /3;
    border-radius: 4px;
    max-height: 480px;
    overflow: hidden;
}

@media screen and (max-width: 800px) {
    .obra{
        max-height: 50vh;
    }
}

.obra img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    margin-bottom: -5px;
}

.obra video{
    width: 100%;
}

.pixelated{
    image-rendering: pixelated;
}

.expansible{
    cursor: pointer;
}

body:not(:has(#intro.paleta-ativa, #question.paleta-ativa))
 > .links-telas{
    bottom: 0;
    transition-delay: 0.1s;
}
.links-telas{
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: -3rem;
    width: fit-content;
    display: flex;
    justify-content: center;
    gap: 22px;
    transition: .6s ease;
}

.links-telas a{
    color: black;
    font-size: 0.875rem;
    text-decoration: none;
    display: flex;
    background-color: rgba(255,255,255,0.7);
    box-shadow: 2px 2px 4px rgba(0,0,0,.25);
    padding: 10px;
    border-radius: 8px 8px 0 0;
    line-height: 1;
    transition: 0.3s ease;
    animation-name: some-intro;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
}

@keyframes some-intro {
    0%{
        opacity: 0;
    }
    99%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

.links-telas a:hover{
    background-color: rgba(0,0,0,.7);
    color: white;
}

.wrapper-lightbox{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: center;
    display: none;
    transition: .3s ease;
}

.wrapper-lightbox img{
    margin: 0;
}

.wrapper-lightbox .window {
	background: transparent;
}

.lightbox-backdrop{
    position: absolute;
    background-color: rgba(0,0,0,.5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    cursor: pointer;
}

.wrapper-lightbox img{
    --padding-lightbox: 4rem;
max-height: calc(100vh - var(--padding-lightbox));
max-width: calc(100vw - var(--padding-lightbox));
}

@media screen and (max-width: 720px) {
    .colunas-meet {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .colunas-meet img{
        width: 40%;
    }
}

@media screen and (min-width: 1440px) {
   #question{
    min-width: 1400px;
   } 
}


@media screen and (min-width: 1024px){
    .recuoleft{
    margin-left: 20%;
    }
    #container{
        gap: 5rem;
    }
}

@media screen and (max-width: 1048px){
    .tela{
        min-width: 100vw;
    }
}
@media (pointer: coarse) { /*SEM MOUSE*/
    #container {
        scroll-snap-type: x mandatory;
    }
    .desk-only{
        display: none;
    }
    .mob-only, .swipe-hint{
        display: flex;
    }
    .overflowy{
        scrollbar-color: auto !important;
    }
  }

  @media screen and (pointer: fine) { /*COM MOUSE*/
    .desk-only{
        display: flex;
    }
    .mob-only, .swipe-hint{
        display: none;
    }
    .obra{
        margin: 24px;
    }
    .overflowy{
        scrollbar-color: transparent transparent;
    }
    .links-telas a{
        backdrop-filter: blur(5px);
    }
    
  }

  /*EXCEÇÕES MEDIA*/
@media screen and (min-width:1024px) {
    #datamosh .obra{
    aspect-ratio: 1 !important;
  } 
  #datamosh img{
    object-position: bottom;
  }
}

@media screen and (max-width: 480px) {
    #datamosh .obra{
        width: 100%;
    }
    #datamosh img{
        object-position: bottom;
      }
}

#pshop img{
    filter: drop-shadow(2px 3px 2px rgba(0,0,0,0.25));
}
 