 /*Body*/
:root{
  --hover-research1:#00000017;
  --hover-research2:#000;
}

 body{
  background: var(--body);
 }
 .body-container{
  margin-top: 100px;
  width: 100%;
  height: fit-content;
  position: relative;
 }

 .keywords a{
  text-transform:capitalize;
 }
 
 /* recommend */
.recommended{
  max-height: 55rem;
  max-width: 100rem;
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  font-size: 10px;
  margin: auto;
 }

 .r-frame{
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--bg);
  background-size: cover;
  opacity: 0;
  z-index: -1;
  overflow: hidden;
 }

 .info{
  width: 35%;
  height: 100%;
  position: absolute;
  right: 0;  
 }

 .info p{
  color: #fff;
 }

 .r-type{
  font-size: 1.8em;
  margin: 7%  0 5% 0;
  height: 5%;
  border-left: 2px solid #ffcc00;
  padding-left: .5em;
 }

 .r-title{
  font-size: 2.8em;
  font-weight: 800;
  font-family: 'Merriweather Sans', sans-serif;
  text-transform: uppercase;
 }

 .r-summary{
  font-size: 1.4em;
  margin: 1em 2em 2em 0;
  text-align: justify;
  font-family: 'Merriweather', serif;
  max-height: 60%;
  overflow: hidden;
 }

 .readMore-btn{
  position: absolute;
  right: 2rem;
  margin: 2rem 0;
  bottom: 0;
 }

 .readMore-btn button{
  background-color: transparent;
  color: #fff;
  border: 2px solid #ffcc00;
  border-radius: 3rem;
  font-size: 1.6em;
  padding: 0.5rem;
  transition: all .1s ease-in-out;
 }

 .readMore-btn i{
  color: #ffcc00
 }

 .readMore-btn button:hover{
  cursor: pointer;
  transform: scale(1.05);
 }

 .control{
  height: 2rem;
  width: 100%;
  position: absolute;
  bottom:0;
  display: flex;
  gap:1rem;
  justify-content: center;
  
 }

 .control button{
  width: 0.9rem;
  height: 0.9rem;
  background-color: var(--text2);
  opacity: .5;
  border-radius: 50%;
  cursor: pointer;
 }

 .control button.active{
  opacity: 1;
  background-color: #ffcc00;
 }

.r-frame.show{
  animation: showFrame .5s ease-out forwards;
}
.r-frame.hide{
  animation: hideFrame .5s ease-out forwards;
}
 

 @keyframes hideFrame {
    0%{
      opacity: 1;
      scale: 1;
    }
    50%{
      opacity: 0.8;
      scale: 1.05;
    }
    99%{
      transform: translateX(-9rem);
      opacity: 0;
      scale: 1;
    }
    100%{
      opacity: 0;
      transform: translateX(0);
      z-index: -1;
    }
 }

 @keyframes showFrame {
  0%{
    opacity: 0;
    scale: .7;
  }
  50%{
    opacity: 0.8;
    scale: 1.05;
    transform: translateX(9rem);
  }
  99%{
    scale: 1;
    opacity: 1;
    transform: translateX(0);
  }
  100%{     
    opacity: 1;
    z-index: 0;
  }
 }

 .category,
 .research-box,
 .bookmark-box{
  width: 100vw;
  height: fit-content;
 }

 
