

body {
  background-color: White;
  overflow-x: hidden;
}

.tamara-page-title {
    display: inline-block;
    font-size: 23px;
    font-family: didot;
    width: 100%;
    height: 50%;
    background-image: url(https://assets.codepen.io/9605634/tamara+website+banner+image.jpg);
    background-size: 125%;
    background-position: 75% 10%;
    background-repeat: no-repeat;
    color: White;
 
 
}



#tamara_name{
    font-family: Helvetica;
    margin-right: 10px;
    width: 100%;
    padding: 0px;
    text-align: right;
    margin-bottom: 0px;
    margin-top: 0px;
    background: White;
    color: Black;
    text-shadow: -1px 1px 0 #000;
    font-size: 3em;
    
}

#profession{
    font-size: 2em;
    font-family:  Courier New,Courier,Lucida Sans Typewriter,Lucida Typewriter,monospace; 
    text-align: right;
    margin-right: 10px;
    padding: 0px;
    margin-top: 5px;
    text-shadow: -1px 1px 0 #000;
}

.writing-quote{
    width: 44%;
    font-family: times;
    font-size: 1.2em;
    font-style: italic;
    text-align: left;
    text-shadow: -1px 1px 0 #000;
    margin-top: 1%;
    padding-left: 55%;
    
    
}

.honors {
  margin: 20px 0;
  padding: 20px;
}

.honors-text {
  display: flex;  /* Use flexbox for horizontal layout */
  align-items: center;
  font-size: 1.1em;
  gap: 20px;  /* Space between items */
  margin-top: -3%;
  padding-left: 0;  /* Remove default padding */
  list-style: none;  /* Remove default bullets */
  justify-content: center;  /* Center the list items horizontally */
  font-weight: bold;
  font-family: Arial;
}

.honors-text li {
  display: block;  /* Override the inline display */
  position: relative;  /* For custom bullet positioning */
  padding-left: 20px;  /* Space for bullet */
  
}

.honors-text li:before {
  content: "•";  /* Custom bullet point */
  position: absolute;
  left: 0;
  color: black;
  
}

.logos{
  margin-bottom: 3%;
}


#nama-logo{
  width: 10%;
  height: auto;
  margin-left: 25%;
  
}

#big-break-logo{
  width: 10%;
  height: auto;
  margin-left: 25%;
}

#Ursula-name{
    width: 44%;
   font-family: times;
    font-size: 1.2em;
    font-style: italic;
    text-align: left;
    text-shadow: -1px 1px 0 #000;
    margin-top: -1%;
    padding-left: 55%;
  
}

#recent-updates{
  font-family: Arial;
  text-align: center;
  text-size: 1.5em;
  background: transparent;

}

.recent-updates {
  width: 100%;
  overflow: hidden;
  background-color: #f5f5f5;
  padding: 10px 0;
  margin: 20px 0;
  margin-top: -2%;
  background-color: rgba(0,90,110,.5);
  
  
}

.scroll-container {
  white-space: nowrap;
}

.scroll-text {
  display: inline-block;
  animation: scroll 20s linear infinite;
  font-family: Arial;
  font-size: 1.5em;
  padding-left: 100%;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.divider-image img {
    display: block;
    margin: 0 auto;
    width: 150%;
    height: 60px;  /* Adjust this value to match original appearance */
    margin-top: -20px;  /* Converted from -5% to approximate pixel value */
    margin-left: -25%;  /* To help center the 150% width image */
    background: transparent;
    
}

.divider-image2 img {
  display: block;
  margin: 0 auto; /* Center the image if needed */
  width: 130%; /* Stretch horizontally to twice its original size */
  height: 60px; /* Compress vertically to 25% of its original size */
  margin-top: 1.5%;
  background: transparent;
  

}





#about-me-bg{
  opacity: 0.25;
  position: absolute;
  width: 105%;
  height: 100%;
  padding-right: 50px;
}

#tamara-dramatic{
    display: inline-block;
    height: 30%;
    width: 30%;
    float: right;
    margin-left: 3px;
    position: relative;
    padding-top: 25px;
    padding-right: 20px;
}



