/*
Theme Name: Crypto
Author: the WeCanDevelopIT team
Description: Crypto is a .
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
Text Domain: crypto
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/* COMMON */

* {
  box-sizing: border-box;
  font-family: "Jost";
}

*::after,
*::before {
  max-width: 100%;
}

main {
  background: none;
  overflow: hidden;
}

body {
  position: relative;
  color:#fff;
  background: url("assets/images/grid_bg.png") repeat-y left,
    /* background image */
      linear-gradient(
        190deg,
        /* 190 deegree corner for top side */ rgba(114, 14, 182, 1) 0%,
        /* violet top */ rgba(0, 0, 0, 1) 15%
        /* transition from violet to black */
      );
  background-color: #000;
  background-blend-mode: normal;
}

body::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 600px;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, transparent, rgba(114, 14, 182, 1) 100%);
  background-blend-mode: normal;
  z-index: -2;
}

/* text styles */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
  text-wrap: pretty;
  color: #fff;
}

.text-gray {
  color: #ffffff90;
}

.text-purple {
  color: #9f0dff;
}

/* Input styles */

input {
  height: 40px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  padding: 8px 20px;
  background: #4c3064;
  border-radius: 10px;
  display: block;
  border: 1px #9f0dff solid;
  transition: all 0.2s linear;
}

input:hover {
  box-shadow: 0 0 8px rgba(159, 13, 255, 0.4);
  transition: all 0.2s linear;
}

input:focus-visible {
  outline: none;
  border-width: 2px;
}

.grunion-field-label {
  display: none !important;
}

input::placeholder {
  font-weight: 600;
  color: #ffffff80;
}

.contact-form__input-error {
  color: #fff;
  margin-top: 4px;
  margin-left: 4px;
}

.contact-form__error {
  border: 4px green solid;
  color: #fff;
  position: absolute;
  width: 100%;
  left: 0;
  display: none;
}

/* Buttons styles */

.wp-element-button {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 10px;
  background: #1a1d25;
  color: #fff;
  transition: all 0s linear;
}

.wp-element-button:not(.button-light a) {
  border: 1px #ffffff70 solid;
  box-sizing: content-box;
}

.wp-element-button:hover,
.wp-element-button:not(.button-light a):hover {
  background: linear-gradient(129deg, #9f0dff 28.37%, #8c81ff 100%);
  border: 1px transparent solid;
  color: #fff;
  transition: all 0s linear;
}

.button-small-size {
  margin: 0 40px !important;
}

.button-small-size a {
  padding: 8px 20px;
}

.button-medium-size a {
  padding: 12px 20px;
}

.button-light a {
  background: linear-gradient(129deg, #9f0dff 28.37%, #8c81ff 100%);
  border: 1px transparent solid;
  color: #fff;
  transition: all 0s linear;
}

.button-light a:hover {
  background: #1a1d25;
  color: #fff;
  border: 1px #ffffff70 solid;
}

.button-main a {
  width: auto;
  margin-top: 16px;
  color: #fff;
}

.button-404 {
  margin-top: 24em !important;
  width: 300px !important;
}

.button-404 a {
  width: 300px;
}

a {
  text-decoration: none;
}
.wp-block-navigation-item__content,
.featured-posts-description a {
  position: relative;
  display: inline;
  overflow: hidden;
}

.wp-block-navigation-item__content::after,
.featured-posts-description a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.all-featured-posts {
  margin-top: 48px;
}

.wp-block-navigation-item__content:hover::after,
.featured-posts-description a:hover::after {
  width: 100%;
  left: 0;
}

.wp-block-navigation-item__content:hover::after:hover,
.featured-posts-description a::after {
  transition: width 0.3s;
}

.featured-post-image-container {
  min-height: 230px;
  background-image: url("assets/images/post_featured_empty.png");
  background-size: cover;
  border-radius: 10px 10px 0 0;
}

/* header styles */
.header-container {
  position: fixed;
  padding: 16px 24px;
  z-index: 100;
  width: 100%;
  color: #ffffff;
  transition: transform 0.3s ease-out;
  background: #00000099;
}

.header-container::after,
.footer-top-block::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    #ffffff90 40%,
    #ffffff90 60%,
    rgba(255, 255, 255, 0) 100%
  );
}

