body::-webkit-scrollbar {
  display: none;
}

body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  width: 0;
}

body {
  -ms-overflow-style: none;
}

body {
  overflow: -moz-scrollbars-none;
}

body::after {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  z-index: -1; // hide images
  content: url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040813/VN-A.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040753/VN-H.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040732/VN-G.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040711/VN-F.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040650/VN-E.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040635/VN-D.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040614/VN-C.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040558/VN-B.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040544/VN-O.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040530/VN-N.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040513/VN-M.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040450/VN-L.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040431/VN-K.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040416/VN-J.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040357/VN-I.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040343/VN-W.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040327/VN-V.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040307/VN-U.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040250/VN-T.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040234/VN-S.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040212/VN-R.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040155/VN-Q.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040134/VN-P.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040114/VN-Z.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040059/VN-Y.jpg) url(https://media.kasperskydaily.com/wp-content/uploads/sites/92/2024/10/06040045/VN-X.jpg); // load images
}

body.overflow-hidden {
  overflow: hidden;
}

#main {
  padding-top: 3rem;
  font-size: 16px;
  background: white;
}

#main .container.loading {
  opacity: 0;
}
#main .container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px;
  transition: 0.3s;
}
#main .grid {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 1fr 1fr;
}
#main .cell {
  cursor: pointer;
  line-height: 0;
}
#main .cell:hover {
  filter: brightness(1.05);
  transition: filter 0.3s;
}
#main .cell img {
  max-width: 100%;
  height: auto;
}
#main .modal.hide {
  opacity: 0;
}
#main .modal {
  display: flex;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  transition: background 1s;
  z-index: 1;
  justify-content: center;
  align-items: center;
  overflow: auto;
}
#main .modal-heading {
  color: #3d8d5a;
  font-weight: 600;
  margin-top: 0;
  line-height: 1;
  font-size: 32px;
  margin-bottom: 1em;
}
#main .modal-description {
  color: #939498;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 1em;
}
#main .modal-tips {
  color: #333;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
}
#main .modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 90vw;
  max-height: 90vh;
  perspective: 140rem;
  transition: 1s;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: 0 0;
}
#main .modal-image {
  height: 45vw;
  width: 45vw;
  overflow: hidden;
}
#main .modal-image img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}
#main .modal-text {
  height: 45vw;
  background: #fff;
  width: 45vw;
  box-sizing: border-box;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (any-pointer: fine) {
  #main .modal-text-container {
    aspect-ratio: 1/1;
    max-height: 35vw;
    margin: 2em;
    overflow: auto;
  }
  #main .modal .modal-image {
    transition: 1s;
    transform: rotateY(180deg);
    transform-origin: 100%;
  }
  #main .modal .modal-image img {
    transition-delay: 0.26s;
    transform: scaleX(-1);
  }
  #main .modal.open .modal-content {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: scale(1) translate(-50%, -50%) !important;
  }
}
#main .modal.open {
  opacity: 1;
  pointer-events: initial;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100000;
}
#main .modal.open .modal-image,
#main .modal.open .modal-image img {
  transform: unset !important;
}
@media (any-pointer: coarse) {
  #main h1 {
    font-size: 2rem;
  }
  #main .modal-description {
    font-size: 20px;
    margin-bottom: 1em;
  }
  #main .modal .modal-image {
    transition: 1s;
    transform: rotateX(-180deg);
    transform-origin: 0 100%;
    width: inherit;
    height: inherit;
  }
  #main .modal .modal-image img {
    transition-delay: 0.26s;
    transform: scaleY(-1);
    width: inherit;
    height: inherit;
  }
  #main .modal.open .modal-content {
    position: fixed !important;
    left: 50% !important;
    top: calc(50% + 25px) !important;
    transform: scale(1) translate(-50%, -50%) !important;
  }
  #main .grid {
    grid-template-columns: 1fr 1fr;
  }
  #main .modal {
    overflow: visible;
    max-height: 100vh;
  }
  #main .modal.open .modal-content {
    max-height: calc(97vh - 50px);
  }
  #main .modal-content {
    display: flex;
    flex-direction: column;
    transition: 0.5s;
    max-height: calc((100vw - 3vh) * 2);
    overflow-y: auto;
    overflow-x: visible;
    width: calc(100vw - 3vh);
    max-width: 50vh;
    box-sizing: border-box;
  }
  #main .modal-image {
    flex-shrink: 0;
    width: auto;
    height: auto;
    line-height: 0;
    width: inherit;
    height: inherit;
  }
  #main .modal-text {
    height: auto;
    width: auto;
    overflow: unset;
    aspect-ratio: 1/1;
    align-items: flex-start !important;
    width: inherit;
    height: inherit;
  }
  #main .modal-text-container {
    width: 100%;
    overflow: visible;
    max-width: none;
    aspect-ratio: unset;
    padding: 3vh;
    line-height: 1.35;
    width: inherit;
    height: inherit;
  }
  #main .modal-heading {
    font-size: 24px;
    margin-top: 0;
  }
}
#main h1 {
  margin-bottom: 2.5rem;
}
.intro {
  text-wrap: pretty;
  line-height: 1.6;
  font-size: 1.125rem;
  margin-bottom: 4rem;
}

.intro_buttons {
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin: 3em 0 3.5em;
}

.intro_button {
  display: flex;
  height: 100px;
  padding: 10px;
  min-width: 33%;
  border-radius: 5px;
  align-items: center;
  gap: 10px;
  color: #333;
  transition: 0.3s;
  background: radial-gradient(circle at 100%, #78d74f -20%, #d1fea7);
  line-height: 1;
}

.intro_button img {
  display: flex;
  height: 100%;
  border-radius: 3px;
}

.intro_button:after {
  content: "";
  display: inline-block;
  background: url(https://www.kaspersky.com/blog/wp-content/themes/daily2019/assets/images/icon/arrow-long-right.svg);
  height: 50px;
  aspect-ratio: 1/1;
  background-repeat: no-repeat;
  background-position: -2px;
  background-size: 2.25rem;
  background-color: white;
  border-radius: 50%;
  transform: rotate(90deg);
  margin-left: auto;
  margin-right: 10px;
  transition: 0.3s;
}

.intro_button:hover {
  filter: brightness(1.05);
  background: radial-gradient(circle at 100%, #78d74f -10%, #d1fea7);
}

.intro_button:hover:after {
  filter: brightness(1.1);
  transform: rotate(90deg) scale(1.31);
}

@media (any-pointer: coarse) {
  .intro_button img {
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: top left;
  }
}
#main .cell img {
  border-radius: 5px;
}
#main .modal-image,
#main .modal-text {
  border-radius: 10px;
}
#main .featured-image {
  margin: 2em 0 3em;
}
