body {
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
            justify-content: space-between;
}
.calc-page  section{
    min-height: auto;
}
.calc-page  h2 {
    text-align: center;
    margin-bottom: 50px;
}
.calcform-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.calc {
    /* max-width: 400px; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.input-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;

}

.input-box .button {
    margin: 0;
}
.calc #date {
 
    height: 48px;
    border-radius: 5px;
    border: 1px solid #c08457;
    margin-right: 10px;
}

.calc-section {
    -webkit-box-align: start;
        -ms-flex-align: start;
                -ms-grid-row-align: flex-start;
            align-items: flex-start;
}
.calc-section h2 {
    text-align: center;
    margin-bottom: 50px;
}
.matrix {
    display: block;
    position: relative;
    width: 500px;
    height: 500px;
    padding-left: 73px;
    padding-top: 73px;
    margin: auto;
}
.square {
     border: 1px solid #c08457;
     width: 354px;
     height: 354px;
     position: absolute;
}
.diamond {
     border: 1px solid #c08457;
     width: 354px;
     height: 354px;
     position: absolute;
     -webkit-transform: rotate(45deg);
             transform: rotate(45deg);
}

.diagonal-1 {
    content: "";
    display: block;
    width: 500px;
    height: 1px;

    background: #c08457;
    position: absolute;
    top: 250px;
    left: 0;
}
.diagonal-2 {
    content: "";
    display: block;
   height: 500px;
    width: 1px;

    background: #c08457;
    position: absolute;
    left: 250px;
    top: 0px;
}
.diagonal-3 {
    content: "";
    display: block;
    width: 500px;
    height: 1px;

    background: #c08457;
    position: absolute;
    top: 250px;
    left: 0px;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
}

.diagonal-4 {
    content: "";
    display: block;
   height: 500px;
    width: 1px;

    background: #c08457;
    position: absolute;
    left: 250px;
    top: 0px;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
}
.diagonal-5 {
    content: "";
    display: block;
   height: 250px;
    width: 1px;

    background: #c08457;
    position: absolute;
    left: 338px;
    top: 213px;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
}

.t-round {
    background:#c08457 ;
    color:#fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 30px;
    padding-bottom: 12px;
}

.t6, .t7, .t8, .t9, .t10 {

    background:#fff ;
    color:#c08457 ;
}

.t11, .t12, .t13, .t14, .t15, .t16, .t17, .t18  {
    width: 30px;
    height: 30px;

    background:#fff ;
    color:#c08457 ;
     padding-bottom: 6px;
}

.t19, .t20, .t21, .t22, .t23, .t24, .t25, .t26, .t27, .t28, .t29  {
    width: 30px;
    height: 30px;

    background:#fff ;
    color:#585756; 
    font-size: 20px;
    padding-bottom: 6px;
}
.t1 {
    position: absolute;
    top: 225px;
    left: -25px;
}
.t2 {
    position: absolute;
    top: -25px;
    left: 225px;
}
.t3 {
    position: absolute;
    top: 225px;
    right: -25px;
}
.t4 {
    position: absolute;
    bottom: -25px;
    left: 225px;
}
.t5 {
    position: absolute;
    top: 225px;
    left: 225px;
}

.t6 {
     position: absolute;
    top: 48px;
    left: 48px;
}

.t7 {
     position: absolute;
    top: 48px;
    right: 48px;
}

.t8 {
     position: absolute;
    bottom: 48px;
    right: 48px;
}

.t9 {
     position: absolute;
    bottom: 48px;
    left: 48px;
}

.t10 {
    position: absolute;
    top: 225px;
    left: 275px;
}

.t11 {
     position: absolute;
    top: 235px;
    left: 58px;
}

.t12 {
     position: absolute;
    left: 235px;
    top: 58px;
}

.t13 {
     position: absolute;
    top: 235px;
    right: 58px;
}
.t14 {
     position: absolute;
    left: 235px;
    bottom: 58px;
}

.t15 {
     position: absolute;
    top: 111px;
    left: 111px;
}
.t16 {
     position: absolute;
    top: 111px;
    right: 111px;
}
.t17 {
     position: absolute;
    bottom: 111px;
    right: 111px;
}
.t18 {
     position: absolute;
    bottom: 111px;
    left: 111px;
}
.t19 {
     position: absolute;
    top: 235px;
    left: 25px;
}

.t20 {
     position: absolute;
    left: 235px;
    top: 25px;
}

.t21 {
     position: absolute;
    top: 235px;
    right: 25px;
}
.t22 {
     position: absolute;
    left: 235px;
    Bottom: 25px;
}
.t23{
     position: absolute;
    top: 88px;
    left: 88px;
}
.t24{
     position: absolute;
    top: 88px;
    right: 88px;
}

.t25{
     position: absolute;
    bottom: 88px;
    right: 88px;
}

.t26{
     position: absolute;
    bottom: 88px;
    left: 88px;
}

.t27{
     position: absolute;
    top: 235px;
    left: 150px;
}

.t28{
     position: absolute;
    left: 235px;
    top: 150px;
}

.t29{
     position: absolute;
    right: 145px;
    bottom: 145px;
}
.lm-block {
    padding-bottom: 50px; 
    border: 1px dotted #C08457;
    border-radius: 5px;
    margin: 15px;
    padding: 15px;
}
.lm-item {
    font-size: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 20px;
}
.lm, .ek {
    background:#fff ;
    color:#c08457;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 30px;
    padding-bottom: 12px;
    margin-right: 15px;
}

.life-map .lm-item:nth-child(3n) .lm {
    background:#c08457 ;
    color:#fff;
    
}
.extension-key {
    font-size: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;

}
.ek {
    margin-bottom: 20px;
}
.hm-head {
    background:#c08457 ;
    color:#fff;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid;
    padding: 10px;
}
.hm-name {
    font-size: 20px;
    text-transform: capitalize;
    border: 1px dotted #c08457;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.hm {
    font-size: 30px;
    text-align: center;
   
    border: 1px dotted #c08457;
}

@media (max-width: 560px) {
    .matrix {
    display: block;
    position: relative;
    width: 300px;
    height: 300px;
    padding-left: 44px;
    padding-top: 44px;
    margin: auto;
   
}
.square {
     border: 1px solid #c08457;
     width: 212px;
     height: 212px;
     position: absolute;
}
.diamond {
     border: 1px solid #c08457;
     width: 212px;
     height: 212px;
     position: absolute;
     -webkit-transform: rotate(45deg);
             transform: rotate(45deg);
}

.diagonal-1 {
    content: "";
    display: block;
    width: 300px;
    height: 1px;

    background: #c08457;
    position: absolute;
    top: 150px;
    left: 0;
}
.diagonal-2 {
    content: "";
    display: block;
   height: 300px;
    width: 1px;

    background: #c08457;
    position: absolute;
    left: 150px;
    top: 0px;
}
.diagonal-3 {
    content: "";
    display: block;
    width: 300px;
    height: 1px;

    background: #c08457;
    position: absolute;
    top: 150px;
    left: 0px;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
}

.diagonal-4 {
    content: "";
    display: block;
   height: 300px;
    width: 1px;

    background: #c08457;
    position: absolute;
    left: 150px;
    top: 0px;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
}
.diagonal-5 {
    content: "";
    display: block;
   height: 147px;
    width: 1px;

    background: #c08457;
    position: absolute;
    left: 201px;
    top: 130px;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
}

.t-round {
    background:#c08457 ;
    color:#fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 25px;
    padding-bottom: 6px;
}

.t6, .t7, .t8, .t9, .t10 {

    background:#fff ;
    color:#c08457 ;
}

.t11, .t12, .t13, .t14, .t15, .t16, .t17, .t18  {
    width: 30px;
    height: 30px;

    background:#fff ;
    color:#c08457 ;
     padding-bottom: 6px;
}

.t19, .t20, .t21, .t22, .t23, .t24, .t25, .t26, .t27, .t28, .t29  {
    width: 20px;
    height: 20px;

    background:#fff ;
    color:#585756; 
    font-size: 16px;
    padding-bottom: 4px;
}
.t1 {
    position: absolute;
    top: 133px;
    left: -25px;
}
.t2 {
    position: absolute;
    top: -25px;
    left: 133px;
}
.t3 {
    position: absolute;
    top: 133px;
    right: -25px;
}
.t4 {
    position: absolute;
    bottom: -25px;
    left: 133px;
}
.t5 {
    position: absolute;
    top: 133px;
    left: 133px;
}

.t6 {
     position: absolute;
    top: 25px;
    left: 25px;
}

.t7 {
     position: absolute;
    top: 25px;
    right: 25px;
}

.t8 {
     position: absolute;
    bottom: 25px;
    right: 25px;
}

.t9 {
     position: absolute;
    bottom: 25px;
    left: 25px;
}

.t10 {
    position: absolute;
    top: 133px;
    left: 167px;
}

.t11 {
     position: absolute;
    top: 135px;
    left: 30px;
}

.t12 {
     position: absolute;
    left: 135px;
    top: 30px;
}

.t13 {
     position: absolute;
    top: 135px;
    right: 38px;
}
.t14 {
     position: absolute;
    left: 135px;
    bottom: 30px;
}

.t15 {
     position: absolute;
    top: 65px;
    left: 65px;
}
.t16 {
     position: absolute;
    top: 65px;
    right: 65px;
}
.t17 {
     position: absolute;
    bottom: 65px;
    right: 65px;
}
.t18 {
     position: absolute;
    bottom: 65px;
    left: 65px;
}
.t19 {
     position: absolute;
    top: 140px;
    left: 10px;
}

.t20 {
     position: absolute;
    left: 140px;
    top: 10px;
}

.t21 {
     position: absolute;
    top: 140px;
    right: 10px;
}
.t22 {
     position: absolute;
    left: 140px;
    Bottom: 10px;
}
.t23{
     position: absolute;
    top: 54px;
    left: 50px;
}
.t24{
     position: absolute;
    top: 54px;
    right: 50px;
}

.t25{
     position: absolute;
    bottom: 54px;
    right: 50px;
}

.t26{
     position: absolute;
    bottom: 54px;
    left: 50px;
}

.t27{
     position: absolute;
    top: 140px;
    left: 100px;
}

.t28{
     position: absolute;
    left: 140px;
    top: 100px;
}

.t29{
     position: absolute;
    right: 88px;
    bottom: 88px;
}
.hm-head {
    font-size: 16px;
}
.hm-name {
     font-size: 16px;
}
.hm {
    font-size: 20px;
}

.extension-key {
    font-size: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: baseline;
        -ms-flex-align: baseline;
            align-items: baseline;
    -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
    max-width: 375px;
    margin: auto;
}

}

@media (max-width: 1050px) { 
    .lm-item {
        font-size: 20px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
                align-items: center;
    }
}
@media (max-width: 810px) { 
    .lm-item {
        font-size: 18px;
       
    }
}

@media (max-width: 400px) { 
.hm-head {
    font-size: 12px;
}
.hm-name {
     font-size: 12px;
}
.hm {
    font-size: 12px;
}
}