.header-container.hidden {  
  transform: translateY(-200%);
}

/* Main logo */
/* .header-container .wp-block-site-logo {
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation
  .wp-block-navigation-submenu
  .wp-block-navigation-item:not(:last-child) {
  margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation
  .wp-block-navigation-item
  .wp-block-navigation-item__content {
  outline-offset: 4px;
  outline-style: none;
  font-weight: 600;
  font-size: 1rem;
}

.wp-block-navigation-item__content :focus {
  outline-style: none;
  outline: none;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation
  .wp-block-navigation-item
  ul.wp-block-navigation__submenu-container
  .wp-block-navigation-item__content {
  outline-offset: 0;
}

/* ---------------------------------------- */

.more-link {
  display: block;
}

/* main styles */
main {
  margin-top: 0 !important;
  padding-top: 0;
}

/* intro */

.intro-container div.wp-block-cover__inner-container div.wp-block-columns {
  gap: 0;
}

/* services */

.services-1::before {
  content: "";
  position: absolute;
  bottom: -400px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #9f0dff 0%, rgba(128, 0, 255, 0) 80%);
  z-index: -1;
  pointer-events: none;
  filter: blur(150px);
}

.services-2::before {
  content: "";
  position: absolute;
  bottom: -1000px;
  right: -200px;
  width: 800px;
  height: 1700px;
  max-width: 100dvh;
  background: radial-gradient(circle, #9f0dff 0%, rgba(128, 0, 255, 0) 50%);
  z-index: -2;
  pointer-events: none;
  filter: blur(180px);
}

.services-2::after {
  content: "";
  position: absolute;
  bottom: -500px;
  right: 0px;
  width: 500px;
  height: 900px;
  background: url("assets/images/services2_bg.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
  pointer-events: none;
}

.services-3::after {
  content: "";
  position: absolute;
  bottom: -400px;
  left: 0px;
  width: 500px;
  height: 900px;
  background: url("assets/images/services3_bg.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
  pointer-events: none;
}

.opacity-block {
  background: #ffffff30;
  padding: 24px;
  border-radius: 10px;
  border: 2px #9f0dff solid;
}

.services-4-container .services-4-block {
  margin-top: 48px;
  gap: 120px;
}

.services-4-container .wp-block-cover__image-background {
  transform: scale(0.6);
  transform-origin: center center;
}

.services-4-container::after {
  content: "";
  position: absolute;
  border: 4px red solid;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #9f0dff 0%, rgba(128, 0, 255, 0) 90%);
  z-index: -2;
  pointer-events: none;
  border: 4px red solid;
  filter: blur(80px);
}

/* features */

.wp-block-social-link,
.wp-social-link {
  background-color: transparent;
  color: black;
}

.features-container {
  display: flex;
  position: relative;
  overflow: hidden;
}

.features-container-right {
  justify-content: flex-end;
}

.features-image-container {
  text-align: center;
  opacity: 0;
  transform: translate(100%, 50%);
  transition: transform 0.6s ease-out, opacity 0.8s ease-out;
}

.features-content-box {
  position: absolute;
  right: 0;
  z-index: 10;
  max-width: 852px;
  padding: 24px;
  opacity: 0;
  transform: translate(-100%, -50%);
  transition: transform 0.6s ease-out, opacity 0.8s ease-out;
}

.features-container-right.show .features-image-container,
.features-container-left.show .features-image-container {
  opacity: 1;
  transform: translate(0, 0);
}

.features-container-right.show .features-content-box,
.features-container-left.show .features-content-box {
  opacity: 1;
  transform: translate(0, 0);
}

.features-container-right .features-content-box {
  transform: translate(-100%);
}

.features-container-left .features-content-box {
  transform: translate(100%);
}

.features-container-right .features-image-container {
  transform: translate(100%);
}

.features-container-left .features-image-container {
  transform: translate(-100%);
}

.features-container-right.show .features-image-container,
.features-container-left.show .features-image-container {
  opacity: 1;
  transform: translate(0, 0);
}

/* features posts */

.featured-posts-main-container .animate-container {
  margin-top: 72px;
}

.featured-posts-main-container .wp-block-categories-list {
  display: flex;
  list-style-type: none;
  gap: 24px;
  justify-content: center;
  margin: 48px 0;
  padding-inline-start: 0;
}

.wp-block-post-template {
  align-items: stretch;
}

.featured-posts-main-container .wp-block-categories-list li {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 16px;
}

.featured-posts-main-container .wp-block-categories-list li.current-cat {
  border: 1px #fff solid;
}

.featured-posts-main-container h2 {
  padding-top: 48px;
}

.featured-posts-view-all-btn {
  text-align: end;
}

.text-vertical-align-center p {
  height: 100%;
  align-content: center;
}

.featured-post-container {
  position: relative;
  display: flex;
  border: none;
  height: 100%;
}

.featured-post-image img {
  border-radius: 10px 10px 0 0;
  height: auto !important;
}

.featured-post-image a {
  height: 300px;
}

.wp-block-post-content figure.wp-block-image {
  display: table;
}

.featured-post-details-container {
  padding: 24px;
  margin-top: 0;
  text-align: left;
  min-height: 183px;
  display: flex;
  flex-direction: column;
  border-radius: 0 0 10px 10px;
}

.featured-post-category a {
  text-align: left;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
}

.featured-post-title {
  text-align: left;
  font-weight: 700;
}

.featured-post-excerpt {
  font-size: 16px;
  flex-grow: 1;
}

.featured-post-author-logo img {
  width: 48px;
  height: 48px;
}

.featured-post-info-container {
  gap: 16px;
}

.featured-post-author-name {
  font-size: 14px;
  font-weight: 600;
}

.featured-post-date {
  margin-top: 0.25rem;
  color: #fff;
}

.heading-date {
  color: white;
}

/* contact us */

.contact-container {
  z-index: 1;
  min-height: 500px;
}

.contact-container button {
  width: 143px;
  border-radius: 10px;
  padding: 8px 20px;
  background: linear-gradient(129deg, #9f0dff 28.37%, #8c81ff 100%);
  border: 1px transparent solid;
  color: #fff;
  transition: all 0s linear;
}

.contact-container button:hover {
  background: #1a1d25;
  color: #fff;
  border: 1px #ffffff70 solid;
}

.contact-container .wp-block-jetpack-contact-form .wp-block-columns {
  grid-template-columns: minmax(0, 300px) minmax(0, 300px) minmax(200px, auto) 200px;
}

.wp-block-jetpack-contact-form .wp-block-columns {
  max-width: 100%;
}

.contact-container
  .wp-block-jetpack-contact-form
  .wp-block-columns
  > div:nth-child(1),
.contact-container
  .wp-block-jetpack-contact-form
  .wp-block-columns
  > div:nth-child(2) {
  flex: 0 1 200px;
}

.contact-container
  .wp-block-jetpack-contact-form
  .wp-block-columns
  > div:nth-child(3) {
  min-width: 200px;
}

.contact-container
  .wp-block-jetpack-contact-form
  .wp-block-columns
  > div:nth-child(3) {
  flex: 1;
}

.contact-container
  .wp-block-jetpack-contact-form
  .wp-block-columns
  > div:nth-child(4) {
  flex: 0 0 143px;
}

.contact-info-group {
  text-shadow: 0px 0px 6px #000000;
  font-weight: bolder;
}

/* single-post */

.single-post-intro-container img {
  width: 48px;
  height: 48px;
}

.intro-text {
  width: 82%;
}

.wp-block-jetpack-sharing-buttons {
  height: 100%;
}

.single-post-intro-container .wp-block-post-date {
  margin-top: 0.35rem;
  font-weight: 300;
}

.wp-block-jetpack-sharing-buttons-first {
  justify-content: end;
  gap: 4px;
}

.wp-block-jetpack-sharing-buttons li a {
  background: none;
  box-shadow: none;
  padding: 0 !important;
}

.wp-block-jetpack-sharing-buttons li a:hover {
  box-shadow: none !important;
}

.wp-block-jetpack-sharing-buttons li a svg {
  transition: transform 0.2s ease;
}

.wp-block-jetpack-sharing-buttons li a svg:hover {
  transform: scale(1.1);
}

.single-post-container .entry-content {
  font-size: 1rem;
  margin: 64px 0;
}

.single-post-content .wp-block-post-terms {
  margin-top: 72px;
}

.terms-container .wp-block-post-terms a {
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px #fff solid;
  font-weight: 400;
}

.wp-block-separator {
  color: #fff;
  margin: 48px 0;
}

.single-post-container .post-author-logo img {
  width: 48px;
  height: 48px;
}

.single-post-container .post-author-name {
  font-weight: 700;
}

.single-post-container .wp-post-image {
  border-radius: 10px;
}

.single-post-container figure {
  max-height: 600px;
  width: 100%;
}

.post-meta-container {
  margin: 32px 0 48px;
}

/* subscribe */

.wp-block-jetpack-subscriptions__form-elements {
  gap: 16px;
  margin: 0 auto;
  max-width: 500px;
}

.featured-posts-description a::after {
  height: 1px;
}

#subscribe-email input {
  border-radius: 10px !important;
  border-end-end-radius: 10px !important;
  border-start-end-radius: 10px !important;
  background: #4c3064;
  max-width: 378px;
  border: 1px #9f0dff solid;
  transition: all 0.2s linear;
}

#subscribe-email input:hover {
  box-shadow: 0 0 8px rgba(159, 13, 255, 0.4);
  transition: all 0.2s linear;
}

#subscribe-email input:focus-visible {
  outline: none;
  border-width: 2px;
}

.is-style-compact .is-not-subscriber p#subscribe-email input[type="email"] {
  border-end-end-radius: 10px !important;
  border-start-end-radius: 10px !important;
}

