

/* style resets*/
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a{
  color: inherit;
  text-decoration: none;

}

ul{
  list-style: none;
}

/*base styling*/

body{
  background-color: #e8f0f7;
  
  font-family: 'Inter', sans-serif;
  height: 500px;
  padding-top: 90px;

  background-image: url('../assets/backgrounds/collageCovers.png');
  background-repeat: repeat;
  background-size: 210px;

  
}

/*styles*/
.header{
  position: fixed;
  top: 0;
  width: 100%;
}


.bottom-bar{
   background-color: rgb(19,22,26);
  /* background-color: blueviolet;*/
   
}

.bottom-bar_content{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 20px;

}

.logo{
  display: flex;
  align-items: center;
  height: 60px;
  column-gap: 12px;
}

.logo_img{
  height: 60px;
  width: auto;
  max-height: 100%;
  display: block;
  object-fit: contain;

}

.logo_text{
  color: white;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.nav{
  transition: all 0.3s ease-in-out;
}

.nav_list{
  display: flex;
  column-gap: 40px;
}



.nav_link{
  color: rgba(225,255,255,0.75);
  transition: all 0.2s;
}

.nav_link:hover, .navlink:focus{
  color: pink;
}



.hamburger{
 display: none;
}

.bar{
  height: 2px;
  background-color: white;
  width: 27px;
  margin: 5px 0;
  opacity: 0.8;
  transition: 0.3s ease-in-out;
}
/*js*/
.nav-open{
  transform: translateX(0%) !important;
}

.hamburger-open .bar:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}

.hamburger-open .bar:nth-child(2){
  opacity: 0;
}

.hamburger-open .bar:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}


/*media queries*/
@media (max-width: 650px){
  .nav{
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: rgb(19,22,26);
    padding: 10px 0 25px;
    transform: translateX(-100%);
    z-index: 999
  }
  .nav_list{
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
    
  }

  .nav_link{
    font-size: 14px;
  }

  .btn{
    font-size: 11px;
    padding: 7px 17px;
  }
  .hamburger{
    display: block;
  } 
}


/*Zines*/

body.zine-page{
  background-image: url('../assets/backgrounds/rando.JPG');
  background-repeat: repeat;
  background-size: auto;
}

.bookshelf {
  display: grid;
  grid-template-columns: repeat(5, 1fr);  /* 3 zines per row */
  gap: 40px;
  justify-items: center;
  padding: 40px;
  max-width: 1000px;
  margin: 0 auto;
  
  
}

.zine{
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: black;         /* solid background */
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.zine img {
  height: 200px;
  border-radius: 6px;
  transition: transform 0.2s;
  
}

.zine img:hover {
  transform: scale(1.05);
}

.zine-title{
  color:#e8f0f7;
}

@media (max-width: 768px) {
  .bookshelf {
    grid-template-columns: repeat(3, 1fr);  /* 2 per row on tablets */
  }
}

@media (max-width: 480px) {
  .bookshelf {
    grid-template-columns: repeat(2, 1fr);  /* 1 per row on phones */
  }
}

.hero {
  text-align: center;
  padding: 80px 20px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5); /* if using image bg */
  backdrop-filter: blur(4px);           /* optional */
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn {
  background: #fff;
  color: #000;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
}


.contact {
  text-align: center;
  background-color: whitesmoke;
  width: 50%;
}

.contact p {
  
}

.accordion {
  padding: 10p;
}

.accordion__button {
  display: block;
  width: 100%;
  border: none;
  outline: none;
  cursor: pointer;
  background: rgb(19,22,26);
  color: white;
  text-align: left;
  transition: background 0.2s;
  padding: 15px;
  /*margin-bottom: 10px;   to add gap between buttons*/

}

.accordion__button::after {
  content: '\25be';
  float: right;
  transform: scale(1.5);

}
 
.accordion__button--active{background: #555555;}
.accordion__button--active::after {content: '\25b4' }

.accordion__content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.2;

  padding: 0 15px;
  background-color: #eeeeee;

}

.about-section {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.about-box {
  max-width: 700px;
  padding: 30px;
  background-color: rgba(255, 255, 255); /* soft white background */
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.about-box h1 {
  font-size: 2.4rem;
  margin-bottom: 15px;
  color: #13161a;
}

.about-box p {
  font-size: 1.15rem;
  color: #333;
  line-height: 1.6;
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(-1deg);
    background-color: #fff8e7;
    border-color: #ff4d6d;
  }
  25% {
    transform: rotate(1deg);
    background-color: #fce1ff;
    border-color: #6a0dad;
  }
  50% {
    transform: rotate(-1deg);
    background-color: #e0f7fa;
    border-color: #00bcd4;
  }
  75% {
    transform: rotate(1deg);
    background-color: #ffe0e0;
    border-color: #ff4081;
  }
}

.about-box:hover {
  animation: wiggle 1s infinite ease-in-out;
  box-shadow: 10px 10px 0 #333;
  
}


