* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url("images/concrete-beam.jpg");
    background-size: cover;
    background-position: center;
}

.contenedor {
    min-width: min-content;
    background-color: rgba(255, 255, 255, 0.651);
}

@media (min-width: 1024px) {
    .contenedor {
        width: 1024px;
    }
}

.intro {
    font-size: 17px;
    text-align: center;
    max-width: 1060px;

}

h1 {
    font-size: 38px;
    max-width: 1060px;
    text-align: center;
}

.datos-y-lienzo {
    border-style: solid;
    border-color: black;
    padding: 30px;
    display: flex;
    max-width: 1060px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
}

.datos {
    background-color: rgb(240, 241, 212);
    width: 40%;
    height: 400px;
    font-size: 16px;
    line-height: 1;
    min-width: fit-content;
    max-width: 390px;
    flex: 1 1 auto;
    padding-left: 10px;
}

input {
    width: 60px;
    height: 20px;
    font-size: 15px;
}

select {
    font-size: 17px;
}

.canvas {
    background-color: rgb(240, 241, 212);
    width: auto;
    height: auto;
    max-height: 400px;
}

.botones {
    height: 60px;
    width: 100%;
    max-width: 1060px;
    display: flex;
    justify-content: space-between;
}

button {
    height: 55px;
    width: 55px;
    
}

.resolver {
    height: 55px;
    width: 150px;
}

.resultado {
    background-color: rgb(240, 241, 212);
    padding: 30px;
    max-width: 1060px;
    margin-top: 30px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 19px;
    line-height: 1.7;
}

span {
    font-weight: bold;
}

h2 {
    margin: 0
}