@charset "utf-8";
@import 'https://fonts.googleapis.com/css?family=Montserrat|Open+Sans';
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  /* z-index: 5; */
  position: relative;
}
nav{
  /* background: linear-gradient(180deg, rgba(82,73,73,1) 0%, rgb(199, 187, 187) 52%, rgba(255,254,255,1) 100%); */
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10000;
  display:inline-flex;
  align-items: center;
  justify-content: space-between;
}
nav::before {
    content: "";
    position: absolute;
    inset: 0;
    /* same gradient, but with alpha stops */
    background: linear-gradient(
      /* 180deg,
      rgba(82, 73, 73, 0.75) 0%,
      rgba(199, 187, 187, 0.55) 52%,
      rgba(255, 254, 255, 0.35) 100% */
      180deg,
      rgba(82, 73, 73, 0.75) 0%,
      rgba(199, 187, 187, 0.55) 30%,
      rgba(255, 254, 255, 0.25) 70%,
      transparent 100%
    );
    /* blur the page content behind the nav */
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2); /* Safari */
    /* a subtle divider line */
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.25); */
    /* don’t block clicks on links */
    pointer-events: none;
    /* ensure the overlay sits behind nav’s children */
    z-index: 0;
  }
  
  /* make sure nav’s content is above the overlay */
  nav > * {
    position: relative;
    z-index: 1;
  }
label.logo{
  line-height: 80px;
  /* padding: 80px 140px; */
  padding: 10px 140px;
  display: inline-flex;
}
.avatar {
  vertical-align: middle;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 5px 5px;
}
nav ul{
  float: right;
  margin-right: 60px;
  /* z-index: 5 !important; */
  /* width: 75%; */
}

/* === Avatar coin flip === */
.avatar-coin{
  position: relative;
  width: 80px; height: 80px;
  perspective: 900px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 2s cubic-bezier(.2,.7,.2,1); /*If you want a quicker/slower flip, tweak .6s in transition. Accessible: keyboard flip (Enter/Space) and role="button". */
  border-radius: 50%;
  z-index: 2;
}
.avatar-coin .face{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  border-radius: 50%;
  backface-visibility: hidden;
}
.avatar-coin .front{ transform: rotateY(0deg); }
.avatar-coin .back { transform: rotateY(180deg); }

/* flip directions */
.avatar-coin.flip-right { transform: rotateY(180deg); }
.avatar-coin.flip-left  { transform: rotateY(-180deg); }

/* AI-ish glow ring */
.avatar-coin .ai-glow{
  position:absolute; inset:-6px;
  border-radius: 50%;
  pointer-events:none;
  z-index: -1;
  background:
    conic-gradient(
      from 0turn,
      rgba(82,73,73,.0) 0%,
      rgba(199,187,187,.35) 25%,
      rgba(255,254,255,.55) 50%,
      rgba(199,187,187,.35) 75%,
      rgba(82,73,73,.0) 100%
    );
  filter: blur(6px) saturate(1.15);
  animation: aiSpin 3.5s linear infinite;
}
@keyframes aiSpin { to { transform: rotate(1turn); } }

/* gentle “press” feedback */
.avatar-coin:active{ transform: scale(.98); }

/* keep your existing .avatar sizing compatible */
.avatar, .avatar-coin { width:80px; height:80px; }


@media (max-width: 768px) {
  nav ul {
    top: 81;
    width: 75%;
    background: linear-gradient(360deg, rgba(82,73,73,1) 0%, rgb(199, 187, 187) 72%, rgba(255,254,255,1) 100%);
  }
}
nav ul li{
  display: inline-block;
  line-height: 80px;
  margin: 0 2px;
}

nav ul li a{
  color: #1a1414;
  font-weight: 600;
  font-size: 20px;
  padding: 7px 13px;
  border-radius: 3px;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
}
a.active,a:hover{
  color: #a08888;
  transition: .5s;
}
.checkbtn{
  font-size: 30px;
  color: rgb(25, 19, 19);
  float: right;
  line-height: 80px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
  padding-top: 30px;
  padding-bottom: 15px;
}
#check{
  display: none;
}

