* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

a {
    text-decoration: none
}

body {
    background-image: url(./img/bg.png);
    background-size: cover;
    background-repeat: repeat;
    background-position: center;
}

.container {
    margin: 0 auto;
    margin-top: 28px;
    width: 871px;
    height: 855px;
    background-image: url(./img/cententbg.png);
    background-size: cover;
    background-repeat: repeat;
    background-position: center;
    padding: 118px 164px;
    padding-right: 310px;
    display: flex;
    justify-content: space-between;
    position: relative;
}

#history-body {
    background-color: rgba(0, 0, 0, .7);
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

#history-list {
    width: 600px;
    height: 400px;
    overflow-y: auto;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    outline: none;
}

.history-item {
    display: flex;
    width: 100%;
    gap: 4px;
    height: fit-content;
}

.history-left {
    width: 200px;
    word-wrap: break-word;
    white-space: normal;
    height: fit-content;
    padding: 8px;
}

.history-right { 
    width:  388px;
    background-color: rgb(247, 239, 230);
    word-wrap: break-word;
    white-space: normal;
    height: fit-content;
    padding: 8px;
}

#history-btn {
    position: absolute;
    right: 40px; top: 50px;
    padding: 8px 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-image: linear-gradient(rgb(47, 78, 255), rgb(160, 49, 251));
    border-radius: 8px;
    cursor: pointer;
}

.leftbox {

}


.rightbox {
    
}

.itembox {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    cursor: pointer;
}

.itembox img {
    margin-right: 16px;
    width: 38px; height: 38px;
}

.itembox a {
    position: relative;
    bottom: 4px;
    color: #1102B9;
}

.itembox span {
    position: relative;
    bottom: 4px;
    color: gray
}


/* ------------ */

.sec-container {
    display: none;
    margin: 0 auto;
    margin-top: 28px;
    width: 871px;
    height: 855px;
    background-image: url(./img/cententbg.png);
    background-size: cover;
    background-repeat: repeat;
    background-position: center;
    padding: 118px 164px;
    padding-left: 230px;
    position: relative;
}

.sec-item {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    cursor: pointer;
}

.sec-item a {
    position: relative;
    bottom: 4px;
    color: #1102B9;
}

.sec-item span {
    position: relative;
    bottom: 4px;
    color: gray
}

.sec-item img {
    margin-right: 16px;
    width: 38px; height: 38px;
}

#back-button {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 20px;
    margin: auto;
    width: 298px; height: 84px;
}