p span{
    background-color: rgba(97,120,170,255);
    padding: 10px 10px 10px 10px;
    letter-spacing: 10px;
    font-size: 30px;
    position: relative;
    
}

.bio {
    position: relative;
    text-align: justify;
    width: 100%;
    font-size: 20px;
    font-family: arial;
    display: block;
    overflow: hidden;  /* Hide overflowing background images */
    background-image: 

        url('https://assets.codepen.io/9605634/fountain+pen.png');
    background-size: 25%, 25%;  /* Size for screenplay and pen respectively */
    background-repeat: no-repeat;
    background-position:  left 110% bottom 10%;     /* Position for pen */
    padding: 20px;
    min-height: 600px;  /* Ensure enough space for the background images */
  margin-bottom: -4%;  /* Negative margin to connect with divider */
}

/* Add a pseudo-element for the rotated screenplay */
.bio::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    bottom: 15%;
    right: -70%;
    background-image: url('https://assets.codepen.io/9605634/screenplay+page+for+bio.png');
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-15deg);  /* Rotate the screenplay */
    z-index: -1;  /* Place behind the text */
}

.bio::after {
    content: '';
    position: absolute;
    width: 80%;  /* Adjust size as needed */
    height: 80%;
    bottom: -40%;
    right: -25%;
    background-image: url('https://assets.codepen.io/9605634/notcard+for+tamara+website.png');
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(15deg);  /* Slightly different rotation */
    z-index: -1;  /* Place between screenplay and pen */
}


/* Adjust the heading and text to ensure they're above the background */
#little-me {
    position: relative;
    z-index: 1;
    margin-top: 50px;
    padding-left: 200px;
    font-size: 35px;
    font-weight: bold;
}

#bio {
    position: relative;
    z-index: 1;
    width: 30%;
    padding-left: 200px;
    font-family: times;
    font-size: 1.3em;
    padding-right: 75px;
}

.my-projects-heading{
   position: relative;
    z-index: 1;
    margin-top: 50px;
    font-size: 4em;
    font-weight: bold;
    text-align: center;
  
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    width: 90%;
    margin: 0 auto;
}

.project-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
}

.project-box-images {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

.project-box-images.unhovered {
    opacity: 1;
}

.project-box-images.hovered {
    opacity: 0;
}

.project-box:hover .project-box-images.unhovered {
    opacity: 0;
}

.project-box:hover .project-box-images.hovered {
    opacity: 1;
}

.project-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    padding: 20px;
    opacity: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    font-size: 1.2em;
   text-align: left;
}

.genre, .format {
    font-size: 1.1em;
    margin: 5px 0;
    font-family: courier new;
  font-weight: bold;
}

.project-description {
    text-align: center;
    margin: 10% 10%;
    font-size: 1em;
    line-height: 1.4;
  text-align: left;
  width: 75%;
  font-weight: bolder;
  
  
 
  
}

#phoenix-description{
   text-align: center;
    margin: 30% 10%;
    font-size: .9em;
    line-height: 1.4;
  text-align: left;
  width: 75%;
  font-weight: bolder;
  background: rgba(0,0,0,.5);
  
}


#phoenix-format{
   font-size: 1.1em;
    margin: 5px 0;
    font-family: courier new;
  font-weight: bold;
  
}

#phoneix-genre{
    font-size: 1.1em;
    margin-top: -20%;
    font-family: courier new;
  font-weight: bold;
}


#black-city-description {
   text-align: center;
    margin: 30% 10%;
    font-size: 1em;
    line-height: 1.4;
  text-align: left;
  width: 75%;
  font-weight: bolder;
  background: rgba(0,0,0,.5);
}

#black-city-format{
   font-size: 1.1em;
    margin: 5px 0;
    font-family: courier new;
  font-weight: bold;
  
}

#black-city-genre{
    font-size: 1.1em;
    margin-top: -20%;
    font-family: courier new;
  font-weight: bold;
}


