header {
    width: 100%;
    background: transparent;
    box-sizing: border-box;
    top: 0; 
    left: 0; 
    display: flex;
    align-items: center;
    font-size:20px;
    font-family:serif;
    }
header img{
    float: left;
    margin-top :5px;

}
.backbutton:hover{
    margin-top :5px;
    
}
header a{
    -webkit-tap-highlight-color: transparent;
}
body{
    margin: auto;
    font-family: "Segoe UI", Arial, sans-serif;
    width: 90%;
}
#toppage{
    background-color: #1f004f;
    margin: auto;
    font-family: "Segoe UI", Arial, sans-serif;
}
.tiles{
    text-align:left;

}
h1 a{
    color: #feb856;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
#main{
    max-width: 1000px;

}
ul{
    margin-top: 60px;
    padding: 0px;
}
ul a{
    -webkit-tap-highlight-color: transparent;
}
a{
    color: #0050ef;
}
ul li{
    background-color: #0050ef;
    margin: 4px;
    width: 160px;
    height: 160px;
    display: inline-block;
    list-style: none;
    text-align:left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
ul li iframe{
    position: absolute;
    border: transparent;
}
.tile2x{
    background-color: #4bab2d;
    margin: 4px;
    width: 334px;
    height: 160px;
    display: inline-block;
    list-style: none;
    text-align:left;
    border: 1px solid rgba(255, 255, 255, 0.1);

}

.tile2x_link{
    background-color: #e35a35;
    margin: 4px;
    width: 334px;
    height: 160px;
    display: inline-block;
    list-style: none;
    text-align:left;
    border: 1px solid rgba(255, 255, 255, 0.1);

}
.tile2x_link img{
    position: absolute;
    margin: 30px 0px;
}
.tiles_links{
    max-width: 1080px;
    padding-right: 30px;
}
.tileaicon{
    margin: 0px 0px;
}

.links_message{
    color: rgb(0, 0, 0);
    font-size: 20px;
    text-align: left;
}
#links_main{
    display:flex;
}


.faketile{
    display:none;
}
.links_h3{
    color: white;
    font-size: 30px;
    text-align: left;
}
.tile2x_counter{
    background-color: #d80073;
    margin: 4px;
    width: 334px;
    height: 160px;
    display: inline-block;
    list-style: none;
    text-align:left;
    border: 1px solid rgba(255, 255, 255, 0.1);

}
#twitter{
    background-color: rgb(29, 161, 242);
}
#discord{
    background-color: rgb(94, 92, 241);
}
#blog{
    background-color: #f0a30a;

}
#blog{
    background-color: #f0a30a;
}
.purple{
    background-color: #af00a9;
}
.tile2x img{
    margin: 40px 32px;
}

#surfox{
    margin: 45px 35px;
}
#surfoxtitle{
    text-align: center;
    position:absolute;
    margin: 50px 100px;
    font-size: 50px;
    color: white;
    font-family: 'Courier New', Courier, monospace;
}
#countertitle{
    text-align: left;
    position:absolute;
    margin: 3px 10px;
    font-size: 40px;
    line-height: 55px;
    color: white;
}
.midasi{
    background-color: #b4b4b494;
    text-align: center;
}
#profile{
    display: flex;
}
ul li p{
    position: absolute ;
    margin:135px 5px;
    color: white;
    font-size: 15px;
}
ul li img{
    position:absolute;
    margin: 50px;
}

footer{

    text-align: center;
}
.devicetag{
    border: #000000 4px solid;
    padding: 4px;
    margin: 1px;
    color: #000000;
}
.devicename{
    font-size:large;
    font-weight: bold;
}


@view-transition {
  navigation: auto;
}
@media screen and (max-width:640px) {

    ul{
        transform: translateY(0%);
    }
    body{
        width: 100%;
    }
    .tiles{
        text-align:center;
    }
    #toppage{
        background-color: #000;

    }

    header {
        width: 100%;
        height: 60px;
        background: #feb856;
        padding: 20px 20px;
        box-sizing: border-box;
        top: 0; 
        left: 0; 
        display: flex;
        align-items: center;
        font-size:10px;
        font-family:serif;
        }
    header a{
        color: black;
    }
    header img{
        float: left;
        margin-top :0px;
    }
    ul{
        margin-top: 16px;
    }
    .faketile{
        display:inline-block;
        opacity: 0;
    }
    .links_message{
        margin-left: 10px;
    }
    #links_main{
        display:block;
    }
    .tiles_links{
        text-align:center;
        margin: 0px;
        padding: 0px;
    }
    #profile{
        display: contents;
    }
}