@media (max-width: 952px){
  label.logo{
    font-size: 27px;
    padding-left: 25px;
  }
  nav ul li a{
    font-size: 16px;
  }
}
@media (max-width: 858px){
  .avatar{
    margin-top: 20px;      
  }
  .checkbtn{
    display: block;
    margin-right: 40px;
  }
  nav ul{
    z-index: 10001;   
    position: fixed;
    width: 75%;
    height: 100vh;
    padding: 10px 25px;
    /* height: calc(100vh - 80px - 20vh); */
    background: linear-gradient(360deg, rgba(82,73,73,1) 0%, rgb(199, 187, 187) 72%, rgba(255,254,255,1) 100%);
    /* top: 110px; */
    /* top: auto;
    bottom: 80px;  */
    bottom: 120px;
    left: -100%;
    text-align: left;
    transition: all .5s;
    display: flex;               
    flex-direction: column-reverse;
    justify-content: flex-start;
    overflow-y: auto;
  }
  nav ul li a { display:block; position:relative; z-index:2; }
  nav ul .quote-container { position: sticky; top:0; bottom: 55%; padding: 8px 0;margin: 0; }
  nav {
    top: auto;
    bottom: 0;
    flex-direction: row-reverse;
  }
  /* adjust the frosted border for a bottom-docked nav */
  nav::before {
    /* border-bottom: none;
    border-top: 1px solid rgba(255, 255, 255, 0.25); */
    background: linear-gradient(
      0deg,
      rgba(82, 73, 73, 0.75) 0%,
      rgba(199, 187, 187, 0.55) 30%,
      rgba(255, 254, 255, 0.25) 70%,
      transparent 100%
    );
  }
  nav ul {
    /* background: transparent; overlay handles paint
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2); */
    z-index: 10001;   
    position: fixed;
    width: 75%;
    height: 100vh;
    padding: 10px 25px;
    /* Remove old background */
    background: transparent;
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    bottom: 120px;
    left: -100%;
    text-align: left;
    transition: all .5s;
    display: flex;               
    flex-direction: column-reverse;
    justify-content: flex-start;
    overflow-y: auto;
  }
  /* Add gradient overlay to the slide-out menu */
  nav ul::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(82, 73, 73, 0.75) 0%,
      rgba(199, 187, 187, 0.55) 30%,
      rgba(255, 254, 255, 0.25) 70%,
      transparent 100%
    );
    pointer-events: none;
    z-index: -1;
  }
  nav ul li{
    display: block;
    margin: 40px 0;
    line-height: 30px;
  }
  nav ul li a{
    font-size: 20px;
  }
  a:hover,a.active{
    background: none;
    color: #977373;
  }
  #check:checked ~ ul{
    left: 0;
    /* top: 80; */
    bottom: 120px;
    /* background: linear-gradient(
      360deg,
      rgba(82, 73, 73, 0.75) 0%,
      rgba(199, 187, 187, 0.55) 72%,
      rgba(255, 254, 255, 0.35) 100%
    ); */
    /* Remove old background - now handled by ::before */
    background: transparent;
  }
}


/*
.header {
  background-color: #333;
}

/* Add a black background color to the top navigation
topnav {
  background-color: #333;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;

}

/* Style the links inside the navigation bar
topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: inline;
}
 topnav li{
  list-style-type: none;
 }


.header #menu_text {
  float: right !important;
  font-weight: bold;
  list-style-type: none;
  position: relative;
  text-align: center;
  padding: 30px 20px;
  font-family: 'Open Sans', sans-serif;
}
*/

/* Mobile view styles */
@media screen and (max-width: 844px) {
  .quote-container {
    display: flex;
    position: sticky;
    top: 65%;
    padding: 55px;
    /* Any other styles you'd like to apply to the mobile quote display */
  }
  
}

/* Desktop view styles */
@media screen and (min-width: 845px) {
  .quote-container {
    display: none;
  }
}
