/*
* Developed by Jackelele - jack@elele.team
* https://hytalehub.com
*/

/*
* Scroll Bar
*/
body::-webkit-scrollbar {
  width: 12px;
  background-color: #f5f5f5;
}
body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}
body::-webkit-scrollbar-thumb {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #19347a;
}

/* 
* Important
*/
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100vh;
  width: 100vw;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  background: #212533;
  font-family: "Mukta", sans-serif;
  color: #fff;
  letter-spacing: 0.5px;
  display: flex;
  flex-direction: column;
  font-size: 16px;
}

.margin {
  width: 1400px;
  max-width: 98vw;
  margin: 0 auto;
}

.background-border {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.2);
  border-style: solid;
  border-width: 1px;
  border-radius: 0.3em;
}

/* 
* Header 
*/
.hytalehub {
  width: 100%;
  background: #19347a;
  text-align: center;
  padding: 0.25em 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.hytalehub > p {
  margin: 0;
  font-size: 1em;
}
.text-link {
  color: #00f0ff;
  text-decoration: none;
}
.varyn {
  position: absolute;
  right: 10rem;
  width: 20rem;
  bottom: 0;
}
/*
* Navigation
*/
.nav-text-container {
  margin: 1rem 0.25rem;
  background: #4a59a2;
  padding: 5px 25px;
  border-radius: 10px;
  box-shadow: 0px 2px 5px 2px rgba(0, 0, 0, 0.15);
}
.nav-section {
  position: relative;
  background: url("https://i.imgur.com/gOrr5Xz.jpg");
  border-bottom: 3px solid #00f0ff;
  background-size: cover;
  display: flex;
  flex-direction: column;
}

nav {
  padding: 10px 10px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

nav > .nav-logo {
  height: 100%;
}

nav > .nav-logo img {
  width: 64px;
  height: auto;
}

.nav-options {
  flex: 1;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.nav-options > a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  margin: 0 25px;
  justify-self: flex-end;
  transition: 0.1s ease;
}
.discord-button {
  background: #4a59a2;
}

.login-button {
  margin-left: 20px;
  background: #2cab50;
  padding: 5px 50px;
}

.nav-options > a:not(.nav-text-container):hover {
  color: #4a59a2;
}

.nav-options > .nav-text-container:hover {
  filter: brightness(1.1);
}

.lang-selector {
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
}

.lang-selector {
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
}

.lang-selector picture {
  display: flex;
}

.lang-selector > span {
  padding-left: 5px;
  font-size: 20px;
}

.nav-options > .lang-selector:hover > span:after {
  border-color: #00f0ff transparent transparent transparent;
}

.lang-selector > span:after {
  margin-left: 3px;
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 7px 0 7px;
  border-color: rgba(255, 255, 255, 0.7) transparent transparent transparent;
  transition: 0.1s ease;
  transform: translateY(-2px);
}

.user-dropdown {
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 3;
  transition: 0.2s ease;
}

.user-dropdown:hover {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.user-dropdown:hover .dropdown {
  max-height: 150px;
}

.user-dropdown > a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s ease;
}

.user-dropdown > a::after {
  margin-left: 3px;
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  transform: translateY(-2px);
}

.user-dropdown > .dropdown {
  padding-top: 10px;
  position: absolute;
  flex-direction: column;
  top: calc(100% - 10px);
  left: 0;
  width: 100%;
  max-height: 0;
  transition: 0.2s ease;
  display: flex;
  text-align: center;
  overflow: hidden;
}

.user-dropdown > .dropdown > a {
  color: inherit;
  text-decoration: none;
  padding: 7px 0;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.user-dropdown > .dropdown > a:hover {
  background: rgba(0, 0, 0, 0.1);
}

/*
* Mobile Navigation
*/
.menu-icon {
  display: none;
  width: 2rem;
  height: 2rem;
  flex-direction: column;
  justify-content: space-evenly;
  cursor: pointer;
}

.menu-icon > .bar {
  width: 100%;
  height: calc(100% / 12);
  background: rgba(255, 255, 255, 0.6);
  transition: 0.1s ease;
}

.menu-icon:hover > .bar {
  background: rgba(255, 255, 255, 0.8);
}

.mobile-nav-background {
  background: rgba(0, 0, 0, 0.4);
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 998;
  transition: 0.3s ease;
  cursor: crosshair;
}

.hide-mobile-nav {
  display: none;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 100vw;
  z-index: 999;
  height: 100vh;
  background: #181e2e;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  transition: 0.3s ease;
  transform: translateX(300px);
  cursor: auto;
  box-shadow: -2px 0 3px 5px rgba(0, 0, 0, 0.2);
}

.mobile-nav > .close-icon {
  width: 100%;
  font-size: 32px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  cursor: pointer;
  line-height: 60px;
}

.mobile-nav > .close-icon:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav > a {
  text-decoration: none;
  color: inherit;
  font-size: 24px;
  padding: 10px 0;
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  transition: 0.1s ease;
}

.mobile-nav > a:not(.nav-text-container):hover {
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav > a:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-nav > .nav-text-container {
  margin: 0;
  border-radius: 0;
}

/*
* Hero
*/

.hero {
  position: relative;
  height: calc(100% - 118px);
  /* minus = size of nav */
  flex-grow: 1;
  padding: 0 15px;
  padding-bottom: 1rem;
}

.hero > h1 {
  font-size: 2.8rem;
  margin: 0;
}

.hero > p {
  font-size: 1.4rem;
  margin: 0;
  transform: translateY(-10px);
}

/*
* Search Container
*/

.master-search-container {
  margin-top: 0.5rem;
  width: 600px;
  max-width: 100%;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(38, 46, 74, 0.623) !important;
}

.search-bar form {
  display: flex;
  padding: 0.6rem;
  position: relative;
}

.search-bar form > img {
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  height: 2em;
  left: 1em;
}

.search-bar form > input {
  width: 100%;
  font-size: 1.2em;
  padding: 0.25em 0.25em 0.25em 2em;
  border-radius: 5px;
  border: 0;
  outline: 0;
  font-family: inherit;
}

.search-bar form > button {
  border: 0;
  outline: 0;
  border-radius: 5px;
  margin-left: 5px;
  font-family: inherit;
  font-size: 16px;
  background: rgb(41, 62, 75);
  color: #fff;
  letter-spacing: 1px;
  padding: 0 20px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.1s ease;
}

.search-bar form > button:hover {
  filter: brightness(1.1);
}

.search-dropdown {
  left: 0px;
  width: inherit;
  backdrop-filter: blur(40px);
  position: absolute;
  z-index: 999;
  border: inherit;
  margin: inherit;
  padding: 0;
  border-radius: inherit;
  box-shadow: inherit;
  max-height: 0px;
  opacity: 0;
  background-color: transparent;
  overflow: hidden;
}

.search-dropdown > ul {
  margin: 0;
  padding: 0;
}

.search-dropdown > ul > li {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background-color: #2c7dab;
  display: block;
  list-style-type: none;
  margin: 0;
  padding: 10px;
}

.search-dropdown > ul > li > a {
  text-decoration: none;
  color: #fff;
}

.search-dropdown > ul > li > a:hover {
  text-decoration: underline;
  color: #fff;
}

.search-dropdown > ul > li:last-of-type {
  border-bottom: none;
}
.master-search-container:hover > .search-dropdown {
  max-height: 300px;
  opacity: 1;
}

.tag-container {
  display: flex;
  flex-direction: row;
  margin-top: 20px;
  padding-bottom: 2rem;
}

.tag {
  padding: 0.3em 1em;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0.2em;
  margin-right: 10px;
  font-weight: bold;
  font-size: 1rem;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: 0.05s ease;
}

.tag:hover {
  background: rgba(255, 255, 255, 0.3);
}

/*
* Updates
*/
.news-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 20px;
}

.news {
  width: calc(50% - 10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0px 1px 5px 2px rgba(0, 0, 0, 0.15);
  background: #262e4a;
  border-radius: 0.2em;
  padding: 1rem;
  position: relative;
}

.news > h3 {
  font-size: 1.4rem;
  margin: 0;
  color: #778fcc;
}

.news > p {
  margin: 0 0 0.5rem 0;
}
.show-more {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.button {
  background: #2c7dab;
  box-shadow: 0px 1px 5px 2px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.2em 0.6em;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 1px;
  transition: 0.1s ease;
}

.button:hover {
  filter: brightness(0.8);
}

.news a {
  color: inherit;
  text-decoration: none;
}

.update {
  display: flex;
  flex-direction: row;
  height: 8rem;
  transition: 0.1s ease;
  margin-bottom: 0.5em;
  overflow: hidden;
}

.update:hover {
  background: rgba(255, 255, 255, 0.1);
}

.update > .update-image {
  height: 100%;
  align-self: flex-start;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.05);
}

.update-image > img {
  display: block;
  height: 100%;
}

.update-text-container {
  padding: 0.25em;
  display: flex;
  flex-direction: column;
  padding-left: 10px;
  justify-content: space-between;
  position: relative;
  flex-grow: 1;
}

.update-text-container > h4 {
  margin: 0;
  color: #d19734;
  text-transform: uppercase;
  font-size: 18px;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  max-width: 90%;
}

.update-text-container > p {
  transform: translateY(-5px);
  margin: 0;
  font-size: 14px;
  line-height: 19px;
  letter-spacing: 0.5px;
  color: inherit;
  padding-right: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lower-details {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding-right: 5px;
}

.lower-details > span {
  font-size: 0.85rem;
  color: #9eb2c0;
}

/*
* Server List
*/
.server-heading > h2 {
  color: #778fcc;
  font-size: 28px;
  margin: 0;
}

.server-heading > p {
  margin: -5px 0 10px 0;
}

#sponsored {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  flex-direction: column;
  color: #fff;
}
.serverlist {
  flex-wrap: wrap;
}

table {
  display: table;
  border-collapse: separate;
  white-space: normal;
  line-height: normal;
  font-weight: normal;
  font-size: medium;
  font-style: normal;
  text-align: start;
  border-spacing: 2px;
  border-color: grey;
  font-variant: normal;
}

tbody {
  display: table-row-group;
  vertical-align: middle;
  border-color: inherit;
}
tr {
  padding-top: 10px;
  text-align: center;
  flex-wrap: wrap;
}
.blue {
  background-color: #203658;
  color: #dff2ff;
}

th {
  display: table-cell;
  vertical-align: inherit;
  font-weight: bold;
}
th,
td {
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  flex-wrap: wrap;
}

#normal {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  flex-direction: column;
  padding-bottom: 100px;
  color: #fff;
}
.server-rating {
  color: #9ed6f7;
  border-radius: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-width: 1px;
  font-size: 24px;
  font-weight: bold;
}
.server-container {
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0px 1px 5px 2px rgba(0, 0, 0, 0.15);
  background: #262e4a;
  border-radius: 0.2em;
  padding: 1rem;
  position: relative;
}

.server-ip {
  background: #4b5787;
  color: #262e4a;
  font-size: 16px;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  border-radius: 4px;
}
.col-server {
  width: 55%;
  padding: 10px;
  float: right;
}
.col-logo {
  float: left;
  padding: 10px;
  width: 15%;
}
.col-name {
  width: 30%;
  display: inline-block;
}
.middle {
  margin: auto;
  vertical-align: middle;
}
.server-ip p {
  color: #fff;
  margin: 3px 0 4px 1%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.copy-action {
  color: #fff !important;
  display: block;
  width: 20%;
  height: 20px;
  float: right;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 0px 4px 4px 0px;
  font-size: 15px;
  font-family: "Roboto Condensed", helvetica, arial, sans-serif;
  box-sizing: initial;
  cursor: pointer;
}
.copy-text {
  display: block;
  width: 20%;
}
.vote-margin {
  margin: 10px 0px;
}
.online {
  background: #049b04;
  font-weight: bold;
  border-radius: 4px;
  padding: 4px;
}

.offline {
  background: #ff1616;
  font-weight: bold;
  border-radius: 4px;
  padding: 4px;
}

/*
* Footer
*/
footer {
  border-top: 3px solid #00f0ff;
  background: #181e2e;
  height: 400px;
  margin-top: auto;
}

footer > .margin {
  width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-bottom: 30px;
}

.footer-sections {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin-top: 25px;
}

.footer-sections label {
  font-weight: bold;
  font-size: 18px;
}

.footer-sections ul {
  padding: 0;
}

.footer-sections li {
  list-style-type: none;
}

.footer-sections a {
  color: inherit;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
}

.footer-sections a:hover {
  color: white;
}

.footer-text-container {
  text-align: center;
  padding: 0 1rem;
}

.footer-text-container > p {
  margin: 0;
}

/*
* Mobile Compatibility
*/

@media (max-width: 1100px) {
  /* add a hamburger and remove the dynamic banner image */
  .nav-options > a:not(.nav-logo) {
    display: none;
  }

  .menu-icon {
    display: flex !important;
  }

  .nav-logo img {
    width: 40px !important;
  }

  .varyn {
    display: none;
  }
}

@media (max-width: 650px) {
  .sec1 {
    text-align: center;
  }

  .master-search-container {
    width: 90%;
    margin: 10px auto;
  }

  .tag-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .tag-container .tag {
    margin-bottom: 10px;
  }

  footer {
    height: auto;
  }

  .footer-sections {
    flex-wrap: wrap;
  }

  .footer-section {
    flex-basis: calc(100% / 3);
    text-align: center;
  }

  .footer-text-container {
    padding-top: 30px;
  }
}

@media (max-width: 400px) {
  .footer-section {
    flex-basis: calc(100% / 2);
    text-align: center;
  }
}
@media (max-width: 1200px) {
  html,
  body {
    font-size: 14px;
  }
}
@media (max-width: 800px) {
  html,
  body {
    font-size: 13px;
  }
}
@media (max-width: 500px) {
  html,
  body {
    font-size: 12px;
  }
}

@media (max-width: 1150px) {
  /* make the news containers full width */
  .news-container {
    flex-direction: column;
  }

  .news {
    width: 100%;
  }

  .news:last-of-type {
    margin-top: 10px;
  }
}

@media (max-width: 825px) {
  .server {
    width: 100%;
  }
}
@media (max-width: 550px) {
  .news,
  .server-list {
    text-align: center;
  }

  .top-info {
    padding-top: 20px;
    flex-direction: column;
  }

  .show-more-button {
    position: relative;
    width: 100%;
    top: 0;
    right: 0;
    display: block;
  }

  .update {
    flex-direction: column;
    text-align: center;
    height: auto;
  }

  .update > .update-image {
    margin: 10px auto;
    position: relative;
    width: auto;
    overflow: hidden;
    border: 0;
  }

  .update > .update-image > img {
    height: 8rem;
  }

  .update-text-container {
    width: 100%;
  }

  .update-text-container > h4 {
    max-width: 100%;
    text-overflow: inherit !important;
    white-space: pre-wrap;
  }

  .update-text-container > p {
    display: none;
  }
}

/*@media (max-width: 1100px) {
  thead {
    display: none;
  }

  tbody {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .col-server {
    flex-wrap: wrap;
    width: calc(50% - 10px);
    background: #262e4a;
    position: relative;
  }
  
  .col-server img {
    display: none;
  }
}*/

@media screen and (max-device-width: 640px), (max-width: 640px) {
  .serverlist {
    position: relative;
    overflow: hidden;
    padding: 30px 15px 0;
    font-family: "Roboto", helvetica, arial, sans-serif;
  }

  .serverlist tr {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 0 4px 4px;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }
  .blue {
    display: none;
  }

  .serverlist thead,
  .serverlist th {
    display: none;
  }
  .serverlist td.server-rating {
    display: none;
  }
  .serverlist td.col-name {
    line-height: 40px;
    font-size: 16px;
    position: relative;
    top: -8px;
    color: #fff;
    display: block;
  }
  .serverlist td.col-players {
    color: #fff;
    font-weight: normal;
    font-size: 13px;
  }
  .serverlist td.col-server img {
    margin: 0 auto;
    display: inline-block;
    width: 75%;
    max-width: 100%;
    height: auto;
  }
  .serverlist .server-ip {
    display: inline-block;
    font-size: 15px;
    text-align: center;
    color: #fff;
    margin: 0;
    width: 75%;
    height: 28px;
    padding-top: 4px;
    font-weight: normal;
  }
  .serverlist td.col-status p {
    line-height: 41px;
    height: 41px;
    padding: 0 5px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 0;
  }
  .offline {
    background-color: #212533;
  }
}

/*
* About Page
*/
.title {
  color: #778fcc;
  font-size: 40px;
  margin: 20px 0 0 0;
  text-shadow: 1px 1px 1px #000;
}
.desc {
  font-size: 24px;
  margin-bottom: 20px;
  display: block;
}

.about-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.about-navigation {
  display: flex;
  flex-direction: column;
  width: 200px;
  height: auto;
  border-width: 1px;
  list-style-type: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.about-navigation button {
  background: rgba(255, 255, 255, 0.05);
}

.about-navigation button.active-page {
  color: #fff;
  background: #2c7dab;
}

.about-navigation > button {
  color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: 0.1s ease;
}

.about-navigation > button {
  border-bottom: 0 !important;
}

.about-navigation > button {
  display: block;
  text-decoration: none;
  color: inherit;
  letter-spacing: 1px;
}

.about-navigation > li:not(.active-page):hover {
  background: rgba(255, 255, 255, 0.1);
}

.active-page {
  color: #fff;
  background: #2c7dab;
}

.active-page {
  color: #fff;
  background: #2c7dab;
}

.about-content {
  width: calc(100% - 210px);
  min-height: 800px;
  border-width: 0;
  /* border-radius:6px; */
  border-bottom-right-radius: 6px;
  border-top-right-radius: 6px;
  box-shadow: 0 0 0 #fff;
}

.about-section {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  border-radius: 6px;
}

.about-section-header {
  margin: 0;
}

.about-section p {
  margin: 0;
  font-size: 18px;
}
.faq {
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0px 1px 5px 2px rgba(0, 0, 0, 0.15);
  background: #262e4a;
  border-radius: 5px;
  padding: 15px;
  flex-basis: calc(50% - 5px);
  margin-bottom: 10px;
}
.faq:last-of-type {
  /* remove if even amount of questions */
  flex-grow: 1;
}
.faq-container h2 {
  margin: 0;
  font-size: 32px;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
}
.faq-container p {
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 1150px) {
  .faq-container,
  .title,
  .desc {
    text-align: center;
  }
  .faq {
    flex-basis: 100%;
  }
}

.about-navigation {
  display: flex;
  flex-direction: column;
  width: 200px;
  height: auto;
  border-width: 1px;
  list-style-type: none;
  padding: 0;
  border-radius: 6px;
  /* border-bottom-left-radius:6px;
  border-top-left-radius:6px; */
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 #fff;
}

.about-navigation > li {
  color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: 0.1s ease;
}

.about-navigation > li:last-of-type {
  border-bottom: 0 !important;
}

.about-navigation > li > a {
  display: block;
  text-decoration: none;
  color: inherit;
  letter-spacing: 1px;
}

.about-navigation > li:not(.active-page):hover {
  background: rgba(255, 255, 255, 0.1);
}

.active-page {
  color: #fff;
  background: #2c7dab;
}

/*
  * Blog Page
  */
.blog-page {
  margin: 20px auto;
}
.top-blog-info:not(.b-post) {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.top-blog-info {
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}
.header > h1 {
  font-size: 40px;
  letter-spacing: 1px;
  margin: 0;
}
.header > p {
  transform: translateY(-5px);
  font-size: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}
.blog-search-container {
  align-self: flex-end;
  padding-bottom: 10px;
}
.blog-search {
  position: relative;
  display: flex;
  flex-direction: row;
}
.blog-search > img {
  position: absolute;
  height: 100%;
}
.blog-search > input {
  outline: 0;
  border: 0;
  font-size: 18px;
  padding: 5px 10px 5px 40px;
  border-radius: 4px;
  height: 40px;
}
.blog-search > button {
  margin-left: 5px;
  cursor: pointer;
  background: #2c7dab;
  font-family: inherit;
  font-weight: bold;
  color: #fff;
  font-size: 16px;
  height: 40px;
  outline: 0;
  border-radius: 4px;
  border: 0;
  padding: 5px 10px;
}
.blog-container {
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}
.blog-post {
  width: calc((100% / 3) - 10px);
  border-width: 1px;
  border-radius: 6px;
  overflow: hidden;
}
.blog-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.blog-main {
  display: flex;
  flex-direction: column;
}
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transition: 0.2s ease;
  z-index: 2;
}
.blog-image {
  width: 100%;
  position: relative;
  z-index: 1;
  display: block;
}
.blog-title {
  font-size: 22px;
  letter-spacing: 1px;
  line-height: 35px;
  margin: 0;
  text-transform: capitalize;
  font-weight: 600;
  transition: 0.2s ease;
  padding: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.blog-teaser {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  padding: 5px 0;
  font-weight: 200;
  letter-spacing: 1px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
}
.blog-author {
  padding: 0px 10px;
  background: rgba(255, 255, 255, 0.03);
  padding-bottom: 10px;
}
.blog-post span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  display: block;
}
.blog-link:hover .image-overlay {
  background: rgba(0, 238, 255, 0.2);
}
.blog-link:hover .blog-title {
  color: rgb(52, 241, 255);
}
/* BLOG PAGE DESIGN */
.blog {
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
  padding: 15px 0;
  min-height: 100px;
}
.blog-text {
  margin: 0;
}
.blog-text:first-letter {
  color: #00f0ff;
  float: left;
  font-family: Georgia;
  font-size: 55px;
  font-weight: bold;
  line-height: 40px;
  padding-right: 8px;
  padding-top: 5px;
}

.related-blogs {
  justify-content: center;
}
.related-blogs {
  justify-content: space-between;
}
.blog-suggestions .blog-post {
  max-width: calc((100% / 3) - 5px);
  width: 450px;
}

@media (max-width: 1100px) {
  .top-blog-info {
    flex-direction: column;
  }
  .blog-search-container {
    padding-top: 10px;
    width: 100%;
  }
}

/* Log In Page*/
.logreg-section {
  text-align: center;
  padding-bottom: 50px;
  min-height: 610px;
}
.logreg-section {
  text-align: center;
  padding-bottom: 50px;
  min-height: 610px;
}
.logreg-choice-container {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0px 1px 5px 2px rgba(0, 0, 0, 0.15);
  background: #181e2e;
  width: 500px;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.logreg-title {
  width: 100%;
}
.logreg-title > h1 {
  padding: 10px 0;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  background: rgba(0, 0, 0, 0.1);
  margin: 0;
  font-size: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.logreg-external-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 30px;
  width: 100%;
  transition: 0.3s ease;
  overflow: hidden;
  height: 350px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.logreg-choice-container label {
  font-size: 16px;
  font-weight: bold;
  padding: 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}
#hytalehub-login {
  background: #3a5e95;
}
#discord-login {
  background: #7289da;
}
#google-login {
  background: #d9d9d9;
  color: #000;
}
.logreg-external-options > button {
  cursor: pointer;
  width: 350px;
  max-width: 98%;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 20px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  outline: 0;
  font-weight: bold;
  position: relative;
  height: 60px;
  padding-left: 40px;
}
.external-login-button > img {
  height: calc(100%);
  position: absolute;
  left: 0;
  padding: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.external-login-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.logreg-regular-options {
  width: 100%;
  background: rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 0 0 20px 0;
}
.logreg-regular-button-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 350px;
  align-self: center;
}
.logreg-regular-button-container > a {
  padding: 10px;
  border-radius: 4px;
  width: 150px;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  transition: 0.3s ease;
}
.logreg-regular-button-container > a:first-of-type {
  background: #2cab50;
}
.logreg-regular-button-container > a:last-of-type {
  background: #3bb5d0;
}
.regular-login-label {
  padding-top: 0;
}
.hide-external-login-options {
  padding: 0;
  height: 0;
  border: 0;
}
.show-regular-login-options .chosen-login-option {
  width: 80% !important;
}
.chosen-login-option#login-button {
  margin-right: 10px;
}
.chosen-login-option#register-button {
  margin-left: 10px;
}
.show-regular-login-options
  .logreg-regular-button-container
  > a:not(.chosen-login-option):hover {
  opacity: 0.6;
}
.show-regular-login-options
  .logreg-regular-button-container
  > a:not(.chosen-login-option) {
  opacity: 0.4;
}

.show-regular-login-options {
  padding-top: 20px;
  background: #181e2e;
}
.show-regular-login-options > .regular-login-label {
  display: none;
}
.logreg-container {
  height: 0;
  width: calc(100% * 2);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  transition: 0.3s ease;
}
.show-logreg-container {
  height: 0;
}
.login-height {
  height: 240px;
}
.register-height {
  height: 350px;
}
.login-container,
.register-container {
  padding-top: 15px;
  width: 50%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logreg-container input {
  width: 350px;
  max-width: 100%;
  padding: 10px 20px 10px calc(20px + 40px);
  outline: 0;
  font-family: inherit;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
}
.logreg-container > div {
  position: relative;
}
.logreg-container input:focus {
  border-color: rgba(255, 255, 255, 0.3);
}
.input-container {
  position: relative;
}
.input-container > i {
  background: rgba(255, 255, 255, 0.08);
  position: absolute;
  font-size: 24px;
  height: calc(100% - 15px);
  color: rgba(255, 255, 255, 0.7);
  padding-right: 20px;
  top: 0;
  left: 0;
  width: 50px;
  padding: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.submit-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 350px;
  max-width: 100%;
}
.submit-container > a,
.submit-container > button {
  padding: 10px 0;
  background: #2cab50;
  text-decoration: none;
  border-radius: 4px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  outline: 0;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.submit-container > button {
  width: 80%;
  margin-right: 10px;
}
.submit-container > a {
  width: 150px;
  background: rgb(146, 0, 0);
}
.logreg-text-link {
  margin: 10px 0 0 0;
  opacity: 0.7;
  color: inherit;
  text-decoration: none;
  font-size: 16px;
}
.logreg-text-link:hover {
  text-decoration: underline;
}
.valid-entry {
  border-color: #2cab50 !important;
}
.invalid-entry {
  border-color: rgb(184, 0, 0) !important;
}
.success-icon {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  height: calc((100% - 20px) + 5px);
}
.error-message {
  font-size: 14px;
  margin: 0;
  color: rgb(255, 0, 0);
  font-weight: bold;
  text-transform: uppercase;
  position: absolute;
  letter-spacing: 1px;
}
.login-container > .error-message {
  top: calc((67px * 2) + 5px);
}
.register-container > .error-message {
  top: calc((67px * 4) + 5px);
}
@media (max-width: 650px) {
  .login-height {
    height: 250px;
  }
  .logreg-title > h1 {
    font-size: 20px;
  }
}

/* Server Page */
.server-top-info-container {
  width: 100%;
  height: auto;
  border-bottom-width: 1px;
  background: #262e4a;
}
.server-top-info {
  display: flex;
  flex-direction: row;
  padding: 20px 0;
}
.server-logo {
  height: calc(160px);
  width: calc(160px);
  border-width: 1px;
  border-radius: 6px;
  align-self: flex-start;
  flex-shrink: 0;
  position: relative;
}
.server-logo img {
  height: 100%;
  padding: 15px;
}
.server-info-container {
  display: flex;
  flex-direction: column;
  margin: 0 20px;
  flex-shrink: 0;
  min-width: 400px;
}
.server-top-row {
  display: flex;
  flex-direction: row;
}
.server-name {
  border-width: 1px;
  padding: 0 5px;
  border-radius: 6px;
}
.server-name > h1 {
  font-size: 32px;
  margin: 0;
  color: #778fcc;
  text-shadow: 1px 1px 1px #000;
}
.server-name > p {
  margin: 0;
  transform: translateY(-8px);
}
.server-middle-row {
  display: flex;
  flex-direction: row;
}

.server-bottom-row {
  width: 100%;
  margin-top: 10px;
}
.server-bottom-row > a {
  background: #2cab50;
  color: inherit;
  text-transform: uppercase;
  width: 100%;
  border-radius: 6px;
  padding: 5px 10px;
  display: block;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}
.server-about-container {
  position: block;
  background: #262e4a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 10px;
  margin-left: 750px;
}
.server-about-container p {
  margin: 0;
}

/*
* AddServer
*/
@media (max-width: 1200px) {
  html,
  body {
    font-size: 14px;
  }
}
@media (max-width: 800px) {
  html,
  body {
    font-size: 13px;
  }
}
@media (max-width: 500px) {
  html,
  body {
    font-size: 12px;
  }
}
.inner-container {
  margin-left: 0;
}

.nav-section {
  height: auto;
}

.add-server-page {
  margin: 3rem auto;
  width: 500px;
  max-width: 100%;
}

.add-server-page > h1 {
  margin: 0;
  color: #778fcc;
  line-height: 32px;
}

.add-server-page > p {
  margin: 0;
}

.progress-bar {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  height: 10px;
  width: 100%;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.progress {
  width: 0;
  transition: 0.1s ease-out;
  background: #22ac3b;
}

.add-server-container {
  border-width: 1px;
  border-radius: 6px;
  /* padding:15px; */
  overflow: hidden;
  margin-top: 15px;
  background: #262e4a;
  height: auto;
}

.inner-container {
  width: calc(100% * 6);
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  transition: 0.15s ease;
}

.inner-section {
  width: calc(100% / 6);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.inner-section > h3 {
  margin: 0;
  font-size: 24px;
}

.inner-section > p {
  margin: 0;
}

.section-content {
  flex-grow: 1;
}

.section-content > h3 {
  margin: 0;
  text-transform: uppercase;
  padding: 5px 15px;
  font-size: 24px;
  letter-spacing: 2px;
  background: rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-content > p {
  margin: 0;
  padding: 5px 15px;
}

.buttons-container {
  display: flex;
  flex-direction: row;
  margin-top: 0;
  justify-content: space-between;
  padding: 15px;
}

.buttons-container > button {
  padding: 5px 50px;
  outline: 0;
  border: 0;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 6px;
  font-size: 18px;
  font-family: inherit;
  flex-grow: 1;
  cursor: pointer;
  transition: 0.1s ease;
}

.button-disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
}

.buttons-container > button:nth-last-of-type(even) {
  margin-right: 15px;
}

.one-button {
  justify-content: flex-end;
}

.back-page {
  background: #ff1616;
  color: #fff;
}

.next-page,
.submit-page {
  background: #22ac3b;
  color: #fff;
}

.add-server-input {
  padding: 5px 15px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.short-text-input:not(#_checkbox) {
  width: 100%;
  outline: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  font-family: inherit;
  font-size: 16px;
  color: #fff;
  transition: 0.05s ease;
}

.short-text-input:focus,
.short-textarea-input:focus {
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.short-text-input::placeholder {
  letter-spacing: 0.5px;
}

.short-textarea-input {
  width: 100%;
  outline: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  font-family: inherit;
  font-size: 16px;
  color: #fff;
  transition: 0.05s ease;
  resize: none;
  height: 100px;
}

.character-label {
  text-transform: uppercase;
  position: absolute;
  bottom: 8px;
  right: 20px;
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
}

.add-server-input > label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  transform: translateY(-5px);
}

.add-server-input > label > span {
  color: rgba(255, 255, 255, 0.4);
}

.checkbox-text > p {
  line-height: 20px;
  font-size: 14px;
  margin: 0 0 0 48px;
  color: rgba(255, 255, 255, 0.6);
}

.checkbox-container {
  position: absolute;
  transform: scale(0.4);
}

#_checkbox {
  -webkit-tap-highlight-color: transparent;
  outline: none;
  display: none;
}

.checkbox-label {
  position: absolute;
  top: 50%;
  width: 100px;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s ease transform, 0.2s ease background-color,
    0.2s ease box-shadow;
  overflow: hidden;
  z-index: 1;
}

.checkbox-label:before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  width: 70px;
  height: 70px;
  margin: 0 auto;
  background-color: white;
  transform: translateY(-50%);
  border-radius: 10px;
  transition: 0.2s ease width, 0.2s ease height;
}

.checkbox-label:active {
  transform: scale(0.9);
}

#tick_mark {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  width: 60px;
  height: 60px;
  margin: 0 auto;
  margin-left: 14px;
  transform: rotateZ(-40deg);
}

#tick_mark:before,
#tick_mark:after {
  content: "";
  position: absolute;
  background-color: #fff;
  border-radius: 2px;
  opacity: 0;
  transition: 0.2s ease transform, 0.2s ease opacity;
}

#tick_mark:before {
  left: 0;
  bottom: 0;
  width: 10px;
  height: 30px;
  transform: translateY(-68px);
}

#tick_mark:after {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  transform: translateX(78px);
}

#_checkbox:checked + .checkbox-label {
  background-color: #22ac3b;
}

