
nav {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    height: 80px;
    margin: 0;
    background-color: white;
    font-family: MiSans;
    background-color: #3265e1;
    
}

.language{
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    
  }

.language li  {
    padding-left: 1rem;
  }

  .language li a {
    color: #ffffff;
  }

.logo {
    display: flex;
    align-items: center;
    padding: 5px;
     
}

.logo img {
    height: 36px;
    /* margin-right: 8px; */
    
    /* border: 1px solid #ccc; */
}

.site-name {
    margin-left: 10px;
    font-size: 22px;
    color: #ffffff;
}

nav ul {
    list-style: none;
    display: flex;
    margin-left: 10px;
    flex-direction: row;
    padding: 0;
    
}

.nav-item {
    /* margin-right: 10px; */
    margin-left: 48px;
}

.nav-item.active {
    border-bottom: 2px solid #333;
    color: #03a9f5;
}

.nav-item a {
    font-size: 18px;
    color: #ffffff;
}

.nav-item a:hover {
    
    color: #03a9f5;
}

/* 主体部分的样式 */
main {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 600px;
    width: 100%;
    
}

.container {
    background-color: #ffffff;
    width: 100%;
    padding: 1.5rem;
    box-shadow: 2px 0 1px rgba(165, 165, 165, 0.2),
    -2px 0 1px rgba(165, 165, 165, 0.2),
    0 2px 4px rgba(165, 165, 165, 0.2);
    border-radius: 10px;
    
}

.labelname {
    font-size: 1.25rem;
    line-height: 1.5rem;
    margin-bottom: 0.5rem;
}

.textinput {
    height: 10rem;
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-width: 1px;
    font-family: inherit;
}

.output {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.result {
    display: flex;
    align-items: center;
    flex-direction: row;  
}

.result-content {
    background-color: rgb(249, 250, 251);
    border: 0px;
    margin-right: 1rem;
    pointer-events: none;
    width: 10rem;
    height: 2.15rem;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    padding: 0 0.5rem 0 0.5rem ;
}

.result-label {
    color: #000000;
    font-size: 0.875rem;
}

.main-button {
    background-color: #03a9f5;
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.25rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 0.375rem;
    border: 0;
}

.sub-button1, .sub-button2 {
    background-color: rgb(239 246 255);
    font-size: 0.875rem;
    color: #000000;
    line-height: 1.25rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 0.375rem;
    border: 0;
}

textarea {
    resize: vertical;
    border: none;
    outline: none;
    box-sizing: border-box;
}

.space {
    height: 1rem;
}

a {
    text-decoration: none;
    
}

body {
    background-color: rgb(249, 250, 251);
    font-family: 'Misans';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.footer {
    color: rgb(107 114 128);
    text-align: center;
    padding: .5rem;
    margin-top: 5rem;
    background-color: rgb(243 244 246 );
}

/* 屏幕适配 */
@media screen and (min-width: 768px) {
    /* PC 上的样式 */
    .container {
      width: 50%;
    }
    nav {
        padding-right: 5rem;
        padding-left: 5rem;
    }
  }
  
@media screen and (max-width: 767px) {
    /* 手机上的样式 */
    .container {
      width: 100%;
    }
    nav {
        padding-right: 1rem;
        padding-left: 1rem;
    }
  }