:root {
    color-scheme: light dark;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Verdana,sans-serif;
}

.body-wrap{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.header{
    height: 50px;
    display: flex;
    align-items: center;
}
.header-logo{
    position: relative;
    display: flex;
    flex-direction: row;
    height: 36px;
    width: fit-content;
    margin: 7px;
    align-items: center;
    text-decoration: none;
}
.header-logo img{
    height: 100%;
}
.header-logo--title{
    font-size: 20px;
    margin-left: 7px;
}
.header-logo:hover{
    opacity: .5;
}
.view-index{
    margin-left: 30px;
    opacity: .3;
}
.view-index-img{
    height: 18px;
    width: 18px;
    margin: 3px 0 -3px 0;
    display: inline-block;
}
.content {
    display: flex;
    /*padding: 10px;*/
    /*flex-direction: column;*/
    flex: 1;
    /*align-items: stretch;*/
    /*height: 100%;*/
}
.f-body .content{ 
    /*margin-bottom: 35px;*/
}
.content404 {
    display: flex;
    flex-direction: row;
    flex: 1;
    align-items: center;
    justify-content: space-evenly;
    height: 100%;
}
.content-img{
    height: 300px;
    width: 300px;
    background-image: url(../files/img/site/btc_qr.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.content-btn{
    color: #fff;
    background-color: #0d7e04;
    font-size: 17px;
    border: 1px solid;
    border-radius: 6px;
    padding: 6px 16px;
    cursor: pointer;
    margin-left: 10px;
    width: 120px;
}
.f-body #map{ 
    margin-bottom: 0px;
}
#map {       
    width: calc(100% - 1px);
    flex: auto;
    margin-bottom: -35px;
}
#coord_form_f{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}
#coord_form_f img {       
   height: 17px;
   width: 17px;
   vertical-align: sub;
}

#urlInput{
    position: absolute;
    bottom: 0px;
    opacity: 0;
    cursor: default;
}
.f-body .footer{
    height: 70px;
}

.footer {
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 50px;
    z-index: 2;
    display: flex;
    padding: 0 10px;
}
.footer p a{
    text-decoration: none;
}
.footer p{
    text-align: center;
}


#coord_form{
    position: absolute;
    bottom: 50px;
    margin-left: -270px;
    background-color: #0000008c;
    padding: 0 20px;
    left: 50%;
    border-radius: 6px 6px 0 0;
}
#copy_url_btn{
    width: 280px;
    height: 40px;
    text-align: center;
}
#copy_url_btn:hover{
    background-color: #777;
}
.donate{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 13px;
    line-height: 2;
}

/* Switcher */

.switcher {
    position: absolute;
    top: 7px;
    right: 7px;
    margin: 0;
    margin-left: 20px;
    padding: 2px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border: none;
    z-index: 10;
    opacity: .2;
}
.switcher__radio:hover{
    cursor: pointer;
}
/* Switcher Legend */

.switcher__legend {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Switcher Radio */

.switcher__radio {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    width: 32px;
    height: 32px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
    transition: filter 0.1s ease-in;
}

.switcher__radio:focus {
    outline: none;
}

.switcher__radio--light {
    background-image: url('../files/img/site/light.svg');
}

.switcher__radio--auto {
    background-image: url('../files/img/site/auto.svg');
}

.switcher__radio--dark {
    background-image: url('../files/img/site/dark.svg');
}

/* Switcher Status */

.switcher__status {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    box-shadow: 0 0 0 2px rgb(0 0 0 / 0.2);
    border-radius: 18px;
    background-color: rgb(255 255 255 / 0.5);
    background-repeat: no-repeat;
    background-image: url('../files/img/site/status.svg');
    background-size: 32px;
    background-position: center;
    transition: background-position 0.1s ease-in;
}

.switcher__radio:focus-visible ~ .switcher__status {
    box-shadow: 0 0 0 2px black;
}

.switcher__radio--light:checked ~ .switcher__status {
    background-position: left 2px center;
}

.switcher__radio--auto:checked ~ .switcher__status {
    background-position: center center;
}

.switcher__radio--dark:checked ~ .switcher__status {
    background-position: right 2px center;
}


@media screen and (max-width: 560px) {
    .header-logo--title{
        font-size: 16px;
    }
    .view-index{
        position: absolute;
        top: 100px;
        left: -20px;
        z-index: 4;
        opacity: 1;
        background-color: #0000002e;
        padding: 3px 5px 4px 5px;
        border-radius: 4px;
    }
    #coord_form {
        margin-left: 0;
        left: 0;
        width: 100%;
        padding: 0;
        bottom: 50px;
    }
    #coord_form p {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #coord_form p span {
        margin-bottom: 16px;
    }
    .footer{
        height: 100px;
    }
   
   
    .content404 {
        flex-direction: column;
        justify-content: center;
    }
    .content-body h1{
        text-align: center;
    }
}
@media screen and (max-width: 660px) {
     .f-body .footer {
        height: 140px;
        justify-content: space-around;
        align-items: stretch;
    }
     #coord_form_f {
        flex-direction: column;
        text-align: center;
    }
}
@media screen and (max-width: 1020px) {
     .like_service {
        display: none;
    }
}
.like_service {
        display: none;
    }