@import url('https://fonts.googleapis.com/css2?family=Lilita+One&display=swap');

body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  color: #333;
}

header {
  background-color: #0073e6;
  color: white;
  padding: 20px;
}

nav a {
  color: white;
  margin-right: 15px;
  text-decoration: none;
}

main {
  padding: 20px;
}


body {
  margin: 0;
  font-family: Arial, sans-serif;
  transition: transform 0.2s ease;
  background-color: #165ebc;
}

/* Sidebar Stuff */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 200px;
  height: 100vh;
  background-color: #0073e6;
  color: white;
  padding: 20px;
  box-sizing: border-box;
  transform: translateX(-100%);
  transition: transform 0.2s ease;
  z-index: 1000;

  font-family: "Lilita One", sans-serif;
  font-size: 20px;
  font-style: normal;
  color:white;
  text-shadow:
    1px 2.5px 0px black;
  -webkit-text-stroke: .7px black;
  line-height: 1.5; /* Default is ~1.5 */
  box-shadow: 2px 2px 6.7px black;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar a {
  color: white;
  text-decoration: none;
  display: block;
  margin: 15px 0;
}

.sidebar h2 {
  margin-top: 0;
}
/* End of Sidebar Stuff */

/* Header Bar Stuff */
.page-container {
  margin-left: 0;
  transition: margin-left 0.2s ease;
  padding: 10px;
  background-color: #292929;
  min-height: 70px; /* Ensure minimum height for header */
}

.page-container.shifted {
  margin-left: 200px;  
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  min-height: 50px; /* Ensure header stays consistent height */
  flex-wrap: nowrap; /* Prevent wrapping on desktop */
}

.nav-button {
  text-decoration: none;
  background: linear-gradient(to bottom, #FFCC00, #ffb700);
  color: white;
  padding: 10px 45px;
  border-radius: 5px;
  font-size: 25px;
  font-family: "Lilita One", sans-serif;
  font-style: normal;
  text-shadow:
    1px 2.5px 0px black;
  -webkit-text-stroke: 1.15px black;
  transition: transform 0.3s ease, opacity 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping */
}

.nav-button.left-button{
  margin-left: 80px;
}

.nav-button.right-button{
  margin-right: 80px;
}

.nav-button:hover {
  transform: translateY(-3px);
}

.logo-image {
  height: 50px; 
  flex-shrink: 0; /* Prevent logo from shrinking */
}
/* End of Header Bar Stuff */

/* Hamburger stuff*/
.bar1, .bar2, .bar3, .bar01, .bar02, .bar03 {
  width: 35px;
  height: 5px;
  background-color: #e2e2e2;
  margin: 6px 0;
  transition: 0.2s;
  box-shadow: 2px 2px 6.7px black;
  
}

.container, .container1 {
  display: inline-block;
  cursor: pointer;
}

.container1{
  position: absolute;
  top: 20px;
  left: 20px;
}

/*End of Hamburger stuff*/

/*Homepage Stuff*/
.homepage-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 25px 5% 35px 5%;
  gap: 2%;
}

.mission-vision{
  padding: 20px 20px;                    
  background-color: #f0f0f0;        
  display: block;            
  border-radius: 8px;               
  background:#0073e6;
  box-shadow: 1.5px 1.5px 5px black;
  width: 40%;
  margin: 0;
}

.side-box {
  padding: 20px 20px;                    
  background-color: #f0f0f0;        
  display: block;            
  border-radius: 8px;               
  background:#0073e6;
  box-shadow: 1.5px 1.5px 5px black;
  width: 20%;
  margin: 0;
}

.side-box-title {
  text-align: center;
  font-family: "Lilita One", sans-serif;
  font-size: 60px;
  font-style: normal;
  color:white;
  text-shadow: 2px 2px 0px black;
  line-height: .5;
  margin-bottom: 15px;
}

.side-box-divider {
  height: 2px;
  background-color: white;
  margin: 15px 0;
  box-shadow: 1px 1px 2px black;
}

.side-box p {
  text-align: center;
  font-family: "Lilita One", sans-serif;
  font-size: 19px;
  font-style: normal;
  color: white;
  text-shadow: 1.5px 1.5px 0px black;
}

