body{
    background-color: #f4faff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.main-content{
    flex: 1;
    margin-bottom: 100px;
}


.site-footer {
    background-color: rgb(24, 24, 59);
    color: #ccc;
    font-family: sans-serif;
    font-size: 12px;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
    width: 100%;
}



h1{
    font-size: 70px;
    font-family: sans-serif;
    margin-left: 30px;
    color: navy;
}



/* For Home page */


#yuyoung-photo {
    width: auto;
    height: 600px;
    margin-top: 10px;
    border-radius: 50px;
}


.home-img {
    flex: 1;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 20px;
    margin-top: 80px;
    margin-bottom: 50px;
  }


  
.right-panel {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  
.welcome-message {
    background-color: rgb(183, 215, 239);
    border-radius: 10px;
    font-size: 40px;
    font-weight: 700;
    font-family: sans-serif;
    margin-top: 20px;
    margin-bottom: -70px;
}

.content{
    height: 500px;
    width: auto;
    margin-top: 150px;
    margin-bottom: 50px;
    font-family: sans-serif;
    font-size: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    
}
  

.info, .education{
    border-left: 3.5px solid navy;
    padding-right: 30px;
    padding-left: 20px;
    height: 450px;
}

.info li{
    margin-bottom: 20px;
}

.education ul{
    margin-top: 15px;
    
}


.logo{
    height: 30px;
    width: auto;
    margin-right: 5px;
    margin-bottom: -10px;
}


/* For navigation bar */


.navigation-bar p{
    border-bottom: solid 3.5px navy;
    display: flex; 
    justify-content: space-evenly;
    font-size: 30px;
    font-family: sans-serif;
     
}

.navigation-bar a,
.sub-skill-menu a{
    text-decoration: none;
    color: lightslategray;
    padding: 10px;
}


.navigation-bar a:hover, 
.sub-skill-menu a:hover {
    color: navy;
    font-weight: bolder;
    text-decoration: underline;
}


/* For Skills page */



.sub-skill-menu p{
    display: flex; 
    justify-content: space-evenly;
    font-size: 20px;
    font-family: sans-serif;
    
    margin-bottom: 50px;
}



.skill-logo{
    font-family: sans-serif;
    flex-direction: column;
    margin-left: 20px;
}

.skill-logo h2{
    font-size: 40px;
    margin-top: 30px;
}

.skill-logo img{
    width: 100px;
    height: auto;
    margin-left: 20px;
    margin-bottom: 50px;

}

.skill-item{
    display: flex;
}


.skill-item span{
    font-size: 30px;
    margin-left: 50px;
    margin-top: 5px;
    
}

.skill-bar {
    width: 500px;        
    height: 30px;
    background-color: #eee;
    border-radius: 50px;
    margin-top: 30px;
    margin-left: 50px;
  }
  
.skill-level {
    height: 100%;
    background-color:rgb(183, 215, 239); 
    border-radius: 50px;
  }


.java-text {
    margin-top: 70px;
}


/* For Contact page */


.contact-icon {
    display: flex;
    justify-content: center;
}


.contact-icon img{
    margin-top: 100px;
    margin-bottom: 100px;
    width: 200px;
    height: 200px;
}

.contact-email{
    margin-right: 50px;
}

.contact-github{
    margin-left: 50px;
}

.contact-message{
    margin-top: 100px;
}

.contact-message h2{
    font-family: sans-serif;
    font-size: 40px;
    color: navy;
    display: flex;
    justify-content: center;
}

.contact-box{
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 20px;
    border: 3.5px solid navy;
}

.contact-box-message {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.contact-name-box,
.contact-email-box,
.contact-message-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    width: 100%;
}



.contact-submit-button button {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: bold;
    color: white;
    background-color: navy;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 30px;
}


form textarea{
    height: 3rem;
}

form input{
    height: 1.5rem;
}


/* For Projects page */

.projects{
       
    text-align: center;
    margin-bottom: 100px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  
  .filter-buttons button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: rgb(183, 215, 239);
    color: black;
    border: none;
    border-radius: 5px;
  }
  
  .filter-buttons button.active {
    background-color: navy;
    color: white;
  }
  
  .project-card {
    display: block;
    margin-bottom: 50px;
  }

.project-card img {
    width: 20rem;
    max-height: 12rem;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.projects a{
    font-family: sans-serif;
    font-size: 40px;
    color: navy;
    display: inline-block;
    margin-top: 50px;
    margin-bottom: 20px;
    text-decoration: none;
}

.projects a:hover{
    font-weight: bolder;   
}

.projects p{
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    margin-right: 100px;
    margin-left: 100px;
    
}

.projects h2{
    font-family: sans-serif;
}

.github-profile-section, .github-repo-section {
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
    font-family: sans-serif;
  }
  
  #profile-box, #repo-list {
    margin-top: 20px;
  }
  
  .repo-card {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    background-color: #f9f9f9;
  }
  
  body.dark .repo-card {
    background-color: #2a2a2a;
    border-color: #555;
    color: #eee;
  }
  


.switch {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items:flex-end;
    z-index: 999;
    font-family: sans-serif;
  }
  

  .slider {
    font-size: 14px;
    color: #333;
  }
  

  .switch input {
    width: 60px;
    height: 34px;
    appearance: none;
    background-color: #ccc;
    outline: none;
    border-radius: 34px;
    position: relative;
    cursor: pointer;
  }

  .switch input::before {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    left: 4px;
    top: 4px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
  }
  
  .switch input:checked {
    background-color: #ab9e5d;
  }
  
  .switch input:checked::before {
    transform: translateX(26px);
  }




body.dark, html.dark{
    background-color: #1e1e1e !important;
    color: #ffffff;
  }
  

  body.dark .navigation-bar {
    background-color: #1e1e1e;
  }
  

  body.dark a {
    color: #90caf9; 
  }

  body.dark h1 {
    color: #ffcc00;
  }
  
  body.dark .home-img,
  body.dark .right-panel,
  body.dark .content,
  body.dark .info,
  body.dark .education {
    background-color: #1e1e1e;
    color: #ffffff;
  }

  body.dark .site-footer {
    background-color: #1e1e1e;
    color: #aaaaaa;
  }

  body.dark .welcome-message,
  body.dark .school-name {
    color: #ffffff;
  }
  

  body.dark hr,
  body.dark .divider {
    border-color: #444;
  }
  

  body.dark #mode-label {
    color: #ccc;
  }

