
:root{
  --lightpink:#FFD3E7;
  --accent:#B57AA9;
  --accent-dark:#4E0054;
  --link: #6B2A6C;
  --link-hover: #B57AA9;
  
}

html {
    scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
   margin: 0;
   padding: 0;
   color:var(--accent-dark);
 
}

h1 {
  font-family: 'Jua', sans-serif;
}

header {
    background-color: var(--accent);
    color: var(--accent-dark);
    display: flex;
    flex-direction: row;
    height: 5%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:20px;
}

.container{max-width:1000px;margin:0 auto;padding:0 20px}

nav{padding-right:16px}

nav a{
    color:var(--accent-dark);
    text-decoration:none;
    margin-left:14px;
    font-weight:600;
    font-size: 20px;
}
nav a:hover{
    text-decoration:underline;
}

#landing{
  position: relative;
  padding:48px 0 36px;
  text-align:center;
  background:var(--lightpink);
    display:flex;
    flex-direction:column;
    align-items:center;
    height: 60vh;
    gap:12px;
}
#landing h1{
    padding-top:10px;
    font-size:80px;
    color:var(--accent-dark);
    letter-spacing:1px;
    margin-bottom:8px;
}
#landing p{
    max-width:720px;
    font-size: 25px;
    color:#5a2f4f;
}

.hero-images{
    position: absolute;
}

#yarnline {
    position: absolute;
    width: 70vw; 
    max-width: none;
    left: 20vw;  
    bottom: 4%;
    z-index: 1;   
    pointer-events: none;
}
#yarn{ 
    animation: yarnspin 10s linear infinite;
    position: absolute;
    width: 12vw;
    max-width: 140px;
    right: 4%;
    top: 6%;
    z-index: 3; 
}
@keyframes yarnspin {
    from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
#cat{
    position: absolute;
    width: 15vw;
    max-width: 220px;
    left: 3%;
    bottom: 5%;
    z-index: 2; 
}
/* About section */
#about{
    background-color: var(--accent);
    padding: 45px;
    display:flex;
    flex-direction:column;
    gap:20px;
    position: relative;
}
#about h1{
    font-size:60px;
    color:var(--accent-dark);
    margin-bottom:px;
    left: 30%;
}
#about p{
 margin: 0 auto; 
    line-height:1.6;
    font-size: 20px;
    color:var(--accent-dark);
    left: 50%;
    text-wrap: pretty;
}

.about-images {
    position: relative;
}

@keyframes crane {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(15deg);
  }
  100% {
    transform: rotate(0deg);
  }

}
@keyframes crane2 {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-15deg);
  }
  100% {
    transform: rotate(0deg);
  }

}
#crane1 {
    animation: crane 4s ease infinite;
    position: absolute;
    width: 10vw; 
    max-width: none;
    left: 5vw;  
    bottom:30%;
    z-index: 1;   
    pointer-events: none;
}
#crane2{ 
    animation: crane 4s ease infinite;
    position: absolute;
    width: 100vw;
    max-width: 140px;
    right: 4%;
    top: 60%;
    z-index: 3; 
    pointer-events: none;
}   
#crane3{ 
    animation: crane2 4s ease infinite;
    position: absolute;
    width: 100vw;
    max-width: 140px;
    left: 50%;
    top: 6%;
    z-index: 3; 
    pointer-events: none;
}   
/* Events section */
#events{
    padding:45px;
    padding-bottom:200px;
    background-color: var(--lightpink);
    position: relative;
     display:flex;
    flex-direction:column;
}
#events h1{
    text-align: right;
    font-size: 60px;
    left: 80%;
    color:var(--accent-dark);
}

