.contents_parent{
 max-width:500px;
margin: auto
}

.info_photo{
width: 100px;
    border-radius: 5px;
    transform: rotate(-8deg);
    position: relative;
    bottom: 10px;
}
.title{
background-image: url(/imgs/pet_weight/pet_weight_title.jpg);
    min-height: 150px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: top;
    background-size: inherit;
}
.title h2{
text-align: center;
    font-size: xx-large;
    text-shadow: 2px 2px 3px ghostwhite;
    font-family: serif;
}

.block_result{
    display: block;
background-color: cornflowerblue;
padding: 5px;
margin: 5px 0;
color: white;
max-width: 25em;
text-align: center;
}
.block_name{
    display: inline-block;
margin: 0 20px;
}
.block_res{
    display: inline-block;
margin-left:20px;
margin-right: 5px;
}
.kg{
    display: inline-block;
}
h3{
background-color: lightblue;
    text-align: center;
}
.btn_calc{
padding: 10px;
    background-color: red;
    color: white;
    font-weight: bold;
border-radius: 5px;
    box-shadow: 2px 1px 5px gray;
}
.btn_clear{
background-color: gray;
    color: white;
    padding: 2px;
    box-shadow: 1px 1px 2px gray;
}
.btn_download{
background-color: orange;
    color: white;
    padding: 5px;
    box-shadow: 1px 1px 2px gray;
}

.info{
background-color: gainsboro;
    padding: 1px 10px;
}


.input_weight{
width: 6em;
    height: 2em;
}
.contents_1{
margin:20px 5px;
}
.contents_2{
margin: 20px 0;
}

.btn:hover{
    cursor: pointer;
}
.btn:active{
    background-color:yellow;
}


