/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* Container des boutons */
.floating-buttons {
    position: fixed; /* fixe à l'écran */
    top: 130px;      /* sous le menu sticky, ajuste si nécessaire */
    right: 20px;     /* à droite de l'écran */
    display: flex;   /* boutons côte à côte */
	flex-direction: column;
    gap: 10px;       /* espace entre boutons */
    z-index: 99999;  /* au-dessus du contenu */
}

/* Style des boutons ronds */
.float-btn {
	padding: 10px 10px;
	width: 100px;
    height: 100px;
    border-radius: 50%;        /* rend rond */
    background: #CF7351;       /* couleur bleu */
    color: #000;               /* texte blanc */
    display: flex;
	flex-direction: column;  /* empile les lignes verticalement */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
	font-size: 18px;         /* ajuster si besoin */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* léger relief */
    transition: all 0.3s ease;
	line-height: 1.2;
}

.float-btn:hover {
    transform: translateY(-5px); /* petit effet hover */
	color: #000!important;
	opacity:0.9;
}

.btn-second {
    background: #BBBBBB; /* couleur différente pour le 2e bouton */
}

@media (max-width: 768px) {
    .floating-buttons {
		top:90%;      /* sous le menu sticky, ajuste si nécessaire */
        left: 10px;     /* à droite de l'écran */
        display: flex; 
        flex-direction: row; /* ou column si tu veux vertical */
        gap: 10px;
    }

    .float-btn {
        width: 80px;           /* laisse le texte décider de la largeur */
        min-width: 60px;       /* minimum pour garder un cercle approximatif */
        height: 80px;          /* ajuste la hauteur au contenu */
        padding: 5px 6px;    /* espace autour du texte */
        font-size: 12px;       /* lisible sur mobile */
        flex-direction: column; /* empile texte + sous-texte */
        justify-content: center;
        align-items: center;
        border-radius: 50%;    /* reste rond si possible, sinon ovale */
    }
}