@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,700,900&subset=cyrillic");
@import url("https://fonts.googleapis.com/css?family=PT+Serif:400,700&subset=cyrillic");
#dev {
  position: fixed;
  bottom: 0;
  left: 0;
  background: tomato;
  color: white;
  font-family: monospace;
  font-size: 1rem;
}

html, body {
  overflow-x: hidden;
  background: #49525A;
  text-rendering: optimizeLegibility;
}

.container {
  width: 100%;
  box-shadow: 120px 0 150px -4px #373E43, -120px 0 150px -4px #373E43;
  display: block;
  margin: 0 auto;
  max-width: 1280px;
  background: radial-gradient(ellipse at center, #f7f8f9 0%, #d0d0d0 100%);
}

header {
  margin-bottom: 1rem;
}

nav {
  width: 100%;
  margin: 0 auto 1rem auto;
  max-width: 768px;
}

nav .logo-left {
  padding: 0.3rem 0 0 0.3rem;
  display: inline-block;
}

nav img.logo {
  width: 128px;
}

nav .share-right {
  padding: 0.5rem 0.5rem 0 0;
  float: right;
}

nav ul.share {
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  border: 1px solid #a6b3bc;
  padding: 0.6rem 0 0.5rem 0;
  border-radius: 5px;
}

nav ul.share li {
  display: inline-block;
}

nav ul.share li .fa-facebook {
  padding-left: 1rem;
}

nav ul.share li a {
  color: #5D6670;
  padding-right: 1rem;
}

nav ul.share li a:hover {
  color: #1b99d6;
}

.window-wrapper {
  width: 100%;
}

.outer-pane {
  max-width: 500px;
  min-height: 500px;
  max-height: 770px;
  height: 85vh;
  box-shadow: 0px 0px 2rem white;
  margin: auto;
  width: 95%;
  border-radius: 6rem;
  background: #EFF1F4;
  border: 2px solid #BCC7D2;
}

.outer-pane-inside {
  margin: 1rem auto;
  width: 92%;
  height: 93%;
  border-radius: 6rem;
  background: #EFF1F4;
  border: 2px solid #BCC7D2;
}

.inner-pane-outside {
  padding: 0.5rem;
  margin: 1.2rem auto;
  border-radius: 4rem;
  width: 90%;
  height: 90%;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #fbfeff 4%, #adb4be 100%);
}

.inner-pane-inside {
  position: relative;
  z-index: 999;
  margin: auto;
  border-radius: 3rem;
  width: 95%;
  height: 95%;
  overflow: hidden;
  background: linear-gradient(to bottom, #008be2 0%, #49a7e5 100%);
}

#pane-content {
  padding: 13% 3% 0 3%;
  height: 100%;
  position: relative;
}

#pane-content #intro {
  margin-top: 15%;
}

#pane-content h1 {
  font-family: "PT Serif", serif;
  font-weight: 900;
  color: white;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.2;
}

#pane-content p {
  text-align: center;
  color: white;
  font-family: "PT Serif", serif;
  line-height: 1.3;
  font-weight: 300;
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

#pane-content #country {
  z-index: 999;
  margin-top: -1rem;
  display: none;
  text-align: center;
}

#pane-content #country h2, #pane-content #country h3, #pane-content #country h4, #pane-content #country h5 {
  font-family: "PT Serif", serif;
  color: white;
}

#pane-content #country h2 {
  text-shadow: 1px 1px 1px #086caa;
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

#pane-content #country h3 {
  font-size: 0.9rem;
  line-height: 1.3;
}

#pane-content #country h4#country-count {
  font-weight: 900;
  margin-bottom: 0.4rem;
  font-size: 4.5rem;
}

#pane-content #country #country-flag {
  padding-right: 0.5rem;
  margin: 0 auto 0.5rem auto;
  height: 64px;
  width: 64px;
  display: block;
}

#pane-content #nav {
  position: absolute;
  z-index: 999;
  bottom: 1.3rem;
  width: 80%;
  left: 50%;
  transform: translate(-50%, 0);
  font-family: "Roboto", sans-serif;
}

#pane-content #or-select {
  margin-bottom: -1rem;
  text-align: center;
  color: #373E43;
  font-size: 1rem;
}

#pane-content #or-select select {
  border: 1px solid #086caa;
}

