*{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}



body{
    height: 100vh;
    text-align: center;
    padding: 2rem;
    min-height: 100vh;
    background-image: url("Img/imagem\ matematica.jpg");
    color: #fff;
    display: flex;
    justify-content: center;
   
}

h1{margin-bottom: 3rem;
font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif}
h2{ margin-bottom: 1rem;}

main{
    background-color: black;
    height: 90%;
    width: 50%;
    border-radius: 5%;
    box-sizing: border-box;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.container{
    border: 10px double white;
    width: 80%;
    height: 90%;
    box-sizing: border-box;
    padding-top: 7rem;
}

#multiplication_form{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 350px;
    margin: 1rem auto;
    padding: 1rem;
    background-color: #fff;
    border-radius: 1rem ;
    color: #333;
}

.form_control{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    margin: 0 1rem;
}

.form_control label{
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
    font-weight: bold;
}

.form_control input{
    margin-bottom: 1rem;
    flex: 1;
    padding: 0.6rem 0.4rem;
    border: 1px solid #333;
    width: 50px;
    border-radius: 5px;
    text-align: center;
}

#multiplication_form input[type="submit"]{
    max-height: 50px;
    padding: 0.6rem 1.2rem;
    width: 200px;
    color: #fff;
    background-color: #333;
    border: 1px solid #333;
    cursor: pointer;
    font-weight: bold;
}

#multiplication_operations{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    margin: 1rem auto;
    padding: 2rem 1rem;
    background-color: #fff;
    color: #333;
    border-radius: 1rem;
}


#multiplication_operations .row{
    display: flex;
    justify-content: center;
    border: 1px solid #ccc;
    border-bottom: none;
    padding: 0.5rem;
    width: 150px;
}

#multiplication_operations .row:last-child{
    border: 1px solid #ccc;
   
   
}

#multiplication_operations .result{
margin-left: 0.4rem;


}





@media only screen and (max-width: 1080px){

 body{
        align-items: center;
        overflow-y: hidden;
 }

main{
    width: 90%;
    height: 50%;
}

.container{
    padding-top: 5rem;
}

#multiplication_form{
    margin-bottom: 7rem;
}

}