#subscribe-submit button {
  border-radius: 10px !important;
}

#subscribe-submit button:hover {
  background: #1a1d25;
  border: 1px transparent solid;
}

/* footer */

.footer-container {
  position: relative;
}

.footer-links {
  font-weight: 400;
  align-content: center;
}

.rights {
  color: #ffffff50;
}

.footer-top-block {
  position: relative;
  padding-bottom: 1.2rem;
}

.footer-container::after {
  content: "";
  position: absolute;
  top: -540px;
  right: 24px;
  width: 100%;
  height: 576px;
  background: url("assets/images/contact_bg.png") no-repeat;
  background-size: contain;
  background-position: right top;
  z-index: -2;
}

.footer-container::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 660px;
  height: 342px;
  background: url("assets/images/footer_bg2.png") no-repeat;
  background-position: right top;
  z-index: -1;
}

.footer-container::after {
  content: "";
  position: absolute;
  top: -540px;
  right: 24px;
  width: 100%;
  height: 576px;
  background: url("assets/images/contact_bg.png") no-repeat;
  background-size: contain;
  background-position: right top;
  z-index: -2;
  transition: right 0.5s ease-in-out;
}

/* ---------------------------------------- */

/* animations */

/* animations for title*/

.main-title {
  position: relative;
  overflow: hidden;
}

