/* 
===================================================
    Resolução minima 375px  
===================================================
*/
@media screen and (min-width: 375px) {
  body {
    background-size: 400%;
    background-position: -600px top;
  }

  header .container {
    max-width: 1076px;
  }

  #main .row:not(.page-container, .shops, .shops > .row) {
    gap: 12px;
  }

  .navbar {
    width: 100%;
    z-index: 100;
    transition: 0.5s ease-in-out;
  }

  .navbar-fixed {
    position: fixed;
    animation: navbarFixed 1s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  @keyframes navbarFixed {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .navbar .navbar-wrapper .nav_container {
    height: 80px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
  }

  header {
    height: 595px;
    display: flex;
    position: relative;
  }

  header::before {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -300px;
    content: "";
    background: linear-gradient(
      180deg,
      rgba(25, 25, 30, 0) 0%,
      rgba(25, 25, 30, 1) 50%,
      rgba(25, 25, 30, 0) 100%
    );
  }

  /*
  ===================================================
      Brand Logo
  ===================================================
    */

  .brand {
    max-width: 500px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: -1;
  }

  /*
  ===================================================
      Components header, register, online and downloads
  ===================================================
    */
  .comp_header {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .comp_header .comp_header_content {
    max-width: 100%;
    display: flex;
    position: relative;
    justify-content: space-between;
  }

  /*
  ===================================================
      Botão ouro de register 
  ===================================================
    */
  .comp_header_content .comp_register {
    background: url(../images/btn_bg_gold.png) no-repeat;
  }
  /* ajustando posição de texto no botão */
  .comp_header_content .comp_register .comp_text {
    margin-left: 65px;
  }

  .comp_register .comp_text a {
    color: #e6cb9a;
    text-shadow: #7a4f38;
  }

  /*
  ===================================================
      Botão azul de downloads 
  ===================================================
    */

  .comp_header_content .comp_downloads {
    background: url(../images/btn_bg_blue.png) no-repeat;
  }

  /* ajustando posição de texto no botão */
  .comp_header_content .comp_downloads .comp_text {
    margin-right: 65px;
    text-align: right;
  }

  .comp_downloads .comp_text a {
    color: #21c6eb;
    text-shadow: 0 0 10px #07a4c7;
  }

  /* Ajustes de largura e altura padrão */
  .comp_header_content .comp_register,
  .comp_header_content .comp_downloads {
    width: 260px;
    height: 100px;
    background-size: 100% 100%;
    position: relative;
    z-index: 10;
    transition: 0.5s ease-in-out;
  }

  .comp_register:hover,
  .comp_downloads:hover {
    filter: brightness(125%) drop-shadow(0 0 10px #ffffff50);
  }

  /* Ajuste padrão para ambos botões */
  .comp_header_content .comp_text {
    margin-top: 25px;
    line-height: 25px;
  }

  .comp_header_content .comp_text a {
    text-transform: uppercase;
    font-size: 1.3rem;
  }

  /* 
  ===================================================
      Radial Online
  ===================================================
    */

  .comp_online {
    width: 100%;
    height: 141px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
  }

  /* Fusão de luzes  */
  #funsion_lights {
    width: 299px;
    height: 162px;
    background: url(../images/fusion_lights.png) no-repeat;
    position: absolute;
    left: 0;
    top: -30px;
    right: 0;
    margin: auto;
    content: "";
  }

  /* Radial blur, definindo cor de estatus do servidor */
  .radial_blur {
    width: 122px;
    height: 122px;
    border-radius: 100%;
    background-color: rgba(14, 14, 15, 0.808);
    margin: auto;
    position: absolute;
    z-index: 20;
    top: -10px;
    left: -2px;
    right: 0;
  }

  /* barra de progresso */
  #radial_progress {
    width: 122px;
    height: 122px;
  }

  /* Status e informações de jogadores online */
  .comp_info {
    height: max-content;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    line-height: 25px;
  }

  .comp_info p {
    font-size: 1.5rem;
  }

  .comp_info .online {
    color: #13a526;
    text-shadow: 0 0 10px #13a526;
  }

  .comp_info .offline {
    color: #a51313;
    text-shadow: 0 0 10px #a51313;
  }

  /* online */
  [data-radial-blur-green] {
    box-shadow: inset 0px 1px 27px 0px rgba(17, 194, 41, 0.849);
  }
  /* offline */
  [data-radial-blur-red] {
    box-shadow: inset 0px 1px 27px 0px rgba(194, 17, 17, 0.7);
  }

  /*
  ===================================================
      Slider home
  ===================================================
    */
  .slider-home {
    max-height: 300px;
  }

  .slider-home .swiper-wrapper .swiper-slide {
    border-radius: 10px;
    overflow: hidden;
  }

  .slider-home .swiper-wrapper .swiper-slide::before {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(
      -172deg,
      rgba(39, 39, 43, 0) 0%,
      rgba(39, 39, 43, 1) 82%
    );
    z-index: 2;
    content: "";
  }

  .slider-home .swiper-wrapper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .slider-home .swiper-slide-title {
    position: absolute;
    z-index: 15;
    top: 140px;
    left: 35px;
    font-size: 1.5vw;
  }

  .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: #3c3c42;
    box-shadow: inset 0 -1px 1px #ffffff2d;
    opacity: 1;
  }

  .slider-home .swiper-pagination-bullet-active {
    background: #a9936b;
  }

  /* 
  ===================================================
      Sign In navbar
  ===================================================
    */
  .user_area {
    display: flex;
    align-items: center;
    transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
  }

  .user_area:hover {
    filter: drop-shadow(0 0 5px #ffffff2c) brightness(115%);
  }

  /* 
  ===================================================
      Modal Sign In
  ===================================================
    */

  /* Titulo Login */
  .gmodal.sign_in h2 {
    font-weight: normal;
    padding-bottom: 14px;
  }

  /* Base da modal */
  .gmodal.sign_in .modal_content {
    max-width: 440px;
    min-height: 568px;
  }

  /* corpo da modal */
  .gmodal.sign_in .modal_content .modal_body {
    max-width: 300px;
    margin: 68px auto 0 auto;
    padding-bottom: 30px;
  }

  /* Social Networks login */
  .social_login a {
    display: block;
  }

  .social_login a.btn_facebook {
    margin-bottom: 8px;
    background: url(../images/buttons/connect-facebook.png) no-repeat;
  }

  .social_login a.btn_google {
    background: url(../images/buttons/connect-google.png) no-repeat;
  }

  .social_login a.btn_facebook,
  .social_login a.btn_google {
    width: 300px;
    height: 45px;
    line-height: 45px;
    text-indent: 3.3rem;
    text-shadow: 0 2px 0px rgba(0, 0, 0, 0.7);
  }

  /* 
  ===================================================
      Logged In
  ===================================================
    */

  .login_area .user_avatar_small img {
    max-width: 38px;
    border-radius: 7px;
  }

  /* 
  ===================================================
      Divisor ou, or 
  ===================================================
    */
  .divider_or {
    width: 100%;
    position: relative;
    text-align: center;
    margin: 25px 0 20px 0;
  }

  .divider_or span::before {
    left: 0;
  }

  .divider_or span::after {
    right: 0;
  }

  .divider_or span::before,
  .divider_or span::after {
    width: 44%;
    height: 1px;
    position: absolute;
    background-color: #ffffff1f;
    top: 0;
    bottom: 0;
    margin: auto;
    content: "";
  }

  /* 
  ===================================================
    Form inputs
  ===================================================
    */
  /* Agrupador de elementos para formulários */
  .input-group {
    position: relative;
  }

  /* labels */
  .input-group label {
    position: absolute;
    line-height: 45px;
    left: 25px;
    pointer-events: none;
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  select,
  form select,
  form input[type="password"],
  form input[type="text"],
  form input[name="password"],
  form input[name="username"] {
    width: 100%;
    background-color: transparent;
    border: 1px solid var(--grey-5);
    height: 45px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    text-indent: 1.5rem;
    color: var(--bronze-2);
    text-shadow: 0 0 7px #7a4f38;
    font-family: var(--philosopher);
  }

  /* Adicionando animação ao seletor  */
  .label-active {
    animation: floatingLabel 0.5s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  /* mascara para esconder linha do input sobre o texto label */
  .label-active::before {
    width: 100%;
    height: 20%;
    background-color: var(--grey-2);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    z-index: -1;
    content: "";
  }

  /*  efeito que move o label floating  */
  @keyframes floatingLabel {
    0% {
      transform: translateY(0);
      font-size: auto;
    }
    100% {
      transform: translateY(-1.4rem);
      font-size: 0.9rem;
      color: var(--bronze-3);
      z-index: 100;
      text-shadow: 0 0 10px var(--bronze-2);
    }
  }

  /* Adicionando borda bronze */
  form input:focus {
    border: 1px solid var(--bronze-2);
    box-shadow: 0 0 2px 2px #7a4f38;
  }

  /* espaçamento entre as inputs */
  .form_login form input[name="username"] {
    margin-bottom: 15px;
  }

  /* submit button */
  .submit_button {
    width: 157px;
    height: 45px;
    margin: 22px auto;
    display: block;
    font-size: 1.1rem;
    font-weight: normal;
    color: #fff;
    font-family: var(--philosopher);
    text-shadow: 0 2px 1px rgba(0, 0, 0, 0.7);
    background: url(../images/buttons/submit_btn.png) no-repeat;
  }

  /* Recovery password and Sign Up */
  .form-sign-up {
    margin-top: 20px;
    line-height: 25px;
  }
}

/* ===================================================
   Resolução Mobile 576px
===================================================*/
@media screen and (max-width: 576px) {
  .brand {
    padding: 0;
  }

  .contents {
    width: 100%;
  }

  .contents > .row {
    margin: auto 0;
  }

  /* Asidebar */
  .asidebar {
    max-width: 414px;
    margin: auto;
  }

  .asidebar .aside_button_cover {
    right: -37px;
  }

  /* Limitando caracters titulo da postagem  */
  .posts ul li .post_title {
    max-width: 220px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .posts .badge {
    position: absolute;
    top: 10px;
    z-index: 10;
    left: 10px;
  }

  /* Eventos */
  .castle_siege,
  .war_devias {
    overflow: hidden;
  }

  .castle_siege .castle_siege_contents,
  .war_devias .war_devias_contents {
    position: relative;
    z-index: 2;
    background: linear-gradient(
      172deg,
      rgba(39, 39, 43, 0) 0%,
      rgba(39, 39, 43, 1) 82%
    );
  }

  .castle_siege .splash_art,
  .war_devias .splash_art {
    background-size: 100%;
    bottom: 0;
    z-index: 1;
  }

  .castle_siege .splash_art {
    width: 263px;
    height: 291px;
    left: -22px;
  }

  .war_devias .splash_art {
    right: -56px;
  }

  .medias {
    justify-content: space-between;
  }

  /* Medias */
  .medias .medias_thumbnail {
    width: 48%;
    height: auto;
  }

  .slider-home .swiper-slide-title {
    position: absolute;
    z-index: 15;
    top: 60px;
    left: 35px;
    font-size: 5vw;
  }
}
/* ===================================================
   Resoluções para Tablet
===================================================*/

@media screen and (max-width: 768px) {
  /* ===================================================
    Navbar
  ===================================================*/
  /* .navbar {
    background: none;
    border-bottom: 0;
  } */

  .navbar .nav_container {
    background-color: #22222993;
    border-top: 1px solid #ffffff28;
    border-bottom: 1px solid #ffffff28;
  }
  .navbar .navbar_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    background-color: #22222993;
    height: 80px;
  }

  /*===================================================
    Container navbar
  ===================================================*/
  .navbar .nav_container {
    width: 100%;
    height: 0;
    overflow-y: hidden;
    overflow-x: hidden;
    background-color: #222229c4;
  }

  .navbar .nav_container.navbar_collapse {
    height: inherit;
    animation: collpase-fade 1s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  @keyframes collpase-fade {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .navbar .nav_container ul.nav_list {
    display: flex;
    flex-direction: column;
  }

  .navbar .nav_container ul.nav_list li {
    padding: 15px;
    transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: var(--gold-4);
  }

  .navbar .nav_container ul.nav_list li:hover {
    transform: translateX(10px);
    background: linear-gradient(
      71deg,
      rgb(211 183 101 / 0%),
      rgb(211 183 101 / 28%),
      rgb(221 183 101 / 100%)
    );
    filter: drop-shadow(0 0 10px rgb(231, 192, 107));
  }

  .navbar .nav_container ul.nav_list li .bi-arrow-right-short {
    display: none;
  }

  .navbar .nav_container ul.nav_list li:hover .bi-arrow-right-short {
    transform: translateX(-5px);
    display: inline-block;
  }

  .navbar .nav_container ul.nav_list li:hover a {
    color: var(--gold-4);
  }

  /*===================================================
    Toggle menu 
  ===================================================*/
  .nav_toggle {
    width: 50px;
    height: auto;
    cursor: pointer;
  }

  .nav_toggle span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    display: block;
    margin: 4px 0;
    transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .nav_toggle .firstLine {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav_toggle .secondLine {
    opacity: 0;
    transform: translateX(-50px);
  }

  .nav_toggle .thirdLine {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .offers {
    flex-direction: column;
  }
}

/* ===================================================
    Desktop PC
===================================================*/

@media screen and (min-width: 992px) {
  body {
    background-size: unset;
    background-position: center top;
  }

  /* ===================================================
    Navbar
  ===================================================*/

  .navbar {
    display: flex;
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar .nav_container {
    width: 100%;
    height: auto;
  }

  .navbar .nav_container ul.nav_list {
    height: inherit;
    display: flex;
  }

  .navbar .nav_container ul.nav_list li {
    height: 85px;
    padding: 0 27px;
    position: relative;
    display: flex;
    align-items: center;
  }

  .navbar .nav_container ul.nav_list li:hover {
    background: linear-gradient(
      360deg,
      rgb(184, 150, 94) -48%,
      rgba(184, 150, 94, 0) 86%
    );
  }

  .navbar .nav_container ul.nav_list li::before,
  .navbar .nav_container ul.nav_list li::after {
    transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    content: "";
  }

  .navbar .nav_container ul.nav_list li:hover::after {
    width: 100%;
    height: 15px;
    background-color: rgb(199, 157, 88);
    filter: blur(10px) brightness(125%);
    position: absolute;
    border-radius: 50%;
    left: 0;
    bottom: -10px;
    mix-blend-mode: lighten;
  }

  .navbar .nav_container ul.nav_list li:hover::before {
    width: 100%;
    height: 1px;
    background-color: #fffdd3;
    filter: blur(2px);
    mix-blend-mode: overlay;
    position: absolute;
    left: 0;
    bottom: 0;
  }

  /* Logo Brand */
  .brand {
    max-width: 100%;
    right: -100px;
    left: unset;
  }

  .asidebar {
    padding: 0;
  }
}

@media screen and (min-width: 577px) and (max-width: 992px) {
  .asidebar {
    max-width: 100%;
  }

  .asidebar .aside_block {
    width: 49%;
  }
}

@media screen and (width: 577px) {
  .asidebar .aside_block {
    width: 48.88%;
  }
}
