
html {
    scroll-behavior: smooth;
    width: 100%;
}

body {
    width: fit-content;
    background: #222;
    text-align: center;
}

body.left{
    text-align:left;
}

#edition{
    width: 95%;
    height: 90%;
    margin: 7px;
    padding: 25px;
    border: 2px solid #fff;
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    color: #fff;
    text-align:center;
    z-index: 5;
    display: none;
    animation-duration: 1s ;
    animation-name: appearing;
}
#edition.active{
    display: block;
}

#edition input {
    padding: 10px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 5px;
    width: 500px;
    margin: 15px auto;
    max-width: 90vw;
    font-size: 1em;
}

#edition .buttons {
    text-align: right;
    margin: 25px;
}

trix-toolbar {
    background-color: rgba(255,255,255,0.7) !important;
    width: 1020px;
    margin: 15px auto 0;
    max-width: 95%;
}
trix-toolbar .trix-button{
    background-color: #fff !important;
    color: #fff !important;
}

trix-editor{
    height: 50% !important;
    width: 1000px;
    margin: 0 auto 15px !important;
    border: 2px solid #fff !important;
    text-align: justify;
    max-width: 90%;
    max-height: 33vh;
}

#flag {
    max-height: 99vh;
    width: auto;
    border: 1px solid #444;
    max-width: 95vw;
    height: 100%;
}
#world{
    width: fit-content;
}
#info{
    background: #ddd;
    padding: 25px 5vw;
    min-height: 97vh;
    max-width: 1350px;
    line-height: 2em;
}

#info .description{
    text-align: justify;
    padding: 0 10vw;
}

.pointable{
    cursor: pointer;
}

header{
    position: fixed;
    top: 25px;
    right: 25px;
    padding: 25px;
    text-align: left;
    background-color: rgba(255,255,255,0.5);
    border: 1px solid #fff;
}
footer{
    position: fixed;
    bottom: 25px;
    right: 25px;
    padding: 25px;
    text-align: right;
    background: rgba(35,35,35,0.7);
}
footer a,
#edition .buttons span {
    color: #fff;
    text-decoration: none;
}
footer a:hover,
#edition .buttons span:hover {
    color: #ff0;
}

@keyframes appearing {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}

@media screen and (max-width: 812px) {
    #edition {
        max-width: 92vw;
        margin:0;
    }
    #flag {
        margin:20vh 0;
    }
}

@media screen and (max-width: 500px) {
    h2{
        font-size: 1rem;
    }
    #edition {
        max-width: 80vw;
    }
    #edition input {
        max-width: 75%;
    }
}

@media screen and (max-height: 800px) {
    .small-mobile_invisible{
        display: none;
    }
    #edition input {
        margin: 5px auto;
    }
}