#events p{
    padding-top: 50px;
    text-align: center;
    font-size: 20px;
}


  /* Photo gallery for Events */
  .photo-gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    padding: 24px;
    max-width: 1100px;
    margin: 40px auto 0;
    position: relative;
    z-index: 4;
      position: relative;

  }
  .gallery-item{ 
    list-style:none; 
    margin:0;
    display: flex;
    flex-direction: column;
    align-items: center;

  }
  .gallery-item img{
    width: 40%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(78,0,84,0.12);
    display:block;
  }
  .gallery-item figcaption{
    text-align:center;
    margin-top:8px;
    font-size:14px;
    color:var(--accent-dark);
  }
  .gallery-item img:hover{
    transform: scale(1.03);
    transition: transform 0.25s ease-in-out;
  }
  

@keyframes crane {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(15deg);
  }
  100% {
    transform: rotate(0deg);
  }

}

#beadstop {
    position: absolute;
    width: 25vw; 
    max-width: none;
    left: 3vw;  
    top:0%;
    z-index: 1;   
    pointer-events: none;
}
#beads{ 
    position: absolute;
    width: 25vw;
    right: 4%;
    bottom: 0;
    z-index: 3; 
    pointer-events: none;
}  
@keyframes kbitty {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }

}
#kbitty{ 
    animation: kbitty 4s linear infinite;
    position: absolute;
    width: 100vw;
    max-width: 140px;
    left: 5%;
    top: 60%;
    z-index: 3; 
    pointer-events: none;
}

/*officers section */
#officers{
    padding:45px;
    background-color: var(--accent);
    position: relative;
     display:flex;
    flex-direction:column;
}

#officers h1{
    text-align: left;
    font-size: 60px;
    left: 20%;
    color:var(--accent-dark);
}

#event-images{
    position: relative;
    padding-bottom: 100px;
}
#fishtop{
  position: absolute;
  width: 30vw;
  max-width: none;
  right: 0vw;
  top: 8%;
  z-index: 1;
  pointer-events: none;
}

#fishbottom{
  position: absolute;      
  max-width: 30vw;
  left: 0vw;
  top: 80%;
  z-index: 1;
  pointer-events: none;
}

.polaroid{
  width: auto;
 max-width: 18vw;
}
.polaroid:hover {
  transform: scale(1.05);
  transition: transform 0.3s;
  rotate: 5deg;
}
.polaroid-container{
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
  margin-bottom: 200px;
}


/* Contact / footer */
#contact{
    background:var(--lightpink );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom:40px;
}
#contact h1{
    font-size:40px;
    color:var(--accent-dark);
}
#contact .container{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  gap:70px;
  font-size: 25px;
}

/* Make each link a vertical stack: icon above label, centered */
#contact .container a{
  display:flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap:12px;
  color: var(--link);
  text-decoration: none;
}

#contact .container a:hover{
  color: var(--link-hover);
  text-decoration: underline;
}



#contact .icon{
  width: 50px;
  height: auto;
  margin: 0;
}


#contact img{
    vertical-align: middle;
}


/* media query */

@media (max-width: 800px) {
#yarnline {
    width: 80vw; 
    left: 13vw;  
  }
}
@media (max-width: 768px) {
  header h1 { font-size: 22px; }
  nav a { font-size:16px; margin-left:6px; }
  #landing h1 { font-size: 40px; }
  #about h1, #events h1 { font-size: 32px; }
  #about p, #events p { font-size:16px; }
  #contact .icon{
    width: 50px;
    height: auto;
    margin: 0;
  }
  #contact .container{
    font-size: 20px;
    gap:30px;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }
  .photo-gallery { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

  .polaroid-container{
    display: flex;
    flex-direction: row;
    margin-bottom: 50px;
    gap: 10px;
    padding: 0;
    margin-top: 0;
  }

  #fishbottom{
    width: 60vw;
    top: 85%;
  }
.polaroid{
    max-width: 18vw;

}
  #yarn{
    width: 10vw;
    top:45%;

  }
  #yarnline {
    width: 60vw; 
    left: 35vw;  
  }
  #crane1{
    left: 1%;
    width: 7vw;
  }
  #crane2{
    width: 10vw;
    top: 80%;
  }
   #crane3{
    width: 15vw;
  }
  #cat{
    width: 20vw;
  }
  #beadstop, #beads {
    width: 40vw; 
}
}

