
.name {
  font-family: 'Times New Roman', sans-serif;
  font-size: 30px; 
  color: #3bc6db;
  text-align: left;
  padding: 20px 20px;
  text-decoration: none
}

header.name {
  white-space: nowrap;           /* keep it on one line */
  display: inline-block;         /* helps with overflow handling */
  max-width: 100%;
  overflow: hidden;              /* avoid sideways scroll if too long */
  text-overflow: ellipsis;       /* ... if it still can’t fit */
}

@media screen and (min-width: 800px) {
.navbar {
  display: flex;

  overflow: hidden;
  /*background-color: #ffffff;*/ 
  position: static;
  top: 3;
  max-width: 100%;
  z-index: 1000;
  
 
  justify-content: space-between; /* pushes left and right to edges */
  align-items: center;
  padding: 10px 20px; /* optional horizontal padding */

}


.navbar-left  {

  font-size: 60px; 
  
}
/* Links inside the navbar */
.navbar-right {
  display: flex;     /* ensures all links are in a row */
  gap: 20px;    
}
.navbar-right a {
  font-size: 1rem;
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.navbar-right a:hover {
  background-image: url("ButtonArt.png");
  height: 100%; 
  background-size: 80%;         /* Ensures the image fills the background */
  background-repeat: no-repeat;   /* Prevents tiling */
  background-position: center;    /* Centers the image */
  color: #ffffff;
  
}
}

.main-image {
  float: left; 
  width: 50%; 
  height: auto; 
  flex-direction: column;

}

.navbar a {
  font-size: 1rem;
  color: #ffffff;
  text-decoration: none;
}



footer {
  color: white; 
  background-color: #030420;
}

footer a {
  color: #848490;
  
}

body {
  background-color: #040421;
  font-family: 'Times New Roman', sans-serif;
  color: white; 
}

.gallery {

  display: block;
}

p {
  font-family: 'Times New Roman', Helvetica, sans-serif;
  color: #040421;
  font-size: 20px;
}

h3 {

  font-family:  'Times New Roman', Helvetica, sans-serif; 
  color: white;
}

div {
  padding-left: 50px;
  padding-right: 50px;
}

.navbar .current  {
  background-image: url("ButtonArt.png");
  background-size: 80%;         /* Ensures the image fills the background */
  background-repeat: no-repeat;   /* Prevents tiling */
  background-position: center;    /* Centers the image */
  color: #ffffff;
}


img {

  display: grid; 
  grid-template-columns: 50% 50%;
  
}


.main-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: wrap;
}

.bio {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.2rem;
  background-color: #03031f;
  padding: 20px;
  color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  width: 45%;
  max-width: 500px;
  margin-top: -100px; 
}

.bio p {
  color: #acaaaa; 
}
/* 📱 Mobile Layout */
@media (max-width: 768px) {
  .main-container {
    flex-direction: column; 
    margin-top: -3rem; 
    padding-bottom:4rem;
  }

  
  .bio {
   
    width: 90%;
  }
  .main-image {
    width: 100%; 
  }
}


.button-link {
  display: flex;
  justify-content: center;
  padding: 10px 20px;
  font-size: 20px;
  color: #040421;
  background-color: #85d2e5;
  text-align: center;
  text-decoration: none;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}



.button-link:hover {

  transform: scale(1.02);
  
}

.image-description p {
  color: white;
  font-size: 0.5 rem; 
}


.gallery {
  max-width: 900px;
  margin: 100px auto 50px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.image-block {
  display: flex;
  gap: 20px;
  align-items: center;
   
}

.image-block p {
  color: #848490;
  font-size: 1rem;

}
.image-block img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.image-block img:hover {
  transform: scale(1.02);
}
@media (min-width: 769px) {
.image-block:nth-child(even) {
  flex-direction: row-reverse;
  }
}


.image-description {
  flex: 1;
  max-width: 300px;
}



@media screen and (max-width: 700px) {
  .image-block {
    flex-direction: column;
    text-align: center;
  }
}


.AddisonText{
  color: white; 
  text-align: left; 
  font-size: 1.5rem;
}


  
.image-grid {
  margin-top: 40px; 
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;  /* Two columns */
  grid-template-rows: 1fr 1fr;     /* Two rows */
  gap: 20px;  
  width: 70%;/* Optional spacing between images */
  padding-bottom: 40px; 
 
}


@media ( min-width: 769px){
.left { 
  grid-row: span 2;               /* Takes up both rows */
  grid-column: 1;                 /* First column */
  color: #ffffff; 
  margin-left: 20%;
  margin-top: 30%;
  height: auto; 
  border-radius: 10px;
}
  .left p {
    color: #848490;
    width: 100%;
    height: auto; 
  }

  
    .left-text {
      all: unset; /* wipes out inherited styles */
    }
  

.top-right {
  grid-row: 1;                    /* First row */
  grid-column: 2;                /* Second column */
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.bottom-right {
  grid-row: 2;                    /* Second row */
  grid-column: 2;                /* Second column */
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.right {
  grid-row: span 2;
  grid-column: 3; 
  width: 100%;
  height: auto; 
  border-radius: 10px;

}
}

.one {
  grid-row: span 2;
  grid-column: 2; 
  width: 100%;
  height: auto; 
  border-radius: 10px;
  
}

.two {
  grid-row: span 2;
  grid-column: 3; 
  width: 100%;
  height: auto; 
  border-radius: 10px;
}

.three {
  grid-row: span 2;
  grid-column: 4; 
  width: 100%;
  height: auto; 
  border-radius: 10px;
}

.image-grid-two {
  margin-top: 40px; 
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;  /* Two columns */
  grid-template-rows: 1fr 1fr;     /* Two rows */
  gap: 20px;  
  width: 70%;/* Optional spacing between images */

}

@media (max-width: 768px) {
  .image-grid {
    max-width: 100%;
    margin: 100px auto 50px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-sizing: border-box;
   
  }

  .image-grid > * {
    width: 100%;
    box-sizing: border-box;
     border-radius: 10px;
  }

  .left {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .left-text {
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
 
  }

  .left-text h3,
  .left-text p {
    margin: 0;
    padding: 0;
    text-align: left;
    word-wrap: break-word;
  }

  .left-text p {
     color: #767684;
  }

  .button-link {
    display: inline-block;
    margin-top: 10px;
  }
}
/* this is the preload stuff delete it if it doesn't work */
#preloader {
  position: fixed; /* Keeps the preloader on top */
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #040421; /* Or any background color */
  z-index: 100; /* Ensures it's above other content */
  display: flex; /* For centering the animation */
  justify-content: center;
  align-items: center;
}

.loader-animation {
  width: 100%;
  height: 100%;
  background-image: url('LoadingScreen.gif');
  background-repeat: no-repeat;
  background-size: contain;   /* Or 'auto' if you want natural size */
  background-position: center; /* This is what centers it */
}



.navbar-left a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 18px;
}


@media (min-width: 800px){
  .main-image {
    display: block;
    margin-bottom: 0; /* remove space under the image */
  }

  .main-container {
    margin-top: 0; /* bring div up */
  }

  .bio h1, 
  .bio p {
    margin-top: 0;
  }
}

.igiveup {
  color: #b4b4c0;
  width: 100%;
  height: auto; 
}

.gallery {
  padding-bottom: 30px; 
}

.left-text p {

  font-size: 17px;
}