html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
  font-family: 'Open Sans', sans-serif;
}

body {
  line-height:1;
  background: url("../img/background.png") center center fixed no-repeat #d7c42a;
  margin-top: 120px;
  overflow-x:hidden;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display:block;
}

nav ul {
  list-style:none;
}

blockquote, q {
  quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content:'';
  content:none;
}

a {
  margin:0;
  padding:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

ins {
  background-color:#ff9;
  color:#000;
  text-decoration:none;
}

mark {
  background-color:#ff9;
  color:#000;
  font-style:italic;
  font-weight:bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom:1px dotted;
  cursor:help;
}

table {
  border-collapse:collapse;
  border-spacing:0;
}

hr {
  display:block;
  height:1px;
  border:0;
  border-top:1px solid #cccccc;
  margin:1em 0;
  padding:0;
}

input, select {
  vertical-align:middle;
}

.nav {
  height: 44px;
  width: 99%;
  margin-left: 0.35%;
  margin-top: 0.35%;
  position: fixed;
  top: 0;
  left: 0;
  background: #efda2f;
  display: inline-flex;
  z-index: 1000;
}

.nav .navbar ul {
  display: inline-flex;
}
.nav .navbar ul li {
  list-style: none;
  display: inline-block;
  margin-top:-6px;
}
.nav .navbar ul li a {
  display: flex;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 250ms ease-in-out;
  text-shadow: none;
}
.nav .navbar ul li::before {
  content: '';
  display: block;
  position: relative;
  right: 1px;
  top: 23px;
  height: 6px;
  width: 6px;
  background: #ffffff;
  opacity: .5;
  transform: rotate(45deg)
}
.nav .navbar ul li:first-child::before {
  opacity: 0;
}
.nav .navbar ul li::after {
  content: "";
  width:0px;
  height: 3px;
  display: block;
  background: #8ec15d;
  position: relative;
  top:-3px;
  transition: all 250ms ease-in-out;
}
.nav .navbar ul li:hover::after,.nav .navbar ul li.active::after {
  width: 100%;
}
.nav .navbar ul li:hover a {
  color: #8ec15d;
  text-shadow: none;
}
.home {
  width: 80%;
  margin: 80px auto;
  position:relative;
  left: 0;
  height: 0;
  overflow: visible;
  transition: all 400ms ease-in-out;
  text-align: center;
}
.home img {
  margin: 0 auto;
}
.home.deactive {
  left: -2000px;
  height: 0;
  overflow: hidden;
}
.home ul {
  display: relative;
  width: 100%;
  margin: 30px auto;
  transform: translateX(-23px)
}
.home ul li {
  list-style: none;
  display: inline-flex;
}
.home ul li a i {
  font-size: 73px;
  color: #fff;
  margin: 0 30px;
  transition: all 250ms ease-in-out;
}
.download {
  margin: 0 auto;
  width: 500px;
  height: 0px;
  overflow: hidden;
  text-align: center;
  position: relative;
  top: -2000px;
  transition: all 400ms ease-in-out;
}
.download.active {
  overflow: visible;
  top: 0;
  height: auto;
}
.download  h1{
    display: block;
  font-size: 2em;
  -webkit-margin-before: 0.67em;
  -webkit-margin-after: 0.67em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  font-weight: bold;
  text-transform: upppercase;
  margin-bottom: -13px;
  text-transform: uppercase;
}
.download p img {
  transform: rotateX(180deg)
}
.center-text {
  color: #fff;
  height: 0px;
  margin: 0 auto;
  width: 500px;
  text-align: center;
  transition: all 400ms ease-in-out;
  position: relative;
  right: -2000px;
  overflow: hidden;
}
.center-text.active {
  right: 0;
  height: auto;
  display: block;
  overflow: visible;
}
.center-text h1 {
  display: block;
  font-size: 2em;
  -webkit-margin-before: 0.67em;
  -webkit-margin-after: 0.67em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  font-weight: bold;
}
.center-text p {
  display: block;
  -webkit-margin-before: 1em;
  -webkit-margin-after: 1em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
}
.socials  {
  display: grid;
  place-items: center;
  height: 80vh;
  justify-content: center;
}
.socials-center {
  display: flex;
  flex-direction: column;
  text-align: center;
  color: white;
}

.socials-center h1 {
  font-size: 2em;
  padding: 10px;
  font-weight: bold;
  margin-bottom: -13px;
  text-transform: uppercase;
  margin: 10px;
  margin-bottom: 30px;
  background: white;
  color: black;
  border-radius: 5px;
  letter-spacing: 4px;
}

.socials-center a {
  color: white;
  text-decoration: none;
  padding: 10px 12px; 
  background: rgba(0,0,0,0.8);
  border-radius: 5px;
  transition: all 100ms ease-in-out;
  letter-spacing: 1px;
  
}
.socials-center a i{
  transition: all 100ms ease-in-out;
}

.socials-center a:hover {
  background-color: rgba(0,0,0,1);
}

.socials-center a:hover:nth-child(even) {
  transform: scale(1.2) rotate(1deg);
}
.socials-center a:hover:nth-child(odd) {
  transform: scale(1.2) rotate(-1deg);
}
.socials-center a:hover:nth-child(even) i {
  transform: rotate(-1deg);
}
.socials-center a:hover:nth-child(odd) i {
  transform: rotate(1deg);
}

.socials-center a:not(:last-child) {
  margin-bottom: 12px;
}

.socials-center i  {
  float: left;
}
.quote {
  width: 80%;
  margin: 0 auto;
  display: grid;
  place-items: center;
  height: 70vh;
  justify-content: center;
}
.quote h1 {
  font-size: 2em;
  padding: 10px;
  font-weight: bold;
  margin-bottom: -13px;
  margin: 10px;
  margin-bottom: 30px;
  color: black;
  border-radius: 5px;
  letter-spacing: 4px;
}
.quote h1 > span {
  color: #00AFF0;
}
.quote-center p {
  padding: 0 20px;
  font-size: 1.5em;
  font-weight: bold;
  margin: 10px;
  margin-bottom: 30px;
  color: black;
  border-radius: 5px;
  letter-spacing: 4px;
}
.quote-center {
  display: flex;
  flex-direction: column;
  text-align: center;
  color: white;
}



.button-exist-link {
  opacity: 0;
  cursor: default;
  position: absolute;
  left: 50%;
  top: 10.5px;
  transform: translateX(-66%);
  text-transform: uppercase;
  text-decoration: none;
  color: white;
  padding: 8px 20px;
  border: 2px solid white;
  border-radius: 3px;
  font-weight: bolder;
  letter-spacing: 1px;
  z-index: 100000;
  transition: all 100ms ease-in-out;
  /* call rainbow animation */
  animation: rainbow 3s linear infinite;
}
.button-exist-link:focus, .button-exist-link.focused {
  outline: none;
  opacity: 1;
  cursor: pointer;  
}

.friends {
  width: 80%;
  margin: 0 auto;
}
.friends h1 {
  font-size: 2em;
  padding: 10px;
  font-weight: bold;
  margin-bottom: -13px;
  margin: 10px;
  margin-bottom: 30px;
  color: black;
  border-radius: 5px;
  letter-spacing: 4px;
  text-align: center;
}
.friends .live .items, .friends .offline .items {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: center;
  margin: 3rem auto;
}

.friends .live.disabled {
  display: none;
}
.friends .live h2, .friends .offline h2 {
  font-size: 1.5em;
  padding: 10px;
  font-weight: bold;
  margin-bottom: -13px;
  margin: 10px;
  margin-bottom: 30px;
  color: black;
  border-radius: 5px;
  letter-spacing: 4px;
  text-align: center;
}

.friend {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: calc(100% / 3);
  margin-bottom: 10px;
}

.friend h3 {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: black;
  border-radius: 5px;
  letter-spacing: 4px;
  text-align: center;
}

.friend img {
  width: 200px;
  height: 200px;
  border-radius: 3px;
  margin: 20px auto;
  transition: all 100ms ease-in-out;
}
.friends .live img {
  border: 5px solid darkred;
  padding: 5px;
}

/* make rainbow animation */
@keyframes rainbow {
  0% {
    background: #ff0000;
  }
  25% {
    background: #ff7f00;
  }
  50% {
    background: #ffff00;
  }
  75% {
    background: #00ff00;
  }
  100% {
    background: #0000ff;
  }
}

/* responsive breakpoint for medium screen size */
@media screen and (max-width: 768px) {
  
  .friend {
    width: 50%;
  }
}
@media screen and (max-width: 600px) {
  .friend {
    width: 100%;
  }
}
/* responsive breakpoint for 400px screen size */
@media screen and (max-width: 400px) {
 body {
  margin-top: 40px;
 }
 
}