@import url('https://fonts.googleapis.com/css2?family=Acme&family=Caprasimo&family=Chewy&family=Cookie&family=Josefin+Sans:wght@100;200;400;500;600;700&family=Nunito:wght@200;300;400;500;600;700;800;900;1000&display=swap');

:root{
    --primary : #e5001f;
    --secondary : #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    font-family: 'Nunito', sans-serif;
}

header {
	position: fixed;
    top: 0px;
    width: 360px;
    height: 8vh;
    background: var(--secondary);
    padding-right:; 
    padding-left: 5px;
}

.head {
	display: flex;
	height: 100%;
}

.headlogo-wrapper {
  position: relative;
  height: 7vh;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Halo rouge pulsant */
.headlogo-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  background: var(--primary); /* Rouge semi-transparent */
  animation: pulse 1.5s ease-in-out infinite;
  z-index: 1;
  margin-top: 3px;
}

/* Masque blanc derrière l'image */
.headlogo-wrapper::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  width: calc(100% - 6px);
  border-radius: 50%;
  background-color: white; /* Adapter à la couleur de ton fond */
  z-index: 2;
}

/* L'image de profil */
.headlogo {
  background-image: url("../img/dave1.jpeg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 95%;
  width: 95%;
  border-radius: 50%;
  position: relative;
  margin-top: 5px;
  z-index: 3;
}

/* Animation pulsation rouge */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
}


.headname {
	font-weight: 900; 
	height: 100%;
	padding: 3px 5px;
	border-radius: 5px;
}


.menu {
    position: fixed;
    bottom: 0px;
    width: 360px;
    background: var(--secondary);
    padding: 5px;
    border-radius: 5px;
}

.enter {
    width: 100%;
    display: flex;
    list-style: none;
}

.icon-names {
	display: block;
	text-align: center;
	width: 20%;
	color: var(--primary);
}

.icon-names .name {
	font-size: 10px;
}

.dashbord {
	position: fixed;
	width: 360px;
	height: 83vh;
    background: var(--secondary);
    padding: 5px;
    border-radius: 5px;
}

.bord {
	background-image: url("../img/dave1.jpeg"); 
	background-repeat: no-repeat;
  	background-position: center;
  	background-size: 100%;
  	height: 350px;
}

.solde{
    text-align: center;
	padding-top: 10px;
}

.solde h3 {
	font-weight: 900; 
}

.card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    height: auto;
}

.card-content {
    position: relative;
    display: block;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
    margin-right: 10px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(200, 0, 0, 0.9);
    padding: 10px 0;
}

.card-content2 {
    position: relative;
    display: block;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
    margin-left: 10px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(200, 0, 0, 0.9);
    padding: 10px 0;
}

.cloud {
	position: relative;
	display: block;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
    margin-top: 20px;
}

.cloud-mining {
	font-weight: 900;
	color: var(--primary);
	margin-bottom: 10px;
}

.mining {
    font-weight: 700;
    margin-bottom: 10px;
}

.cloud-img {
	background-image: url("../img/1cloud.webp"); 
	background-repeat: no-repeat;
  	background-position: center;
  	background-size: 100%;
  	height: 200px;
}

.text-mining {
	font-weight: 600;
}

@media only screen and (max-width: 480px) {
    body {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--primary);
        font-family: 'Nunito', sans-serif;
    }

    header {
        position: fixed;
        top: 0px;
        width: 97%;
        height: 8vh;
        background: var(--secondary);
        padding-right:; 
        padding-left: 5px;    
    }

    .menu {
        position: fixed;
        bottom: 0px;
        width: 97%;
        background: var(--secondary);
        padding: 5px;
        border-radius: 5px;
    }

    .dashbord {
        position: fixed;
        width: 97%;
        top: 8.5vh;
        height: 85vh;
        background: var(--secondary);
        border-radius: 5px;
        overflow-y: auto;
    }
}