*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
.conte {
    display: flex;
    flex-direction: column;
}
header {
    width: 100%;
    width: 100%;
    background: rgb(96, 96, 216);
}
.contenedor {
    width: 90%;
    padding: 1.5rem;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a{
    text-decoration: none;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
}
nav ul {
    list-style: none;
}
nav ul li {
    display: inline-block;
    margin: 0px 10px;
}
nav ul li a {
    text-decoration: none;
    color: #fff;
    transition: all .6s ease;
    display: block;
    padding: 5px 0;
    position: relative;
}
nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #fff;
    transition: all .7s ease;
}
nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    transition: all .7s ease;
    width: 0;
    height: 3px;
    background: #fff;
}
nav ul li a:hover {
    transform: scale(1.05);
}
nav ul li a:hover::after{
    width: 100%;
}
nav ul li a:hover::before  {
    width: 100%;
}
.respo {
    display: none;
    cursor: pointer;
}
span {
    width: 30px;
    height: 7px;
    background: #fff;
    display: flex;
    flex-direction: column;
    margin: 2px;
    border-radius: 15px;
}
.tet {
    padding: 20px 0;
    padding-top: 50px;
    text-align: center;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}
.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: auto;
}
.cajas {
    display: flex;
    justify-content:center;
    padding: 20px;
    flex-wrap: wrap;
    width: 80%;
    
}
.caja1, .caja2, .caja3{
    border: 2px solid rgb(96, 96, 216);
    margin: 10px 5px;
    height: max-content;
    padding-bottom: 20px;
    text-align: center;
}
.caja2{
    width: 70%;
}

.cuerpo {
    padding: 0 10px;
    display: flex;
    justify-content: center;
}
.cuerpoe {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cuerpo1,.cuerpo2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 10px;
}
.titulo{
    text-align: center;
    margin-bottom: 30px;
    background: rgb(96, 96, 216);
    padding: 10px 0;
    color: #fff;
}
p {
    margin-bottom: 10px;
    font-weight: bold;
}
#resul, #resul_tria, #resul_tria_area, #resul_circu {
    margin-top: 20px;
}
input {
    padding: 10px;
    border-radius: 10px;
    border: 2px solid rgb(96, 96, 216);
    margin-bottom: 10px;
}
.btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
button {
    margin: 5px;
    width: max-content;
    border: 2px solid rgb(96, 96, 216);
    background: none;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all .7s ease;
}
button:hover {
    background: rgb(96, 96, 216);
    color: #fff;
}

@media screen and (max-width:800px){
    .contenedor {
        padding: 10px 0px;
    }
    nav {
        position: fixed;
        background: rgb(96, 96, 216);
        top: 0;
        left: -90%;
        width: 70%;
        height: 100vh;
        display: flex;
        align-items: center;
        padding-left: 10%;
        z-index: 50;
        transition: all 300ms ease;
    }
    nav ul  {
        display: flex;
        flex-direction: column;
    }
    nav ul li {
        margin: 10px 0;
    }
    nav ul li a{
        font-size: 1.3rem;
    }
    .fondo {
        background: rgba(0, 0, 0, .7);
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        z-index: 1;
        display: none;
    }
    .respo {
        display: block;
    }
}
@media screen and (max-width:740px){
    .cuerpo {
        flex-direction: column;
    }
}
@media screen and (max-width:1070px){
    .cajas {
        flex-direction: column;
        width: 100%;
    }
    .cajas .caja1,.caja2,.caja3 {
        width: 80%;
        margin: auto;
    }
}
@media screen and (max-width:500px){
    .cajas .caja1,.caja2,.caja3 {
        width: 100%;
        margin: auto;
    }
}
