@font-face {
    font-family: "Depature";
    src: url("staticfonts\DepartureMono-Regular.woff2");
}

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #fff;
}

@media screen and (orientation: landscape){ 
    .container {
        display: flex;
        flex-direction: column;
        width: 100vmin;
        align-items: center;
        justify-content: center;
        margin: auto;
        padding: 0 20px;
        overflow: hidden;
        border-radius: 2px;
        border-color: #999;
    }
    
    h1 {
        padding: 1;
        text-align: center;
        color: #333;
        font-size: 56px;
    }
    
    form {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 1em;
        width: 100vmin;
    }
    
    button {
        font-size: 1.1em;
        background-color: #e3e3e3;
        color: #333;
        border: none;
        border-color: #333;
        padding: 6px 12px;
        cursor: pointer;
        transition: all .4s ease-in-out;
    }
    
    button:hover {
        background-color: #d3d3d3;
        transition: all .4s ease-in-out;
    }
    
    button:hover:after{
        transition: all .4s;
    }
    .top{
        margin: 0 auto;
        max-width: 800px;
        width: 100%;
        padding: 10px;
        display: flex;
    }
    #info{
        float: left ;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100px;
        margin-right: auto;
        font-size: 15px;
    }
    
    
    #example{
        font-size: 24px;
    }
}

ul {
    display: flex;
    flex-direction: column;
    align-items: left;
    width: 100%;
    position: relative;
}



#generate{
    width: 180px;
    height: 40px;
    position: relative;
    left: 50%;
    font-size: 20px;
    transform: translate(-50%);
    align-items: center;
    justify-content: center;
    display: flex;
    transition: .4s all;
}

#generate:hover{
    background-color: #666;
    color: #e3e3e3;
}
.form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vmin;
    /* max-width: 1000px;
    max-height: 300px; */
    margin-bottom: 1em;
}

#chart-container {
    margin-top: 100px;
    width: 100%;
    height: 75vmin;
    margin: 2em auto;
}
  
  /* Add or modify the following CSS rules as needed */
  textarea[type="text"] {
    /* height: 62px; */
    font-size: 18px;
    padding: 10px;
    width: 100%;
    resize: none; /* Disable resizing */
    text-align: left; /* Left text */
    margin: 0 10px; /* Add margin to the edges */
    overflow-y:hidden;
    border-radius: 15px;
    font-family: "Microsoft YaHei";
}

#loader{
    justify-content: center;
    align-items: center;
    display: none;
    margin-top: 20px;

}
#loader span{
    width: 10px;
    height: 48px;
    margin: 0 13px;
    background-color: #fff;
    animation: animate 1.4s linear infinite;

}
#loader span:nth-child(1){
    animation-delay: 0s;
}
#loader span:nth-child(2){
    animation-delay: 0.2s;
}
#loader span:nth-child(3){
    animation-delay: 0.4s;
}
#loader span:nth-child(4){
    animation-delay: 0.6s;
}
#loader span:nth-child(5){
    animation-delay: 0.8s;
}
#loader span:nth-child(6){
    animation-delay: 1.0s;
}
#loader span:nth-child(7){
    animation-delay: 1.2s;
}

@keyframes animate
{
    0%
    {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        transform: translateX(-50px) scale(1);
    }

    50%
    {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        opacity: 1;
        transform: translateX(0px ) scale(1.2);
    }

    100%
    {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        transform: translateX(50px) scale(1);
    }
}