/* Responsive stacking for smaller screens */
@media (max-width: 768px) {
  /* Header adjustments for mobile */
  .header-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 5px;
  }
  
  .nav-button {
    font-size: 18px;
    padding: 8px 25px;
    text-shadow: 1px 1.5px 0px black;
    -webkit-text-stroke: 0.8px black;
  }
  
  .nav-button.left-button,
  .nav-button.right-button {
    margin-left: 10px;
    margin-right: 10px;
  }
  
  .logo-image {
    height: 40px;
    order: -1; /* Logo appears first on mobile */
    margin-bottom: 10px;
  }
  
  /* Sidebar adjustments */
  .sidebar {
    font-size: 16px;
    width: 180px;
    padding: 15px;
  }
  
  .page-container.shifted {
    margin-left: 180px;
  }
  
  /* Homepage content adjustments */
  .homepage-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 15px 3% 25px 3%;
  }
  
  .mission-vision, .side-box {
    width: 90%;
    margin: 0;
    padding: 15px;
  }
  
  .side-box-title {
    font-size: 35px;
    margin-bottom: 10px;
  }
  
  .side-box p {
    font-size: 14px;
  }
  
  #our-purpose {
    font-size: 28px;
  }
  
  .mission-vision p {
    font-size: 14px;
  }
  
  /* About us page adjustments */
  .about-us-main-content {
    padding: 0 8px;
  }
  
  .about-us-head {
    font-size: 32px;
    padding: 15px 25px;
    margin-bottom: 18px;
    margin-top: 12px;
    line-height: 1.3;
  }
  
  .jack {
    width: 92%;
    padding: 18px 12px;
    margin: 0 auto 20px;
  }
  
  .about-us-header {
    margin-bottom: 12px;
  }
  
  .about-us-row {
    flex-direction: column !important;
    gap: 12px;
    align-items: center !important;
    display: flex !important;
  }
  
  .about-us-name {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 5px;
  }
  
  .about-us-subtext {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 12px;
  }
  
  .about-us-left-container {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    order: 1 !important; /* Image appears first */
    flex: none !important;
  }
  
  .about-us-right-container {
    width: 100% !important;
    display: block !important;
    order: 2 !important; /* Text appears second */
    flex: none !important;
    text-align: center !important;
  }
  
  .about-us-personal-pic {
    height: 180px;
    width: auto;
    max-width: 180px;
  }
  
  .about-brief-descrip {
    font-size: 14px;
    max-width: 100% !important;
    text-align: center !important;
    line-height: 1.4;
    margin: 0 auto !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
  }
  
  /* Sign in page adjustments */
  .sign-in-box {
    padding: 20px 30px;
    margin-top: 30px;
    width: 90%;
    max-width: 400px;
  }
  
  .sign-in-text {
    font-size: 30px;
  }
  
  form {
    padding: 20px 30px;
    width: 90%;
    max-width: 350px;
  }
}

/* Extra small screens (phones in portrait) */
@media (max-width: 480px) {
  .header-bar {
    flex-direction: column;
    align-items: center;
    padding: 8px;
  }
  
  .nav-button {
    font-size: 16px;
    padding: 6px 20px;
    margin: 5px;
    -webkit-text-stroke: 0.7px black;
  }
  
  .nav-button.left-button,
  .nav-button.right-button {
    margin-left: 5px;
    margin-right: 5px;
  }
  
  .logo-image {
    height: 35px;
    margin-bottom: 8px;
  }
  
  .sidebar {
    font-size: 14px;
    width: 160px;
    padding: 12px;
  }
  
  .page-container.shifted {
    margin-left: 160px;
  }
  
  .mission-vision, .side-box {
    width: 95%;
    padding: 12px;
  }
  
  .side-box-title {
    font-size: 28px;
  }
  
  .side-box p {
    font-size: 12px;
  }
  
  #our-purpose {
    font-size: 24px;
  }
  
  .mission-vision p {
    font-size: 12px;
  }
  
  .about-us-main-content {
    padding: 0 3px;
  }
  
  .about-us-head {
    font-size: 22px;
    padding: 8px 15px;
    margin-bottom: 10px;
    margin-top: 8px;
    line-height: 1.4;
  }
  
  .jack {
    width: 98%;
    padding: 10px 8px;
    margin: 0 auto 12px;
  }
  
  .about-us-header {
    margin-bottom: 8px;
  }
  
  .about-us-row {
    gap: 8px;
    flex-direction: column !important;
    align-items: center !important;
    display: flex !important;
  }
  
  .about-us-name {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 2px;
  }
  
  .about-us-subtext {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 8px;
  }
  
  .about-us-left-container {
    order: 1 !important; /* Image appears first */
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    flex: none !important;
  }
  
  .about-us-right-container {
    order: 2 !important; /* Text appears second */
    width: 100% !important;
    display: block !important;
    flex: none !important;
    text-align: center !important;
  }
  
  .about-us-personal-pic {
    height: 120px;
    max-width: 120px;
  }
  
  .about-brief-descrip {
    font-size: 11px;
    line-height: 1.6;
    max-width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
  }
  
  .sign-in-box {
    padding: 15px 20px;
    width: 95%;
  }
  
  .sign-in-text {
    font-size: 26px;
  }
  
  form {
    padding: 15px 20px;
    width: 95%;
  }
}

