@import url('https://fonts.googleapis.com/css2?family=Poiret+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Stencil+Display:wght@400;500;600;700&display=swap');

:root{
  --o-1: #0d83c1;
  --o-2: #2bb5ff;
  --o-3: #045681;
  --o-4: #0d4cc1;
  --o-5: #1f0dc1;
  --accent: var(--o-1);
  --white-opacity: #00000042;
  --white: #fff;
  --black: #000000;
  --ob-1: #092343;
  --ob-2: #024c74;
  --ob-3: #51addf;
  --ob-4: #062969;
  --ob-5: #201a57;
  --bg: var(--ob-1);
  --gradient: linear-gradient(to left, var(--accent), var(--bg));
  --border-color: #1c1f25;
  --transition: 0.4s cubic-bezier(0.215, 0.610, 0.355, 1);
  --bg-color-opacity: rgba(88, 91, 151, .15);
}

html{
  scroll-behavior: smooth;
}
*{
  box-sizing: border-box;
}

body{
  font-family: 'Poiret One', sans-serif !important;
  font-size: 18px;
  direction: ltr;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  height: 100%;
  position: relative;
  box-sizing: border-box;
  background: var(--gradient);
  overflow-x: hidden;
}

a{
  text-decoration: none;
}

p {
  margin-bottom: 18px;
  font-size: 18px;
  line-height: 1.5;
}

ul, ol {
  margin-bottom: 18px;
  padding-left: 18px;
}

li {
  margin-bottom: 0.4rem;
}

