body{
  color: #414f57;
  line-height: 2;
  letter-spacing: 0.2em;
  font-family: sans-serif;
}

.logo{
  text-align: center;
  margin: 0 0 0 10px;
}

.logo img{
  width: 15%;
}

#main{
    position: relative;
    max-width: 100%;
    padding: 0 2em 3em;
    background: #ffffff;
    border-radius: 4px;
    cursor: default;
    text-align: center;
}

#main .avatar img 
{
  width: 20%;
  display: block;
  margin: 0 auto;
  border-radius: 100%;
  box-shadow: 0 0 0 0.35em #018337;
}

button{
    line-height: 2.75em;
    padding: 0 1.5em;
    background-color: transparent;
    border-radius: 4px;
    border: solid 1px #c8cccf;
    color: #414f57 !important;
    cursor: pointer;
    text-align: center;
}

a {
  -moz-transition: color 0.2s ease, border-color 0.2s ease;
  -webkit-transition: color 0.2s ease, border-color 0.2s ease;
  -ms-transition: color 0.2s ease, border-color 0.2s ease;
  transition: color 0.2s ease, border-color 0.2s ease;
  color: inherit;
  text-decoration: none;
}
a:before {
  -moz-transition: color 0.2s ease, text-shadow 0.2s ease;
  -webkit-transition: color 0.2s ease, text-shadow 0.2s ease;
  -ms-transition: color 0.2s ease, text-shadow 0.2s ease;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
a:hover {
  color: #ff7496;
}

p {
  margin: 0 0 1.5em 0;
}
h1 {
  color: #313f47;
  line-height: 1.5;
  font-size: 20px;
  letter-spacing: 0.22em;
  margin: 20px 0 0.525em 0;
}
h1 a{
  color: inherit;
  text-decoration: none;
}







@media screen and (min-width: 300px)
{
  .logo img
  {
    width: 40%;
    margin: 15px 0 15px 0;
  }

  #main .avatar img 
  {
    width: 70%;
  }

  h1{
    font-size: 20px;
  }
  
  p{
    font-size: 13px;
  }

}

@media screen and (min-width: 400px) and (max-width:600px)
{

  #main .avatar img 
  {
    width: 50%;
  }

}

@media screen and (min-width: 600px) and (max-width:800px)
{

  #main .avatar img 
  {
    width: 45%;
  }

  .logo img
  {
	width: 25%;
  }

}



@media screen and (min-height: 800px)
{
  .logo img
  {
    width: 50%;
  }

  #main .avatar img 
  {
    width: 90%;
  }

  h1{
    font-size: 17pt;
  }

  p{
    font-size: 17px;
  }

  button{
    font-size: 15pt;
  }

}

@media screen and (min-width: 700px)
{
  .logo img 
  {
    width: 25%;
  }

  #main .avatar img 
  {
    width: 34%;
  }

  h1
  {
    font-size: 13pt;
  }

  p{
    font-size: 15px;
  }

  button{
    font-size: 13pt;
  }
}

@media screen and (min-width: 900px) and (max-width: 1000px)
{
  .logo img 
  {
    width: 15%;
  }

  #main .avatar img 
  {
    width: 25%;
  }

  h1
  {
    font-size: 13pt;
  }

  p{
    font-size: 15px;
  }

  button{
    font-size: 13pt;
  }
}



@media screen and (min-width:1000px)
{
  h1
  {
    font-size: 15pt;
  }

  p
  {
    font-size: 12pt;
  }

  button
  {
    font-size: 10pt;
  }

  .logo img
  {
	width: 15%;
  }

  #main .avatar img 
  {
    width: 25%;
  }


}

@media screen and (min-width:1200px)
{

  #main .avatar img 
  {
  width: 17%;
  }

  h1
  {
    font-size: 15pt;
  }

  p
  {
    font-size: 15pt;
    margin: 0;
  }

  button
  {
    font-size: 15pt;
  }

  .logo img{
    width: 10%;
  }

}
