/* =============================================================================
   HTML5 CSS Reset Minified - Eric Meyer
   ========================================================================== */

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}
body{line-height:1}
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:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent;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 #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}
li{list-style:none}


/* =============================================================================
   My CSS
   ========================================================================== */

/* ---- base ---- */

html,body{ 
	width:100%;
	height:100%;
	background:#111;
}

html{
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body{

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  font:normal 75% Arial, Helvetica, sans-serif;
}

canvas{
  display:block;
  vertical-align:bottom;
}


/* ---- stats.js ---- */

.count-particles{
  background: #000022;
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #13E8E9;
  font-size: .8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.js-count-particles{
  font-size: 1em;
}

#stats,
.count-particles{
  -webkit-user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}

#stats{
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.count-particles{
  border-radius: 0 0 3px 3px;
}


/* ---- particles.js container ---- */

#particles-js{
  width: 100%;
  height: 100%;
  background-image: url('https://img.stereo.ru/news/2018/3/b64de7a56c7ec08e0d8ef34a94a96802.jpg');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

#particles-js::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}






.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.box_a{
  background-color: #fffffe;

}

.mobil90{
  position: relative;
  position: absolute;
  top: 40%;
  right: -10%;
  z-index: 5;
  color: white;
  font-size: 110px;
  font-weight: 800;
  text-align: left;
  line-height: 130%;
  transform: rotate(90deg);
}



.wrapper {
  position: relative;
  z-index: 5;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-30%, -50%);
  max-width: 800px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: white;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}


.content-wrapper{
  background-color: white;
  padding: 50px 40px;
  
}
.content-wrapper h2{
  margin-bottom: 20px;
  margin-top: 15px;
  font-size:22px;
  font-weight: 800;
  font-style: italic;
}
.content-wrapper p{
  font-size:58px;
  line-height: 110%;
  font-weight: 300;
  
}

.content-wrapper blockquote{
  font-size:16px;
  line-height: 110%;
  font-weight: 400;
  margin-bottom: 50px;
}

.tell_a{
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  color:black;
}
.icons {
  margin-top: 40px;
}

.icons a{
  border: 1px solid #e09d00;
  border-radius: 50%;
  padding: 7px;
}

.img-wrapper img{
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}


@media (max-width: 1609px){
  .wrapper {
    transform: translate(-35%, -50%);
    max-width: 700px;
  }
  .content-wrapper h2{
    font-size:22px;
  }
  .content-wrapper p{
    font-size:44px;
    
  }
  .img-wrapper img{
    height: 500px;
  }

  .mobil90{
    right: -10%;
    color: white;
    font-size: 80px;
    text-align: left;
    transform: rotate(90deg);
  }
}

@media (max-width: 768px){

  body{
    /* grid-template-columns: repeat(1, 2fr); */
    display: flex;
    flex-direction: column;
    
    height: 100%;
  }

  #particles-js{
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .box_a{
    height: 70vh;
  }
  .wrapper {
    top: 46%;
    right: 0;
    left: 0;
    bottom: 30%;
    transform: translate(12%, 0%);
    width: 80vw;
    grid-template-columns: repeat(1, 1fr);


  }
  .content-wrapper{
    padding: 30px 20px;
    
  }
  .content-wrapper h2{
    font-size:22px;
  }
  .content-wrapper p{
    font-size:26px;
    margin-bottom: 0px;
  }
  .content-wrapper blockquote{
    font-size:14px;
    line-height: 110%;
    font-weight: 400;
    margin-bottom: 20px;
  }

  .tell_a{
    font-size: 20px;
  }

  .icons {
    margin-top: 40px;
  }
  
  .img-wrapper img{
    height: 280px;
    object-position: top;
    display: none;
    
  }

  .mobil90{
    position: sticky;
    top: 90%;
    font-size: 38px;
    transform: rotate(0deg);
    text-align: center;
  }
}
