/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
@font-face {
  font-family: "NewYearNewDay";
  src: url("/fonts/NewYearNewDay.otf") format("opentype");
}

@font-face {
  font-family: "Riffic";
  src: url("/fonts/Riffic.ttf") format("opentype");
  }

body{
  font-family: "NewYearNewDay", sans-serif;
  margin:0;
  cursor: url("/images/bub.png"), auto;
}

a, button{
  cursor:url("/images/bub.png"), pointer;
}

/* motif de bulles */
body::before{
  content:"";
  position:fixed;
  inset:0;

  background-image: url("/images/bulles.png");
  background-repeat: repeat;

  /* taille du motif */
  background-size: 80px;

  /* décalage pour effet moins rigide */
  background-position: 0 0;

  opacity:0.2;

  pointer-events:none;
}

h1 {
  font-family: "Riffic", sans-serif;
}

h1::before,
h1::after{
  content:"";
  display:inline-block;

  width:24px;
  height:24px;

  background-image:url("/images/star.webp");
  background-size:contain;
  background-repeat:no-repeat;

  margin:0 10px;
}

header{
  text-align:center;
  padding:30px;
}

main{
  display:flex;
  gap:20px;
  padding:20px;
  max-width:1200px;
  margin:auto;
}

.column{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:20px;
}

.column.left{
flex:1.5;
}

.column.middle{
flex:3;
}

.column.right{
flex:1.5;
}

.window{
  background: rgba(255,255,255,0.95);
  overflow:hidden;
  backdrop-filter: blur(2px);
  border: 1px solid #5411b8;
}

.title{
  background:#5411b8;
  color:white;
  padding:8px 12px;
  font-family:"Riffic";

  display:flex;
  align-items:center;
  justify-content:space-between;
}

.title::after{
content:"";

display:inline-block;

width:130px;   
height:14px;  

margin-left:8px;

background-image:url("/images/stars.gif");
background-size:contain;
background-repeat:no-repeat;

vertical-align:middle;
}

.post-title{
font-size:22px;
font-family:"Riffic";
color:#5411b8;
}

.post-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:6px;
}

.post-date{
font-size:13px;
opacity:0.6;
}

.post p{
margin:14px 0;
line-height:1.6;
}

.post img{
width:60%;
height:auto;
margin:10px auto;
display:block;
border-width:7px;
border-style:solid;
border-image: url("https://i.imgur.com/NJa4bp2.png") 8 fill round;
}

figure{
margin:15px 0;
}

figcaption{
font-size:14px;
opacity:0.6;
text-align:center;
}

.content{
  padding:12px;
}

.gallery-grid img{
width:100%;
transition:transform .2s;
}

.gallery-grid img:hover{
transform:scale(1.05);
}

.mobile-gallery{
display:none;
}

footer{
  text-align:center;
  padding:20px;
  opacity:0.6;
}

.player{
display:flex;
align-items:center;
gap:10px;
}

.player button{
border:none;
background:#5411b8;
color:white;
padding:6px 10px;
cursor:pointer;
}

.player button:hover{
background:#01a89d;
}

.track{
font-size:14px;
}

.grey{
color:gray;
}

.notchi img {
  display: block;
  margin: auto;
}

/* responsive */

@media (max-width:900px){

  main{
    flex-direction:column;
  }

}

@media (max-width: 600px){

h1{
font-size:20px;
}

}

@media (max-width:700px){

.desktop-gallery{
display:none;
}

.mobile-gallery{
display:block;
}

}