/* my-styles is the css file for the entire portfolio */

/* styles for all pages */
html, body{
    background-color: #EDE8D0; /* beige background color for every page */
    width: 100%;
    height: 100%;
}

/* Index and About Page */
#about-main{
    height: 100vh;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
}

#about-wrapper{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 80%;
}

#span-text{
    width: 100%;
    display: inline-block;
    text-align: center

}


#about-text{
    width: 20em;
    flex: 2;
    padding-top: 20px;
    display: inline-block;
    
}



#about-image{
    flex: 1;
    display: flex;
    justify-content: center;
}

#about-img{
    height: auto;
    width: 30%;
}

#typewriter{
    color: black;
    font-weight: bold;
}

#cursor{
    color: black;
    animation: blink 1s linear infinite;
    font-size: 40px;
    
}
@keyframes blink {
   0% {
        opacity: 100;
    }
    50% {
        opacity: 0%;
    }
}

/* Bio Page */
#bio-page-main{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
}

#bio-content{
    width: 100%;
}

#about-me-header{
    text-align: right;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-decoration: underline;
    padding-right: 10%;
}

#bio-flex-container{
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: end;
    padding-right: 10%;
}

#bio-flex{
    font-size: 1.1em;
    line-height: 1.6;
    text-align: right;
    max-width: 30%;
}

#bio-pic{
    width: 30%;
    height: auto;
    border-radius: 8px;
    
}

#bio-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#skill{
    padding-left: 5%;
}

.bio-skill{
    margin-bottom: 10px;
    font-size: 1.2em;
}

#skill-header{
    font-size: 2em;
    text-decoration: underline;
}

#work-container{
    display: flex;
}

#work-exp{
    text-align: center;
}

#work{
    text-align: center;
}

/* Classes Page */
#main-classes{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.class-placement{
    width: 45%;
    margin: 2%;
    height: 50%;
    padding: 20px;
    border-radius: 25px;
    border: 1px solid black;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: grey;
}

.img-for-class{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.class-about{
    min-height: 6em;
    overflow: hidden;
}

/* Projects Page */

#projects-main{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#project-slider{
    width: 100%;
    height: 100vh;
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

#project-box-container{
    width: 100%;
    height: 100vh;
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    overflow: hidden;
    align-items: center;
    justify-content: center;

}

.project-box{
    width: 33%;
    height: 60vh;
    margin: 1%;
    padding: 2%;
    border-radius: 25px;
    border: 1px solid black;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.project-box:hover{
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: scale(1.02);
    transition: all 0.2s ease;
}

.project-pic{
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: cover;
    overflow: hidden;
}

.pro-btn{
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
  background-color: #eee;
}

.material-icons {
  font-size: 32px;
  color: #333;
}

#dot-container{
    text-align: center;
    margin-top: 20px;
}

.dot{
    display: inline-block;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active{
    background-color: #333;
}

.modal-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    padding: 1rem;
    box-sizing: border-box;
}

.modal-content{
    background: #fff;
    padding: 1.5rem;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.close-button{
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 1.8rem;
    cursor: pointer;
}

#modal-title{
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

#modal-concept {
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

#modal-image-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#modal-image {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

#modal-controls {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.pro-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.material-icons {
  font-size: 2rem;
}

/* Resume */
#resume-main {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f9f9f9; /* Optional */
  padding: 20px;
}

.resume-container {
  width: 100%;
  max-width: 900px;
  height: 90vh;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}

.resume-iframe {
  width: 100%;
  height: 100%;
  border: none;
}
