@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=WarPriest&display=swap');

:root {   
  --colorWhite: #fcfcfc;
  --colorDark: #212121;
  --white:#fff;
  --accent-1:#ffd700;
  --accent-2:#86c867;
  --border-color:#ffb16d; 
  --main-color-1: #c43d3d; 
  --main-color-2: #b23a27; 
  --main-color-3: #d94f26; 
  --sub-color-1:#8c2a2a;
  --sub-color-2:#701417;
  --sub-color-3:#9c1e22;
  --overlay-color: rgba(0, 0, 0, 0.9);
  --text-color: #ffe4c4;  
  
}

body{  
  direction: ltr;
  font-family: 'Inter Tight', sans-serif !important;
  font-size: 16px;
  margin: 0;
  padding: 0px;    
  line-height: 1.3;
    
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a{
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all 200ms linear;
}
input:focus, textarea:focus, select:focus {
  outline: none;
}

img, video{
  display: block;
  max-width: 100%;
  max-height: 100%;
}

ul{
  list-style: none;   
}
[type='checkbox'] {
  box-sizing: border-box;
  padding: 0;
}
h2{
font-size: clamp(22px,4vw,34px)
}
.btn-starburst-1 {
  display: block;
  width: fit-content;
  cursor: pointer;
  background: linear-gradient(145deg, #d4a73f, #f7c744);
  color: #2b1b0e;
  border: 2px solid #b38f2d;
  padding: 13px  20px;
  font-size: 14px;
  border-radius:  8px;
  cursor: pointer;
  box-shadow: 0 4px  8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  
}
.btn-starburst-1:hover {
  background: #f7c744;
  transform: translateY(-2px);
}
.btn-starburst-2 {
  cursor: pointer;
  display: block;
  width: fit-content;
  text-align: center;
  background: linear-gradient(145deg, #333333, #4c4c4c);
  color: #f1c232;
  padding: 13px 29px;
  font-size: 14px;
  text-transform: uppercase;
  border: 2px solid #f1c232;
  border-radius: 13px;
  cursor: pointer;  
  transition: box-shadow 0.3s ease;
}

.btn-starburst-2:hover {
 box-shadow: 0 0 13px #f1c232;
}


.btn-starburst-3{  
  text-align: center;
  width: fit-content;  
  background: #f5e4d0;
  color: #9c1e22;
  padding: 13px 29px;
  font-size: 13px;
  border: 1px solid #9c1e22;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s, color 0.3s;
} 
.pozYJ{
  position: relative;
}

.btn-starburst-3:hover {
  background: #d4b69b;
  color: #5e0f10;
}
.btn-starburst-4 {
  display: block;
  text-align: center;
  cursor: pointer;
  width: fit-content;
 background: #ffffff;
  color: #9c1e22;
  padding: 13px  24px;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  border: 2px solid #9c1e22;
  transition: all 0.4s ease;
}


.btn-starburst-4:hover {
  background: #ffeaea;
}
.btn-starburst-5 {
  width: fit-content;
  display: block;
  cursor: pointer;
  text-align: center;
  background: #86c867;
  color: white;
  padding: 16px  29px;
  font-size: 16px;
  border: none;
  border-radius: 0px;  
  text-transform: uppercase; 
  box-shadow: 0 4px 13px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}


.btn-starburst-5:hover {
   background: #73ad55;
}
.containerJap{
  margin-left: auto;
  margin-right: auto;   
  padding-left: 13px;
  padding-right:13px;
  width: 100%;
}
.header-jap{
  background:linear-gradient(145deg, #c46a69, #d48791);  
}

.row-jap{
  margin-left: -13px;
  margin-right: -13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.boxJap {
  width: 100%;  
  flex: 0 0 auto;
  padding-left: 13px;
  padding-right: 13px;
}
.header-jap_box{
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 69px 0 48px; 


  img{
    width: 100%;
    height: 100%;
    max-height: 382px;
    object-fit: contain;
    position: relative;
  }
}

.boxJap-header{
  justify-content: center;
  display: flex;
  flex-direction: column;
}
 .sun-container {
  position: absolute;
  width:  331px;
  height:  331px;
  top: -16%;
  left: -3%;
  border-radius: 50%;
  background:#e4957d;
  box-shadow: 0 0 50px rgba(231, 125, 79, 0.7);
}

.sun {
  width: 50%;
  height:50%;
  background: #f5d6a3; 
  position: absolute;
  border-radius: 50%;     
  left: 54%;
  transform: translate(-50%);
  bottom: 5%;  
}
.region-menu{  
  padding: 27px 0 23px;
}
.region{
  border-radius:  11px;
  background: url(picgallery/back/opacity_bg-068a5b0aa5db6e.png) right 0 repeat var(--sub-color-2);  
  border-top: 7px solid var(--border-color);
 
}
.page-container{
  background:var(--sub-color-2);
}
.header-jap_wrapper{
  position: relative;
  padding: 48px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

.header-jap_text{
  color: var(--white);
  font-size:29px;
  text-align: center;
}
.menu{
  display: flex;
  gap: 13px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.region-menu_item{
  font-size:  17px;
  font-weight:  800;
  color: var(--colorWhite);
}
.region-menu_item:hover{
  color: var(--border-color);
}
.header-jap_logo{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  gap: 7px;
  color: #ffdcc4;
  font-size:  20px;
  font-family: 'WarPriest', sans-serif;;
  margin-bottom: 23px;
  img{
    width: auto;
    height: 50px;
    object-fit: contain;
  }

}
.row-rw{
  flex-direction: row;
}
.section-bgImg{
  position: relative;
  background-image: url(picgallery/back/bg-light-068a5b0aa5db33.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 0;
}
.section-bgImg::before{
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
  inset: 0%;
  background-color: #1b0114b3;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);

}
.white-sect .gambling-title{
  color:#c46a69;
}
.sub-container .gambling-title{
   color: #f3ecdc;
}
.white-sect{
  background-color: var(--colorWhite);
}
.wrapper-pad{
  padding: 69px 0;
}
.advantage-card {
  display: flex;
  text-align: center;
  align-items: flex-end;
  gap: 24px;
  flex-direction: column-reverse;
  width: 100%;
  height: 100%;
  background: #fff7f0;
  border: 0px solid #e6d8c3;
  border-bottom: 7px solid var(--border-color);
  border-radius:  11px;
  padding: 29px 18px;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  p {
  font-size: 16px;
  color: #5f5f5f;
}
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 13px 20px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
  object-fit: contain;
  width:  69px;
  height:  69px; 
  
}
.gambling-title {
  margin-bottom: 39px;
  font-size: clamp(22px, 3vw, 44px);
  font-weight: 500;
  color: #f3ecdc;
  position: relative;
  text-transform: uppercase;
  display: inline-block;
  letter-spacing: 4px;
  text-align: center;
  padding: 14px 0;
  
}

.gambling-title::before,
.gambling-title::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 5px;
  background-color: var(--border-color);
  transition: all 0.3s ease;
}

.gambling-title::before {
  top: 0;
  left: 0;
}

.gambling-title::after {
  bottom: 0;
  right: 0;
}

.gambling-title:hover::before,
.gambling-title:hover::after {
  width: 100%;
}
.mar-bot{
  margin-bottom: 33px;
}
.mar-top{
  margin-top: 20px;
}

.text-contentJp{
   color: var(--colorWhite);
  font-size:  17px;
  p{
  margin-bottom: 7px;
  text-indent: 2ch;
  }
}
.text-contentJp ul,ol{
  list-style: inside;
}
.sub-container{
  padding:  69px;
}
.sigma_icon-block{
  height: 100%;
  width: 100%;
  text-align: center;
  background-color: rgba(255, 255, 255, .1);
  transition: .3s;
  border-radius:  11px;
  padding: 29px 18px;
}
.sigma_icon-block:hover{
background-color: var(--colorWhite);
}
.sigma_icon-block:hover .stroke-text{
  -webkit-text-stroke-color: #333333;
}
.sigma_icon-block:hover .stroke-content{
  color: #777;
}
.stroke-text{
  font-size: 69px;
  font-weight:800;
  z-index: 1;
  line-height: 1;
  position: relative;
  margin-bottom: 20px;
  display: inline-block;
  color: #fff;
  transition: .3s;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 1px;
   -webkit-text-stroke-color: #fff;
}
.stroke-text::before{
  content: '';
  position: absolute;
  top: 0;
  left: -18px;
  width: 45px;
  height: 45px;
  background-color: #F17024;
  opacity: 0.7;
  border-radius: 50%;
  z-index: -1;
}
.stroke-content{
  color: var(--white);  
  transition: .3s;
}
.red-section{
  background: var(--main-color-2);
}
.game-card{
  display: flex;
  flex-direction: column; 
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  border-radius:  11px;
}
.game-card-img{
  padding: 0 29px;
  position: relative;
  z-index: 1;
  margin-bottom: -23%;
  overflow: hidden;
 a{
  display: flex;
  border-radius:  11px;
  overflow: hidden;
  img{
    width: 100%;
    height: 331px;
    object-fit: cover;
    transition: 0.4s;
  }
 }
}
.game-logo{
  width: 100px;
  height: 100px;
  border-radius: 0%;
  border: 5px solid var(--sub-color-2);
  transform: translate(-5px, -50px);
  margin-bottom: -50px;
  padding: 5px;
  background: var(--sub-color-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s;
  img{
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: 0.4s;
  }
}
.game-card-details{
  border: 7px solid var(--sub-color-2);    
  transition: 0.4s;
  border-radius:  11px;
  padding: 23% 29px 29px;  
  display: flex;
  flex-direction: column;
  gap: 17px;
  color: var(--colorWhite);
  background:  var(--sub-color-2);
  h3{
    color: var(--accent-1) ;
  }
   
}
.game-card_title{
  color: var(--colorWhite);
  font-size: 33px;
}
.game-rand{
  border-radius: 5px;
  padding: 5px;
  background-color: #777;
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;

}
.star{
  color: var(--accent-1) ;
}
.game-card:hover .game-logo{
  background:#f5d6a3;
}
.game-card:hover .game-logo img{
transform: rotateY(180deg);
}
.game-card:hover .game-card-img a img{
  transform: scale(1.2);
}
.game-card:hover .game-card-details{
  border-color: var(--accent-1);
}

.portfolio-item{
  display: flex;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);  
  border-radius:  11px;
  border: 0px solid #e6d8c3;
  img{
    width: 100%;
    height:  331px;
    object-fit: cover;
    transition: 0.4s;
  }
}
.portfolio-item:hover img{
 transform: scale(1.2);
}
.portfolio-flex{
  display: flex;
  justify-content: space-between;
  gap:33px;
  flex-direction: column-reverse;
}
.portfolio-item-midl{
  height:100%;  
  img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.popup-container {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-color);
  justify-content: center;
  align-items: center;
  padding:  22px;
  box-sizing: border-box;
}

.popup-image {
  max-width: 90%;
  max-height: 75%;
  object-fit: cover;
  border: 8px solid var(--main-color-2);
  border-radius:  11px;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.6);
}

#popup-caption {
  margin-top: 7px;
  font-size: 1.2rem;
  color: var(--text-color);
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--text-color);
  font-size: 39px;
  font-weight: bold;
  cursor: pointer;
}

.popup-close:hover,
.popup-close:focus {
  color: var(--main-color-2);
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  cursor: pointer;
}
.dev-card{
  background-color:var(--sub-color-2);
  position: relative;
  padding:  7px;
  height: 100%;
  border: 2px solid #b78846;
}   
.dev-card::before,.dev-card::after,.dev-card-inner::before,.dev-card-inner::after{
  content: "•";
  position: absolute;
  width: 13px;
  height: 13px;
  font-size: 13px;
  color: #b78846;
  border: 2px solid #b78846;
  line-height: 13px;
  top: 5px;
  z-index: 2;
  text-align: center;
} 
.dev-card::before{
  left: 5px;
}
.dev-card::after{
  right: 5px;
}
.dev-card-inner{
  position: relative;
  border: 2px solid #b78846;
  padding: 17px;
  overflow: hidden;
  img{
    width: 100%;
    height: 231px;
    object-fit: cover;
    transition: 0.3s;
  }
}
.dev-card:hover .dev-card-inner img{
 transform: scale(1.2);
}
.dev-card-inner::before,.dev-card-inner::after{
  top: unset;
  bottom: -2px;
  
}
.dev-card-inner::before{
  left: -2px;
}
.dev-card-inner::after{
  right: -2px;
}
.dev-card_name{ 
  padding: 18px 13px;
  text-align: center; 
  color: var(--accent-1);
}
.footerJp{
  background: #c46a69;
  padding: 48px 0 29px;
}
.footer-colRev{
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  gap: 29px;
}
.footer_ageImg{
  display: flex;
  align-items: center;
  justify-content: center; 
  height:   50px; 
  img{
    width: auto;
    height: 100%;
    object-fit: contain;
  }
}
.footerJp_copyright{
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-1);
  gap: 7px;
  flex-wrap: wrap;  
  
}
.menu li{
  text-align: center;
}
.disclaimer-section-asia {
  background: radial-gradient(circle, var(--main-color-2), #7f2d2b);
  padding: 42px;
  border-radius:  11px;
  max-width: 900px;
  margin: 42px auto;
  position: relative;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 14px 27px rgba(0, 0, 0, 0.3);
  border:7px solid var(--border-color);
}

.disclaimer-content-asia {
  text-align: center;
  position: relative;
  z-index: 2;
}

.disclaimer-title-asia {
  
  font-weight:500;
  margin-bottom: 15px;
  background: linear-gradient(90deg, var(--accent-1), #ff8c00);
  -webkit-background-clip: text;
  color: transparent;
  text-transform: uppercase;
}

.disclaimer-text-asia {
  font-size: 16px;
  line-height: 1.6;
  color: #fceee2;
}
.disclaimer-section-asia::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 7px;
  width: 231px;
  height: 231px;
  background: url(picgallery/other-dir/dragons-068a5b0aa5dbd2.png) no-repeat center;
  background-size: contain;
  opacity: 0.15;
  transform: rotate(45deg);
}

.scroll-top-btn {
  position: fixed;
  background: var(--colorWhite);
  bottom: 42px;
  left:  27px;
  
  border: none;
  border-radius: 0%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  box-shadow: 0 8px 13px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.scroll-top-btn:hover {
  background: #7f2d2b;
  transform: translateY(0) scale(1.1);
}


.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn svg {
  width: 100%;
  height: 100%;
  fill: var(--colorWhite);
  stroke:var(--main-color-2);
  transition: transform 0.3s ease;
}
.box-privacy{
  word-break: break-word;
  color: #5f5f5f;
}
.box-privacy h1{
  font-weight: 500;
  text-align: center;
  margin-bottom:  23px;
}
.box-privacy h2{
  font-weight: 500;
  text-align: center;
  margin-bottom:17px ;
}
.box-privacy table,.box-privacy a{
  word-break: break-word;
  color: inherit;
}
.coctactJap-wrapper{
  display: flex;
  gap: 44px;
  flex-direction: row;
}
.cont-item{
  flex: 1;
}

.contact-info {
  width: 100%;
  height: 100%;
  background:var(--sub-color-2);
  padding: 29px;
  border-radius:  11px;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.2);
}



.contact-list {
  
 display: flex;
 height: 100%;
 justify-content: center;
 gap: 29px;
 flex-direction: column-reverse;
}
.cont-opElement{
position: relative;
}
.cont-opElement::before{
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: url(picgallery/dir-vector/svg_tematik-068a5b0aa5dc13.svg) no-repeat center;
  background-size: contain;
  opacity: 0.17;
  pointer-events: none;
}

.contact-list li { 
  font-size: 16px;
  color: var(--colorWhite);
}
.contact-list li a{
  word-break: break-word;
}
.contact-list li:hover a{
 color: var(--accent-1);
}

.contact-icon {
  margin-inline-end: 7px;
  font-size: 22px;
  
}

.contact-form {
  display: flex;
  gap: 20px;
  color: var(--text-color);
  flex-direction: column;
}

.inputJap, .textareaJap,
.input-input_block-element,
.textarea-input_block-element{
  background: #ffe8d6;
  border: none;
  padding: 13px  14px;
  font-size: 14px;
  border-radius: 8px;
}

.inputJap::placeholder, .textareaJap::placeholder,.input-input_block-element::placeholder,.textarea-input_block-element::placeholder {
  color: #8a6e69;
}

.contact-form textarea {
  min-height: 76px;

}

.form-check{
  display: flex;
  flex-direction: row;
  gap:7px;
  align-items: center;
  font-size: 13px;
 
}
.anima {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
   -webkit-animation-fill-mode: both;
   animation-fill-mode: both;
  opacity: 0;
 
}
.anima.animate {
  animation: fadeIn 1.5s ease-in-out forwards;
}
@keyframes fadeIn {
  from {
   opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn-center{
  margin: 0 auto;
}
.page-container .contact-info{
    background:var(--main-color-2);
}
.page-gap{
  gap: 69px;
}
.page-content{
  display: flex;
  gap:  44px;
  flex-direction: column-reverse;
}
.page-content_img{
  display: flex;
  align-items: center;
  justify-content: center;
  img{
    width: 100%;
    height: 362px;
    object-fit: contain;
  }
}
.game-frame-wrapper {
 display: flex; 
  padding:  18px;
  background: #e4957d;
 
  box-shadow: 0 14px 27px rgba(0, 0, 0, 0.3);
  border-radius:  11px;
  position: relative;
  overflow: hidden;
}

.game-frame {
  width: 100%;
  height: 100vh;
  border: none;
  border-radius:  11px;
  box-shadow: 0 8px 13px rgba(0, 0, 0, 0.2);
}

.game-frame-wrapper:before,
.game-frame-wrapper:after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  background: var(--main-color-2);
  border-radius: 50%;
  top: -10px;
  left: -10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.game-frame-wrapper:after {
  left: auto;
  right: -10px;
}


.review-wrapper{
  margin-top:  69px;
}

.reviews-container {
  display: flex;  
  flex-direction: row-reverse;
  justify-content: center;
  gap: 33px;
}

.review-card {
 flex: 1;
 height: auto;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-text {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 13px;
  font-style: italic;
}

.review-author {
  display: block;
  text-align: left;
  color: var(--accent-1);
  font-weight: 500;
}
.review-card .dev-card-inner{
  height: 100%;
}
.review-card:last-child{
  display:  none;
}
.review-card:hover{
  transform: translateY(-5px);
  box-shadow: 0px 13px  18px rgba(0, 0, 0, 0.15);
}
.flex-section{
  display: flex;
  flex-direction: column-reverse;
}
.title-tim{
  margin-bottom: 117px;
}


@media (max-width: 575px){
  .header-jap_text{
  font-size: 18px;
}
  .sub-container{
  padding:  69px 13px;
}
.game-card-details {
  padding: 23% 13px 13px;
}
.game-card-img {
  padding:  0 13px;
}
.game-card_title{
  font-size: 20px;
}
.popup-image{
  max-width: 100%;
  max-height: 80%;
}
.contact-info{
  padding: 29px 13px;
}
.page-content_img img{
  height: auto;
}
.game-frame-wrapper{
  padding: 0;
}
.game-frame-wrapper:before, .game-frame-wrapper:after{
  display: none;
}
.game-frame{
  border-radius: 0;
  box-shadow:none;
  height: 100vh;
}
.disclaimer-section-asia{
  padding: 42px 13px;
}
}
@media (min-width: 575px) and (max-width: 992px){
  .game-card_title{
    font-size: 25px;
  }
}

@media screen and (min-width: 768px) {
  .dev-gembla-item{
  transform: translateY(0);
  transition: 0.3s;
  
}
.dev-gembla-item:nth-child(even) {
  transform: translateY(-50px);
}


.row-jap:hover .dev-gembla-item:nth-child(even){
transform: translateY(0);
}
.row-jap:hover .dev-gembla-item:nth-child(odd){
transform: translateY(-50px);
}
}

@media (max-width: 768px){
.mar-top-sm{
  margin-top: 20px;
}
.row-rw{
  flex-direction:  column-reverse;
}
.header-jap .row-rw{
  flex-direction: column-reverse;
}
.header-jap {
  padding: 24px 0 48px;
}
.region-menu{
  padding: 0 0 23px;
}
.sun-container{  
  left:unset;
  width: 231px;
  height: 231px;
  top: 0; 

}
.menu{
    justify-content: center;
  }
.header-jap_wrapper{
  align-items: center;
  text-align: center;
}
.header-jap_box img {
  height: 300px;
} 
.title-tim  {
  margin-bottom: 50px;
} 

}

@media (min-width: 768px) and (max-width: 992px){
 .boxJap-sm-12 {
     width: 100%;
  }
  .boxJap-sm-6{
    flex: 0 0 50%;
    max-width: 50%;
  }
  .boxJap-sm-2{
   flex: 0 0 25%;
    max-width: 25%;
  }
  .boxJap-sm-4 {
   flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .portfolio-flex{
    flex-direction: row-reverse;
  }
  .portfolio-flex .portfolio-item{
    flex: 1;
  }

}
@media (min-width: 992px){
  
  .boxJap-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .boxJap-md-6{
    flex: 0 0 50%;
    max-width: 50%;
  }
  .boxJap-md-2{
    flex: 0 0 25%;
    max-width: 25%;
  }
}
@media (max-width: 992px){ 
.portfolio-item-midl img{
  height:  331px;
}
.coctactJap-wrapper {
  flex-direction:  column-reverse;
}
.reviews-container{
  flex-direction: column-reverse;
}
}
@media (min-width: 1200px){   
  .containerJap{
    max-width: 1254px;
  }
   .boxJap-lg-12 {
     width: 100%;
  }  
  .boxJap-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .boxJap-lg-6{
    flex: 0 0 50%;
    max-width: 50%;
  }
  .boxJap-lg-2{
    flex: 0 0 25%;
    max-width: 25%;
  }
}  






.footer-logos {
  display: flex;
  justify-content: center; 
  align-items: center;
  gap: 20px;
  padding: 20px;
  flex-direction: row;
  flex-wrap: wrap;

  a img {
    max-height: 50px;
    width: 100%;
    display: block;
    max-width: none;
    transition: 0.3s linear;
    
    &:hover,
    &:hover{
      transform: scale(0.96);
      opacity: 0.8;
    }
  }
}