/* Medium screens (tablets in landscape) */
@media (max-width: 1024px) {
  .about-us-head {
    font-size: 45px;
    padding: 20px 40px;
    margin-bottom: 25px;
    margin-top: 20px;
    line-height: 1.3;
  }
  
  .jack {
    width: 88%;
    padding: 22px 25px;
    margin: 0 auto 30px;
  }
  
  .about-us-row {
    flex-direction: column !important;
    gap: 20px;
    align-items: center !important;
    display: flex !important;
  }
  
  .about-us-left-container {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    order: 1 !important; /* Image appears first */
    flex: none !important;
  }
  
  .about-us-right-container {
    width: 100% !important;
    display: block !important;
    order: 2 !important; /* Text appears second */
    flex: none !important;
    text-align: center !important;
  }
  
  .about-us-name {
    font-size: 35px;
  }
  
  .about-us-subtext {
    font-size: 22px;
  }
  
  .about-us-personal-pic {
    height: 220px;
    max-width: 220px;
  }
  
  .about-brief-descrip {
    font-size: 18px;
    max-width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
  }
}

/* Large screens with constrained width */
@media (max-width: 1200px) {
  .jack {
    width: 90%;
  }
  
  .about-us-row {
    flex-direction: column !important;
    gap: 15px;
    align-items: center !important;
    display: flex !important;
  }
  
  .about-us-left-container {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    order: 1 !important; /* Image appears first */
    flex: none !important;
  }
  
  .about-us-right-container {
    width: 100% !important;
    display: block !important;
    order: 2 !important; /* Text appears second, below image */
    flex: none !important;
    align-items: stretch !important;
    justify-content: center !important;
  }
  
  .about-brief-descrip {
    max-width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
    width: auto !important;
  }
}

/* When jack container width becomes constrained */
@media (max-width: 1000px) {
  .jack {
    width: 85% !important;
  }
  
  .about-us-row {
    flex-direction: column !important;
    gap: 20px;
    align-items: center !important;
    display: flex !important;
  }
  
  .about-us-left-container {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    order: 1 !important; /* Image appears first */
    flex: none !important;
  }
  
  .about-us-right-container {
    width: 100% !important;
    display: block !important;
    order: 2 !important; /* Text appears below image */
    flex: none !important;
    text-align: center !important;
  }
  
  .about-brief-descrip {
    max-width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    font-size: 20px;
    display: block !important;
    width: auto !important;
    height: auto !important;
  }
  
  .about-us-name {
    font-size: 42px;
  }
  
  .about-us-subtext {
    font-size: 26px;
  }
  
  .about-us-personal-pic {
    height: 240px;
    max-width: 240px;
  }
}

#our-purpose{
  text-align: center;
  font-family: "Lilita One", sans-serif;
  font-size: 40px;
  font-style: normal;
  color:white;
  text-shadow:
    2px 2px 0px black;
  line-height: .5; 
}

.mission-vision p {
  text-align: center;
  font-family: "Lilita One", sans-serif;
  font-size: 19px;
  font-style: normal;
  color: white;
  text-shadow: 1.5px 1.5px 0px black;
}
/*End of Homepage stuff*/

