:root{
    --main-grey: grey;
    --main-orange: orange;
  }

  *{
    margin: 0;
    padding: 0;
  
  }
  
  nav{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    border: 1px solid black;
    height: 40px;
    align-items: center;
    background-color: var(--main-orange);
    position: fixed;
    top: 0;
  }

  a{
    text-decoration: none;
    color: black;
    margin: 10px;
    font-size: 2.5vh;
  }
  
body{
    margin: 0;
    width: 100vw;
    display:flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-grey)
}
.container{
    border: 1px solid black;
    display:grid;
    grid-template-columns: repeat(4, 50px);
    grid-template-rows: repeat(7, 50px);
    width: 230px;
    height: 360px;
    margin-top: 20vh;
    padding: 5px;
    justify-content: space-between ;
    background-color: black;
    box-shadow: 10px 10px 5px grey;
    border-radius: 5px;
}
#affichage{
    grid-area: 1 / 1;
}
#result{
    grid-area: 2 / 1;
}
#affichage, #result{
    width: 210px;
    height: 30px;
    margin: 5px;
    padding: 4px;
    font-size: 20px;
    background-color: aliceblue;
}
#result{
    text-align: right;
}
.bouton{
    grid-area: 4 / 1;
    width: 150px;
    height: 200px;
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    border:1px solid black;
    margin-left: 5px;
    background: linear-gradient(rgb(175, 50, 50),rgb(100, 50, 50)30% 70%,rgb(175, 50, 50));
}

.btn, .btnOp{
    width: 40px;
    height: 40px;
    margin: 5px;
}

#btn0{
    width:90px;
}

.op{
    grid-area: 3 / 4;
    display: flex;
    flex-direction: column;
    height: 250px;
    width: 50px;
    margin-left: -5px;
    background: linear-gradient(rgb(175, 50, 50),rgb(100, 50, 50)30% 70%,rgb(175, 50, 50));
}

.resetContainer{
    grid-area: 3 / 1;
    margin-left: 5px;
}
#reset{
    width: 140px;
    background: linear-gradient(rgb(175, 50, 50),rgb(100, 50, 50)40% 60%,rgb(175, 50, 50));
    
}
