/* responsive css for small media */

@media (max-width: 480px){

    h1{
        font-size: 30px;
    }


    /* For Home page */


    .home-img {
        margin-top: 0px;
        margin-bottom: auto;
        
    }

    .site-footer{
        font-size: 9px;
        margin-top: 100px;
                
    }

    

    .right-panel{
    
        padding-right: 0px;
    }

    #yuyoung-photo{
        margin-top: 40px;
        height: 250px;
        margin-left: -10px;

    }


    .welcome-message{
        font-size: 15px;
        margin-top: 50px;
        margin-bottom: 2px;
    }
    

    .content {
        flex-direction: column;
        gap: 10px;
        height: 100px;
        margin-top: 180px;
        font-size: 10px;


    }

    .info{
        
        height: 180px;
        margin-top: 50px;
        padding-left: 5px;
        padding-right: 15px;
        border-top: 3px solid navy;
        border-left: none;
        
    }


    .education{
        padding-top: 10px;
        
        margin-top: 30px;
        margin-left: -150px;
        border-top: 3px solid navy;
        border-left: none;
        
    }

    .info li{
        
        margin-left: -20px;
        margin-bottom: 5px;
    }
    
    .education ul{
        margin-top: 5px;
        margin-left: -20px;
        
    }

    .logo{
        height: 20px;
        margin-bottom: 0px;
    }

    /* For navigation bar */

    .navigation-bar{
        margin-bottom: -20px;
    }

    .navigation-bar p {
        border-bottom: 3px solid navy;
        font-size: 15px;
    }


    /* For Skills page */

    .sub-skill-menu p{
        display: flex; 
        justify-content: space-evenly;
        font-size: 12px;
        font-family: sans-serif;
        margin-bottom: 0px;
    }
    
    .skill-logo{
        width: 100%;

    }
    
    .skill-logo h2{
        font-size: 20px;
        margin-top: 15px;
        margin-bottom: 30px;
    }
    
    .skill-logo img{
        width: 40px;
        height: auto;
        margin-left: 10px;
        margin-bottom: 25px;
    
    }
    
    .skill-item{
        display: flex;
    }
    
    
    .skill-item span{
        font-size: 10px;
        margin-left: 20px;
        margin-top: 2.5px;
        
    }

      
    .skill-level {
        height: 100%;
        background-color:rgb(183, 215, 239); 
        border-radius: 50px;
      }
    

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


    /* For Contact page */

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

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

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

    .contact-email{
        margin-right: 10px;
    }
    
    .contact-github{
        margin-left: 10px;
    }

    .contact-box{
        max-width: 300px;
        border: 3px solid navy;
    }

    .contact-box-message {
        font-size: 20px;
    
    }

    .contact-submit-button button {
        padding: 5px 10px;
        font-size: 14px;
        margin-bottom: 20px;
    }

    .contact-box span{
        font-size: 13px;
    }




    /* For Projects page */ 


    .projects a {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .itmbti-image{
        width: 200px;
    }

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


    body.dark {
        background-color: #121212;
        color: #ffffff;
    }

    .slider {
        font-size: 8px;
        color: #333;
      }
  
    .switch input {
          width: 34px;
          height: 20px;
          appearance: none;
          background-color: #ccc;
          outline: none;
          border-radius: 34px;
          position: relative;
          cursor: pointer;
        }
        

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


    


}