body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    height: 100vh;

}

.content {
    display: grid;
    justify-content: center;
    text-align: center;
    grid-auto-rows: min-content;
    grid-auto-columns: max-content;
    background: linear-gradient( #d3d3d3, #fdfdfd );
    animation: apparition 2000ms;

}

h1 {
    justify-content: center;
    font-size: 12vh;
    margin-bottom: 5%;
    margin-top: 5%;
    text-shadow: 0px 0px 2px grey ;
    animation: apparition2 2000ms;

    
}

.calculatricecorps {
    width: 50vh;
    height: 70vh;
    background: linear-gradient(45deg, #2c003a, #470068 );
    margin: auto;
    padding: 20px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 7px black;
    animation: apparition3 2000ms;
}

.wrapper {
    width: 100%;
    height: 100%;
    display: grid;
    grid-row: (repeat 6, 1fr);
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 10px;

}

#ecran {
    grid-column: 1 / 5;
    grid-row: 1;
    background-color: white;
    margin-bottom: 50px;
    margin-top: 50px;
    display: flex;
    text-align: end;
    justify-content: end;
    align-items: center;
    border-radius: 20px;
    min-height: 90px;
    box-shadow: 0px 2px 10px black;
    background-color: rgb(236, 212, 255);
}

#ecran > p {
    margin: auto;
    margin-right: 5px;
    font-size: 4vh;

}

#egal {
    grid-column: 3 / 5;
    background-color: rgb(255, 218, 162);
}

.boutoncalc {
    border-radius: 20px;
    border: none;
    cursor: pointer;
    box-shadow: 0px 2px 10px black;
    font-size: 30px;
    background-color: rgb(236, 212, 255);
    transition: 0.5s;
}

.boutoncalc:hover{
    transform: scale(1.05);
    transition-duration: 0.5s;
}

@keyframes apparition {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 100;
    }
}

@keyframes apparition2 {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
        opacity: 100;
    }
}

@keyframes apparition3 {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 100;
        transform: translateX(0);
    }
}