/* research */
.research-box .researchs{
  width: calc(100% - 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 10px;
  padding: 2rem;
  margin: auto;
}

.researchs .item-research{
  transition: all .2s ease;
  padding: 1rem;
  color:  #dcdcdc;
  /* background-color: #ffffff05; */
  border: 1px solid rgba(135,135,135,0.6);
  display: flex;
  width: 100%;
  align-items: flex-end;
  background-size: cover;
}

.researchs .item-research .r-content{
  width: 100%;
  flex-shrink: 0;
}

.researchs .current-issue-box{
  grid-row: 1/span 2;
}

.researchs .current-issue-box .overplay-researchs{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  backdrop-filter: brightness(.5);
  opacity: 0;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.researchs .current-issue-box .overplay-researchs a{
  display: block;
  width: fit-content;
  padding: .5rem 1rem;
  font-size: 2.2rem;
  font-family: Arial, Helvetica, sans-serif;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 2rem;
  transition: all .3s ease;
}

.researchs .current-issue-box .overplay-researchs a:hover{
  background-color: #ffcc00;
  border: 2px solid #ffcc00;
  scale: 1.1;
}

.researchs .current-issue-box .overplay-researchs:hover{
  opacity: 1;
}

.current-issue-box .img-cur-issue{
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: auto;
}

.img-cur-issue img{
  width: 100%;
}

.researchs .item-research:hover{
  scale: 1.02;
  cursor: pointer;
  --hover-research1:#00000000;
  --hover-research2:rgba(0, 0, 0, 0.74);
}

.researchs .item-research:hover span{
  text-shadow: 1px 1px 2px #000000;  
  color: #d5d5d5;
}

.researchs .item-research:hover h4{
  text-shadow: 1px 1px 1px #000;
  text-decoration: underline;
  transition: all .2s ease;
}

.researchs .item-research:hover h4:hover{
  color: #ffcc00;
}

.researchs .item-research:hover span:last-child{
  color: #ffffff;
}

.item-research span:nth-child(1) {
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  display: inline-block;
  padding-right: 1rem;
  border-right: 1px solid var(--text);
}
.item-research span:nth-child(2) {
  font-size: 1.2rem;
  font-family: Arial, Helvetica, sans-serif;
}

.item-research h4{
  font-size: 18px;
  font-weight: 600;
  font-family: 'Arial', sans-serif;
  margin: .5rem 0;
}


.item-research span:nth-child(4) {
  font-family: 'Arial', sans-serif;
  font-size: 1.2rem;
  display: inline-block;
  text-transform: uppercase;
  color: #d5d5d5;
    margin: .3rem 0;
}

.research-box .more-research>a{
  transition: all .2s ease;
  display: block;
  width: fit-content;
  padding: 1rem;
  color: #ffcc00;
  border: 1px solid #ffcc00;
  border-radius: 2rem;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  margin: .5rem 4rem 0 auto;
  box-shadow: 
  2px 2px 4px rgba(0, 0, 0, 0.2),
  -2px -2px 4px rgba(255, 255, 255, 0.2);
}
.research-box .more-research i{
  transition: all .2s ease;
}

.research-box .more-research>a:hover{
  background-color: #ffcc00;
  color: #121314;
}

.research-box .more-research>a:hover i{
  padding-left: 1rem;
}



/* category */
 .section-title{ 
  padding: 1rem 0 0 1rem;
  margin-left: 2rem;
 }


.section-title h2{
  color: var(--text);
  font-size: 3rem;
  padding: 0.5rem;
  width: fit-content;
  border-left: #ffcc00 solid 2px;
  border-top: #ffcc00 solid 2px;
 }

.t-container{
  max-width: 100%;
  margin-top: 2rem;
  margin-bottom: 7rem;
  overflow: hidden;
}

.type{
  font-size: 2.2rem;
  text-align: center;
  width: 100%;
  text-transform: uppercase;
  color: var(--text);
}

.t-wrapper{
  width: calc(100%);
  margin: 0;
  display: flex;
  position: relative;
}

.all-news-items{
  transition: all .2s ease;
  transform: translateX(2.2rem);
  display: flex;
}

.r-arrow, .l-arrow{
  transition: all .2s ease;
  aspect-ratio: 1;
  width: 2.5rem;
  border-top: 3px solid var(--text);
  border-right: 3px solid var(--text);
  position: absolute;
  z-index: 5;
  top: 40%;
}

.r-arrow:hover, .l-arrow:hover{
  scale: 1.1;
}


.r-arrow::after,
.l-arrow::after{
  position: absolute;
  top: -120px;
  left: 0;
  content: "";
  height: 300px;
  width: 60px;
  transform: rotate(-45deg);
}

.r-arrow{
  transform: rotate(45deg);
  right: 2rem;
}

.l-arrow{
  transform: rotate(-135deg);
  left: 2rem;
}

.r-arrow:hover, .l-arrow:hover{
  cursor: pointer;
}

.news{
  transition: all .3s ease;
  width: 33rem;
  height: 30rem;
  flex-shrink: 0;
}

.news:hover{
  scale: 1.05;
}

.news-wrapper{
  user-select: none;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 1rem;
}

.news-wrapper a{
  color: unset;
  text-decoration: none;
}

.news-img{
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-img img{
  width: 100%;
}

.news-wrapper h4{
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  font-family: 'Arial', sans-serif;
  cursor: pointer;
}

.news-wrapper h4:hover{
  text-decoration: underline;
}

.news-wrapper > span{
  display: inline-block;
  text-transform: uppercase;
  color: var(--text2);
  margin: .3rem 0;
  font-size: 1.2rem;
}

.news-wrapper > span:last-child{
  font-family: 'Arial', sans-serif;
}
/* Bookmark */
.bookmark-box .bookmark-border{
  padding: 2rem;
  margin: auto;
  overflow-y: auto;
  width: calc(100% - 4rem);
  max-height: 500px;
}

.bookmark-box .bookmarks{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.bookmark-box .bookmarks h3{
  color: var(--text); 
  font-size: 1.8rem;
  grid-column: 1/span 3;
  text-align: center;
  font-style: italic;
}

.item-bookmark{
  min-height: 100px;
  height: 100%;
  padding: 1rem;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  border: 1px solid rgba(135,135,135,0.6);
  transition: all .2s ease;
  position: relative;
}

.item-bookmark i{
  opacity: 0;
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  color: rgba(255, 0, 0, 0.76);
}

.item-bookmark:hover{
  background-color: #ffcc00;
  scale: 1.05;
  color: #121314;
}

.item-bookmark:hover i{
  opacity: 1;
}

.item-bookmark span:nth-child(2),
.item-bookmark span:nth-child(3){
  font-family: 'Montserrat', sans-serif;
  display: inline-block;
  padding-right: .5rem;
  font-weight: 600;
}

.item-bookmark span:nth-child(3){
  padding-left: .5rem;
  border-left: 2px solid var(--text);
}

.item-bookmark h4{
  font-size: 18px;
  margin: .5rem 0;
}

.item-bookmark span:nth-child(4){
  text-transform: uppercase;
}

/*  */
.magazine{
width: 100%;
height: fit-content;
/* padding: 2rem; */
user-select: none;
overflow: hidden;
}

.magazine .maga-border{
margin: auto;
display: flex;
align-items: center;
justify-content: space-between;
max-width: 1000px;
width: 100%;
height: fit-content;
}

.maga-border .maga-l-arrow,
.maga-border .maga-r-arrow{
cursor: pointer;
width: 50px;
aspect-ratio: 1;
border-top: 3px solid var(--text);
border-left: 3px solid var(--text);
rotate: 135deg;
}

.maga-border .maga-l-arrow{
rotate: -45deg;
}

.maga-border .maga-box{
position: relative;
width: var(--w-cover-maga);
height: calc(100vw + 10rem);
max-height: 600px;
cursor: pointer;
}

.maga-box>.overplay{
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  background-color: rgba(18, 18, 18, 0.389);
  transition: all .2s ease;
}

.maga-box>.overplay:hover{
  opacity: 1;
}

.maga-box>.overplay a{
  text-decoration: none;
  transition: all .2s ease;
  margin: auto;
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  color: #fff;
  border: 2px solid #ffcc00;
  padding: 1rem;
  border-radius: 2rem;
}

.maga-box>.overplay a:hover{
  scale: .9;
  background-color: #ffcc00;
}

.magazine .maga-cover-box{
transition: all .2s ease;
position: absolute;
top: 0;
left: 0;
height: 90%;
}

.magazine .maga-cover{
width: 100%;
}

.magazine .maga-cover img{
width: 100%;
}


.active1{
z-index: -5;
translate: -70% 0;
left: -5rem;
filter: brightness(.5);
scale: .7;
}
.active2{
z-index: -4;
translate: -35% 0;
left: -2.5rem;
filter: brightness(.7);
scale: 0.85;
}
.active3{
z-index: -3;
scale: 1;
}
.active4{
z-index: -4;
left: -5rem;
scale: 0.85;
filter: brightness(.7);
translate: 35% 0;

}
.active5{
scale: .7;
translate: 70% 0;
z-index: -5;
filter: brightness(.5);
}
.active6,
.active7{
  z-index: -7;
  scale: .5;
}

@media screen and (max-width:1000px) {
  .research-box .researchs,
  .bookmark-box .bookmarks{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
  }
}

@media screen and (max-width:640px) {
  .research-box .researchs,
  .bookmark-box .bookmarks{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }
  :root{
    --hover-research1:#00000084;
    --hover-research2:#000000;    
  }
  .researchs .item-research:hover{
    --hover-research1:#0000009b;
    --hover-research2:#000000b3;    
  }
}