
/* ------------------ CSS RESET ---------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  height: auto;
  max-width: 100%;
}

html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6 {
  margin: 0;
  padding: 0;
}

h1,h2,h3,h4,h5,h6 {
  font-size: 100%;
  font-weight: normal;
}

input,button,textarea,select {
  font: inherit;
  margin: 0;
}

iframe {
  border: 0;
}

::-moz-selection {
  /* Code for Firefox */
  color: var(--backgroundcolor);
  background: var(--fontcolor);
}

::selection {
  color: var(--backgroundcolor);
  background: var(--fontcolor);
}

html {
  width: 100%; height: 100%;
  scroll-behavior: smooth;
    box-sizing: border-box;
  --spacing:1rem;
  --spacingsmall: 0.5rem ;
  --backgroundcolor: #000000 ;
  --maincolor: #FCFC16;
    --secondcolor: #DEFE00 ; 
    --fontcolor: #ffffff ;
  --backgroundcolordark: hsl(from var(--backgroundcolor) h s calc(l - 10));
}

body{
    background-color: var(--backgroundcolor);
    color: var(--fontcolor);
    font-family: 'LaMachine';
}

section{
    margin: var(--spacing);
}

.laptop{
    display: none;
}

/* --------------------------------------------------------------------------------------------------------------------- */
/* |                                                INDEX PAGE                                                          |
/* --------------------------------------------------------------------------------------------------------------------- */

#background-image{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -2;
    background-image: url(img/sim01.png);
    background-repeat: repeat;
    background-size: 30vw;
    filter: blur(0.7px);
    opacity: 20%;
}

h1{font-size: 60px;}

h2{font-size: 8vw;}

h3{font-size: 30px;margin:0;}

p{
font-size: 4vw;
max-width: 50ch;
line-break:strict;}

a{
    color: var(--secondcolor);
}

a:hover{
    color: var(--fontcolor);
    transition: 0.2s;
}

#header{
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin-left: 0;
    margin-right: 0;
}

#links{
    margin-top: var(--spacing);
    display: flex;
    flex-direction: row;
    gap: var(--spacing);
    justify-content: space-around;
}

#data{
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
    overflow-y: scroll;
    width: 100%;
    height: 100%;
    contain: size;
}

.artist-photo{
box-shadow: 3px 4px 5px 0px rgba(0,0,0,0.12);
-webkit-box-shadow: 3px 4px 5px 0px rgba(0,0,0,0.12);
-moz-box-shadow: 3px 4px 5px 0px rgba(0,0,0,0.12);
}

.box{
    background: #2b2b2b;
    background: linear-gradient(rgb(82, 82, 82) 0%,rgb(24, 24, 24) 80%, rgb(62, 62, 62) 100%);
    border: solid 4px var(--maincolor);
    border-radius: 15px;
    padding-top: var(--spacingsmall);
    padding-bottom: var(--spacingsmall);
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.35);
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.35);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.35);
}



/* ----------------- POP UP LINKS ------------------ */

.hidden{
    display: none;
}

path{
    width: 20px;
    height: 20px;
}

.link-name{
    display: flex;
    flex-direction: row;
    gap: var(--spacingsmall);
    cursor: pointer;
    background: radial-gradient(circle, hsl(from var(--maincolor) h s calc(l + 40)) 0%, var(--maincolor) 80%);
    background-position: -10px -10px;
    background-size: 110%;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.35);
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.35);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.35);
}

.icon{
    width: 20px;
    height: 20px;
    vertical-align: middle;
    background: var(--backgroundcolor);
    background-position: center;
    mask-position: center;
    mask-repeat: no-repeat;
}

.icontext{
    color: var(--backgroundcolor);
}

.link-social{
    margin-bottom: var(--spacing);
}

.link-name:hover{
   background: radial-gradient(circle, hsl(from var(--maincolor) h s calc(l + 60)) 0%, hsl(from var(--maincolor) h s calc(l + 30)) 80%);
}



#share {
    mask-image: url(img/copy.svg);
}
#socials {
    mask-image: url(img/share.svg);
}
#about {
    mask-image: url(img/about.svg);
}
#tips {
    mask-image: url(img/tips.svg);
}

.popup{
    position: fixed;
    border-radius: 25px;
    top: 15%;
    bottom: 15%;
    left: 5%;
    right: 5%;
    padding: 2rem;
    z-index: 999;
    overflow-y: scroll;
}

.splashscreen{
  position: fixed;
  top: 0%;
  bottom: 0%;
  left: 0%;
  right: 0%;
  opacity: 50%;
  z-index: 998;
  background-color: var(--backgroundcolor);
  cursor:pointer;
}

/* ----------------- RELEASE LIST ------------------ */

.releaselist{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: calc( var(--spacing)*3);
    margin-bottom: calc( var(--spacing)*3);
}

.releasecover:hover{filter:brightness(130%);transition: 0.25s;}

.releasecover{
box-shadow: 3px 4px 5px 0px rgba(0,0,0,0.12);
-webkit-box-shadow: 3px 4px 5px 0px rgba(0,0,0,0.12);
-moz-box-shadow: 3px 4px 5px 0px rgba(0,0,0,0.12);
}

.release{
    display: flex;
    flex-direction: column;
    gap: var(--spacingsmall);
}

.releasetitle{
    max-width: fit-content;
    padding: var(--spacingsmall) var(--spacingsmall) var(--spacingsmall) 0;
}

/* ----------------- FRIENDS LIST ------------------ */

.friendlist{
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
    padding-bottom: calc(var(--spacing)*4);
}



@font-face {
    font-family: 'LaMachine';
    src: url(fonts/la_machine_company.ttf);
}






/* ----------------- MEDIA QUERIES ------------------ */

/* On est mobile first ici donc les media queries sont utilisées pour les laptops */

@media screen and (min-width:600px) {
p{
font-size: 2vw;
}

section{
    margin: calc(var(--spacing) * 2);
}

.laptop{
    display: block;
}

.link-name {
width: auto;
height: auto;
border-radius: 20px;
padding: var(--spacing);
}

}




@media screen and (min-width:1000px) {

h1{font-size: 50px;}

h2{font-size:40px;}

h3{font-size: 30px;margin:0;}

p{
font-size: 20px;
max-width: 50ch;
line-break:strict;}


/* LAPTOP LAYOUT */

.laptop{
    display: block;
}

#background-image{
    background-size: 10vw;
}

#page{
    display: grid;
    grid-template-columns: 1fr 2fr;
    overflow: hidden;
}

#release{
    display: flex;
    flex-direction: column;
    height: 50vh;
}

#header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#data{
    gap: calc(var(--spacing)*2);
    contain: unset;
}

.releasecover{
    max-width: 400px;
}

.artist-photo{
    max-width: 200px;
}


}

@media screen and (min-width:1300px) {

.releaselist{
    grid-template-columns: 1fr 1fr 1fr;
}

}