@font-face {
    font-family: "amstrad_cpc464";
    src: url("../styles/polices/Lucida-Console.ttf.woff");
}

body {
	background-color: black;
	background-size: cover;
	line-height: 2.5;
}

.collage-reseau {
	position: absolute; /* postulat de départ */
    top: 50%; left: 50%; /* à 50%/50% du parent référent */
	transform: translate(-50%, -50%); /* décalage de 50% de sa propre taille */
	background: #0000AA;
	color: yellow;
    width:70%;
    height:90%;
    display:flex;
    z-index:1;
}

header {
	position: absolute;
    top: 0%; left: 45%;
	text-align: center;
}

main {
	text-align: left;
	font-family: "amstrad_cpc464";
	font-size: 1.1rem;    
	padding-top: 90px;
	padding-left: 30px;
}

main img:hover {		/* agrandissement du logo lors du survol */
	transform: scale(2)
}

.sticker {		/* voir js */
    position: absolute;
    width: 120px;
    height: 120px;
    object-fit: contain;
    z-index: 5;
    transform: rotate(var(--angle));
}

.sticker:hover {		/* agrandissement des stickers lors du survol */
    transform: rotate(var(--angle)) scale(2);
}

#retour {
	position: absolute;
    bottom: 0%; left: 90%;
	text-align: right;
	color : black;	
}

/* Basic mobile */

@media (max-width: 700px) {

    .collage-reseau {
        position: absolute;

        /* Positionnement */
        top: 0;
        left: 5%;
        transform: none;

        /* Dimensions */
        width: 90%;
        min-height: 100vh;
        height: auto;

        /* Mise en page */
        display: flex;
        flex-direction: column;
        box-sizing: border-box;

        /* Évite que le contenu touche les bords */
        padding: 5px;

        /* Apparence */
        background: blue;
        color: yellow;

        /* Priorité d'affichage */
        z-index: 1;
        
        font-size: small;
    }

    body {
	    line-height: 1.2;
    }

    /* Le conteneur des stickers */
    .collage-stickers {
        opacity: 0; 
    }
    
    #retour {
	    position: static;
	    text-align: right;
        transform: none;
    }
    
    main img:hover {		/* agrandissement du logo lors du survol */
	    transform: none;
    }
}
