@font-face {
    font-family: 'typewriter';
    src: url('../general/fonts/dehinted-AmericanTypewriter.woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}@font-face {
    font-family: 'franklin gothic heavy';
    src: url('../general/fonts/FRAHV.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'rockwell';
    src: url('../general/fonts/ROCK.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'frankin gothic condensed';
    src: url('../general/fonts/Franklin\ Gothic\ Condensed.woff2');
    font-weight: normal;
    font-display: swap;
}
/* 1) Calque orange fixe derrière tout le contenu */
html::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #ea5239;
  z-index: -1;
}

/* 2) Plus de tap-highlight / callout blanc */
* {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
}

/* 3) Conserver l’orange même en :active */
.image, .maintext {
  background-color: #ea5239 !important;
}
.image:active,
.maintext:active {
  background-color: #ea5239 !important;
}

/* 4) Gérer la safe-area pour éviter tout fond blanc sous le dock */
body {
  padding-bottom: env(safe-area-inset-bottom);
}

body{
    background-color: #ea5239;
   height: 80vh;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.barrenav{
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: end;
    gap: 40px;
    position: fixed;
    right: 1vw;
    top: 5vh;	
}
.langswitch{
    background-color: transparent;
    display: flex;
    flex-direction: column;
    gap: 0;
    font-family: 'rockwell';
    font-size: clamp( 0.1rem, 1vw, 2rem);
}
.langswitch a.active {
  font-weight: bold;
  pointer-events: none;
}
.langswitch a:hover:not(.active) {
text-decoration: underline;
}

h1{
    color: black;
    font-size:3.5vw;
    font-family: 'franklin gothic heavy', sans-serif;
    margin-top: 2vh;
    margin-left: 2vw;
    left: 00;
    top: 0;
    position: fixed;
    z-index: 1;
}
h2{
    color: black;
    font-size: clamp( 0.1rem, 2vw, 3rem);
    font-family: 'rockwell';
}
h3{
    color: black;
    font-size: clamp( 0.1rem, 2vw, 3rem);
    font-family: 'rockwell';
}
a{
    text-decoration: none;  /* Enlève le soulignement */
    color: inherit;         /* Utilise la couleur du texte parent (comme un texte normal) */
    cursor: pointer;       /* Garder la main au survol (si tu veux que ce soit cliquable) */
  }
a:focus {
    outline: none;          /* Enlève le contour de focus */
}  
a:hover {
    color: inherit;         /* Garde la même couleur au survol */
    text-decoration: none;  /* Pas de soulignement au survol */
}
.maincontainer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 70%;
    height: 30vh;
    margin: 0 auto;
    margin-top: 20vh;
    margin-left: 19vw;
    
}

.architecture{
    font-family: 'frankin gothic condensed';
    font-size: larger;
    display: flex;
    flex-direction: column;
    height: 30vh;
    width: 30vh;
    overflow: scroll;
        scrollbar-width: thin;
        scrollbar-color: transparent transparent;
    align-items: right;
}
.architectureitem{
margin: 0 0 25px 0;
color: black;
}
.architectureitem:hover{
    color: black;
}
.architectureitem:visited{
    color: black;
    

}
.architectureitem:focus{
outline: none;
}
.artwork{
    font-family: 'frankin gothic condensed';
    font-size: larger;
    display: flex;
    flex-direction: column;
    height: 30vh;
    width: 30vh;
    overflow: scroll;
        scrollbar-width: thin;
        scrollbar-color: transparent transparent;
    align-items: right;
}
.research{
    font-family: 'frankin gothic condensed';
    font-size: larger;
    display: flex;
    flex-direction: column;
    height: 30vh;
    width: 30vh;
    overflow: scroll;
        scrollbar-width: thin;
        scrollbar-color: transparent transparent;
    align-items: right;
}
P{
margin: 0 0 1px 0;
transition: text-decoration 0.3 ease;
font-family: 'rockwell';
font-size:medium;
}
 img{
    width: 50vw;

}

.maincontainer2 {
    position: fixed;
    top: 40vh; 
    transform: translateY(-48%);
    left: 20vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
align-items: center;
    width: 50vw;
    height: 30vh;
}
.maincontainer2 img {

    width: 40vw;

}
    #img1 {
        position: fixed;
        top: 0px;
        left: 15vw;
        background-color: transparent !important;
    }
    #img2 {
        position: fixed;
        top: -15vh;
        left: 30vw;
        width: 35vw;
        background-color: transparent !important;
    }
    #img3 {
        position: fixed;
        top: -15vh;
        left: 40vw;
        width: 35vw;
        background-color: transparent !important;
    }

    .pcat{
        display: none;
        margin: 0;
        font-family: 'typewriter';
        font-size:3vw;
        position: fixed;
        top: 20vh;
        left: -18vw;
        width: 50vw;
        height: 30vh;
        z-index: -1;
    }
    .img1:hover .pcat,
    .img2:hover .pcat,
    .img3:hover .pcat {
        display: block;
    }


    #bord,
.barrenav h2,
.barrenav h3 {
  position: relative;
  display: inline-block;
  color: black;
  font-family: 'rockwell';
  transition: color 0.05s ease;
  z-index: 1;
}
#bord::after,
.barrenav h2::after,
.barrenav h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 0;
  background-color: black;
  z-index: -1;
  transition: width 0.05s ease;
}
#bord:hover,
.barrenav h2:hover,
.barrenav h3:hover {
  color: #ea5239; /* Orange */
}
#bord:hover::after,
.barrenav h2:hover::after,
.barrenav h3:hover::after {
  width: 100%;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.image {
  position: absolute;
  cursor: grab;
  user-select: none;
  /* plus d'animation par défaut ! */
  transition: transform 0.2s;
}



@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.image {
  transition: transform 0.15s ease-out;
}

/* Style du cercle noir qui suit le curseur */
#cursor-circle {
  position: fixed;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: black;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: none;
}

/* Cache le curseur quand on survole une image dans un lien */
a:hover img {
  cursor: none;
}


@media (max-width: 768px) {
.maincontainer2{background-color: transparent;
    position: fixed;
    transform: none; /* ← Supprime le décalage qui remontait le conteneur */
    top: 10vh;
    left: 0;
    width: 100vw;
    height: 90vh;
}


#img1,
#img2,
#img3 {
        width: 40vh !important;
        height: auto !important;
        top: 15vh;
        left: 15vw;
}
#img3{
    top: 27vh;
    position: fixed;
    right: 0;
    left:auto;
    width: 30vh !important;
}
#img2{
    position: fixed;

}
#img1{
    top: 35vh;
    position: fixed;
    left: 0;
    right: auto;
}

.maincontainer2 img {
    width: 50vh;
    height: auto;
}
img{
    width: 50vh;
    height: auto;
}

.pcat{
    display: none;
}
    .img1:hover .pcat,
    .img2:hover .pcat,
    .img3:hover .pcat {
        display: none;
    }
}