html {
  box-sizing: border-box;
}


/* * { border: 1px solid red; } */

*,
*::after,
*::before {
  box-sizing: inherit;
}

ul,
ol {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;

}

input,
button,
textarea,
select {
  font: inherit;
  border: 0;
}

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

a,
button,
input,
textarea {
  outline: 0;
}

@font-face {
  font-family: "digital display tfb";
  src:
    url("/static/dayzserverapp/fonts/digital_display_tfb.woff") format("woff"),
    url("/static/dayzserverapp/fonts/digital_display_tfb.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: #0f0f0f;
  font-family: 'Roboto', sans-serif;
  color: #165a16;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
}

.header {
  padding-top: 10px;
  margin-bottom: 15px;
}

.header__content {
  background-image: url(../img/header-fon_new.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 32vh;
  box-shadow: 0px 0px 26px 28px #0f0f0f inset;
  padding: 30px clamp(20px, 8vw, 120px) 0;
}

.header-logo {
  display: flex;
  align-items: center;
  align-self: center;
  padding: 10px 0;
  margin-top: -30px;
}

.header-logo::before {
  content: none;
}

.header-logo__img {
  width: clamp(110px, 16vw, 180px);
  height: clamp(110px, 16vw, 180px);
  border-radius: 10px;
  box-shadow: 0px 0px 6px 5px rgba(0, 0, 0, 0.7);
  object-fit: cover;
  opacity: 0.92;
}

.header-logo h1 {
  order: 2;
  font-size: 25px;
  line-height: 30px;
  padding-bottom: 10px;
  text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 1em black;
}

.header-logo h2 {
  order: 1;
  font-size: 20px;
  text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 1em black;
}

.header__side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 10px 0 0;
}

.header__address {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: clamp(9px, 1.4vw, 11px);
  line-height: 16px;
  color: #c0c0c0;
  text-align: center;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 6px;
  padding: 6px 12px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.95);
}

.header__address .lang-btn {
  border: none;
}

.header__contacts {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header__contact {
  width: auto;
  min-width: clamp(70px, 10vw, 90px);
  height: 32px;
  position: relative;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid #165a16;
  padding: 6px 12px 6px 30px;
  text-align: left;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.85);
  transition: 0.3s;
}

.header__contact:hover {
  background: rgba(22, 90, 22, 0.5);
  border-color: #2a9a2a;
}

.header__contact--discord {
  font-weight: 700;
  font-size: clamp(11px, 1.6vw, 13px);
  letter-spacing: 2px;
  line-height: 20px;
  color: #fff;
}


.header__contact::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left;
  width: 20px;
  height: 14px;
}

.header__contact--discord::before {
  background-image: url(../img/discord_1.png);
}




.alarm {
  font-family: "digital display tfb";
  /* text-align: center; */
  display: flex;
  justify-content: center;
  align-items: center;
  /* text-shadow: 1px 1px 3px black, 0 0 20px #0F1012; */
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 5px;
  /* color: #165a16; */
  line-height: 25px;
  /* width: 300px; */
  padding-left: 30px;
  /* margin-top: 30px; */
  /* border: 1px solid saddlebrown; */
  height: 7vh;



}

.alarm__items {
  display: flex;
  /* border: 1px solid rebeccapurple; */
  padding-top: 15px;
}

.alarm__item {
  display: flex;
  /* margin-bottom: 5px; */
  margin: 0 30px;
  /* border: 1px solid green; */
}

.alarm__item p {
  font-size: 23px;
  padding-left: 10px;
  font-weight: 900;
}






.slider {
  /* height: 60vh; */
  height: 55vh;
  /* border: 1px solid red; */
}

.slider .container {
  position: relative;
}

.slider__viewport {
  overflow: hidden;
}

