* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background-color: #adadad;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}
header {
    width: 100%;
    background-color: #12e2e2;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    position: fixed;
    top: 0;
    z-index: 1000;
}
header h1, header h3 {
    margin: 0;
}
#h-right a {
    text-decoration: none;
    color: white;
    margin: 0 10px;
    padding: 8px 15px;
    border-radius: 5px;
    background-color: #80afab;
    transition: background-color 0.3s;
}
#h-right a:hover {
    background-color: #5e8a86;
}
.container {
    margin-top: 120px;
    width: 90%;
    max-width: 800px;
    background-color: #12b6b6;
    border-radius: 20px;
    box-shadow: 0 2px 4px black;
    padding: 20px;
    text-align: center;
}
.container h1 {
    margin-bottom: 20px;
}
.container-ch {
    display: flex;
    background-color: #faebd7;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}
#home {
    padding-left: 5px;
    background-color: #3191df;
    display: flex;
    color: white;
    align-items: center;
}
#home2{
    color: white;
    display: flex;
    align-items: center;
    background-color: #29b9b2;
}
#api-input {
    flex: 1;
    border: none;
    font-size: 16px;
    padding: 5px;
}
#copyApi{
    background-color: gray;
    width: 35px;
    height: 35px;
}
#copyApi img{
    width: 100%;
    height: 100%;
}
#goApi{
    background-color: #0099ff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}
#goApi:hover {
    background-color: #0068ad;
}
.selection {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}
.selection-ch {
    padding: 5px 10px;
    background-color: aquamarine;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.selection-ch:hover {
    background-color: #52aa8d;
    color: white;
}
.json-viewer {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    font-family: monospace;
    overflow: hidden;
}
.line-numbers {
    background-color: #f0f0f0;
    color: #888;
    padding: 10px;
    text-align: right;
    user-select: none;
}
.line-numbers span {
    display: block;
}
.json-content {
    padding: 10px;
    text-align: left;
    white-space: pre-wrap;
    overflow-y: auto;
    flex: 1;
}
.navigator{
    margin-top: 10px;
    display: flex;
    width: 100%;
    max-width: 800px;
    justify-content: space-around;
}
.navigator a{
    text-decoration: none;
    font-size: 18px;
    font-weight: 550;
    color: white;
}
#menu-mobile{
    display: none;
    width: 1px;
    height: 1px;
}


@media (max-width: 767px) {
    #h-right{
        display: none;
        flex-direction: column;
        position: fixed;
        overflow: hidden;
        right: 15px;
        gap: 20px;
        padding: 15px;
        border-radius: 5px;
        background-color: wheat;
    }

    #home{
        display: none;
    }
    #menu-mobile{
        display: flex;
        width: 30px;
        height: 30px;
        cursor: pointer;
    }

}