#pane-content #go-button {
  font-weight: 700;
  background: #7FD026;
  border: none;
  color: white;
  font-size: 1.2rem;
  margin: 0 auto 0.5rem auto;
  width: 100%;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 5px 5px 0px #4E9500;
}

#pane-content #go-button:hover {
  background: #80ea07;
  cursor: pointer;
}

.cloud {
  z-index: 0;
  position: absolute;
  width: 60%;
}

.bird {
  z-index: 0;
  position: absolute;
  width: 20%;
  opacity: 0.2;
}

#bird1 {
  top: 0%;
  left: -25%;
}

#bird2 {
  top: 22%;
  left: -25%;
}

#bird3 {
  top: 44%;
  left: -25%;
}

#bird4 {
  top: 70%;
  left: -25%;
}

#cloud1 {
  left: -55%;
  bottom: -15%;
}

#cloud2 {
  left: -60%;
  bottom: -15%;
}

#cloud3 {
  left: -55%;
  bottom: -15%;
}

.row {
  margin-bottom: 5rem;
}

.row #chart-wrapper p {
  margin-bottom: 3rem;
}

.row #tweet-heading-wrapper h2 {
  margin-bottom: 3rem;
}

.row .center {
  margin: 0 auto;
  max-width: 768px;
  padding: 0 5%;
}

.row a {
  color: #ec1e58;
  border-bottom: 1px solid #ec1e58;
  padding-bottom: 2px;
}

.row a:hover {
  color: #ec1e58;
  opacity: 0.5;
  border-bottom: none;
}

.row h2 {
  color: #373E43;
  text-shadow: 0px 0px 1px white;
  text-align: center;
  font-family: "PT Serif", serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.row p {
  color: #49525A;
  font-family: "PT Serif", serif;
  line-height: 1.3;
  font-weight: 300;
}

.tweets-img-mobile {
  display: block;
}

.tweets-img-desktop {
  display: none;
}

#note {
  margin-bottom: 2rem;
  font-family: "Roboto", sans-serif;
  color: #82888A;
  line-height: 1.3;
  text-align: center;
  font-size: 0.7rem;
}

#tweet {
  z-index: 0;
}

#translation {
  margin: 1rem auto 2rem auto;
  width: 100%;
  max-width: 500px;
  font-family: "Roboto", sans-serif;
}

#translation #translation-header {
  font-weight: 700;
  padding: 0.4rem;
  width: 100%;
  background: #FFE9AB;
  color: #99771A;
}

#translation #translation-header .fa-twitter {
  color: #99771A;
}

#translation #translation-text {
  border-radius: 0px 0px 5px 5px;
  color: #665012;
  font-weight: 300;
  line-height: 1.3;
  padding: 0.4rem;
  background: #FFF4D5;
}

footer {
  margin-bottom: 0 !important;
  padding-bottom: 1rem;
}

footer .footer-wrapper {
  max-width: 550px;
  margin: 0 auto;
  text-align: center;
  font-family: "Roboto", sans-serif;
  color: #82888A;
  font-weight: 300;
  font-size: 0.8rem;
  line-height: 1.3;
}

footer .footer-wrapper img#footer-torch {
  width: 2rem;
  opacity: 0.7;
  margin-bottom: 2rem;
}

footer .footer-wrapper ul.follow li {
  display: inline-block;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-right: 2rem;
}

footer .footer-wrapper ul.follow li:nth-child(3n) {
  padding: 0;
}

footer .footer-wrapper ul.follow li a {
  color: #82888A;
}

footer .footer-wrapper ul.follow li a:hover {
  color: #ec1e58;
}

@media screen and (min-width: 32em) {
  .tweets-img-mobile {
    display: none;
  }
  #whatsapp {
    display: none;
  }
  .tweets-img-desktop {
    display: block;
  }
  nav img.logo {
    width: 158px;
  }
  #pane-content {
    padding-top: 8%;
  }
  #pane-content h1 {
    font-size: 2.25rem;
  }
  #pane-content p {
    font-size: 1.275rem;
  }
  #pane-content #country #country-flag {
    width: 4rem;
  }
  #pane-content #country h2 {
    font-size: 2.5rem;
  }
  #pane-content #country h5 {
    font-size: 2rem;
  }
  #pane-content #country h3 {
    font-size: 1.3rem;
  }
  #pane-content #country h4#country-count {
    font-size: 8rem;
  }
  #chart-wrapper h2, #tweet-wrapper h2 {
    font-size: 1.8rem;
  }
}
