* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Arial', sans-serif;
      background-color: #fffaf2;
      color: #333;
      padding-top: 100px; /* 防止导航栏遮住内容 */
    }

/*navigation bar*/
    header {
      background-color: #fff7e6;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      
      position: fixed;  /*ensure it is right on the top*/
      top: 0;
      left: 0;
      
      z-index: 1000; /*ensure that it is over other elements*/
      
      width: 100%;
      height: 100px;
    }

    

    nav {
      max-width: 1200px;
      
      margin: 0 auto;
      padding: 12px 20px;
    }

    #navigation {
      display: flex;
      align-items: center;
      justify-content: space-between;
      
      list-style: none; /*cut the style of list*/
    }

    #navigation li {
      margin: 0 10px;
    }

    #Logo {
      width: 70px;
      height: 70px;
      
      border-radius: 50%;
      
      object-fit: cover;
    }

    #navigation a {
      text-decoration: none;
      color: #5a4632;
      font-size: 17px;
      border-radius: 6px;
      
      padding: 8px 14px;
      
      transition: all 0.3s ease;
    }

    #navigation a:hover {
      background-color: #a52a2a;
      color: #fff;
    }

    
    
    
    /*下拉菜单区*/
    
    
    .dropdown{
        position: relative;
    }

    .dropdown-menu{
        display: none;
        
        position: absolute; /*脱离文档流*/
        top: 100%;
        left: 0;
        
        min-height: 160px;
        
        list-style: none;
        
        z-index: 1000;

        transform:translateX(-7px);
    }

 
    .dropdown-menu li{
        width: 100%;
        
        margin-top:16px;
        margin-bottom: 16px;
        
    }
    
    .dropdown-menu li a{
        color: black !important;
        text-decoration: none;
        font-size: 14px !important;
        
        display: block;
        text-align: center;
        
    }

    .dropdown:hover .dropdown-menu{
        display: block;
    }

    .dropdown-menu:hover .dropdown-menu{
        display: block;
    }


    #hamburger{
        display: none; /*汉堡按钮在pc端不显示*/
    }

    /*self-change for different devices*/

    
    @media(max-width:768px){  /*basic for the self-accomodation for the page*/
        #hamburger{
            display: block; /*小屏幕时显示*/

            border-radius: 12px;
            background-color: #ffeccc;
            
            width: 100%;
            margin: 0 auto;
            padding: 15px;
        }
        
        #navigation{
            display: none; /*初始不可见*/

            background-color: #fff7e6;
            
            flex-direction: column; /*元素左对齐+纵向排列*/
            align-items:flex-start;
            
            padding: 10px;
            gap:8px;
        }

        #navigation.active{
            display: flex;  /*添加active类名后可见*/
        }

        #navigation li{
            width: 100%;  /*one elelment occupy one whole line */
            margin: 6px 0;
        }

        .dropdown-menu{
            position: static;

            transform: none;
            
            background-color: #fff7e6;
            
            width: 100%;
            padding:0;
        }

        #Logo{
            margin: 0 auto;  /*logo 居中显示*/
        }

        header{
            height: auto;
        }

        #languageSelect{
            width: 100%;
            padding: 10px 16px;
            
            font-size: 15px;
        }

        .dropdown-menu li a{
            text-align: center;
            padding-left:20px;

            font-size: 15px;

            width: 100%;
            display: block;
        }
    }