 /* css for Holocaust Curriculum Through Film */
 



    html,body {
        background-color:white;
    }

    body {
      margin: 0;
      padding: 0;
    font-family: 'AvenirNextProRegular', Arial, sans-serif;
    font-weight: 100;
    background-color: rgb(251,251,251);

   
    }
    
    body *{
       
		color: black;
		
    }
    
 
    
   header {
      background-color: #1e1e1e;
      color: white;
      padding: 10px 15px;
      font-size: 18px;
      display: flex;
      align-items: center;
      height: 60px;
    }
    
     .header-content {
     padding: 20px;
     
 }

    header a {
      color: white;
      text-decoration: none;
      margin-right: 10px;
      font-weight: normal;
    }
    
    
	
    
	
	main {
	
      max-width: 900px;
      margin: 0px auto;
      padding: 20px;
      background-color: white;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	}
	

 
   	h1 > span.curriculum-title {
		color: #C55A11;
		display: block; /* forces it to break to the next line */
		font-family: 'AvenirNextProRegular', Arial, sans-serif;
		 text-align: center;
         font-size: 2.5rem;
         margin-bottom: 20px;
         margin-top: 10px;
         color: #C55A11;
        font-weight: 500;
       
	}
	
	  .fancy {
        font-family: BatrisyiaScriptAlternates;
        font-size: 3em;
        color: #C55A11;
        text-align: center;
         display: block;
          font-weight: 400;
    }
    
    
        @media (max-width: 832px) {
        	h1 > span.curriculum-title {
  	     line-height: 70px;
        }
      }

    
    
	
	h2, h3, h4 {
		color: #C55A11;
		font-weight: 100;
	}
		
	section#coursedetails {
		color: white;
		text-align: left;
		margin-bottom: 20px;
		margin-top: 20px;
	}
	
	section#coursedetails p, section#coursedetails a {
		margin: 4px 0 4px 0;
	}
	
	section#coursedetails a {
		 text-decoration: underline;   
	}
    
    a {
         text-decoration: underline;   
         color: inherit;              /* Use parent color */
        display: inline-block;       /* Allow padding/margins */
        transition: font-weight 0.2s ease;
    }
    
    a:hover {
        font-weight: bold;           /* Bold on hover */
    }


 
 
 


 
  


    #tile-section {
      margin-top: 0;
      margin-left: 10%;
      margin-right: 10%;
      margin-bottom: 60px;
      text-align: center;
    }

   
    
    .subtitle {
    	    display: block;
    	    color: #C55A11;
    		font-size: 3rem;
    		 font-family: 'AvenirNextProRegular', Arial, sans-serif;
    		 text-align: center;
    	}
    	
    p.description {
      font-size: 1.1em;
      margin-bottom: 40px;
      color: white;
    }

 .tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  max-width: 1000px;
  gap: 3vh; /* equal spacing vertically and horizontally */
  justify-content: center;
  margin: 0 auto;
}

.tile {
  aspect-ratio: 1 / 1;
  background-color: #f9f9f9;
  border: 2px solid #ccc;
  padding: 20px;
 /* border-radius: 10px;*/
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
  /* width removed to let grid control tile width */
  justify-content: center;  /* Vertically center content */
  align-items: center;      /* Horizontally center content */
  max-height: 300px;             /* Make sure tile has a height */
  text-decoration: none;
 
}

    .tile:hover {
      transform: scale(1.02);
    }

    .tile-name {
         display: flex;
      align-items: center;
      justify-content: center;
        flex-grow: 1;
        height:90%;
       
    }
    
    .tile h3 {
      margin-top: 10px;
      margin-bottom: 0px;
      font-size: 3em;
      font-weight: bold;
      color: white;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    }
    

    .download-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      font-size: 1.2em;
      background: #eee;
      padding: 5px 10px;
      border-radius: 4px;
    }

    /* Modal styles */
    .modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.7);
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .modal-content {
      background: #fff;
      padding: 30px;
      border-radius: 8px;
      width: 90%;
      max-width: 1332px;
      max-height: 90%;
      overflow-y: auto;
      position: relative;
    }

    

    .close-btn {
      position: absolute;
      top: 0px;
      right: 0px;
      font-size: 1.5em;
      background: none;
      border: none;
      cursor: pointer;
    }
    
    .modal-content h2 {
  text-align: center;
  margin-bottom: 1rem; /* optional: adds spacing below the title */
}

