:root {
  --accent: #ffa901;
  --spacing: 2.5em;
}

body {
  margin: 0;
  font-family: Helvetica, sans-serif;
}

* { box-sizing: broder-box; }

a {
  color: #111;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.7em;
  letter-spacing: 1px;
  transition: 0.3s;
}

span{
  text-transform: uppercase;
  font-size: 0.7em;
  font-weight: 700;
  transition: 0.3s;
}

p0{
  text-transform: uppercase;
  font-size: 0.7em;
  font-weight: 700;
  transition: 0.3s;
}

p1{
  font-size: 0.7em;
  font-weight: 700;
  transition: 0.3s;
}

p2 {
  color: #949494;
  font-size: 0.8em;
  line-height: 30px;
  letter-spacing: 1px;
  
}

p3 {
  color: #ffff;
  font-size: 0.8em;
  line-height: 30px;
  letter-spacing: 1px;
  
}


p {
  color: #949494;
  font-size: 0.8em;
  line-height: 30px;
  letter-spacing: 1px;
  padding-left: 20px;
  border-left-style: solid;
  border-color: var(--accent);
}

ul {
  list-style-type: none;
  padding: 0;
  text-align: center;
}

h1 {
  font-size: 3.3em;
  line-height: 1.3em;
}

header {
  padding: var(--spacing);
  background: #fff;
  height: 100vh;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  max-width: 1350px;
  height: 100%;
  margin: 0 auto;
}

/**NAVBAR**/
nav {
  display: flex;
  justify-content:space-between;
  align-items: center;
  margin-bottom: var(--spacing);
  width: 100%;
}