.slider__inner {
  display: flex;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider__item {
  flex-shrink: 0;
  width: 100%;
  height: 45vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  box-shadow: 0px 0px 8px 13px #0f0f0f inset;
  margin-top: 15px;
  position: relative;
}

.slider__item1 {
  background-image: url(../img/slider-fon1.jpg);
}

.slider__item2 {
  background-image: url(../img/slider-fon2.jpg);
}

.slider__item3 {
  background-image: url(../img/slider-fon3.jpg);
}

.slider__item4 {
  background-image: url(../img/slider-fon3.jpg);
}

.slider__item-content {
  text-align: center;
  max-width: 688px;
  padding: 20px;
  background: rgba(8, 12, 8, 0.88);
  color: #c0c0c0;
  border: 1px solid rgba(22, 90, 22, 0.7);
  border-radius: 6px;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 30px rgba(22, 90, 22, 0.2), inset 0 0 20px rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
}

.slider__title {
  font-weight: 600;
  /* font-size: 37px; */
  font-size: 25px;
  line-height: 30px;
  margin-bottom: 15px;
  color: #165a16;
}

.slider__text {
  /* font-size: 20px; */
  font-size: 16px;

  line-height: 24px;
  font-weight: 600;
}

.slider__text--link {
  transition: 0.3s;
  padding: 3px 3px 5px 3px;
  color: #165a16;
  text-decoration: underline dotted rgba(22, 90, 22, 0.4);
  text-underline-offset: 3px;
}

.slider__text--addr {
  color: #165a16;
  cursor: pointer;
  text-decoration: underline dotted rgba(22, 90, 22, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.slider__text--addr:hover {
  color: #4de04d;
  text-decoration-color: #2db82d;
}

.copy-toast {
  position: absolute;
  top: calc(100% + 25px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  z-index: 1000;
  pointer-events: none;
  white-space: nowrap;
}

.slider__text--link:hover {
  color: #4de04d;
  text-decoration-color: #2db82d;
}

.slick-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  background: rgba(8, 12, 8, 0.80);
  border: 1px solid rgba(22, 90, 22, 0.7);
  border-radius: 6px;
  cursor: pointer;
  outline: none;
  transition: 0.25s;
}

.slick-btn:hover:not(.slick-disabled) {
  background: rgba(22, 90, 22, 0.25);
  box-shadow: 0 0 10px rgba(22, 90, 22, 0.3);
}

.slick-btn.slick-disabled {
  cursor: default;
  background: rgba(8, 12, 8, 0.55);
  border: 1px solid rgba(22, 90, 22, 0.25);
  opacity: 0.45;
}

.slick-btn:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'icomoon';
  color: #2db82d;
  font-size: 30px;
  font-weight: bold;
}

.slick-next:before {
  content: "\f105";
}

.slick-next {
  right: -60px;
}

.slick-prev:before {
  content: "\f104";
}

.slick-prev {
  left: -60px;
}

.footer {
  border-top: 2px solid #0c440c;
  text-align: center;
  background-image: url(../img/logo_final_1.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 45px 45px;
  /* border: 1px solid gray; */
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 8vh;
  padding: 0 120px;
}

.footer__item {
  transition: 0.5s;
  font-weight: 900;
  font-size: 15px;
  line-height: 25px;
  letter-spacing: 3px;
}

.footer__item:hover {
  font-size: 16px;
  text-decoration: underline;
}


/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */



@media (max-width: 900px) {
  .container {
    max-width: 900px;
  }

  .slider__item-content {
    max-width: 450px;
  }

  .footer {
    background-size: 50px 50px;
  }
}





@media (max-width: 800px) {
  .container {
    max-width: 800px;
  }

  .footer__inner {
    padding: 0 70px;
  }
}





@media (max-width: 700px) {
  .container {
    max-width: 700px;
  }

  .footer__inner {
    padding: 0 30px;
  }

  .slider__item-content {
    max-width: 350px;
    padding: 15px;
  }

  .slider__title {
    font-size: 30px;
    margin-bottom: 5px;
  }

  .slider__text {
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
  }

  .footer__item {
    font-size: 18px;
  }

  .footer__item:hover {
    font-size: 20px;
  }
}





@media (max-width: 600px) {
  .container {
    max-width: 600px;
  }

  .footer__inner {
    padding: 0 10px;
  }

  .slider__item-content {
    max-width: 300px;
    padding: 10px;
  }

  .slider__title {
    margin-bottom: 0px;
  }

  .slider__text {
    font-size: 16px;
  }

  .footer__item {
    font-size: 16px;
  }

  .footer__item:hover {
    font-size: 17px;
  }
}





@media (max-height: 800px) {
  .footer {
    background-size: 40px 40px;
  }
}





@media (max-width: 500px) {
  .container {
    max-width: 500px;
  }

  .slider__item-content {
    max-width: 220px;
    padding: 5px;
  }

  .slider__title {
    font-size: 25px;
    line-height: 30px;
  }

  .slider__text {
    font-size: 14px;
  }

  .slick-btn {
    margin: 0px 20px 0px 20px;
    width: 30px;
    height: 30px;
  }

  .slick-btn:before {
    font-size: 25px;
  }

  .slick-next:before {
    left: 15px;
    top: 13px;
  }

  .slick-prev:before {
    left: 12px;
    top: 13px;
  }

  .footer {
    background-size: 40px 40px;
  }

  .footer__item {
    font-size: 14px;
  }

  .footer__item:hover {
    font-size: 15px;
  }
}





@media (max-width: 400px) {
  .container {
    max-width: 400px;
  }

  .slider__item-content {
    max-width: 190px;
    padding: 5px;
  }

  .slider__title {
    font-size: 20px;
    line-height: 20px;
    padding: 3px;
  }

  .slider__text {
    font-size: 12px;
    line-height: 20px;
    font-weight: 700;
  }

  .slick-btn {
    margin: 0px 15px 0px 15px;
    width: 20px;
    height: 20px;
  }

  .slick-btn:before {
    font-size: 20px;
  }

  .slick-next:before {
    left: 10px;
    top: 8px;
  }

  .slick-prev:before {
    left: 8px;
    top: 8px;
  }

  .footer__inner {
    padding: 0 0px;
  }

  .footer {
    background-size: 30px 30px;
  }

  .footer__item {
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.5px;
  }

  .footer__item:hover {
    font-size: 11px;
  }
}





@media (max-height: 600px) {
  .slider__item-content {
    padding: 5px;
  }

  .slider__title {
    font-size: 22px;
    margin-bottom: 0px;
    line-height: 20px;
  }

  .slider__text {
    font-size: 15px;
    line-height: 24px;
    font-weight: 600;
    line-height: 15px;
  }

  .footer {
    background-size: 30px 30px;
  }

  .footer__item {
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.5px;
  }

  .footer__item:hover {
    font-size: 11px;
  }
}










/* 1920/1080 */
/* логотип на стандартном экране (ок)*/

/* падинги в запросах к слайдеру почистить */
/* падинг ховер на сжатии */

.lang-btn {
  width: auto;
  min-width: clamp(28px, 5vw, 36px);
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid #165a16;
  color: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: clamp(11px, 1.6vw, 13px);
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.95);
}

.lang-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.lang-btn--active {
  background: rgba(22, 90, 22, 0.5);
  border-color: #2a9a2a;
}

.lang-switcher {
  width: auto;
  display: flex;
  flex-direction: row;
  gap: 4px;
}

@media (max-width: 480px) {
  .header__content {
    flex-direction: column;
    align-items: center;
    padding-bottom: 15px;
  }

  .header__side {
    align-items: center;
    width: 100%;
  }

  .header__contacts {
    justify-content: center;
  }
}
