@font-face {
  font-family: Simpsonfont;
  src: url(fonts/Simpson.otf);
}

body {  
  margin: 0;
  padding: 0;
  background: rgb(250, 250, 250);
  background-image: url("images/cloud.png");
  background-size: 100%;  
  background-attachment: fixed;   
  background-position: center;
  background-repeat: no-repeat;
  background-color: #005994;
}

header {
  width: 100%;
  text-align: center;
}

h1 {
  color: #FCCF00;
  font: 3em sans-serif;
  font-weight: bold;
  font-family: Simpsonfont;
  justify-content: center;
  text-shadow: 1px 1px 1px #f3a719,
    1px 2px 1px #f3a719,
    1px 3px 1px #f3a719,
    1px 4px 1px #f3a719,
    1px 5px 1px #f3a719,
    1px 6px 1px #f3a719,
    1px 7px 1px #131212,
    1px 8px 1px #131212,
    1px 9px 1px #131212;
}

a {
  color: #FCCF00;
  padding: 0 1em;
  font: 1.5em sans-serif;  
  font-family: Simpsonfont;    
  justify-content: center;
  text-shadow: 1px 1px 1px #f3a719,
    1px 2px 1px #f3a719,
    1px 3px 1px #131212,
    1px 4px 1px #131212;
}

@media only screen and (max-width: 500px) {
  h1 {    
  font-size: 1.5em;  
  text-shadow: 1px 1px 1px #f3a719,
    1px 2px 1px #f3a719,
    1px 3px 1px #f3a719,
    1px 4px 1px #f3a719,
    1px 5px 1px #131212,
    1px 6px 1px #131212,
    1px 4px 1px #131212;
  }

  a {
    font-size: 1.1em;    
  }
}

img {
  display: block;    
  margin-left: auto;
  margin-right: auto;
}

footer {
  margin-top: 150px;
  display: flex;
  font-family: Simpsonfont; 
  font-weight:bold;    
  color: #f3a719;
  justify-content: center;
  text-shadow: 1px 1px 1px #131212,
    1px 2px 1px #131212;
}

.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.shadow{
  -webkit-box-shadow: 0 15px 6px -6px #000000;
     -moz-box-shadow: 0 15px 6px -6px #000000;
          box-shadow: 0 15px 6px -6px #000000;
}

.frame {  
  margin-top: 10px;
  width: 220px;
  height: 350px;
  border: 25px solid rgb(53, 47, 47);
  background: #eee;
  flex: 1;    
  padding: 15px 10px;
  position: relative;
}
.portrait {
  border: 5px solid #f3a719;
  background: rgb(35, 201, 243);;
  flex: 1;
  align-items: center;  
  position: relative;
}

#buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  height: 50px;
}

.eyes {
  position: absolute;
  top: 35%;
  transform: translate(-8%, -2%);
  width: 100%;
  text-align: center;
}

.eye {
  border: 3px solid #000000;
  width: 81px;
  height: 81px;
  background: #fff;
  display: inline-block;
  margin: -6px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

.ball {
  width: 20px;
  height: 20px;
  background: #000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}