/*STYLE ACTIVITE*/
.contenaire img {
    width: 30vw;
}

.studio {
    display: flex;
    flex-direction: row;
    gap: 50px;
    background-color: #c2d76e40;
    justify-content: space-between;
    padding: 80px 100px 80px 100px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.studio p {
    margin-top: 32px;
}

.div-text {
    gap: 16px;
    width: 60vw;
}

.div-img {
    width: 40%;
}

.section img {
    height: auto;
    width: 30vw;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.atelier {
    padding: 80px 100px 80px 100px;
    gap: 50px;
    width: 95vw;
}

h4 {
    margin-top: 32px;
}

.carte {
    display: flex;
    flex-direction: row;
    gap: 50px;
    justify-content: space-between;
    margin-bottom: 100px;
}

.devis {
    display: flex;
    align-items: center;
    margin: 100px;
    flex-direction: column;
    gap: 32px;
}

.devis p {
    text-align: center;
}

h2 {
    text-transform: uppercase;
}

h4 {
    font-size: 1.3rem;
}

#page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    animation: revealUp 1.2s ease-in-out forwards;
}

@keyframes revealUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100%);
    }
}

/* Masque de chargement */
#page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    animation: pageReveal 1s ease forwards;
    -webkit-animation: pageReveal 1s ease forwards;
}

/* Animation qui fait glisser le masque vers le haut */
@keyframes pageReveal {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100%);
    }
}



@media screen and (max-width: 768px) {
	.studio{
		flex-direction: column;
		padding: 50px 20px;
	}
	
	.atelier{
		flex-direction: column;
		padding: 50px 20px;
	}
	
	.carte{
		flex-direction: column;
	}
	
	.div-text{
		width: 100%;
	}
	
	.section img{
		width: 100%;
	}
	.div-img{
		width: 100%
	}
}