#_checkbox:checked + .checkbox-label:before {
  width: 0;
  height: 0;
}

#_checkbox:checked + .checkbox-label #tick_mark:before,
#_checkbox:checked + .checkbox-label #tick_mark:after {
  transform: translate(0);
  opacity: 1;
}

.dropzone-flex {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

#server-properties .section-content > .add-server-input:first-of-type,
#external-links .section-content > .add-server-input:first-of-type {
  margin-top: 5px;
}

#dropzone-input {
  background: rgba(0, 0, 0, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.5);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  padding: 15px;
  cursor: pointer;
  height: 150px;
}

#dropzone-input .dz-message {
  width: 256px;
  height: 128px;
  margin: 0;
  /* display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center; */
}

#dropzone-input .dz-button {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0;
  cursor: pointer;
  font-weight: bold;
  color: #fff;
  height: 100%;
}

.dz-preview {
  border-radius: 6px;
  overflow: hidden;
  margin: 0 !important;
}

.dz-image,
.dz-image img {
  border-radius: 0 !important;
}

.dropzone .dz-preview .dz-details {
  padding: 0.5em 0 !important;
}

.dz-size span {
  font-size: 12px;
}

.dropzone .dz-preview .dz-success-mark svg,
.dropzone .dz-preview .dz-error-mark svg {
  background: #fff;
  border-radius: 100%;
}

