* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-image: url(./img/view-flowing-water\ 2.jpg);
    background-size: cover;
}

@font-face {
    font-family: "digital";
    src: url("./ds_digital/DS-DIGI.TTF");
}

@font-face {
    font-family: "montserrat";
    src: url("./Montserrat/Montserrat-VariableFont_wght.ttf")
}

#glassdiv {
    height: 80%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10.8px);
    -webkit-backdrop-filter: blur(10.8px);
}

.calculator {
    background-color: #252525;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
    border-top: 1px solid #324458;
    border-right: 7px solid #4e6176;
    border-bottom: 10px solid #3e4c5c;
    border-left: 1px solid #324458;
}

#resultscreen {
    width: 100%;
    height: 70px;
    background-color: #858587;
    margin-bottom: 10px;
    border-top: 5px solid #4c4c4c;
    border-left: 5px solid #4c4c4c;
    border-radius: 8px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 5px;
    font-size: 28px;
    font-family: "digital";
}

/* utilisation de grid pour ajuster ses touches en choisissant le nombre de colones et lignes */
.keys {
    display: grid;
    grid-template-columns: repeat(4, 50px);
    grid-template-rows: repeat(5, 50px);
    grid-gap: 10px;
}

button {
    border: none;
    outline: none;
    border-radius: 6px;
    box-shadow: 2px 3px 0px 1px rgb(139, 137, 137);
    font-size: 18px;
    font-family: Arial, sans-serif;
    font-weight: 500;
    font-size: 19px;
}

/* style bouton egal */
#egalsign {
    grid-column: span 2;
    background-color: #6e90ad;
    box-shadow: 2px 3px 0px 1px #3d566b;
    color: #fff;
    font-family: Arial, sans-serif;
    font-weight: 500;
    font-size: 25px;
}

/* style bouton Clear */
#clearbutton {
    background-color: #ec7a46;
    box-shadow: 2px 3px 0px 1px #af4412;
    color: #fff;
    font-family: Arial, sans-serif;
    
    font-weight: 500;
    font-size: 19px;
}

/* style bouton off*/
#offbutton {
    background-color: #da5314;
    box-shadow: 2px 3px 0px 1px #7f2e09;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    font-weight: 500;
    font-size: 15px;
}

/* style boutons opérations*/
.operators {
    background-color: #f9b44d;
    box-shadow: 2px 3px 0px 1px #ba7d21;
    font-family: Arial, sans-serif;
    font-weight: 500;
    font-size: 25px;
}

/*changement de style au click*/
button:active,
#egalsign:active,
#clearbutton:active,
#offbutton:active {
    box-shadow: none;
    transform: translateY(4px) translateX(3px);
}

#bloctext {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#bloctext h1 {
    font-size: 60px;
    font-family: "montserrat";
    font-weight: 200;
    color: #000000;
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    #bloctext h1 {
        font-size: 40px;
        color: #e0e0e0;
    }
    
}