body.dark .info,
body.dark .education,
body.dark .contact-box {
  border-left: 3.5px solid #ffcc00;
}


body.dark .navigation-bar a {
  color: #ffee94;
  text-decoration: none;
  font-weight: normal;
}


body.dark .navigation-bar a.active {
  color: #ffcc00 !important ;
  font-weight: bold;
}


body.dark .navigation-bar a:hover {
  color: #ffcc00;
  font-weight: bold;
  text-decoration: underline;
}

body.dark .welcome-message {
    background-color: #908655;
    color: #ffffff;
}

body.dark .navigation-bar p {
    border-bottom: 3.5px solid #ffcc00;
}


body.dark .main-content {
    background-color: #1e1e1e;
}

body.dark .site-footer {
    background-color: #1e1e1e;
    color: #aaaaaa;
}


body.dark .skill-level{
    background-color: #ffee94;
}

body.dark .sub-skill-menu a.active{
    color: #ffcc00 !important ;
    font-weight: bold;
}

body.dark .sub-skill-menu a {
    color: #ffee94;
    text-decoration: none;
    font-weight: normal;
  }


body.dark .sub-skill-menu a:hover {
    color: #ffcc00;
    font-weight: bold;
    text-decoration: underline;
  }

body.dark .contact-message h2{
    color: #ffcc00;
}

body.dark .contact-box{
    border: 3.5px solid #ffcc00;
}

body.dark .contact-submit-button button{
    background-color: #ffcc00;
}

body.dark .projects a{
    color: #ffcc00;
}


body.dark .filter-buttons button{
    background-color: #ffee94;
}

body.dark .filter-buttons button.active{
    background-color: #ffcc00;
}