ul a, ul span {
  font-weight: 700;
  background-image: linear-gradient(0deg, #111, #111);
  background-repeat: no-repeat;
  background-size: 0 2px;
  padding-bottom: 10px;
  background-position: 50% bottom;
}

ul a: hover,
ul span: hover,
.controls span: hover,
.controls span: hover,
.search: focus {
  background-size: 100% 2px;
  background-image: linear-gradient(0deg, var(--accent), var(--accent));
}

/*effect-underline*/
.hover-underline-animation {
  display: inline-block;
  position: relative;
  color: #0087ca;
}

.hover-underline-animation:after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2.3px;
  bottom: -10px;
  left: 0;
  background-color: var(--accent);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

nav span {cursor: pointer;}

.brand {
  text-transform: capitalize;
  font-size: 1.2em;
}

nav li {
  display: inline-block;
  margin: 0 0.7em;
}

.search {
  text-align: center;
  border: none;
  outline: none;
  width: 8em;
  transition; 0.3s;
}

.search.
.controls span,
.active {
  background-image: linear-gradient(0deg, #111, #111);
  background-size: 50% 2px;
  padding-bottom: 10px;
  background-position: 50% bottom;
}

.search::placeholder {
  color: #111;
  font-size: 0.8em;
  letter-spacing: 1px;
  font-weight: 700;
}

.search: focus {
  background-size: 120% 2px;
}

.form-mobile {
  display: none;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/**HEADER BODY**/
.header-body {
  display: grid;
  grid-template-columns: 1fr 1fr 3em;
  justify-content: center;
  align-content: center;
}

.header-body > div {
  margin: 0 var(--spacing);
}

.slider {
  position: relative;
}

.slider img {
  width: 100%;
  height: 30em;
}


.decoration-left,
.deecoration-right {
  background: var(--accent);
  position: absolute;
  z-index: 1;
}

.decoration-left {
  top: 50%;
  left: -8%;
  width: 16%;
  height: 70%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  color: #fff;
  font-size: 0.8em;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slide1;
}

.decoration-right {
  bottom: 0;
  right; -8%;
  width: 16%;
  height: 12em;
  animation: slide2;
}

.overlay {
  position: absolute;
  background: #fff;
  bottom: 0;
  left: 0;
  width: 100%;
  animation: slide3;
  z-index: 0;
}

.anim {
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(.39,.08,.93,.42);
}

.text {
  display: fley;
  justify-content: center;
  align-items: center;
}

.text > div {
  max-width: 27em;
}

.text p {
  background-image: linear-gradient(0deg, var(--accent));
  background-repeat: no-repeat;
  background-size: 3px 100%;
  padding-left: var(--spacing);
  background-position: 0 0;
}

.social {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.social li {
  margin: 1.5em 0;
  writing-mode: vertical-rl;
  font-weight: 700;
}

/**HEADER BOTTOM**/
.header-bottom {
  margin: var(--spacing) 0 0 0;
  justify-content: center;
}

p1{
  font-size: 0.7em;
  font-weight: 700;
  transition: 0.3s;
}

.active {
  color: var(--accent);
  background-image: linear-gradient(0deg, var(--accent));
}

.controls span {
  margin: 0 0.5em;
}

/***kontakt btn**/
.custom-btn {
  margin: 20px;
  outline: none;
  width: 127px;
  height: 40px;
  padding: 10px 25px;
  border: 2.3px solid #000;
  font-weight: 700;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.btn-15 {
  color: #000;
  z-index: 1;
}
.btn-15:after {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  right: 0;
  z-index: -1;
   background: var(--accent);
  transition: all 0.3s ease;
}
.btn-15:hover {
  color: white;
  border: 2px solid var(--accent);
}
.btn-15:hover:after {
  left: 0;
  width: 100%;
}

.btn-15:active {
  top: 2px;
}

/**ANIMATION**/
@keyframes slide1 {
  0% { height: 0; }
  100% { height: 70%; }
}

@keyframes slide2 {
  0% { height: 0; }
  100% { height: 12em; }
}

@keyframes slide3 {
  0% { height: 100%; }
  100% { height: 0 }
}

/**responsive**/
@media screen and (max-width: 1000px) {
  .menu-btn {
    display: block;
  }
  nav .menu {
    background: #fff;
    position: absolute;
    left: 0;
    top: 5em;
    top: 5em;
    width: 100%;
    height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: 0.6s;
    overflow: hidden;
    z-index: 9;
  }
  /**openclass for js toggle**/
  nav .menu-open {
    opacity: 1;
    height: 85%;
    overflow: visible;
  }
  nav .menu li {
    margin: 1em 0;
  }
  form:not(.form-mobile) {
    display: none;
  }
  .form-mobile {
    display: block;
    margin-top: 1.6em;
  }
}


@media screen and (max-width: 850px) {
  header {
    height: initial;
  }
  .header-body {
    grid-template-columns: 1fr;
  }
  .header-body > div:not(.slider) {
    margin: var(--spacing) 0;
  }
  .slider {
    margin: var(--spacing) 0;
  }
  .pagination {
    display: none;
  }
  .social {
    flex-direction: row;
  }
  .social li {
    margin: 0 1.5em;
    writing-mode: initial;
  }
}

@media screen and (max-height: 430px) {
  header .menu-open {
    height: 600px;
  }

}
/**-------------------------**/

.border-shape {
background: #ffbe00 none repeat scroll 0 0;
color: #fff;
display: block;
height: 3px;
left: 0;
margin: 20px auto;
position: relative;
right: 0;
text-align: center;
top: 0;
width: 80px;
}

.border-shape::before {
background: #ffbe00 none repeat scroll 0 0;
bottom: 0;
content: "";
height: 1px;
left: 80px;
margin: 0 auto;
position: absolute;
text-align: center;
top: 1px;
width: 100px;
}

.border-shape::after {
background: #ffbe00 none repeat scroll 0 0;
bottom: 0;
content: "";
height: 1px;
margin: 0 auto;
position: absolute;
right: 80px;
text-align: center;
top: 1px;
width: 100px;
}











/*FOOTER*/
footer{
width:100%;
background-color:#000;
color:#fff;
}

.top_header{
padding:2rem;
display:flex;
align-items:center;
justify-content:center;
position:relative;
}

.top_header0{
display:flex;
align-items:center;
justify-content:center;
position:relative;
}

.top_header section{
display:flex;
align-items:center;
justify-content:center;
width:100%;
}

.triangle-down {
	width: 0;
	height: 0;
	border-left: 9px solid transparent;
	border-right: 9px solid transparent;
	border-top: 9px solid #ffffff;
}

.top_header span{
padding:0 1rem;
}

.top_header .fa{
color:#ffbe00;
font-size:35px;
}

footer .border-shape {
width: 40%;
}

footer .border-shape::before {
width: 100%;
left:120px;
}

footer .border-shape::after {
width: 100%;
right:120px;
}

footer .bottom_content section{
padding:1.5rem 2rem;
display:flex;
align-items:center;
justify-content:Center;
}

.bottom_content a{
margin:0 20px;
color:rgba(255,255,255,0.7);
transition:0.5s;
}

.bottom_content a:hover{
color:rgba(255,255,255,1);
}


.copyright{
padding:0.8em 0;
background-color: #949494;
text-align:center;
color: #fff;
font-size:12px;
}

@media (max-width:820px){
.top_header{
padding:1rem;
display:flex;
  flex-direction:column;
  }
  
  .top_header0{
padding:1rem;
display:flex;
  flex-direction:column;
  }

.top_header section{
margin:40px 0;
align-items:left;
justify-content:left;
}
  
  .top_header0 section{
margin:40px 0;
align-items:left;
justify-content:left;
}
  
footer .bottom_content section{
padding:1rem;
display:block;
}
footer .bottom_content section a{
padding:1rem;
font-size:12px;
margin:0 5px;
display:inline-block;
}
}