#filmdescription {
    padding:3px;
}





/* teachers guide */

/* Modal container styling */
.pdf-modal-content {
  width: 60%;
  max-width: 60vw;
  height: 95vh; /* Increased from 90vh to 95vh */
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* PDF container scales with modal */
.pdf-container {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
}

/* Responsive iframe */
.pdf-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}



/* class files* /


/* General Modal Styles */
.classfiles-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}


.classfiles-modal-content {
  position: relative;
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 600px;       /* ✨ Controls overall modal width */
  width: 90%;             /* Mobile-friendly scaling */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}


@media (max-width: 768px) {
  .pdf-viewer {
    max-width: 95vw;
    max-height: 85vh;
  }
}


.classfiles-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #C55A11;
  z-index: 10000; /* ADD this to ensure it appears above other elements */
  
}

.classfiles-modal h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #C55A11;
}

/* Grid of PDF Icons */
.pdf-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pdf-grid * {
	color: black;
}

a.pdf-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: underline;
  transition: font-weight 0.2s ease;
  cursor: pointer;
  
}

a.pdf-item:hover {
  font-weight: bold;
}

.pdf-item img {
  width: 40px;
  height: 40px;
  flex-shrink: 0; /* Keeps the icon from shrinking */
}

.pdf-item p {
  margin: 0;
  font-size: 1em;
  text-align: left;
}


/* PDF Viewer Modal Styling */

.pdf-viewer {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 90vw;
  max-height: 90vh;
  padding: 1rem;
  box-sizing: border-box;
}

.pdf-viewer iframe {
  width: 100%;
  height: 100%;
  border: none;
}

 .film {
    background-image: url("../images/hungarian-soldiers.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  /*  background-position: center -20px;  shift 20px up */
    
}

 .teachersguide {
    background-image: url("../images/hcf-cover-teachers-guide-square.png");
   background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}




 .classfiles {
    background-image: url("../images/apple-on-notes-square.jpg");
   background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

 .bonus {
    background-image: url("../images/daniel-key-cropped.png");
   background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}








.licenses-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}


.licenses-modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px; /* sets the width for the pdfs */
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: block;
  
}

.licenses-close-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.licenses-modal h2 {
  text-align: center;
  margin-bottom: 20px;
  display: block;
}

.licenses-modal p {
    display: block;
}

 /*table of lessons */

td {
	
	border: 1px solid #ccc; 
	padding: 10px;
}

th {
	border: 1px solid #ccc; 
	padding: 10px; 
	background-color: #ccc; 
	color: black;"
}

/* Modal Trailer */
.modal {
  display: none;
  position: fixed;
  z-index: 20;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  
}




.modal-content {
  margin: auto auto;
/*  max-width: 800px;*/
  background: black;
  position: relative;
/*  padding-top: 40px;*/
/*  max-width: 1920px;   Increase this value as needed */
  width: 95%;         /* Ensures it scales with screen size */
}

.modal-content video {
  width: 100%;
  height: auto;
}

.modal-responsive-video {
  position: relative;
  width: 100%;
  padding-bottom: 54.054%; /* 3996x2160 ratio */
  overflow: hidden;
}


.modal-responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
 height: 100%;
  border: none;
 /* pointer-events: none;*/
}



.close {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 30;
}



/* --------------------- FOOTER ---------------- */

/* Footer */
footer {
  background: black;
  text-align: center;
  padding: 2rem;
}

footer .socials img {
  width: 24px;
  margin: 0 0.5rem;
  filter: invert(1);
}

footer p {
	font-family: 'AvenirNextProRegular', Arial, sans-serif;
	color: white;
	font-size: .7rem;
}
