@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@600&display=swap');

*, ::before, ::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root
{
    --Boutons-tres-fonce: #1a120f;
    --la-couleur-plus-clair: #2d411c;;
    --texte:#CDA177;

    --choix: var(--texte);
    --text-color: var(--texte);

    --button-color:  var(--Boutons-tres-fonce);
    --t1-color: #2d411c;
    /* --t1-color: var(--la-couleur-plus-clair); */
    --lightdark-color: var(--Boutons-tres-fonce);
    --dark-color : #1a120f;
}

body{
    background: rgb(103, 75, 61);
}

.container{
    width: 500px;
    margin: 60px auto;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 510px) {

    .container{
        width: 100%;
    }

    #welcome > p {
        padding: 0 5px;
    }
    
    
    #youtube-video{
        max-width: 320px !important;
        max-height: 200px !important;
        width: 90vw !important;
        height: 50vw !important;
    }

    ul{
        padding: 0 30px;
    }
    
}

/* .container > :nth-child(n){
    margin: 5px 0;
    color: var(--choix);
    fill: var(--choix);
} */

#welcome{
    margin-bottom: -1px;
}

#welcome > p{
    font-size: 1rem;
    text-align: center;
    color: #1a120f;
}

#welcome > p > span{
    position: relative;
    margin: unset;
    font-size: unset;
}

#welcome > p > span:first-child::before{
    content: '«';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-120%,-50%);
}

#welcome > p > span:last-child::after{
    content: '»';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(120%,-50%);
}

#youtube-video{
    width: 560px;
    height: 315px;
    margin-bottom: 30px;
}

#nuage{
    margin-left: 2px;
    fill: white;
    transform: scale(.7);
}

#find-me > p{
    color: var(--choix);
}

div {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profil_pic > .img-container
{
    overflow: hidden;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profil_pic > .img-container > img {
    width: 100%;
    height: 100%;
    margin-top: 10px;
    transform: scale(1.08);
}

#title,.profil_pic{
    color: #ffcece;
}

#title{
    margin-bottom: 19px;
    text-align: center;
}

#title > img {
    width: 251px;
    height: 80px;
    object-fit: cover;
}

#title > svg {
    fill: gold;
    margin: auto 5px;
    height: 50px;
    width: 50px;
}

nav{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

nav > a > svg {
    width: 30px;
    margin: 0 5px;
}

nav > a > svg .st0{
    fill: none;
}

nav > a:last-child > svg
{
    width: 50px;
    margin-left: -2px;
}

nav > a > svg #Instagram,
nav > a > svg #SoundCloud,
nav > a > svg .st1,
nav > a > svg{
    fill: white;
}

#find-me > svg
{
    width: 30px;
    fill: lightblue;
    margin: 0 5px;
}

ul{
    list-style: none;
    width: 100%;

}

li{
    width: 100%;
    height: 50px;
    margin: 30px 0;
    border-radius: 35px;
    background: var(--button-color);
}

li:hover{
    background: white;
    border: 4px solid var(--button-color);
}

li:hover > a{
    color: var(--button-color);
}

li:hover > a > img {
    filter: invert(1);
}

li > a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-decoration: none;
    color: white;
}

li > a > img, li > a > svg{
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translate(0, -50%);
}

li#instagram > a > svg
{
    width: 30px;
    left: 12px;
}

li#instagram > a > svg #Instagram,
li#soundcloud > a > svg #SoundCloud,
li#tiktok > a > svg{
    fill: white;
}

li:hover#instagram > a > svg #Instagram,
li:hover#soundcloud > a > svg #SoundCloud,
li:hover#tiktok > a > svg{
    fill: var(--button-color);
}

li#soundcloud > a > svg{
    width: 35px;
    left: 10px;
}

li#tiktok > a > svg
{
    width: 25px;
    left: 15px;
}

li#spotify > a > svg
{
    width: 30px;
    left: 12px;
}

li#spotify > a > svg path
{
    fill: white;
}

li:hover#spotify > a > svg path
{
    fill: var(--lightdark-color);
}

li#youtube > a > svg
{
    width: 45px;
    left: 5px;
}

li#youtube > a > svg .st0
{
    fill: none;
}

li#youtube > a > svg .st1
{
    fill: white;
}

li:hover#youtube > a > svg .st0
{
    fill: none;
}

li:hover#youtube > a > svg .st1
{
    fill: var(--lightdark-color);
}

p
{
    font-size: 1.1rem;
    font-family: 'Open Sans', sans-serif;
}

p > span{
    margin: auto 4px;
    font-size: 1rem;
}

/* Deezer link */

#deezer-logo {
    height: 30px;
    width: 32px;
    position: absolute;
    top: 50%;
    left: 11px;
    transform: translate(0, -50%);
}

#deezer:hover #deezer-logo > svg{
    fill: var(--lightdark-color);
}

#deezer-logo > svg{
    width: 100%;
    height: 100%;
    fill: white;
}

/* Apple music link */

#apple-music-logo {
    height: 40px;
    width: 40px;
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translate(0, -50%);
}

#apple-music-logo > svg{
    width: 100%;
    height: 100%;
}

#apple-music-logo > svg path{
    fill: white !important;
}

#apple-music-logo > svg rect{
    stroke: white !important;
}

#apple-music:hover #apple-music-logo > svg path{
    fill: var(--lightdark-color) !important;
}

#apple-music:hover #apple-music-logo > svg rect{
    stroke: var(--lightdark-color) !important;
}

/* Amazon music link */

#amazon-music-logo {
    height: 35px;
    width: 35px;
    position: absolute;
    top: 50%;
    left: 11px;
    transform: translate(0, -50%);
}

#amazon-music-logo > svg{
    width: 100%;
    height: 100%;
}

#amazon-music-logo > svg path{
    fill: white !important;
}

#amazon-music-logo > svg rect{
    stroke: white !important;
}

#amazon-music:hover #amazon-music-logo > svg path{
    fill: var(--lightdark-color) !important;
}

#amazon-music:hover #amazon-music-logo > svg rect{
    stroke: var(--lightdark-color) !important;
}

/* For qr code */

.qr-box svg{
    width: 40px;
    border-radius: 5px;
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 1px;
}

.qr-box svg:hover{
    background: grey;
    cursor: pointer;
}

.qrcode{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(200,200,200,0.6);
    opacity: 0;
    z-index: -1;
    transition: opacity .2s ease-in,
        z-index .1s linear .1s;
}

.qr-box.show .qrcode{
    opacity: 1;
    transition: opacity .2s ease-in;
    z-index: 10;
}

.qrcode > img{
    max-width: 320px;
}