body {
    background-color: #4e0073;
    margin: 0px;
}
header h1 {/*Titulo: Perimetros y Areas*/
    color: aliceblue;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;    
}
header p {/*Sub titulo: Elige el poligono que deseas*/
    color: aliceblue;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    font-size: 18px;
    padding-bottom: 10px;
}
.contenedor {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.containers {/*contenedor principal: contiene los tres espacios individuales de cada poligono y sus formulas*/
    /*background-color: red;*/
    width: auto;
    height: auto;    
    display: flex;
    align-items: center;
    /*margin-left: 40px;*/
    flex-wrap: wrap;
    justify-content: center;
}

.container {/*contiene: un poligono y sus formulas*/
    background-color:#57067c;
    border: 4px solid #57067c;
    border-radius: 10px;
    width: auto;
    min-width: 200px;
    height: 200px;/*auto*/
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;   
    margin: 20px;
}

.text {    
    margin-top: 5px; /*para el texto nombre del poligono*/    
    margin-bottom: 5px;
}
.text a{
    
    text-decoration: none;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: azure;
    
}
.text a:hover{
    color: aqua;    
}
/*Inicio Cuadrado*/
.cuadrado {/*dibujo del poligono*/
    width: 140px;
    height: 140px;
    border: 4px solid white;
    margin-top: 22px;
    /*background: linear-gradient(to right, #3A0056, rgb(133, 4, 79));*/
    /*background: linear-gradient(90deg, #3A0056, rgb(255, 196, 0));*/
}
.cuadrado:hover {
    border: 4px solid rgb(11, 233, 233);
}
.cuadrado p{
    color: white;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.lado_c{
    transform: rotate(90deg);
}
.lado_c1{
    transform: rotate(-90deg);
}
/*Fin Cuadrado*/
/* inicio Triangulo Isoseles y equilatero*/
.triangulo{/*dibujo del poligono*/
    width: 0;
    height: 0;
    border-right: 75px solid transparent;
    border-bottom: 150px solid white;
    border-left: 75px solid transparent;
    margin-top: 20px;
    display: flex;
    align-items: center;
    align-content: center;
    position: relative;
}
.triangulo:hover {
    border-bottom: 150px solid aqua;
}
.triangulo p{
    color: white;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.lado1{
    transform: rotate(-63deg);
}
.lado2{
    transform: rotate(63deg);
}
.tri{    
    width: 0;
    height: 0;
    border-right: 69px solid transparent;
    border-bottom: 140px solid #57067c;
    border-left: 69px solid transparent;
    margin-top: 20px;
}
.lado2 {/*ancho contenedor de texto de lado2 de triangulo*/
    width: 60px;    
}
.linea {
    transform: rotate(90deg);
}
.angulo {
    width: 20px;
    height: 10px;    
    border: solid 2px white;
}
/* fin Triangulo Isoseles  y equilatero*/
/* inicio circulo*/
.circulo {/*dibujo del poligono*/
    width: 140px;
    height: 140px;
    border: 4px solid white;
    border-radius: 50%;
    margin-top: 20px;
}
.circulo:hover {
    border: 4px solid aqua;
}
.centro{
    width: 5px;
    height: 5px;
    background-color: white;
    border: 4px solid white;
    border-radius: 50%;
}
.radio p {
    color: white;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* fin circulo*/
/* boton atras*/
.botton_volver{
    margin-top: 30px;
}
.circul0 {
    width: 90px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #320346;
    box-shadow: 0px 0px 10px rgb(147, 168, 161);
}
.circul0_centro {
    width: 75px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #320346;
}
.circul0_arriba {
    width: 65px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #320346;
}

.text img {
    width: 40px;
    height: 30px;    
}
.text img:hover {
    transform: scale(1.2);
}
.circul0 :hover {
    background-color: #57067c;
}
.circul0_centro :hover{
    background-color: #57067c;
}
.circul0_arriba :hover {
    background-color: #57067c;
}
