@charset "UTF-8";
/* Body */
body {
	font-family: source-sans-pro;
	background-color: #1E1E1E;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	font-style: normal;
	font-weight: 200;
	align-content: center;
	max-width: 1440px;
	margin-left: auto;
    margin-right: auto;
}
html {
    scrollbar-gutter: stable; 
}
/* Container */
.container {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	height: 100%;
}
header {
	width: 100%;
}
.logo {
	text-align: center;
	width: 100%;
	margin-top: 50px;
	padding-bottom: 30px;
}
.information{
	display: flex;
    align-items:center;
    justify-content:center;        
    position: relative;             
    min-height: 60px;
	max-width: 1100px;           
    margin-left: auto;
    margin-right: auto;          
    padding: 0 20px;
}
.note {
	color: #535353;
    text-align: center;
    margin: 0;
    flex: 1;
}
.information img {
    position: absolute;
    right: 30px;                 
    top: 30%;
    transform: translateY(-50%);
    z-index: 2;
	cursor:pointer;
}
/* gallery */
.thumbs {
	width: 100%;
	display: flex;
  	align-items: stretch;
	text-align: center;
	justify-content: center
	
}
.l-thumbs {
	width: 45%;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    align-content: flex-start;
	max-width: 500px;
		
}
.r-thumbs {
	width: 45%;
	display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-content: flex-start;
	max-width: 500px;
}
.l-thumbs img, .r-thumbs img {
	margin: 10px;
	width:100%;
	max-width:103px;
	cursor:pointer;
}
.c-thumbs {
	width: 10%;
	display: flex;
    flex-direction: column;
	align-items: center;

}
.yearContainer{
	height: 100%;
	flex-grow: 1;
  	place-items: center;
}
.year {
	width: 8px;
	height: 8px;
	background-color:#3C3C3C;
}
.lastYear {
	padding-top: 10px;
	padding-bottom: 10px;
}
.middleYear {
	padding-top: 0px;
	padding-bottom: 40px;
}
.firstYear {
	padding-top: 10px;
}


.copyright {
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	text-align: center;
	padding-top: 20px;
	padding-bottom: 5px;
	color: #3C3C3C;
	letter-spacing: 2px;
	border-top-width: 2px;
}
.footer {
	padding-top: 40px;
	text-align: center;
}

/* Hidden State */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex; 
  align-items: center;
  justify-content: center;
  
  /* Hiding Logic */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Shown State */
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: fit-content; 
  max-width: 95%;
}

.modal-container img {
  display: block;
  max-width: 100%; 
  max-height: 80vh;
  object-fit: contain;
}

#caption {
  color: white;
  margin-top: 16px;
  font-family: sans-serif;
  text-align: center;
  width: 0;
  min-width: 100%;
  box-sizing: border-box;
}

/* Buttons */
.close-btn { position: absolute; top: 0px; right: 8px; color: gray; font-size: 40px; cursor: pointer; }
.nav-btn { position: absolute; top: 50%; color: gray; background: none; border: none; font-size: 40px; cursor: pointer; padding: 20px; }
.prev { left: 10px;}
.next { right: 10px;}

/* Brain Modal - Responsive */
.brain-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
	display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;                  
    box-sizing: border-box;
    overflow-y: auto;     
}

.brain-modal.show {
    display: flex;
}