/* About Us Stuff*/
.about-us-main-content{
  text-align: center;
  display: flex;
  flex-direction: column; 
  align-items: center; 
}

.about-us-head{
  text-align: center;
  font-family: "Lilita One", sans-serif;
  font-size: 70px;
  font-style: normal;
  color:white;
  text-shadow:
    4px 4px 0px black;
  line-height: 1.2; /* Allow proper spacing between lines */
  padding: 35px 80px;                    
  background-color: #f0f0f0;        
  display: inline-block;            
  border-radius: 8px;               
  background:#0073e6;
  box-shadow: 1.5px 1.5px 5px black;
  margin-bottom: 35px;
  margin-top: 25px;
}
.about-us-personal-pic {
  height: 300px; 
  width: auto;
  max-width: 300px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 5px 5px 15px black;
  border-radius: 8px;
  object-fit: cover;
}

.about-us-name{
  text-align: center;
  font-family: "Lilita One", sans-serif;
  font-size: 50px;
  font-style: normal;
  color:white;
  text-shadow:
    3px 3px 0px black;
  line-height: .1; 
}

.about-us-subtext{
  text-align: center;
  font-family: "Lilita One", sans-serif;
  font-size: 30px;
  font-style: normal;
  color:white;
  text-shadow:
    2px 2px 0px black;
}

.jack {
  width: 900px;        /* Set to your desired width */
  max-width: 95%;      /* Responsive: won't overflow on small screens */
  margin: 0 auto 40px; /* Center and keep spacing below */
  padding: 35px 40px;
  background: #0073e6;
  border-radius: 8px;
  box-shadow: 3px 3px 10px black;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-us-header {
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
}

.about-us-row {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: flex-start;
  gap: 40px; /* space between image and description */
}

.about-us-left-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
}

.about-us-right-container {
  flex: 1 1 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.about-brief-descrip {
  max-width: 500px; 
  word-break: break-word;
  margin: 0 auto;
  text-align: center;
  font-family: "Lilita One", sans-serif;
  font-size: 23px;
  font-style: normal;
  color:white;
  text-shadow:
    1.5px 1.5px 0px black;
}

/*End of About Us Stuff*/

/* Sign In Stuff */
.sign-in-stuff{
  text-align: center;
  display: flex;
  flex-direction: column; 
  align-items: center; 
}

.sign-in-box{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #0073e6;
  padding: 35px 80px;
  border-radius: 8px;
  box-shadow: 3px 3px 10px black;
  margin-top: 50px;
  
}
.sign-in-text{
  text-align: center;
  font-family: "Lilita One", sans-serif;
  font-size: 50px;
  font-style: normal;
  color:white;
  text-shadow:
    3px 3px 0px black;
  line-height: .1; 
}

form{
  flex-direction: column;
  align-items: center;
  justify-content: center;
  display: flex;
  background-color: #a5a5a5;
  padding: 35px 80px;
  border-radius: 8px;
  box-shadow: 3px 3px 10px black;
}

label{
  margin-bottom: 10px;
}

.g-signin2.student{
  margin-top:20px;
}

/* Extra extra small screens (very small phones) */
@media (max-width: 360px) {
  .about-us-head {
    font-size: 18px;
    padding: 6px 12px;
    margin-bottom: 8px;
    margin-top: 6px;
    line-height: 1.5;
  }
  
  .jack {
    width: 99%;
    padding: 8px 5px;
    margin: 0 auto 10px;
  }
  
  .about-us-name {
    font-size: 16px;
    margin-bottom: 1px;
  }
  
  .about-us-subtext {
    font-size: 10px;
    margin-bottom: 6px;
  }
  
  .about-us-personal-pic {
    height: 100px;
    max-width: 100px;
  }
  
  .about-brief-descrip {
    font-size: 10px;
    line-height: 1.7;
    max-width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
  }
  
  .about-us-row {
    gap: 6px;
    flex-direction: column !important;
    align-items: center !important;
    display: flex !important;
  }
  
  .about-us-left-container {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    order: 1 !important;
    flex: none !important;
  }
  
  .about-us-right-container {
    width: 100% !important;
    display: block !important;
    order: 2 !important;
    flex: none !important;
    text-align: center !important;
  }
  
  .about-us-header {
    margin-bottom: 6px;
  }
}