#support-description {
   text-align: center;
    margin: 30% 10%;
    font-size: 1em;
    line-height: 1.4;
  text-align: left;
  width: 75%;
  font-weight: bolder;
  background: rgba(0,0,0,.5);
}

#support-format{
   font-size: 1.1em;
    margin: 5px 0;
    font-family: courier new;
  font-weight: bold;
  
}

#support-genre{
    font-size: 1.1em;
    margin-top: 5%;
    font-family: courier new;
  font-weight: bold;
}



.project-box:hover .project-info {
    animation: fadeIn 2s ease-in-out 2s forwards;
}



@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#white-pine-grove {
    object-position: center 75%;
}




.divider-image3 img {
    display: block;
    margin: 0 auto;
    width: 150%;
    height: 60px;
    margin-top: 5%;
}

#bad-sign-description {
    text-align: center;
    margin: 30% 10%;
    font-size: 1em;
    line-height: 1.4;
    text-align: left;
    width: 75%;
    font-weight: bolder;
    background: rgba(0,0,0,.5);
}

#bad-sign-format {
    font-size: 1.1em;
    margin: 5px 0;
    font-family: courier new;
    font-weight: bold;
}

#bad-sign-genre {
    font-size: 1.1em;
    margin-top: -20%;
    font-family: courier new;
    font-weight: bold;
}



.divider-image4 img {
    display: block;
    margin: 0 auto;
    width: 130%;
    height: 60px;
    margin-top: 5%;
}

#penny-description {
    text-align: center;
    margin: 30% 10%;
    font-size: 1em;
    line-height: 1.4;
    text-align: left;
    width: 75%;
    font-weight: bolder;
    background: rgba(0,0,0,.5);
}

#penny-format {
    font-size: 1.1em;
    margin: 5px 0;
    font-family: courier new;
    font-weight: bold;
}

#penny-genre {
    font-size: 1.1em;
    margin-top: 10%;
    font-family: courier new;
    font-weight: bold;
}


.divider-image5 img {
    display: block;
    margin: 0 auto;
    width: 150%;
    height: 60px;
    margin-top: 5%;
}

.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 0 auto;
    width: 60%;
}

.contact-text {
    position: relative;
    z-index: 1;
    font-family: times;
    font-size: 1.3em;
    text-align: center;
    margin-bottom: 40px;
    margin-top: -5%;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}



@keyframes fadeInText {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-info {
  color: white;
  padding: 15px;
  opacity: 0;
  animation: fadeInText 1s ease-in-out forwards;
  animation-delay: 1s; /* Start after image fade completes */
}




/* Modal styles for project popups */
.project-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
}

.project-modal.active {
  display: block;
}

.modal-content {
  position: relative;
  width: 90%;
  max-height: 90vh;
  margin: 20px auto;
  overflow-y: auto;
}

.modal-close {
  position: fixed;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.modal-images {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
}

.modal-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 3s ease-in-out;
}

.modal-image.unhovered {
  opacity: 1;
}

.modal-image.hovered {
  opacity: 0;
}

.modal-info {
  color: white;
  padding: 15px;
}