.line {
  display: block;
  font-family: inherit;
  opacity: 0;
  transform: translateY(0); 
  animation-fill-mode: forwards; 
}

.line-1 {
  animation: slideUp 0.5s ease-out 0.3s forwards; 
}

.line-2 {
  animation: slideDown 0.5s ease-out 0.7s forwards; 
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(70%);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-70%);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll animation */

.animate-on-scroll {
  position: relative;
  transform: translateY(70px);
  transition: transform 0.3s ease-out;
  transition-delay: 0.2s;
}

.hidden-before-animation {
  opacity: 0;
  transition-property: opacity, transform;
}

.animate-delay-2.show {
  transition-delay: 0.4s;
}

.animate-delay-3.show {
  transition-delay: 0.6s;
}

.animate-delay-4.show {
  transition-delay: 0.8s;
}

.hidden-before-animation.bottom-position,
.hidden-before-animation.top-position {
  opacity: 0;
}

.animate-on-scroll.bottom-position {
  transform: translateY(-70px);
}

.animate-on-scroll.top-position {
  transform: translateY(70px);
}

.animate-on-scroll.show {
  transform: translateY(0);
  opacity: 1;
  transition-duration: 0.7s;
}

/* Scroll animation */

.animate-slide-in {
  transform: translateX(-100%); 
  opacity: 0;
  transition: transform 0.7s ease-out, opacity 0.8s ease-out; 
}