.brain-modal .modal-content {
    background: #2a2a2a;
    color: #ddd;
    width: 100%;
    max-width: 790px;
    padding: 25px;
    border-radius: 12px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
}
/* About Modal - Photo + Text Layout */
.about-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;       
    max-width: 736px;
    margin: 0 auto;
}
.about-photo {
    width: 214px;
    height: auto;                   
    flex-shrink: 0;                 
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.about-text {
    flex: 1;                      
}
.about-text h2 {
	text-align: left;
    margin: 0;
    color: #fff;
    font-size: 2rem;
}
.about-text p {
	text-align: justify;
    color: #ccc;
    line-height: 1.4;
    margin-bottom: 0px;
}
/* Mobile */
@media (max-width: 360px) {
.logo {
	text-align: center;
	width: 100%;
	padding-bottom: 20px;
}
.logo img, .footer img {
	max-width: 280px;
	max-height: 280px;
	text-align: center;
	object-fit: contain;
}
.note {
	width: 80%;
  	margin-left: auto;
  	margin-right: auto;	
}
.c-thumbs {
	width: 8%;
	display: flex;
    flex-direction: column;
	align-items: center;
	min-width: 40px;
}
.l-thumbs img, .r-thumbs img {
	margin: 5px;
	width:100%;
	max-width:50px;
	cursor:pointer;
}
.lastYear img {
	max-width: 40px;
	max-height: 40px;
	object-fit: contain;
}
.middleYear img {
	max-width: 40px;
	max-height: 40px;
	object-fit: contain;
}
.firstYear img {
	max-height: 40px;
	object-fit: contain;
}
.lastYear {
	padding-top: 0px;
	padding-bottom: 0px;
}
.middleYear {
	padding-top: 0px;
	padding-bottom: 30px;
}
.firstYear {
	padding-top: 0px;
	padding-bottom: 0px;
}
}
/* Small Tablets */
@media (min-width: 361px) and (max-width: 800px) {
.logo {
	text-align: center;
	margin-top: 40px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	color: #043745;
}
.logo img, .footer img {
	max-width: 380px;
	max-height: 380px;
	text-align: center;
	object-fit: contain;
}
	.note {
	width: 80%;
  	margin-left: auto;
  	margin-right: auto;	
}
.c-thumbs {
	width: 8%;
	display: flex;
    flex-direction: column;
	align-items: center;
	min-width: 40px;
}
.l-thumbs img, .r-thumbs img {
	margin: 5px;
	width:100%;
	max-width:70px;
	cursor:pointer;
}
.lastYear img {
	max-width: 40px;
	max-height: 40px;
	object-fit: contain;
}
.middleYear img {
	max-width: 40px;
	max-height: 40px;
	object-fit: contain;
}
.firstYear img {
	max-height: 40px;
	object-fit: contain;
}
.lastYear {
	padding-top: 0px;
}
.middleYear {
	padding-top: 0px;
	padding-bottom: 20px;
}
.firstYear {
	padding-top: 0px;
	padding-bottom: 0px;
}
	}
@media (max-width:585px){
	.information {
    max-width: 100%;
    flex-direction: column;
    position: static;
    gap: 12px;
    padding: 15px 0px;
    }
.information img {
    position: static;
    transform: none;
    margin: 0 auto;
	max-width: 60px;
	max-height: 60px;
    }
}
@media (min-width:586px) and (max-width:728px) {
.information {
	max-width: 540px;
	min-width: 540px;
	}
}
@media (min-width:729px) and (max-width:800px) {
.information {
	max-width: 700px;
	min-width: 700px;
	}
}
@media (min-width:801px) and (max-width:836px) {
.information {
	max-width: 580px;
	min-width: 580px;
	}
}
@media (min-width:837px) and (max-width:1109px) {
.information {
	max-width: 840px;
	min-width: 840px;
	}
}
@media (max-width: 480px) {
    .brain-modal {
        padding: 15px 20px;           /* more padding on right & left */
    }
    .brain-modal .modal-content {
        max-width: 100%;
        padding: 28px 24px;           /* comfortable inner padding */
        border-radius: 10px;
    }
    .brain-modal h2 {
        font-size: 1.55rem;
    }
}
/* Extra safety for very small phones */
@media (max-width: 360px) {
    .brain-modal {
        padding: 12px 18px;
    }
    .brain-modal .modal-content {
        padding: 25px 20px;
    }
}
@media (max-width: 859px) {
.about-photo {
	display: none;
	}
}