/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
   .tamara-page-title {
    display: block; /* Changed from inline-block */
    font-size: 23px;
    font-family: didot;
    width: 100%;
    height: 70vh; /* Use viewport height instead of percentage */
    background-image: url(https://assets.codepen.io/9605634/tamara+website+banner+image.jpg);
    background-size: cover; /* Change from 125% to cover */
    background-position: center; /* Centered position */
    background-repeat: no-repeat;
    color: White;
    overflow: hidden; /* Add overflow control */
}







/* Portrait mode phones (320px - 480px) */
@media screen and (min-width: 320px) and (max-width: 480px) {
  /* General layout adjustments */
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-width: 320px; /* Prevent layout breaking on very small screens */
  }
  
  
  
  
  

  /* Header section adjustments */
  @media screen and (min-width: 320px) and (max-width: 480px) {
      
  .tamara-page-title {
    height: 40vh; /* Control the container height */
    background-size: 180%;
    background-position: 50% -40%;
    overflow: hidden; /* Prevent image overflow */
    font-size: 1em;
  }

  #tamara_name {
    position: absolute;
    top: 0;
    left: 20;
    right: 0;
    background: white;
    margin: 0;
    padding: 10px;
    height: 15%;
    z-index: 2;
    height: 7vh;
    
  }

  #profession {
    margin-top: 20%; /* Add space below the name */
  }

  .writing-quote, #Ursula-name {
    width: 90%;
    padding-left: 5%;
    padding-right: 5%;
    text-align: center;
    margin: 5px auto;
    font-size: 1em;
    font-family: arial;
    margin-top: 25%;
    text-shadow: 1px 1px 2px black;
  }
  
  #Ursula-name{
    width: 44%;
   font-family: arial;
    font-size: 1em;
    font-style: italic;
    text-shadow: -1px 1px 0 #000;
    margin-top: -1.5%;
    padding-left: 55%;
  
}

  /* Honors section */
  .honors {
    margin: 10px 0;
    padding: 10px;
  }

  .honors-text {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    margin: 0;
    padding: 0 10px;
  }

  .honors-text li {
    font-size: 1.2em;
    padding: 5px 0;
    line-height: 1.4;
  }

  /* Logos section */
  .logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
  }

  #nama-logo, #big-break-logo {
    width: 35%;
    height: auto;
    margin: 0;
  }

  /* Bio section */
  .bio {
    padding: 15px;
    background-image: none; /* Remove background images on mobile */
    min-height: auto;
  }

  .bio::before, .bio::after {
    display: none; /* Remove decorative elements */
  }

  #little-me {
    font-size: 1.8em;
    text-align: center;
    padding: 0;
    margin: 10px 0;
  }

  #bio {
    width: 90%;
    padding: 0;
    margin: 15px 0;
    font-size: 1.3em;
    line-height: 1.6;
  }

  /* Project grid */
  .my-projects-heading {
    font-size: 2em;
    margin: 20px 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
    width: 95%;
    gap: 20px;
    padding: 10px;
  }

  .project-box {
    aspect-ratio: 1/1;
    margin-bottom: 15px;
  }

/* Individual project styling in modal */

.modal-info #white-pine-grove-description{
  font-size: 1.5em;
  margin: 20px 0;
  width: 95%;
}

.modal-info #phoenix-description {
  font-size: 1.5em;
  margin: 20px 0;
  width: 95%;
}

.modal-info #black-city-description {
   font-size: 1.5em;
  margin: 20px 0;
  width: 95%;
}

.modal-info #support-description {
  font-size: 1.5em;
  margin: 20px 0;
  width: 95%;
}

.modal-info #bad-sign-description {
  font-size: 1.5em;
  margin: 20px 0;
  width: 95%;
}

.modal-info #penny-description {
  font-size: 1.5em;
  margin: 30px 0;
  width: 95%;
}

/* Project-specific genre and format styling */

.modal-info #white-pine-grove-genre,
.modal-info #white-pine-grove-format {
  margin-top: 10px;
}


.modal-info #phoenix-genre,
.modal-info #phoenix-format {
  margin-top: 10px;
}

.modal-info #black-city-genre,
.modal-info #black-city-format {
  margin-top: 15px;
}

/* Project-specific genre and format styling */
.modal-info #bad-sign-genre {
  margin-top: 10%;
}


  /* Contact section */
  .contact-section {
    width: 90%;
    margin: 20px auto;
  }

  .contact-text {
    font-size: 2em;
    margin: 15px 0;
  }

  .social-icons {
    gap: 30px;
  }

  .social-icon {
    width: 80px;
    height: 80px;
  }

  /* Divider images */
  .divider-image img,
  .divider-image2 img,
  .divider-image3 img,
  .divider-image4 img,
  .divider-image5 img {
    width: 100%;
    height: 40px;
    margin: 15px 0;
  }
  
   .scroll-text {
    font-size: 1.5em;
    animation: scroll 15s linear infinite;
  }
}