ul ul, ol ul, ul ol, ol ol {
  margin-bottom: 0;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

img{
  width: 100%;
  display: block;
  box-sizing: border-box;
}

video{
  display: block;
  box-sizing: border-box;
}

h5{
  font-size: 1.1rem;
}

.content-block{
  position: relative;
  z-index: 2;
}

.content-wrapper {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 16px;
  padding-left: 16px;
  box-sizing: border-box;
  margin-bottom: 55px;
}

.content-row-2,
.content-row-3,
.content-row-4,
.content-row-5,
.content-row-6{
  display: flex;
  box-sizing: border-box;
  flex-wrap: wrap;
  flex-direction: column-reverse;
  gap: 16px;
}

.content-col-30,
.content-col-70,
.content-col-2,
.content-col-3,
.content-col-4,
.content-col-5,
.content-col-6{
  width: 100%;
  flex-grow: 1;
  box-sizing: border-box;
}

.content-title {
  color: var(--white);
  font-family: 'Big Shoulders Stencil Display', sans-serif;
  text-align: end;
  text-transform: inherit;
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 26px;
}


.body-img{
display: none;
}

.body-img3,
.body-img2{
display: none;
}

.header{
  position: relative;
  padding: 41px 0;
  overflow: hidden;

  .content-wrapper{
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.div-new {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.jellyfish-canvas {
  filter: url("#wave");
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  position: fixed;
}

.jellyfish {
  display: none;
}


.header-body{
  background-color: var(--white);
  background-image: url('picgallery/dir-bg/bg-dark-0691c72b3eb832.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 33px 20px;
  width: 100%;

   &::before{
    position: absolute;
    content: '';
    top: 10px;
    left: calc(10px + 16px);
    right: calc(10px + 16px);
    bottom: 10px;
    border: 4px solid var(--bg);
  }

}

.nav-link{
    position: relative;
    z-index: 2;
    display: inline-block;
    transition: var(--transition);
    position: relative;
    font-weight: 800;
    font-size: 19px;
    text-transform: inherit;
    color: var(--white);
    text-shadow: 3px 3px 3px var(--accent), -3px -3px 3px var(--accent);

    &::before{
      position: absolute;
      content: '';
      top: 50%;
      left: calc(-28px - 10px);
      width: 28px;
      height: 28px;
      background-image: url('picgallery/tematik-assets/icons-0691c72b3eb8f8.png');
      background-position: center;
      background-size: contain;
      background-repeat: no-repeat;
      transition: var(--transition);
      opacity: 0;
    }

    &:hover::before,
    &:focus::before{
      transform: translateY(-50%);
      opacity: 1;
    }
}

.content-logo{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap:  8px;
  position: relative;
  z-index: 2; 

  img{
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(1px 1px 1px var(--accent));
  }

  h1{
    text-align: center;
    margin: 0;
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
    transition: var(--transition);
    font-family: 'Big Shoulders Stencil Display', sans-serif;
    text-shadow: 1px 1px 1px var(--accent), -1px -1px 1px var(--accent);
  }

  &:hover h1,
  &:focus h1{
    transform: rotate(-4deg);
  }
}

.hwa-text{
  color: var(--white);
  line-height: 1.5;
  font-weight: 800;
  text-align: end;
}

.hwa-img-wr{
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
  height: 100%;
  padding: 16px;
}

.hwa-img{
  position: relative;
  margin: 0 auto;
  background-image: url('picgallery/dir-bg/bg-dark-1691c72b3eb843.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  width: 364px;
  height: 364px;
  border-radius: 50%;
  border: 4px solid var(--accent);

  &::before{
    position: absolute;
    content: '';
    top: -33px;
    left: -70px;
    width: 133px;
    height: 133px;
    border-radius: 50%;
    background-image: url('picgallery/dir-bg/bg-dark-1691c72b3eb843.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border: 4px solid var(--accent);
  }

  &::after{
    position: absolute;
    content: '';
    bottom: -28px;
    right: -133px;
    width:  105px;
    height:  105px;
    border-radius: 50%;
    background-image: url('picgallery/dir-bg/bg-dark-1691c72b3eb843.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border: 4px solid var(--accent);
  }
}

.hwa-img2{
  position: relative;
  margin: 0 auto;
  background-image: url('picgallery/dir-bg/bg-dark-1691c72b3eb843.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  border: 4px solid var(--accent);
}

.wha-col{
  background-color: transparent !important;
  border: none !important;
}

.hwa-box{
  padding: 20px;
}

.hwa-box-wr{
  background-color: var(--white-opacity);
  border: 4px solid var(--accent);
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.features-box-wr{
  display: flex;
  flex-direction: column;
  gap:  16px;
  align-items: center;
  height: 100%;
}

.features-box{
  border-radius: 50%;
  height: 228px;
  width: 228px;
  background-image: url('picgallery/dir-bg/bg-dark-5691c72b3eb852.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border: 4px solid var(--accent);
  transition: var(--transition);
  overflow: hidden;
}

.features-box-wr:hover .features-box,
.features-box-wr:focus .features-box{
  width: calc(228px - 16px);
  height: calc(228px - 16px);
}

.features-text{
  color: var(--white);
  font-weight: 500;
  font-size: 19px;
  text-align: end;
}

.game-box-1-list{
  display: flex;
  gap: 16px;
  flex-direction: column-reverse;
}

.game-box-1-img-wr{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.game-box-1-img{
  width: 100%;
  max-width: 364px;
  height: 364px;
  mask-image: url('img/rounds.svg');
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  display: inline-block;
  transition: var(--transition);

  img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  &:hover,
  &:focus{
    transform: rotate(-4deg) scale(1.02);
  }
}

.game-box-1-desc-wr{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-color: var(--white-opacity);
  border: 4px solid var(--accent);
}

.game-box-1-desc{
  display: flex;
  flex-direction: column;
  padding: 29px;
  gap: 16px;
}

.game-box-1-title{
  color: var(--white);
  transition: var(--transition);
  display: inline-block;
  font-size: 19px;
  font-weight: 800;

  &:hover,
  &:focus{
    color: var(--accent);
    transform: rotate(4deg) scale(1.02);
  }
}

.rating{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap:  8px;
  color: var(--white);
}

.game-box-1-content{
  color: var(--white);
}

#game-box-1{
  display: block;
}

.game-box-2-item{
  display: flex;
  align-items: end;
  flex-direction: column;
  gap: 16px;
}

.game-box-2-img{
  border-radius: 50%;
  overflow: hidden;
  height: 246px;
  width: 246px;
  border: 4px solid var(--accent);

  img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
  }

  &:hover img,
  &:hover img{
    transform: scale(1.02) rotate(5deg);
  }
}

.game-box-2-title{
  color: var(--white);
  display: inline-block;
  transition: var(--transition);
  font-weight: 500;
  font-size: 19px;

  &:hover,
  &:focus{
    transform: scale(1.02) rotate(5deg);
  }
}

.game-box-2-content{
  color: var(--white);
  text-align: end;

  p{
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }
}

.form-wr{
  position: relative;
  width: 100%;
  margin: 0 auto;
  max-width: 941px;
  background-color: var(--white-opacity);
  border: 4px solid var(--accent);
  padding: 20px 16px;
}

.form{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  color: var(--white);
  text-align: end;
  gap: 16px;
}

.contact-page-form-item{
  width: 100%;
}

.contact-page-form-item > input,
.contact-page-form-item > textarea,
.input-custom--holder--input,
.textarea-custom--holder--input{
  width: 100%;
  background-color: transparent;
  padding: 16px;
  border: 4px solid var(--accent);
  outline: none;
  transition: var(--transition);
  color: var(--white);

  &:hover,
  &:focus{
    border: 4px solid var(--white);
  }

  &::placeholder{
    color: #ffffff9e;
  }
}

.privacy{
  color: var(--white);
  transition: var(--transition);
  display: inline-block;
  margin-left: 16px;

  &:hover,
  &:focus{
    transform: rotate(4deg) scale(1.02);
  }
}

.form-img{
  position: absolute;
  z-index: 1;
  opacity: 0.4;
  transform: rotate(90deg);
  bottom: -20px;
  right: -41px;
  height: 364px;
  width: 364px;

  img{
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}


#gallery{
  direction: ltr !important;
}

.modal-photo {
  display: none;
  position: fixed;
  z-index: 3;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.9);
}

.modal-photo-content{
  position: relative;
  padding: 0 29px;
  display: block;
  width: 100%;
  max-width: 941px;
  height: 544px;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  animation-name: zoom;
  animation-duration: 0.5s;

  
  img{
    padding: 4px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid var(--accent);
  }
}


.modal-photo-close {
  position: absolute;
  top: 10px;
  right: 44px;
  color: var(--white);
  font-size: 19px;
  font-weight: bold;
  transition: 0.4s;
  background-color: var(--accent);
  border-radius: 50%;
  padding:  8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  &:hover,
  &:focus {
    color: var(--bg);
    text-decoration: none;
    cursor: pointer;
  }
}

.btn-photo-prev,
.btn-photo-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -46px;
  color: var(--white);
  font-weight: 800;
  font-size:  19px;
  transition: 0.4s ease;
  border-radius: 0 4px 4px 0;
  user-select: none;

  &:hover,
  &:hover {
    color: var(--accent);
  }
}

.btn-photo-next {
  right: 0;
  border-radius: 4px 0 0 4px;
}

.photo-img{
  border-radius: 50%;
  border: 4px solid var(--accent);
  cursor: pointer;
  overflow: hidden;

  img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
  }

  &:hover img,
  &:focus img{
    transform: rotate(5deg) scale(1.03);
  }
}

.form-wrapper{
  overflow: hidden;
}

.div1 { 
  .photo-img{
    width: 115px;
    height: 115px;
    margin-left: auto;
  }
  grid-area: 2 / 1 / 3 / 2;
 }

.div2 { 
  .photo-img{
    width: 98px;
    height: 98px;
    margin: 0 auto;
  }
  grid-area: 3 / 1 / 4 / 2;
 }

.div3 { 
  .photo-img{
    width: 115px;
    height: 115px;
    margin-left: auto;
    margin-top: 40px;
  }
  grid-area: 1 / 3 / 2 / 4;
 }


.div4 { 
  .photo-img{
    width:  115px;
    height:  115px;
    margin-right: auto;
    margin-left: 45px;
  }
  grid-area: 1 / 4 / 3 / 6;
 }


.div5 { 
  .photo-img{
    width: calc(133px - 10px);
    height: calc(133px - 10px);
    margin-left: auto;
  }
  grid-area: 3 / 5 / 4 / 6;
 }

.div6 { 
  .photo-img{
    width:  115px;
    height:  115px;
    margin: 0 auto;
  }
  grid-area: 2 / 6 / 4 / 8;
 }

.div7 { 
  .photo-img{
    width:  103px;
    height:  103px;
  }
  grid-area: 2 / 2 / 3 / 3;
 }

.div8 { 
  .photo-img{
    width: 133px;
    height: 133px;
    margin: 0 auto;
  }
  grid-area: 3 / 2 / 4 / 3;
 }

.faq-box{
  background-color: var(--bg-color-opacity);
  display: flex;
  height: 100%;
  flex-direction: column;
  transition: var(--transition);
  gap: 16px;
  border: 4px solid var(--accent);

  &:hover,
  &:focus{
    transform: scale(0.98);
  }
}

.faq-q,
.faq-a{
  color: var(--white);
  font-weight: 500;
  font-size: 19px;
  text-align: end;
  padding: 16px;
}

.faq-q{
  position: relative;
  min-height: 75px;
  background: var(--gradient);
  border-bottom: 4px solid var(--accent);

  &::before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url('picgallery/tematik-assets/school-fish-0691c72b3eb94f.svg');
    background-repeat: repeat;
    background-position: center;
    background-size: contain;
    z-index: 1;
    opacity: 0.4;
  }

  span{
    position: relative;
    z-index: 2;
  }
}


.steps-box{
  display: flex;
  flex-direction: column;
  gap:  16px;
  align-items: center;
  height: 100%;
}

.steps-num{
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  height: 228px;
  width: 228px;
  background-image: url('picgallery/dir-bg/bg-dark-6691c72b3eb860.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border: 4px solid var(--accent);
  transition: var(--transition);
  overflow: hidden;

  span{
    position: relative;
    z-index: 2;
    font-weight: 800;
    font-family: 'Big Shoulders Stencil Display', sans-serif;
    color: var(--white);
    font-size: 38px;
  }
}

.steps-box:hover .steps-num,
.steps-box:focus .steps-num{
  width: calc(228px - 16px);
  height: calc(228px - 16px);
}

.steps-text{
  color: var(--white);
  font-weight: 500;
  font-size: 19px;
  text-align: end;
}

.footer{
  padding: 29px 0;
  position: relative;

  &::before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    mask-image: url('img/footer.svg');
    mask-position: center;
    mask-size: cover;
    mask-repeat: no-repeat;
    width: 100%;
    height: 100%;
    border-top: 4px solid var(--accent);
    background-image: url('picgallery/dir-bg/bg-dark-0691c72b3eb832.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.4;
  }

  .content-wrapper{
    position: relative;
    z-index: 2;
  }
}

.content-disclaimer{
  width: 100%;
  background: linear-gradient(to left, var(--bg), #04033b);
  margin: 23px auto 0;
  align-items:  end;
  max-width: 941px;
  border: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  animation: disclAnim 5s linear infinite;
}

.content-disclaimer-img{
  height: 115px;
  width: 115px;

  img{
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.content-disclaimer-text{
  color: var(--white);
  text-align: end;
  font-weight: 500;
  font-size: 19px;
}

.footer-privacy-list{
  display: flex;
  flex-wrap: wrap;
  margin-top:  29px;
  align-items: end;
  justify-content: center;
  gap: 16px;
  flex-direction: row;

  a{
    position: relative;
    z-index: 2;
    display: inline-block;
    transition: var(--transition);
    position: relative;
    text-align: center;
    font-weight: 800;
    font-size: 19px;
    text-transform: inherit;
    color: var(--white);
    margin-left: calc(28px + 10px);
    text-shadow: 3px 3px 3px var(--accent), -3px -3px 3px var(--accent);

    &::before{
      position: absolute;
      content: '';
      top: 50%;
      left: calc(-28px - 10px);
      width: 28px;
      height: 28px;
      background-image: url('picgallery/tematik-assets/icons-0691c72b3eb8f8.png');
      background-position: center;
      background-size: contain;
      background-repeat: no-repeat;
      transition: var(--transition);
      opacity: 0;
    }

    &:hover::before,
    &:focus::before{
      transform: translateY(-50%);
      opacity: 1;
    }
  }
}

.content-copyright{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top:  29px;

  p{
    margin: 0;
    color: #ffffffaf;
  }
}

.contact-wr{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.conatct-list{
  display: flex;
  gap: 16px;
  flex-direction: column-reverse;
}

.contact-item{
  display: flex;
  align-items: center;
  justify-content: center;
  padding:  16px;

  a{
    word-break: break-all;
    position: relative;
    z-index: 2;
    display: inline-block;
    transition: var(--transition);
    position: relative;
    text-align: center;
    font-weight: 800;
    font-size: 19px;
    text-transform: inherit;
    color: var(--white);
    margin-left: calc(28px + 10px);
    text-shadow: 3px 3px 3px var(--accent), -3px -3px 3px var(--accent);

    &::before{
      position: absolute;
      content: '';
      top: 50%;
      left: calc(-28px - 10px);
      width: 28px;
      height: 28px;
      background-image: url('picgallery/tematik-assets/icons-0691c72b3eb8f8.png');
      background-position: center;
      background-size: contain;
      background-repeat: no-repeat;
      transition: var(--transition);
      opacity: 0;
    }

    &:hover::before,
    &:focus::before{
      transform: translateY(-50%);
      opacity: 1;
    }
  }
}

.adres{
  text-align: center;
  font-weight: 800;
  font-size: 19px;
  text-transform: inherit;
  color: var(--white);
  margin-left: calc(28px + 10px);
}

.col-rev{
  display: flex;
  gap: 16px;
  flex-direction: column-reverse;
}
.otstyp {
  margin-top: 30px;
}
.page-iframe,
.page-img{
  width: 100%;
  margin: 0 auto;
 
  background-color: var(--white-opacity);
  padding: 8px;

  border: 4px solid var(--accent);

  iframe{
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none;
  }

  img{
    width: 100%;
    height: 100%;
      max-width: 941px;
    object-fit: contain;
  }
}
.page-iframe {
  z-index: 1000;
  height: 100vh;
}
.col-rev-i{
  display: flex;
  flex-direction: column-reverse;
}

@media (min-width: 480px){
  .jellyfish-canvas {
    display: block;
  }
}

@media (max-width: 575px){
  .hwa-img2{
    display: none;
  }

  .hwa-img{
    height: 246px;
    width: 246px;

    &::before{
      width: 55px;
      height: 55px;
    }

    &::after{
      right: -16px;
      height: 70px;
      width: 70px;
    }
  }

}

@media (min-width: 576px) {
  .content-col-5{
    width: calc(50% - 16px);
  }

  .content-row-5{
    flex-direction: row;
  }

  .content-col-5{
    width: calc(50% - 16px);
  }

  .brand__name{
    font-size: 26px;
  }



  .header-body{
    padding: 20px;
    width: 604px;
    height: fit-content;
    border-radius: 0%;
    position: relative;

    &::before{
      border-radius: 0%;
      left: 10px;
      right: 10px;
    }

    &::after{
      position: absolute;
      content: '';
      top: -10px;
      left: -10px;
      right: -10px;
      bottom: -10px;
      border-radius: 0%;
      border: 4px solid var(--accent);
    }
  }

  .content-title {
    font-size: 26px;
  }

  .content-row-4{
    flex-direction: row;
  }

  .content-col-4{
    width: calc(50% - 16px);
  }

  .game-box-2-title,
  .game-box-1-title{
    font-size: 18px;
  }

  
  .page-img{
    height: 246px;
  }
}

@media (min-width: 768px){
  .content-row-2,
  .content-row-3,
  .content-row-4{
    flex-direction: row;
  }

  .game-box-row{
    flex-direction: row-reverse;
  }

  .content-col-2,
  .content-col-3,
  .content-col-4{
    width: calc(50% - 16px);
  }
 
  .content-col-5{
    width: calc(33.333% - 16px);
  }

  .content-col-6{
    width: calc(33.333% - 16px);
  }

  .content-col-30{
    width: calc(30% - 16px);
  }

  .content-col-70{
    width: calc(70% - 16px);
  }

  .body-img{
    display: block;
    width: 358px;
    height: 358px;
    position: absolute;
    top: 20%;
    left: 20px;
    opacity: 0.4;

    img{
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  .body-img3{
    display: block;
    width: 358px;
    height: 358px;
    position: absolute;
    top: 70%;
    left: 20px;
    opacity: 0.4;

    img{
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  .body-img2{
    display: block;
    width: 358px;
    height: 358px;
    position: absolute;
    top: 50%;
    right: 20px;
    opacity: 0.4;

    img{
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  .content-title {
    font-size: 28px;
  }

  .game-box-2-title,
  .game-box-1-title{
    font-size: 26px;
  }

  .div4 { 
  .photo-img{
    width: 246px;
    height: 246px;
  }
 }

  .div2 { 
    .photo-img{
      width: 134px;
      height: 134px;
    }
  }

  .steps-row{
    flex-direction: row !important;

    .content-col-4:nth-child(odd){
      .steps-box{
        flex-direction: column-reverse;
      }
    }
    .content-col-4:nth-child(even){
      .steps-box{
        flex-direction: column;
      }
    }
  }  

  
  .page-img{
    height: 303px;
  }
}

@media (min-width: 768px) and (max-width: 991px){
  .hwa-img2{
    display: none;
  }

  .hwa-img{
    height: 246px;
    width: 246px;

    &::before{
      width: 103px;
      height: 103px;
    }

    &::after{
      right: -16px;
      height: 70px;
      width: 70px;
    }
  }
}

@media (max-width: 991px){
  .parent{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
}

@media (min-width: 992px){
  .content-col-3{
    width: calc(33.333% - 16px);
  }

  .content-col-4{
    width: calc(25% - 16px);
  }

  .content-col-5{
    width: calc(20% - 16px);
  }

  .content-col-6{
    width: calc(20% - 16px);
  }

  .brand__name{
    font-size: 35px;
  }

  .content-title {
    font-size: 28px;
  }
 
  .game-box-2-title,
  .game-box-1-title{
    font-size: 28px;
  }

  .div5 { 
  .photo-img{
    width: calc(133px - 10px);
    height: calc(133px - 10px);
   }
  }
  
  .div7 { 
    .photo-img{
      width:  246px;
      height:  246px;
    }
  }

  .parent {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }

  .div7{
    grid-area: 2 / 2 / 5 / 4;
  }

  .div8{
    grid-area: 3 / 4 / 4 / 5;
  }

  .div3{
      grid-area: 1 / 3 / 2 / 4;
  }

  
  .page-img{
    height: 544px;
  }
}

@media (min-width: 1200px){
  .content-wrapper {
    max-width:  1276px;
  }

  .content-title {
    font-size: 35px;
  }

  .div1 { 
  .photo-img{
    width: calc(133px - 16px);
    height: calc(133px - 16px);
    }
  }

  .div5 { 
    .photo-img{
      width: 133px;
      height: 133px;
    }
  }

  .div6 { 
    .photo-img{
      width: calc(303px - 29px);
      height: calc(303px - 29px);
    }
  }

  .div7 { 
    .photo-img{
      width: calc(246px + 29px);
      height: calc(246px + 29px);
    }
  }

  .div8 { 
  .photo-img{
    width: 105px;
    height: 105px;
    }
  }

 
  .page-img{
    height: 575px;
  }
}

.page-content{
  color: var(--white);
  text-align: end;
}

.content-privacy-box{
  overflow: hidden;
}

.content-privacy-content{
  word-break: break-all;
  color: var(--white);
}

.content-btn-box{
  position: relative;
  z-index: 1;
  text-align: end;
}

.content-btn{
  cursor: pointer;
  display: inline-block;
  position: relative;
  z-index: 2;
}

.content-btn-1{
  color: var(--white);
  background-color: var(--white-opacity);
  transition: var(--transition);
  padding: 16px;
  border: 4px solid var(--accent);

  &:hover,
  &:focus{
    transform: rotate(5deg) scale(0.95);
  }
}

.content-btn-2{
  background: var(--gradient);
  color: var(--white);
  padding: 16px;
  border: 1px dashed transparent;
  transition: var(--transition);
  border-radius: 0px;

  &:hover,
  &:focus{
    border: 1px dashed var(--white);
  }
}

.content-btn-3{
  position: relative;
  border: none;
  background-color: var(--accent);
  font-weight: 500;
  font-size:  19px;
  color: var(--white);
  box-shadow:  2px  2px 8px #ffffffb3, -2px -2px 8px #ffffffaf;
  padding: 20px;
  overflow: hidden;

  &::before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('picgallery/tematik-assets/house-0691c72b3eb939.svg');
    background-repeat: repeat;
    background-position: center;
    background-size: contain;
    z-index: 1;
    transform: translateY(100%);
    opacity: 0;
    transition: var(--transition);
  }

  span{
    position: relative;
    z-index: 2;
  }

  &:hover::before,
  &:focus::before{
    opacity: 0.4;
    transform: translateY(0%);
  }
}

.content-btn-4{
  background-color: var(--bg);
  transition: var(--transition);
  color: var(--white);
  font-weight: 500;
  font-size: 18px;
  border-radius: 0px 0 0 0;
  border: 1px solid var(--accent);
  padding: 16px;

  &:hover,
  &:focus{
    background-color: var(--accent);
    border: 1px solid var(--bg);
  }
}

.content-btn-5{
  border: none;
  border-radius: 20px;
  background-color: var(--white-opacity);
  transition: var(--transition);
  color: var(--white);
  font-weight: 500;
  font-size: 18px;
  padding: 26px;

  &:hover,
  &:focus{
    border-radius: 0;
    box-shadow: 4px 4px 8px #ffffffb3, -4px -4px 8px #ffffffaf;
  }
}

@keyframes disclAnim{
  0%{
    transform: rotate(5deg) scale(0.95);
  }
  50%{
    transform: rotate(0deg) scale(1);
  }
  100%{
    transform: rotate(5deg) scale(0.95);
  }
}

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

.footer-logos a img {
  height: 50px;
  width: 100%;
  object-fit: contain;
  display: block;
}