.ql-toolbar {
  background: rgba(255, 255, 255, 0.6);
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  font-family: inherit;
}

#editor {
  width: 100%;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  font-family: inherit;
  height: 250px;
  font-size: 18px;
}

.ql-editor.ql-blank::before {
  color: rgba(255, 255, 255, 0.4) !important;
  content: attr(data-placeholder);
  font-style: normal !important;
  left: 15px;
  pointer-events: none;
  position: absolute;
  right: 15px;
  font-family: inherit;
}

.country-dropdown {
  background: #313953 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.country-dropdown .icon {
  color: rgba(255, 255, 255, 0.7);
}

.country-dropdown .text {
  color: #fff !important;
}

.ui.dropdown .menu {
  background: #313953 !important;
}

.ui.selection.dropdown .menu > .item {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.ui.dropdown .menu {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.ui.dropdown.selected,
.ui.dropdown .menu .item,
.ui.dropdown.selected,
.ui.dropdown .menu .selected {
  color: #fff !important;
}

.country-dropdown .search {
  color: #fff !important;
}

.country-dropdown .message {
  color: #fff !important;
}

#external-links input {
  padding-left: 56px !important;
  position: relative;
}

#external-links i {
  position: absolute;
  left: 16px;
  padding: 0 10px;
  height: 48px;
  line-height: 48px;
  bottom: 5px;
  font-size: 24px;
  border-right: 1px solid #50566d;
  color: rgba(255, 255, 255, 0.4);
  transition: 0.1s ease;
}

#external-links input:focus ~ .fa-youtube {
  color: #f00;
}

#external-links input:focus ~ .fa-twitter {
  color: #1da1f2;
}

#external-links input:focus ~ .fa-discord {
  color: #7289da;
}

#external-links input:focus ~ .fa-globe {
  color: #fff;
}

.review-container {
  display: flex;
  flex-direction: column;
  margin: 0 15px;
  border-width: 1px;
  border-radius: 6px;
}

.review-row {
  padding: 3px 10px;
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.review-row:last-of-type {
  border: 0;
}

.review-head {
  width: 160px;
  font-weight: bold;
  padding-right: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
}