@media (max-width: 600px) {
  header h1 { font-size: 22px; }
  nav a { font-size:16px; margin-left:6px; }
  #landing h1 { font-size: 40px; }
  #about h1, #events h1 { font-size: 32px; }
  #about p, #events p { font-size:16px; }
  #contact .icon{
    width: 50px;
    height: auto;
    margin: 0;
  }
  #contact .container{
    font-size: 20px;
    gap:10px;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }
  #yarn{
    width: 15vw;
    top:50%;
  }
  #crane1{
    left: 1%;
    width: 7vw;
  }
  #crane2{
    width: 10vw;
    top: 80%;
  }
   #crane3{
    width: 15vw;
  }
  #cat{
    width: 30vw;
  }
  #beadstop, #beads {
    width: 40vw; 
}
}

@media (max-width: 480px) {
  header h1 { font-size: 22px; }
  nav a { font-size:16px; margin-left:6px; }
  #landing h1 { font-size: 40px; }
  #about h1, #events h1 { font-size: 32px; }
  #about p, #events p { font-size:16px; }
  #contact .icon{
    width: 50px;
    height: auto;
    margin: 0;
  }
  #contact .container{
    font-size: 20px;
    gap:10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #yarn{
    width: 15vw;
    top:58%;
  }
  #crane1{
    left: 1%;
  }
  #crane2{
    width: 10vw;
    top: 65%;
  }
   #crane3{
    width: 15vw;
  }
  #cat{
    width: 30vw;
  }
  #beadstop, #beads {
    width: 40vw; 
}
}

@media (max-width: 480px) {
  header h1 { font-size: 22px; }
  nav a { font-size:16px; margin-left:6px; }
  #landing h1 { font-size: 40px; }
  #landing p { font-size:19px; }
  #about h1, #events h1 { font-size: 32px; }
  #about p, #events p { font-size:16px; }
  #contact .icon{
    width: 40px;
    height: auto;
    margin: 0;
  }
  #contact .container{
    font-size: 20px;
    gap:10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .polaroid-container{
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
  }

  .polaroid{
    max-width: 60vw;
  }
  #yarn{
    width: 15vw;
    top:65%;
  }
  #crane1{
    left: 1%;
  }
  #crane2{
    width: 10vw;
    top: 65%;
  }
   #crane3{
    width: 15vw;
  }
  #cat{
    width: 30vw;
  }
  #beadstop, #beads {
    width: 40vw; 
}
}

/* Small phones: ensure footer stacks into a column */
@media (max-width: 375px) {
  .gallery-item img{
    width: 100%;
  }
  #contact .icon{
    width: 30px;
    height: auto;
    margin: 0;
  }
  #contact .container{
    font-size: 20px;
    gap:20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  #fishtop{
    width: 40vw;
  }

  #fishbottom{
    width: 80vw;
    top: 95%;
  }

  #officers h1{
    font-size: 40px;
  }

  .polaroid-container{
    flex-direction: column;
    margin-bottom: 50px;
  }

  .polaroid{
    max-width: 60vw;
  }
  #crane1, #crane2, #crane3{
    width: 10vw;
  }
  #crane1{
    left: 1%;
  }
  #landing p{
    font-size: 20px;
    padding:10px;
  }
  #yarnline {
    width: 90vw; 
    left: 5vw;  
  }
  #yarn{
    width: 15vw;
    top:61%;
  }
  #cat{
    width: 30vw;
  }
  #landing{
    padding-bottom: 0px;
    
  }
  nav a{
    color:var(--accent-dark);
    text-decoration:none;
    margin-left:14px;
    font-weight:600;
    font-size: 15px;
    text-align: right;
    display:flex;
    flex-direction: column;
}
#beadstop, #beads {
    width: 40vw; 
}
#kbitty{
    width: 20vw;
}
}