@font-face {
    font-family: "Bebas";
    src: url(./assets/BebasNeue-Regular.ttf);
}

*{
    z-index: 1;
    color: white;
    text-align: center;
    font-family: "Bebas";
    letter-spacing: 2px;
}


body{
    background: #232323;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;

}

video {
  position: fixed;
  top: 0;
  left: -50px;
  transform: rotate(2deg);
  min-width: 150%;
  min-height: 150%;
  object-fit: cover;
  z-index: -1;

  filter: blur(8px);    /* flou */
  opacity: 0.3;
}

.intro h1{
    color: white;
    font-size: 15vh;
    margin: 0;
}

.intro h1:hover{
    cursor: default;
}

.intro p{
    margin-top: -20px;
}

.intro img{
    margin-top: 25px;
    border-radius: 150px;
    border: solid 5px rgb(0, 0, 0);
}

.roundLinks{
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;

}

.roundLinks img{
    border-radius: 100px;
    border: solid 3px rgb(0, 0, 0);
    transition: 0.2s;
}

.roundLinksHover{
    transform: scale(1.1);
    border: solid 4px rgb(172, 172, 172);
    cursor: pointer;
    transition: 0.2s;
}

.moreLinks{
    font-size: 6vh;
    margin: 50px auto;
    border-radius: 20px;
    max-width: 520px;
    cursor: pointer;
    transition: 0.2s;
}

.moreLinksHover {
    transform: scale(1.07);
    transition: 0.2s;
}

.moreLinks img{
    transform: translateY(11px);
    margin-left: 25px;
    margin-top: -5px;
}

.discordServer, .fiverr {
    background: #404041;
    margin: 20px;
    border-radius: 30px;
    border: solid 3px black;

    transition: transform 0.2s;  /* <<< ajoute cette ligne ici */
}

.moreLinksHover {
    transform: scale(1.07);
}

.discordServer, .fiverr{
    background: #404041;
    margin: 20px;
    border-radius: 30px;
    border: solid 3px black;
}

main{
    background: rgba(159, 159, 159, 0.35);
    backdrop-filter: blur(10px);
    max-width: 700px;
    min-height: 550px;
    margin: 5px auto;
    padding: 1px;
    border-radius: 30px;
    border: solid 2px white;
}

.menuButton{
    font-size: 50px;
    position: fixed;
    top: 0;
    left: 10px;
    transition: 0.2s;
}

.menuButtonHover{
    font-size: 60px;
    position: fixed;
    top: 0;
    left: 10px;
    transition: 0.2;
    cursor: pointer;
}

.sideMenu {
  position: fixed;
  top: 0;
  left: -100px;
  width: 70px;
  height: 100%;
  background-color: #2b2b2b;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 200px;
  transition: 0.2s ease;
  z-index: 2;
}

.sideMenu a {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin: 30px 0;
  color: white;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.2s, transform 0.2s;
}

.sideMenu a:hover {
  color: #bbbbbb;
  transform: rotate(180deg) scale(1.1);
  cursor: pointer;
}



@media screen and (max-width: 844px) {
    *{
        font-size: 15px;
    }

    main {
        min-width: 300px;
        width: 300px;
        transform: 0.2s ease;
        margin-top: 95px;
        padding: 0 25px;
    }

    .intro h1{
    color: white;
    font-size: 9vh;
    margin: 0;
}

    .roundLinks{
        gap: 10px;
    }

    .roundLinks img{
        width: 50px;
    }

    .link{
        width: 85px;
    }

    .discordServer, .fiverr{
    font-size: 3vh;
    padding-bottom: 10px;
    padding-top: 10px;
    margin: 50px auto;
    border-radius: 20px;
    max-width: 275px;
    cursor: pointer;
    transition: 0.2s;
    }

    .moreLinks img{
    transform: translateY(11px);
    margin-left: 25px;
    margin-top: -15px;
    width: 45px;
    }

    .menuButton{
        font-size: 40px;
        top: 20px;
    }

    .sideMenu {
        position: fixed;
        top: 0;
        left: -100px;
        width: 50px;
        height: 100%;
        background-color: #2b2b2b;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 200px;
        transition: 0.2s ease;
        z-index: 2; /* au-dessus du contenu */
    }
}


@media screen and (max-width: 740px){
    main {
        min-width: 300px;
        width: 300px;
        transform: 0.2s ease;
        margin-top: 95px;
        padding: 0 10px;
    }

    .roundLinks{
        gap: 6px;
    }

    .discordServer, .fiverr{
        margin-top: -25px;
    }
}

