/* General Reset */
body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

/* Header Styling */
h1 {
    font-size: 1.8rem;
    color: #0056b3;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.6;
    margin: 0;
    padding: 10px;
    text-shadow: 2px 2px #b9b9b9;
}

h2 {
    font-size: 1.7rem;
    color: #0056b3;
    margin: 30px 0 5px;
}

h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 15px 0 10px;
    text-align: center;
}

h4.navbar-text{
    font-size: 0.9rem;
    color: #f5efebca;
    text-align:center;
    margin:10px 0px 0px 0px;
}

h5 {
    font-size: 0.9rem;
    color: #333;
    margin: 15px 0 10px;
    text-align:center;
}

/* Links */
a {
    color: #0157b3;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

/* Paragraphs */
p {
    margin: 10px 0;
}

/* Lists */
ul {
    margin: 10px 0 20px 20px;
    list-style-type: disc;
    padding-left: 20px;
}

li {
    margin: 5px 0;
    list-style: disc;
}

/* Highlight important elements */
strong {

    font-weight: bold;
}

/* Container for sidenav and main */
.container {
    display: flex;
    width: 100%;
    min-height: 100vh; /* Ensure it takes the full viewport height*/
    /* box-sizing: border-box; Include padding in width calculations */
}


/* The side navigation menu */
.sidenav {
    position: fixed;
    width: 20%;
    height: 87.5%;
    background-color:#6587a1;
    overflow-x: hidden;
    padding-top: 60px;
    margin:auto;
    /* box-sizing: border-box; */
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
  }

h1.name{
    color:#f5efeb;
    font-family:Georgia, 'Times New Roman', Times, serif;
    margin: 0px ;
    padding: 0px ;  
    /* umm what's up w this?nvm */
}

ul.navbar {
    list-style-type: none;
    margin:0;
    padding: 0;
    width: 100%;
    text-align: center;   
    overflow-x: hidden;
  }
  
  li.index-pg {
    display: block;
    padding: 8px 16px;
    margin:8px 20px 8px 20px;
    text-decoration: none;
    background-color: #c8d9e6 ;
    border-radius: 5px;

  }

  li.awards-pg {
    display: block;
    padding: 8px 16px;
    margin:8px 20px 8px 20px;
    text-decoration: none;
    background-color: #c8d9e6 ;
    border-radius: 5px;

  }

  li.writings-pg {
    display: block;
    padding: 8px 16px;
    margin:8px 20px 8px 20px;
    text-decoration: none;
    background-color: #c8d9e6 ;
    border-radius: 5px;

  }
  
  /* Change the link color on hover */
  ul.navbar > li > a{
    text-decoration: none;
    color: #2f4156;
  }

  ul.navbar > li.active {
    background-color: #a8c5d9 !important;
  }

  ul.navbar > li.active > a {
    color: #0a1f2f;
    font-weight: bold;
  }



/* Main Content */
.main {
    margin-left: 21%; /* Match the width of the sidebar */
    /* box-sizing: border-box; */

    padding: 60px;
    border-top-right-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* Content Images with Captions */
.content-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.content-figure img {
    width: 75%;
    height: auto;
    max-width: 100%;
}

.content-figure figcaption {
    font-size: 0.95rem;
    color: #666;
    margin-top: 10px;
    text-align: center;
    font-style: italic;
}

/* Annotated Statement Styling */
.annotated-statement {
    color: #3d3d3d;
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 1.8;
    margin: 12px 0;
}

.annotation-text {
    color: #3d3d3d;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: normal;
    border: 2px solid #66a3ff;
    background-color: #eef5ff;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 10px 0;
}





/*Display image on hover -- test*/

/* .hide {
    display: none;
  }
.img-hover:hover + .hide {
    display: block;
    /* color: red; */

  /* The HTML would be;
  <li>Valedictorian of Marymount class of 2023. Recipient of the Governor General's Medal and the Cultural Heritage Foundation scholarship.</li>
  <li class="hide"><img src="assets/valedictorian-award.png"><img src="assets/governor-general-medal.png"></li> */




/* Academic Achievement's Photo Gallery */

.gallery-container {
    /* Optional: Define a max width for the container */
    max-width: 960px;
    margin: 0 auto; /* Center the container */
    padding: 10px;
    /* Apply clearfix to handle floated children */
    overflow: hidden; /* Simple clearfix method */
}


  div.gallery {
    margin: 3px;
    border: 1px solid #ccc;
    float: left;
    width: 180px;
  }
  

  
  div.gallery img {
    width: 100%;
    height: auto;
  }

div.gallery>img:click {
    width: 100%;
    height: auto;
  }


/* Default style for the image */
.expandable-img {
    width: 50%;
    height: auto;
    transition: all 0.3s ease-in-out; /* Smooth transition for resizing */
}

/* Style when the image is expanded */
.expandable-img.expanded {
    width: 100%;
    height: auto;
    /* You can add more styles like box-shadow, border, etc., for expanded effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}



.go-back-container{
    text-align:center;
}

.go-back{
    margin:auto;
    background-color: #7fb8e4;
    font-size: 16px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    border-radius: 8px;
}

.go-back:hover{
    margin:auto;
    background-color: #7fb8e4;
    font-size: 18px;
}

/* Portrait in the sidebar */
.sidenav img.picture-of-me, .picture-of-me {
    display: block;
    margin: 8px auto 12px auto;
    width: 140px;
    height: auto;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.9);
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