.animate-slide-in.visible {
  transform: translateX(0); 
  opacity: 1;
}

@media (max-width: 782px) {
  .features-content-box {
    position: relative;
  }
  .services-4-container .services-4-block {
    gap: 48px;
  }
  .services-4-container .wp-block-cover__image-background {
    top: 13%;
  }
  .services-2::after {
    bottom: 00px;
  }
  .footer-container::after {
    max-height: 200%;
  }

  .featured-post-image a {
    height: 160px;
  }

  .contact-container
    .wp-block-jetpack-contact-form
    .wp-block-columns
    > div:nth-child(1),
  .contact-container
    .wp-block-jetpack-contact-form
    .wp-block-columns
    > div:nth-child(2) {
    flex: 0 0 100% !important; 
  }

  @media (max-width: 600px) {
    .intro-container {
      text-align: center;
    }
    .intro-text {
      text-align: center;
      width: 100%;
    }

    .featured-post-border {
      padding-bottom: 72px !important;
    }

    .wp-block-navigation:not(.has-background)
      .wp-block-navigation__responsive-container.is-menu-open {
      background: none;
      padding: 24px;
      background: #000;
    }
    .wp-block-navigation__responsive-dialog {
      color: #fff;
    }

    .header-container .is-content-justification-space-between {
      gap: 0;
    }
    header .wp-block-button__link {
      display: none;
    }
    .header-container
      .wp-block-group-is-layout-flex
      .is-content-justification-right {
      width: 100%;
    }
    .footer-container .wp-block-navigation__responsive-container {
      display: block !important;
      position: relative;
    }
    .footer-container .wp-block-navigation {
      flex-direction: column;
    }
    .footer-container .wp-block-navigation__responsive-container-open {
      display: none;
    }
    .footer-container .wp-block-navigation__responsive-container-close {
      display: none;
    }
    .footer-top-block {
      flex-direction: column;
      align-items: center;
      gap: 24px;
    }
    .footer-bottom-block {
      flex-direction: column;
    }
    .wp-block-post figure a,
    .wp-block-post figure img {
      height: auto !important;
    }
    .footer-container {
      padding-bottom: 48px !important;
    }
  }

  @media (max-width: 500px) {
    .featured-post-border {
      padding-bottom: 0px !important;
    }
  }

  .contact-container::before {
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.is-layout-constrained
  > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.is-layout-constrained > .alignwide {
}

.breadcrumbs-container .wp-block-post-terms a {
  text-decoration: none;
}

.post-meta-container {
  gap: 10px;
}

footer {
  margin-block-start: 0;
}

.contact-container img,
.services-4-container img,
.intro-container img {
  object-fit: contain !important;
}

.aa {
  border: 2px red solid;
}

@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost/Jost-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost/Jost-Italic-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: italic;
}


@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed;
  }
}


.has-modal-open .wp-block-navigation__responsive-dialog {
  padding: 50px;
}

.wp-block-navigation__responsive-container-close {
  right: 40px;
  top: 40px;
}

:where(.wp-site-blocks) > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

@media (max-width: 920px) {
  .wp-block-navigation__responsive-container-open {
    display: block !important;
  }

   .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none !important;
   }
}

@media (min-width: 919px) {
  .wp-block-navigation__responsive-container-open {
    display: none !important;
  }

  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    background-color:inherit;
    display:block;
    position:relative;
    width:100%;
    z-index:auto
  }
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close {
    display:none
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container {
    left:0
  }
}


