
@font-face {       
font-family: 'BPnoScript';
src: url(https://humantooth.neocities.org/fonts/BPnoScript.woff) format('woff');
font-weight:normal; }

body {
    background-image: url('/Home%20Page%20/img/backgroundcollage.png');
    background-size: cover;
    background-color: #d3bee8;
    font-family: 'BPnoScript';
    margin: 10%;
}


.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
    background-color:  #d4bfe8;
    border-radius: 20px;
    padding:20px;
    margin-bottom: 20px;
    box-shadow: 10px 10px 9px #cdecd0;
    border-right: solid #fdfffe;
    border-bottom: solid #fdfffe;
    padding:20px;
}

header img {
max-width: 100px;
height: auto;
display: block;
margin: 0 auto;
min-width: 80%
}



nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    width: 100%; 

}

nav a {
    padding: 8px 15px;
    border-radius: 20px; 
    text-decoration: none;
    color: #674a84;
     background-color: #cdecd0;
     
}

nav a:hover{
  animation: wobble 1s ease-in-out 1;
  background-color: #674a84;
  color:#cdecd0;
}

.nav-links {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
width: 100%;
gap:1.5rem;
align-items: center; /* green border */
}

.nav-links li {
  position: relative;
  display: flex; 
  border-radius: 20px;
  padding:0;


}


.nav-links a {
  text-decoration: none;
  font-size: 17px;
  width: max-content;
}


.dropdown-content {
  display: none;
  position: absolute;
  min-width: 0;
  box-sizing: border-box;
  top: 100%;
  z-index: 999;
  right: 0;
  padding: 0;
  margin: 0 3px;
/* green border */
}

.dropdown-content {
  display: none;
  padding: 0;
  box-sizing: border-box;
  align-content: end;
}



.dropdown-content li a {
  padding: 8px 15px;
  text-align: right; /* prevent wrapping */
  display: block;
  width: max-content;
  box-sizing: border-box;
  margin: 3px 0;
  
}

.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* right-align the dropdown content */
}

.dropdown-content li a:hover {
  background-color: #674a84;
}


 .container{

min-height: 100vh;  
max-width: 100%;
gap:10px;
background-color: #d3bee8;
box-shadow: 10px 10px 9px #cdecd0;
border-radius: 20px;
padding: 20px;
}

.container h1 {
    text-decoration: underline;
    text-decoration-style: wavy;
}

.container h3 {
    text-decoration: underline;
    text-decoration-style: wavy;
}

.titleimg {
  max-width: 100%;
  height: auto;
}

.questions {
list-style-image: url(/piggies/img/bullet.gif);
}


.pic {
  max-width: 100%;   /* take full width of the column */
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.origin {
    margin-bottom: 20px;
    max-height: 50vh;
    overflow: auto;
    border: white dashed 1.5px;
}

.piggypoo {
  max-width: 20%;
  height: auto;
  float: left;
  padding-right: 20px;;

}

.holding {
  max-width: 20%;
  height: auto ;
  float:right;
  padding-left: 15px;
  padding-top:15px;
}
.box {
    background-color: rgb(237, 212, 240);
    padding:20px;
    border-radius: 20px;
    border: white dashed 1.5px;
    
    ;
}

.cage {
    margin-bottom: 20px;
    height: 40vh;
    overflow: auto; 
    border: white dashed 1.5px; 
   
}
.cage img {
    max-width: 30%;
    float: left;
    padding:20px;    
}

.other {
    border: white dashed 1.5px;
    margin-bottom: 20px;
    text-align: center;
    height:50vh;
    overflow: auto;
}

.otheritems {
    display: flex;
    justify-content: center;
    gap:20px;
    flex-wrap: wrap;
}



.itembox {
    flex: 0 0 calc(33.333% - 20px); /* 3 per row, accounting for gap */
}

.itembox img {
    max-width: 100%;
}


ol li {
  margin-bottom: 15px; /* adjust the number to how much space you want */
}

a {
    color: #674a84;
    text-decoration: wavy underline;
}

.cagetext {
    display: flex;
    flex-direction: column;
}


.columns {
  display: flex;
  flex-wrap: wrap; 
  gap: 20px;
  justify-content: center; 
}

.column {
  flex: 0 0 calc(33.333% - 20px); /* 3 columns minus the gap */
  box-sizing: border-box;
}


.birthday {
    background-image: url('/piggies/img/confetti.gif');
    background-size: cover;
    max-height: 50vh;
    overflow: auto;
}
.fleecevwood {
    height: 50vh;
    overflow: auto;
}
.gallery img {
    max-width: 30%;
}
.gallery {
    text-align: center;
    height: 50vh;
    overflow: auto;
}
.gallery-images {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}


@media (max-width: 768px) {
  nav {
    justify-content: center; /* center nav container itself */
  }
.cage {
  display: flex;
  flex-direction: column;
  align-items: center;
  height:60vh;/* centers children (the img) horizontally */
}

.cage img {
  max-width: 80%;
}

.otheritems {
  flex-direction: column;
}

.columns {
    flex-direction: column; /* stack columns vertically */
  }

.piggypoo {
  max-width: 50%;
  height: auto; /* remove float for better stacking */ /* remove right padding */
}
.holding {
  max-width: 50%;
}

  .nav-links li {
    width: auto;
    text-align: center; /* space between items */
  }
.imgcontainer {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}
    .nav-links li a {
      display: flex;
      justify-content: center;
      align-items: center; /* centers text inside the link */
  
      
    }
  }
    
     @media (max-width: 600px) {
    .container {
    flex-direction: column;
    gap:0
    }  

header img {
transform: scale(1.4);
margin-bottom: 13px;
}


 
/* Wobble animation for header */
@keyframes wobble {
  16.65% { transform: skew(-12deg); }
  33.3%  { transform: skew(10deg); }
  49.95% { transform: skew(-6deg); }
  66.6%  { transform: skew(4deg); }
  83.25% { transform: skew(-2deg); }
  100%   { transform: skew(0); }
}
     }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('/backgroundcollage.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #d3bee8;
  z-index: -1;
}