@font-face {
    font-family : "RubikGlitch";
    src: url(../styles/polices/RubikGlitch-Regular.ttf);
}

body {
    background-image: url("/imagesISELH/drapeau.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    line-height: 2;
}

.collage-pasteque {
	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: grey;
	opacity: 0.5;
	color: blue;
    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: "RubikGlitch", sans-serif;
	font-size: 1.2rem;
	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-pasteque {
        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: grey;
        color: blue;

        /* Priorité d'affichage */
        z-index: 10;
    }

    /* Le conteneur des stickers */
    .collage-stickers {
        opacity: 0; 
    }
    
    body {
    line-height: 1;
}
    
    #retour {
	    position: static;
	    text-align: right;
        transform: none;
    }
    
    main img:hover {		/* agrandissement du logo lors du survol */
	    transform: none;
    }
}
