html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #909090;
  text-align: center;
}

div#wrapper {
  min-height: 100%;
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
}

article {
  /* make sure this pushes the footer to the bottom */
  flex: 1;
  -webkit-flex: 1;
}

div.content {
  max-width: 1165px;
  margin-left: auto;
  margin-right: auto;
}

section:not(#header):not(:last-of-type) {
  border-bottom: 1px solid #eee;
  padding: 100px 40px;
}

@media screen and (max-width: 630px) {
  section:not(#header):not(:last-of-type) {
    padding: 70px 40px;
  }
}

section:last-of-type {
  border-bottom: none;
  padding: 100px 40px 0;
}

section .intro {
  /* intro to a section, center and make narrow */
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
  margin-bottom: 48px;
}
.intro p {
  margin: 18px 0 30px;
}

.start {
  text-align: start;
}

/* headings */
h1,
h2,
h3,
h4,
h5 {
  color: #155160;
  font-weight: 600;
}

.faq-highlights h3 {
  color: #155160;
}

h1 {
  font-size: 40px;
  padding-top: 12px;
  margin-bottom: 17px;
}

h2 {
  color: #155160;
  font-size: 42px;
  line-height: 64px;
}
@media screen and (max-width: 630px) {
  h2 {
    font-size: 32px;
    line-height: 46px;
  }
}

h3 {
  color: 155160;
  font-size: 18px;
  line-height: 30px;
}

h5 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  margin-bottom: 2px;
}

/* normal text and links */
p {
  font-size: 14px;
  line-height: 25px;
}

a {
  color: #2a2a2a;
  border-bottom: 1px dotted #ccc;
  text-decoration: none;
}

a:hover {
  color: #00AC9B;
}

p a {
  color: #808080;
}

/* pre */
pre {
  font-family: monospace;
}

/* buttons */
/* unsupported dialog should maintain button spacing */
.btn,
.unsupported {
  margin: 20px 0;
}

.btn {
  background: #10c9b1;
  color: #fff;
  padding: 0 30px;
  line-height: 44px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 4px;
  display: inline-block;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
  color: #fff;
  background: #00AC9B;
}

/* "logo" stuff */
.logo {
  height: 140px;
}

.uproxy-title {
  color: #10aa9b;
}

/* header */
#header {
  padding: 8px 0;
}

.page-index #header {
  padding: 8px 40px 100px;
  border-bottom: 1px solid #eee !important;
}

@media screen and (max-width: 630px) {
  .page-index #header {
    padding: 8px 0 100px;
  }
}

#header h1 {
  font-size: 46px;
  line-height: 56px;
  margin-top: 32px;
  padding: 0;
}

.page-index #header h1 {
  font-size: 74px;
  line-height: 92px;
}

@media screen and (max-width: 630px) {
  .page-index #header h1 {
    font-size: 46px;
    line-height: 56px;
  }

  .logo {
    height: 86px;
  }

  #header {
    padding-bottom: 48px;
  }
}

.or {
  color: #00CAB1;
}

.page-index h2 {
  margin: 0;
}

.page-index p {
  margin-top: 8px;
}

#language-selector {
  text-align: left;
  padding-left: 25px;
}

#nav-links {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 70px;
  text-align: center;
}

#nav-links a {
  color: #808080;
  border-bottom: none;
}

#nav-links a:hover {
  color: #333332;
}

#nav-links > span {
  padding: 0 40px;
}

#nav-links > span:first-child {
  padding: 0 40px 0 0;
}

#nav-links > span:last-child {
  padding: 0 0 0 40px;
}

@media screen and (max-width: 630px) {
  #nav-links > span {
    padding: 0 10px;
  }

  #nav-links > span:first-child {
    padding: 0 10px 0 0;
  }

  #nav-links > span:last-child {
    padding: 0 0 0 10px;
  }
}


/* footer */
footer {
  background-color: #003C48;
  margin-top: 100px;
  padding-top: 25px;
  padding-bottom: 25px;
}

footer h5 {
  color: #fff;
}

footer ul.links {
  margin-top: 0px;
  font-size: 18px;
}

footer ul.links li {
  margin-bottom: 0px;
}

footer ul.links a {
  color: #bbbbbb;
  border-bottom: none;
}

footer ul.links a:hover {
  color: white;
}

/* `#what` is the "how does uProxy work" section of the homepage */
#what > * {
  text-align: start;
}

#what .intro {
  text-align: center;
}

#what h3 {
  font-size: 22px;
  line-height: 30px;
  margin-bottom: 12px;
}

#how,  /* the "how can i get uproxy" section of the homepage */
#developed-by {  /* the "developed by uw" section of the homepage */
  border-bottom: none !important;
}

#developed-by {
  padding: 20px 40px 0 !important;
}

#developed-by p {
  font-size: 11px;
  line-height: 21px;
  font-weight: 400;
  letter-spacing: 1px;
}

/* faq page */
section.faq {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

section.faq p {
  text-align: start;
}

/* list of links */
ul.links {
  list-style: none;
  -webkit-padding-start: 0px;
  -moz-padding-start: 0px;
}

ul.links li {
  font-size: 18px;
  margin-bottom: 10px;
}

#whyUseUproxy p {
  text-align: center;
}

.faq-highlights ul.links li {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 46px;
  margin-left: auto;
  margin-right: auto;
  text-align: start;
  max-width: 650px;
}
.faq-highlights h3 {
  margin-bottom: 14px;
}

a.learn-more, a.top {
  color: #00CAB1;
  border-bottom: 0;
}
a.learn-more:hover, a.top:hover {
  border-bottom: 1px dotted #00CAB1;
}

/* styling for the installation errors */
.unsupported {
  /*
   * we do not want to span the entire screen and should have some spacing
   * around text
   */
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  padding: 50px 80px;
  box-sizing: border-box;

  background: #f8fafa;
  border: 2px solid #eaefee;
  border-radius: 3px;
}

/* styling for error pages (resembling in-app errors) */
.alert-container {
  margin-left: auto;
  margin-right: auto;
  min-width: 350px;
  max-width: 600px;
}

.alert-container h2 {
  font-size: 26px;
  line-height: 26px;
  font-weight: bold;
  padding-top: 40px;
}

/* styling for invite page */
#invite-title {
  font-size: 36px;
}

#invite-text {
  margin: 0 auto;
  max-width: 60%;
  word-wrap: break-word;
  text-align: left;
}

#invite-instructions div {
  width: 24%;
  margin :0;
}

.transparent  {
  background-color: transparent;
}

/* rows of columns */
.row>* {
  display: inline-block;
  vertical-align: top;
}

.row img {
  max-width: 100%;
  height: auto;
}

.row p {
  font-size: 15px;
  text-align: start;
}

.imgwrap {
  width: 100%;
}

/* row_n denotes row with x columns */
.row_2>* {
  width: 43%;
  margin-left: 3.4%;
  margin-right: 3.4%;
  margin-bottom: 30px;
  max-width: 400px;
}

.row_3>* {
  width: 28%;
  margin-left: 2.5%;
  margin-right: 2.5%;
}

.row_4>* {
  width: 21%;
  margin-left: 1.5%;
  margin-right: 1.5%;
}

.row > * {
  padding-bottom: 50px;
}
.row > *:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

@media screen and (max-width: 915px) {
  section {
    padding-top: 48px;
  }

  .row_3>*,
  .row_2>* {
    max-width: 90%;
    width: 90%;
  }

  .row_4>* {
    width: 43%;
    margin-left: 2.5%;
    margin-right: 2.5%;
  }
}
