*{
  padding: 0;
  margin: 0;
  height: auto;
}
html {
  scroll-behavior: smooth;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: all 0.3s ease-in-out;
  padding: 10px 50px 10px 30px;
  z-index: 1000; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: none;
}
.navbar.scrolled {
  background-color: #000;
  opacity: 100%;
  top: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); 
}
.navbar ul {
  display: flex;
  list-style: none;
  width: 500px;
}
.navbar li {
  margin: 0 15px;
}
.navbar a {
  text-decoration: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
}
.navbar a:hover {
  color: #f1c40f;
}
#menu-toggle{
  display: none;
}
.header {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}
.pistachoLogo {
  width: 58px;
  height: 51px;
  z-index: 0;
}
.pistachoLogoReel{
  width: 58px;
  height: 51px;
  z-index: 0;
}
.pistachoLogo:hover { 
  opacity: 0.8;
  z-index: 3;
}
.pistacho-title{
  margin-top: 28px;
}
.header-subtitle{
  font-family: 'Didot', 'Cormorant', 'Playfair Display', 'Times New Roman';
  font-size: 32px;
  line-height: 40px;
  text-align: center;
  margin: 10px;
  font-weight: 400;
  letter-spacing: 11px;
}
.header-button{
  height: 50px;
  border: 1px solid white;
  color: #D9D9D9;
  width: 170px;
  align-content: center;
  cursor: pointer;
  text-decoration: none;
  margin-top: 30%;
  font-family: 'Montserrat';
  transition: all 0.3s ease;
}
.header-button-typo{
  color: #D9D9D9;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Montserrat';
  transition: all 0.3s ease;
  font-size: 14px !important;
  padding: 3.8%;
}
.header-button:hover{
  background-color: #FFF;
  color: #858585;
}
.header-button:active{
  background-color: #F0493E;
  color: #fff
}
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.header-content {
  height: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  width: auto;
  top: 10%;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.header p {
  font-size: 1.2rem;
}
.branding, .gallery, .ecommerce-heaven, .directors {
  padding: 50px 20px;
  text-align: center;
  color: white;
}
.inline-1{
  border-top: 0.5px solid white;
  width: 600px;
  justify-self: center;
  margin-top: 7%;
  margin-bottom: 15px;
}
.inline-2{
  border-top: 0.5px solid white;
  width: 360px;
  justify-self: center;
  margin-bottom: 7%;
  margin-top: 15px;
}
.branding-phone-case-typo{
  font-family: 'Didot', 'Cormorant', 'Playfair Display', 'Times New Roman';
  font-weight: 400;
  font-size: 20px;
  text-align: center;
  letter-spacing: 17px;
  margin-bottom: 5%;
}
.branding-typo{
  font-family: 'Montserrat';
  font-size: 16px;
  letter-spacing: 3px;
  line-height: 33px;
  text-align: center;
  margin-top: 5%;
}
.images {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease-in-out;
}
.screen-content {
  width: 85%;
  height: 92%;
  z-index: 1;
  object-fit: cover;
  border-radius: 25px;
}
.phone-container {
  position: relative;
  width: 300px;
  height: 600px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  pointer-events: none;
}
.phone-video {
  position: absolute;
  top: 0;
  position-area: center;
  left: 0;
  width: 88%;
  height: 92%;
  border-radius: 30px;
  object-fit: cover;
  z-index: 1;
}
.phone-frame2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(https://bypistacho.com/wp-content/themes/WordpressByPistacho/assets/PhoneCase.png) no-repeat center center;
  background-size: cover;
  z-index: 2;
  pointer-events: none;
}
.phone-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(https://bypistacho.com/wp-content/themes/WordpressByPistacho/assets/PhoneCase.png) no-repeat center center;
  background-size: cover;
  z-index: 2;
  pointer-events: none;
}
.branding {
  background-color: #000;
}
.ecommerce-heaven {
  background: url(https://bypistacho.com/wp-content/themes/WordpressByPistacho/assets/PhotorealisticCloud.png);
  background-repeat: round;
}

.ecommerce-heaven-container{
  display: flex;
  justify-content: center;
  margin-right: 3%;
  margin-left: 3%;
}
.ecommerce-heaven-phone-frame{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(https://bypistacho.com/wp-content/themes/WordpressByPistacho/assets/PhoneCase.png) no-repeat center center;
  background-size: cover;
  z-index: 2;
}
.ecommerce-heaven-typo{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-end;
  color: #12316F;
  width: 30%;
}

.ecommerce-heaven-typo2{
  text-align: end;
  font-family: 'Montserrat';
  font-size: 23px;
  font-weight: 400;
  line-height: 43px;
}
.ecommerce-heaven-typo-title{
  font-size: 52px;
  text-align: end;
  font-weight: 400;
}
.phone-container2{
  position: relative;
  width: 300px;
  height: 600px;
  margin: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.arrow-gif{
  width: 200px;
  height: 140px;
  cursor: pointer;
  justify-self: center;
}
.pistacho-reel{
  width: 1000px;
  height: 500px;
  margin-bottom: 5%;
}
.pistacho-reel-container{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.directors {
  padding: 120px;
  background-color: #000;
  display: grid;
  grid-template-columns: repeat(2, 50%);
  grid-template-rows: repeat(2, 50%);
  height: 570px;
}
.directors-title {
  font-family: 'Didot', 'Cormorant', 'Playfair Display', 'Times New Roman';
  font-weight: 400;
  font-size: 52px;
  letter-spacing: 7px;
  text-align: right;
  margin-top: 15px;
}
.directors-title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  grid-column: 1;
  grid-row: 2;
  padding: 15px;
}
.directors-container {
  grid-row: 1/3;
  grid-column: 2;
  gap: 20px;
  width: auto;
  height: 500px;
  flex-direction: row;
  flex-wrap: wrap;
}
.directors-picture {
  width: 215px;
  height: 250px;
  object-fit: cover;
}
.image-card-1 {
  position: relative;
  margin: 12px;
  width: 215px;
  justify-self: end;
  grid-row: 1;
  grid-column: 1;
  height: 250px;
  overflow: hidden;
}
.image-card-2 {
  position: relative;
  margin: 12px;
  width: 215px;
  grid-row: 1;
  grid-column: 2;
  height: 250px;
  overflow: hidden; 
}
.image-card-3 {
  margin-left: 12px;
  position: relative;
  margin-top: 35px;
  width: 215px;
  height: 250px;
  grid-row: 2;
  grid-column: 2;
  overflow: hidden;
}
.overlay {
  position: absolute;
  bottom: 0%;
  width: 100%;
  height: 100%;
  background: rgba(50, 50, 50, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: 'Didot', 'Cormorant', 'Playfair Display', 'Times New Roman';
  font-size: 32px;
  font-weight: 400;
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
}
.image-card-1:hover .overlay {
  transform: translateY(0); 
}
.image-card-2:hover .overlay {
  transform: translateY(0); 
}
.image-card-3:hover .overlay {
  transform: translateY(0); 
}
.contact-info{
  background-image: url(https://bypistacho.com/wp-content/themes/WordpressByPistacho/assets/BottomPhotorealisticCloud.png);
  display: flex;
  justify-content: space-between;
  width: auto;
  height: 340px;
  background-repeat: round;
  align-items: center;
}
.contact-info-container{
  padding: 100px;
  margin: 0px;
  width: 430px;
  display: flex;
  height: 130px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}
.contact-info-title{
  font-family: 'Montserrat';
  font-size: 32px;
  font-weight: 700;
  color: white;
  padding: 0px;
  margin: 0px;
  letter-spacing: 5px;
}
.contact-info-typo{
  font-family: 'Montserrat';
  font-size: 32px;
  font-weight: 400;
  color: #FFF;
  padding: 3px;
  margin: 0px;
  letter-spacing: 4px;
}
.darker-clouds{
  background: #12316F;
}
.contact-icons{
  width: 50px;
  height: 50px;
  margin: 14px;
  cursor: pointer;
}
.contact-info-icons{
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.arrow-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.arrow {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50px;
  animation: blink 1.5s infinite;
}

.arrow::before,
.arrow::after {
  content: '';
  position: absolute;
  background-color: white;
  width: 40px; 
  height: 10px; 
  border-radius: 10px;
}

.arrow::before {
  top: 0;
  left: -6px;
  transform: rotate(45deg); 
}

.arrow::after {
  top: 0;
  left: 5;
  transform: rotate(-45deg);
}

.arrow:nth-child(1) {
  animation-delay: 0s;
}

.arrow:nth-child(2) {
  animation-delay: 0.5s;
}

.arrow:nth-child(3) {
  animation-delay: 1s;
}

@keyframes blink {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
/* Cellphone Style */
@media (max-width: 1010px) {
  .pistacho-reel{
    width: 710px;
  }
  .contact-info{
    justify-content: center;
  }
  .contact-info-container{
    padding: 50px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 14px; 
    margin: 0;
  }

  .navbar {
    padding: 0px 15px;
    position: fixed;
    display: flex;
    opacity: 100%;
    width: 100%;
    background-color: #000;
    top: 0;
    justify-content: flex-start;
  }
  .menu-toggle {
    display: block !important;
    cursor: pointer;
    color: white;
    width: 43%;
    top: 0;
    font-size: 24px;
  }
  .logo {
    align-content: center;
    width: auto;
    height: 60px;
  }
  .navbar ul {
    display: none; 
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #000;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  }
  .navbar ul.show {
    display: flex;
    width: 95%;
  }
  .navbar li {
    margin: 10px 0;
    text-align: center;
  }
  .pistacho-title{
    width: 300px;
  }
  .header {
    padding: 20px;
    text-align: center;
  }
  .header h1 {
    font-size: 1.8rem; 
    line-height: 2.2rem;
  }
  .header-subtitle {
    font-size: 1.2rem; 
    line-height: 1.5rem;
  }
  .header-button {
    width: 80%;
    margin: 0px; 
  }
  .header-button-typo{
    height: 100%;
    display: flex;
    padding: 0px;
    align-items: center;
    justify-content: center;
  }
  .inline-1, .inline-2 {
    width: 90%; 
    margin: 5% auto; 
  }
  .phone-video, .phone-frame {
    width: 90%;
    border-radius: 50px;
    height: 94%;
    padding-top: 20px;
    align-self: stretch;
  }
  .phone-video {
    position-area: none;
    margin: 8% 5% 10% 5%;
    padding-top: 0px;
    height: 560px;
  }
  .screen-content{
    width: 350px;
    height: 738px;
    z-index: 1;
    object-fit: cover;
    border-radius: 35px;
    margin-top: 5%;
  }
  .ecommerce-heaven-container {
    flex-wrap: wrap;
    margin: 10px;
  }
  .ecommerce-heaven-typo {
    width: 100%;
    text-align: center;
    align-items: center;
  }
  .ecommerce-heaven-typo-title{
    text-align: center;
  }
  .ecommerce-heaven-typo2 br{
    display: none;
  }
  .ecommerce-heaven-typo2{
    text-align: center;
  }
  .ecommerce-heaven-phone-frame {
    width: 80%; 
    margin: auto;
  }

  .branding-typo, .branding-phone-case-typo {
    margin: 5% auto;
    font-size: 14px;
  }

  .pistacho-reel {
    width: 100%;
    height: auto; 
  }
  .directors {
    padding: 50px;
    flex-direction: column;
    height: 545px;
  }
  .directors-title-container{
    display: flex;
    flex-direction: column;
    align-items: end;
    padding: 25px;
    margin: 0px;
  }
  .directors-title {
    font-size: 2rem;
  }

  .directors-container {
    width: 100%;
  }
  .directors-picture{
    width: 215px;
    height: 250px;
  } 
  .contact-info {
    flex-direction: column;
    height: 250px;
    background-repeat: no-repeat;
  }
  .ecommerce-heaven{
    background-repeat: no-repeat;
  }
  .overlay{
    position: absolute;
    bottom: 0%;
    top: auto;
    width: 100%;
    height: 100%;
    display: flex;
    transform: translateY(100%);
  }

  .contact-info-container {
    padding: 10px 0px 0px 0px;
    width: 100%;
    text-align: center;
    align-items: center;
  }
  .contact-info-typo{
    font-size: 27px;
  }
  .contact-icons {
    width: 40px;
    height: 40px;
    margin: 10px;
  }
  .contact-info-icons{
    width: 300px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;

  }
  .arrow-container{
    width: 50px;
  }
  .slider-container {
    display: block;
    max-width: 100%;
  }
  .dots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
  }

  .dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
  }
  .pistacho-logo{
    display: none;
  }
  .pistachoLogoReel{
    display: none;
  }
  .slider-container {
    width: 100%;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
    position: relative;
  }
  .dot.active {
    background-color: #717171;
  }
  .phone-frame2 {
    width: 100%;
    height: 100%;
    position-area:center;
  }
  .phone-frame {
    width: 390px;
    height: 100%;
    opacity: 0;
    position-area:center;
  }
  .images{
    justify-content: flex-start;
    display: flex;
    width: 300%;
  }
  .phone-container {
    min-width: 33.33%;
    display: flex;
    height: 790px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    flex-direction: column;
    position: relative;
  }
}
@media (max-width: 550px) {
  .directors-picture{
    width: 150px;
    height: 150px;
  }
  .directors{
    padding: 20px;
  }
  .image-card-1{
    display: flex;
    overflow: hidden;
    width: auto;
    align-items: flex-end;
    justify-content: flex-end;    
  }
  .image-card-2{
    display: flex;
    align-items: flex-end;
    width: 150px;
  }
  .image-card-3{
    display: flex;
    width: 150px;
    height: 150px;
  }
  .overlay{
    height: 150px;
  }
  .directors-title-container{
    padding: 12px;
  }
  .screen-content{
    height: 660px;
    width: 310px;
  }
  .phone-container{
    height: 700px;
  }
  .contact-info-typo{
    font-size: 20px;
  }
}

/* Specific Styles */
@media screen and (max-width: 375px) and (max-height: 812px) and (-webkit-device-pixel-ratio: 3) {
  .phone-video {
    border-radius: 35px;
  }
  .phone-container {
    overflow: hidden!important;
  }
}