.container {
  width: 100%;
  height: calc(100vh - var(--header-height));
  padding-top: var(--header-height);
  margin-right: auto;
  margin-left: auto;
  /*overflow: hidden;*/
  position: relative;
  /* top: 50%; */
  /* left: 50%; */
  /* transform: translate(-50%,-50%); */
  transition: 0.7s;
  align-items: center;
  text-align: -webkit-center;
}
main section {
  width: 100%;
  height: 100vh;
  position: relative;
  text-align: center;
  align-items: center;
  justify-content: center;
  align-content: center;
  display: flex;
  align-items: center;
}
.article_block {
  height: 320px;
  width: 47%;
  max-height: 55%;
  position: relative;
  transition: 0.6s left ease-in-out, 0.6s opacity ease-in-out, 0.6s margin-top ease-in-out;
  will-change: left, opacity, margin-top;
  border-radius: 47px;
  border-bottom-right-radius: 0;
  text-align: left;
  align-content: end;
  cursor: pointer;
  -webkit-box-shadow: 5px 5px 22px -6px rgba(34, 60, 80, 0.2);
  -moz-box-shadow: 5px 5px 22px -6px rgba(34, 60, 80, 0.2);
  box-shadow: 5px 5px 22px -6px rgba(34, 60, 80, 0.2);
}
.artitle {
  font-size: 2em;
  margin: 2em 10px;
}
.articles_con {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1em;
}
/*main section:nth-child(1) {
  padding-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 100px);
}*/
/*section:nth-child(1) .container:nth-of-type(n+6) {
  opacity:0%;left:calc(25% + 4em);margin-top:-5em;
  z-index: 100;
}*/
.content{
  display: flex;
  flex-direction: column;
  margin-left: 15%;
  width: 70%;
}
@media (min-width:270px){
  .content{margin-left:5%;width:90%;/*padding:2.5em 1em 2em;*/}
}
@media (min-width:900px){
  .content{margin-left:8%;width:84%;/*padding:3.3em 1.5em 2em;*/}
}
@media (min-width:576px){
  .container{max-width:540px;}
  .article_block {width: 38%;}
  .artitle {font-size: 1.5em;}
}
@media (min-width:768px){
  .container {max-width:720px;}
  .article_block {width: 34%;}
}
@media (min-width:992px){
  .container{max-width:960px;}
  .article_block {width: 27%;}
  .artitle {font-size: 1em;}
}
@media (min-width:1200px){
  .container{max-width:1140px;}
}
@media (min-width:1580px){
  .container{max-width:1440px;}
}
.article_block img { width: -webkit-fill-available; }
.to_previous, .to_next {
  position: absolute;
  top: 50%;
  z-index: 100;
  background: transparent;
  border: unset;
}
.to_previous { left: 0%; transform: rotate(90deg); }
.to_next { right: 0%; transform: rotate(-90deg); }
