@font-face {
    font-family : Marelle;
    src: url(polices/Marelle-Regular.ttf);
}

body {
	background-color: #77B5FE;
    background-size: cover;
	line-height: 2.5;
}

.collage-nopub {
	position: absolute;
    top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	background: rgb(1, 73, 1);
    color: aliceblue;
    width:70%;
    height:90%;
    display:flex;
    z-index:1;
}

header {
	margin-top: 20px;    
	position: absolute;
    top: 0%; left: 45%;
	text-align: center;
	color : black;
}

main {
	text-align: left;
	font-family: "Marelle", sans-serif;
	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-nopub {
        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: 20px;

        /* Apparence */
        background: rgb(1, 73, 1);
        color: aliceblue;

        /* Priorité d'affichage */
        z-index: 1;
    }

    body {
	    line-height: 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;
    }
}

