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

body {
    background-size: cover;
    background-color: #d3bee8;
    font-family: 'BPnoScript';
    margin: 10%;
}


.pagewrapper {
  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%; /* green border */

}

nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 20px;
  text-decoration: none;
  color: #674a84;
  background-color: #cdecd0;
  font-size: 16px;
  line-height: 1;/* force uniform height */
  box-sizing: border-box;
  font-family: 'BPnoScript', sans-serif;
}



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

.nav-links {
display: flex;
flex-wrap: wrap;
justify-content: center;
width: 100%;
align-content: center; 
gap: 1.5rem; /* space between items */
/* 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;
}


.backbutton:hover {
  text-decoration: underline;
}

 .container{
max-width: 100%;
background-color: #d4bfe8;
padding: 5% 1%;
border-radius: 20px;
background-image: url(/streetscrapbook/img/asfalt-dark.png);
background-repeat: repeat;
 }

.backbutton {
    font-size: 180%;
    padding: 5%;
    color: #674a84;
    text-decoration: none;
}
.titlebox {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    background-image: url(img/titlebkrnd.png);
    margin: 5%;
    border-radius: 20px;
    align-items: center;
    padding:0 3%;
    font-size: larger;
    text-align: center;
    
}

.titlebox p {
background-color: hsla(180, 100%, 97%, 50%);
padding: 1%;
border-radius: 20px;
font-weight: 900;
}


.title {
    max-width: 50%;
}


.polies {
max-width: 100%;
display:flex;
min-height: 80vh;  
max-width: 100%;
gap:30px;
overflow: visible;
justify-content: space-evenly;
  
 
}

.pole {
    background-image: url(img/poletexture.png);
    background-size: contain;
    flex:1;
    text-overflow: clip;
    position: relative;
    width:20vw;
    min-width: 120px;
    aspect-ratio: 1/4;;
    
}

.pole-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.sticker {
    position:absolute;
    width: 60%;
    height: auto;
    max-width: none;
   
}

.gender {
    transform: rotate(-20deg);
    position: absolute;
    top:1%;
    left:1.2%;
    z-index: 1;

       
}

.tory {
    transform: rotate(20deg);
    position: absolute;
    top:37.8%;
    right:2%;
    z-index: 1;
}

.palestine {
    position: absolute;
    max-width:200%;
    width:120%;
    top:13%;
    transform: rotate(-5deg);
    

}

.gaza { 
   transform: rotate(-10deg);
   position:absolute;
   top:56%;
   left: 5%;
   z-index: 3;



  }

/* Responsive layout - makes a one column layout instead of a two-column layout */
@media (max-width: 600px) {
  .polies {
    flex-direction: column;
  }
}

@media (max-width: 600px){
  body {
    background-size: 150%;
    background-repeat: repeat-y;
  }
}

@media (max-width: 600px) {
  .polies {
    flex-direction: column;
    align-items: center;
    gap:0rem;
  }

  .pole {
    width: 65vw;
    max-width: 300px;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  nav {
    justify-content: center; /* center nav container itself */
  }

  .nav-links {
    display: flex;
    align-items: center; /* centers children (the li) horizontally */
    justify-content: center;
    width: 100%;
    padding: 0;
    margin: 0;
    gap: 0.5rem; /* space between items */
  }

  .nav-links li {
    width: auto;
    text-align: center; /* space between items */
  }

    .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;
}