/*-----------------------------------*\
  #index.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

    /**
     * COLORS
     */
    /* --gold-crayola: #004446;
     */
    --gold-crayola: #ff0000;
    --quick-silver: hsla(0, 0%, 65%, 1);
    --davys-grey: hsla(30, 3%, 34%, 1);
    --smoky-black-1:  #E1DCD0;
    --smoky-black-2:  #e1d8d0;
    --smoky-black-3: #e1d3d0;
    --eerie-black-1: #E1DCD0;
    --eerie-black-2: #e1d8d0;
    --eerie-black-3:#e1d3d0;
    --eerie-black-4:  #E2DDD1;
    --yellow: hsl(38, 88%, 52%);
    --white: #ff0000;
    --white-alpha-20: hsla(0, 0%, 100%, 0.2);
    --white-alpha-10: hsla(0, 0%, 100%, 0.1);
    --black: hsla(0, 0%, 0%, 1);
    --black-alpha-80: hsla(0, 0%, 0%, 0.8);
    --black-alpha-15: hsla(0, 0%, 0%, 0.15);
    /**
     * GRADIENT COLOR
     */
  
    --loading-text-gradient: linear-gradient(90deg, transparent 0% 16.66%, var(--smoky-black-3) 33.33% 50%,  transparent 66.66% 75%);
    --gradient-1: linear-gradient(to top,hsla(0, 0%, 0%, 0.9),hsla(0, 0%, 0%, 0.7),transparent);
  
    /**
     * TYPOGRAPHY
     */
  
    /* font-family */
    --fontFamily-forum: 'Forum', cursive;
    --fontFamily-dm_sans: 'DM Sans', sans-serif;
  
    /* font-size */
    --fontSize-display-1: calc(1.3rem + 6.7vw);
    --fontSize-headline-1: calc(2rem + 2.5vw);
    --fontSize-headline-2: calc(1.3rem + 2.4vw);
    --fontSize-title-1: calc(1.6rem + 1.2vw);
    --fontSize-title-2: 2.2rem;
    --fontSize-title-3: 2.1rem;
    --fontSize-title-4: calc(1.6rem + 1.2vw);
    --fontSize-body-1: 2.4rem;
    --fontSize-body-2: 1.6rem;
    --fontSize-body-3: 1.8rem;
    --fontSize-body-4: 1.6rem;
    --fontSize-label-1: 1.4rem;
    --fontSize-label-2: 1.2rem;
  
    /* font-weight */
    --weight-regular: 400;
    --weight-bold: 700;
  
    /* line-height */
    --lineHeight-1: 1em;
    --lineHeight-2: 1.2em;
    --lineHeight-3: 1.5em;
    --lineHeight-4: 1.6em;
    --lineHeight-5: 1.85em;
    --lineHeight-6: 1.4em;
  
    /* letter-spacing */
    --letterSpacing-1: 0.15em;
    --letterSpacing-2: 0.4em;
    --letterSpacing-3: 0.2em;
    --letterSpacing-4: 0.3em;
    --letterSpacing-5: 3px;
  
    /**
     * SPACING
     */
  
    --section-space: 70px;
  
    /**
     * SHADOW
     */
  
    --shadow-1: 0px 0px 25px 0px hsla(0, 0%, 0%, 0.25);
  
    /**
     * BORDER RADIUS
     */
  
    --radius-24: 24px;
    --radius-circle: 50%;
  
    /**
     * TRANSITION
     */
  
    --transition-1: 250ms ease;
    --transition-2: 500ms ease;
    --transition-3: 1000ms ease;
  
  }

  body, button, a{
    cursor: none;
  }


  /* Common */
  button .text {
    color: var(--eerie-black-4);
    border-color: var(--eerie-black-4);
  }
  button:is(:hover, :focus-within, :focus-visible) .edge{
    background: linear-gradient(to left, hsl(0, 98%, 24%) 0%, hsl(7, 97%, 50%) 8%, hsl(0, 97%, 50%) 92%, hsl(0, 91%, 30%) 100%);
  }
  
  /*-----------------------------------*\
    #HERO
  \*-----------------------------------*/

  
  /*-----------------------------------*\
    #Loader
  \*-----------------------------------*/
  .animated-preload{
    position: absolute;
    min-width: 100vw;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    z-index: 100;
  }

  .animated-preload img {
    position: fixed;
    bottom: 0;
    pointer-events: none;
    width: auto;
    height: 100%;

  } 

  
  /*-----------------------------------*\
    #MENU
  \*-----------------------------------*/
  
  .menu .section-title { margin-block-end: 40px; }
  
  .menu .grid-list { margin-block-end: 50px; }
  
  .menu-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }
  
  .hover\:card .card-banner { background-color: var(--gold-crayola); }
  
  .hover\:card .card-banner .img-cover { transition: var(--transition-2); }
  
  .hover\:card:is(:hover, :focus-within) .card-banner .img-cover {
    opacity: 0.7;
    transform: scale(1.05);
  }
  
  .menu-card .card-banner {
    flex-shrink: 0;
    border-radius: var(--radius-24);
  }
  
  .menu-card .card-title { transition: var(--transition-1); }
  
  .menu-card .card-title:is(:hover, :focus-visible) { color: var(--gold-crayola); }
  
  .menu-card .badge {
    background-color: var(--gold-crayola);
    color: var(--eerie-black-1);
    font-family: var(--fontFamily-forum);
    max-width: max-content;
    line-height: var(--lineHeight-6);
    text-transform: uppercase;
    padding-inline: 10px;
    margin-block-start: 10px;
  }
  
  .menu-card .span {
    color: var(--gold-crayola);
    margin-block: 10px;
  }
  
  .menu-card .card-text {
    color: var(--quick-silver);
    line-height: var(--lineHeight-4);
  }
  
  .menu-text .span {
    display: inline-block;
    color: var(--gold-crayola);
  }
  
  .menu .btn {
    margin-inline: auto;
    margin-block-start: 26px;
  }
  
  .menu .shape {
    display: block;
    width: 70%;
  }
  
  .menu .shape-2 {
    top: 0;
    left: 0;
    height: 100%;
    opacity: 0.06;
    mix-blend-mode: luminosity;
    display: none;
  }
  
  .menu .shape-3 {
    bottom: 0;
    right: 0;
    opacity: 0.4;
    display: none;
  }
  
  
  
  
  /*-----------------------------------*\
    #MEDIA QUERIES
  \*-----------------------------------*/
  
  /**
   * responsive for larger than 575px screen
   */
  
  @media (min-width: 575px) {
 
    /**
     * MENU
     */
  
    .menu-card .title-wrapper {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      gap: 15px;
    }
  
    .menu-card .badge { margin-block-start: 0; }
  
    .menu-card .span {
      flex-grow: 1;
      display: flex;
      align-items: center;
      gap: 15px;
      position: relative;
    }
  
    .menu-card .span::before {
      content: "";
      height: 6px;
      flex-grow: 1;
      border-block: 1px solid var(--white-alpha-20);
    }
  
  }
 
  @media (min-width: 992px) {
    /**
     * MENU
     */
  
    .menu .grid-list {
      position: relative;
      column-gap: 90px;
    }
  
    .menu .grid-list::before {
      content: "";
      position: absolute;
      top: 0;
      left: 50%;
      height: 100%;
      border-inline-start: 1px solid var(--white-alpha-20);
    }
    .menu .shape-2 {
      display: block;
    }
    .menu .shape-3 {
      display: block;
    }
  }
  
  
  /**
   * responsive for larger than 1200px screen
   */
  
  @media (min-width: 1200px) {
  
    /**
     * MENU
     */
  
    .menu .grid-list {
      gap: 55px 200px;
      margin-block-end: 55px;
    }
    }


