body {
  padding: 15px;
  background-color: antiquewhite;
  color: #000000;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.title {
    color: #5C6AC4;
  text-align: center;
  font-size: 50px;
  transition: color 0.5s ease, transform 0.3s ease-out, opacity 0.3s ease-out;;
}

.centered-image {
  background-size: cover; 
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5); 
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
  border-radius: 10%;
  transition: ease .3s;
  width: 250px;
}
.centered-image:hover{
    width: 252px;
    transition: ease .5s;
}
.image {
  background-size: cover;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  border-radius: 10%;
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
  width: 350px;
  transition: ease .3s;
}
.image:hover{
    width: 352px;
    transition: ease .5s;
}
.main {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: large ;
}

.dark-mode { 
  background-color: #1C2833; 
  color: #ecf0f1;
  transition: background-color 0.5s ease, color 0.5s ease;
}
.dark-mode h1 {
  color: #F8EBC0;
  transition: color 0.5s ease;
}

.dark-mode-toggle {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2em;
    color: #f39c12;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, top 0.3s ease-out;
    position: fixed; 
    top: 20px; 
    right: 20px; 
    z-index: 1000;
}

.dark-mode-toggle:hover {
    background-color: #eee;
    transform: translateY(-2px);
}

.dark-mode-toggle i {
    pointer-events: none;
}

body.dark-mode .dark-mode-toggle {
    background-color: #2C3E50;
    border-color: #555;
    color: #bbbbbb;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

body.dark-mode .dark-mode-toggle:hover {
    background-color: #34495e;
}

.main-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background-color: antiquewhite;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.main-header h1 {
    margin: 0;
    font-size: 50px;
    color: #5C6AC4;
}

body.dark-mode .main-header {
    background-color: #1C2833;
    color: #ecf0f1;
}

body.dark-mode .main-header h1 {
    color: #FCFAD2;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: antiquewhite;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease-out;

    padding: 10px 90px 10px 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;

}


.sticky-header.show-sticky-header {
    transform: translateY(0);
}


.sticky-header h2 {
    margin: 0;
    font-size: 1.5em;
    color: #5C6AC4;
    transition: color 0.3s ease-in-out;
}

body.dark-mode .sticky-header {
    background-color: #1C2833;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

body.dark-mode .sticky-header h2 {
    color: #FCFAD2; 
}

.sticky-nav {
    margin-left: 30px;
}

.sticky-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.sticky-nav li a {
    text-decoration: none;
    color: #555; 
    font-weight: bold;
    transition: color 0.2s ease-in-out;
}

.sticky-nav li a:hover {
    color: #007bff;
}

body.dark-mode .sticky-nav li a {
    color: #ecf0f1;
}

body.dark-mode .sticky-nav li a:hover {
    color: #66b3ff;
}
.sticky-header a{
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease-in-out;
}
body.dark-mode .sticky-header h2 {
    color: #FCFAD2;
}
.sticky-header a:hover {
    color: #ff9d00;
}
body.dark-mode .sticky-header a:hover {
    color: #66b3ff;
}
.blend-in-image{
  background-size: cover; 
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10%;
}
.home_button{
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    width: 200px;
    height: 70px;
    cursor: pointer;
    font-size: 25pt;
    color: #f39c12;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, top 0.3s ease-out;
    z-index: 998;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.home_button:hover{
    background-color: #eee;
    transform: translateY(-2px);
}
body.dark-mode .home_button{
    background-color: #243241;
    border-color: #555;
    color: #bbbbbb;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
body.dark-mode .home_button:hover{
    background-color: #34495e;
}
.menu-button{
    background-color: #00000000;
    color: #000000;
    border: none;
    display: flex;
    cursor: pointer;
    font-size: 1.7em;
    position: absolute;
    top: 25px; 
    left: 25px; 
    transition: ease .3s;
}
.menu-button:hover{
    font-size: 1.75em;
}
body.dark-mode .menu-button{
    color: #bbbbbb;
}
@media (max-width: 481px) {
    .title {
      color: #5C6AC4;
      text-align: center;
      font-size: 50px;
      transition: color 0.5s ease;
    }
    .dark-mode-toggle {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.6em;
    color: #f39c12;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, top 0.3s ease-out;
    position: fixed; 
    top: 20px; 
    right: 20px; 
    z-index: 1000;
    }
}
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1C2833; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0s linear 0.3s;
    z-index: 10000;
}
.page-transition-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-in, visibility 0s linear 0s;
}