.display-1, .hero-title, .hero-text{
  color: var(--eerie-black-4)
}

.title-2 .card-title{
  font-weight: bold !important;
}

.section + .menu, .form-right, .footer-brand  {
  background-color: var(--black);
  background-repeat: repeat;
}

.feature-item:nth-child(2n) .feature-card {
  background-color: var(--gold-crayola);
}

.feature-item:nth-child(2n) .card-title, .menu .section-title, .testi-text, .form-right .headline-1 {
  color: var(--eerie-black-4);
}

.beer-cursor {
  position: fixed;
  width: 120px;
  height: 180px;
  z-index: 100;
  pointer-events: none;
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.beer-cursor img {
  width: 100%;
  height: 100%;
  transform: rotate3d(-0.9, 0.1, 1.5, -45deg);
}

.input-field {
  background-color: var(--black-alpha-15);
}

/* .fixed-btn-container > .second {
  background-color: var(--yellow) !important;
} */

/* Globe  */
.globe-block{
  background-color: var(--black);
  padding: 10rem 2rem;
}

[data-globe]{
  position: absolute;
  right: 0;
}

[data-globe] img {
  margin-right: 4rem;
  margin-left: auto;
  width: 20rem;
  cursor: none;
  pointer-events: none;
}

.globe-card {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.globe-card.active {
  display: block;
  opacity: 1;
}


/*  */


#pub-globe-section {
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0a0a0a;
  overflow: hidden;
  position: relative;
}

.pub-globe-container {
  text-align: center;
  position: relative;
}

.pub-title {
  font-size: 3rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f39c12;
  text-shadow: 0 0 20px #f39c12;
  z-index: 2;
}

/* #p5-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
} */
 
.globe-class {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: absolute;
  top: 5%;
  right: 3%;
  pointer-events: none; 
}

.globe-class::before {
  content: '';
  position: absolute;
  top: -18%;
  right: -20%;
  width: 150%;
  height: 150%;
  background: conic-gradient(
    from 0deg,
    red,
    orange,
    yellow,
    green,
    cyan,
    blue,
    violet,
    red
  );
  border-radius: 50%;
  animation: rotate-lights 5s linear infinite;
  filter: blur(70px);
  opacity: 0.5;
  z-index: 1;
}

@keyframes rotate-lights {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


.menu-shape-2 {
  z-index: -1;
  top: 97%;
  transform: translateY(-100%);
  width: 18% !important;
  left: 0;
  opacity: 0.7;
  filter: drop-shadow(2px 4px 6px black);
}

.feature-card .card-title {
  color: var(--black);
}

@media(max-width: 768px) {
  [data-globe], .globe-class{
    width: 100px !important;
  }
}