body {
    margin: 0px;
    background-color: rgb(41, 41, 41);
    transition: ease-in-out 600ms;
}

a {
    font-family: bebas-neue-pro, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 5vh;
}
/* Main Content */

.main {
    color: antiquewhite;
}

.block {
    border-radius: 3vh;
    margin: 3.1vh;
    background-color: rgb(53, 53, 53);
    width: 85%;
    min-height: 10vh;
    height: fit-content;
    padding: 10px;
    float:inline-start;
    margin: auto;
    margin-top: 2vh;
    margin-bottom: 2vh;
    display: flex;
}

.block .navarrow {
    position: absolute;
    right: 8%;
    width: 5vh;
    margin-top: 2vh;
}

.blockshide {
    display: none
}

.blocks {
    font-family: bebas-neue-pro, sans-serif;
    font-weight: 300;
    font-style: normal;
    width: 100%;
    display: none;
    justify-content: center;
}

.block img {
    border-radius: 10px;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    display: flex;
}

.block h1 {
    margin-left: 1vh;
    font-size: 5vh;
    text-align: left;
}

.block .score {
    position: absolute;
    margin-left: 2vh;
}

.block .kda {
    text-align: center;
    margin: auto;
}

.block .splashimg {
    width: 40%;
    object-fit: cover;
    height: 12.5vh;
    margin-left: 1vh;
}

.matchbox {
    color: azure;
    display: none;
    width: 96%; 
    min-height: 70vh;
    top: 0;
    right: 0;
    background-color: grey;
    margin: 1.5%;
    padding: 0.5%;
    font-family: Arial, Helvetica, sans-serif;
    padding-bottom: 2vh;
}

.matchbox .closebtn {
    width: 7vh;
    margin: 1.5vh;
}

.matchbox .score {
    width: 100%;
    text-align: center;
    font-weight: 500;
    font-size: 7vh;
    margin-top: 0;
}

.matchbox .gm {
    width: 100%;
    text-align: center;
    font-size: 3vh;
}

.matchbox .teams {
    display: flex;
}

.matchbox .red {
    min-width: 45%;
    margin: auto;
}

.matchbox .blue {
    min-width: 45%;
    margin: auto;
}

.matchbox .player {
    background-color: mediumaquamarine;
}

.matchbox .red .player {
    background-color: firebrick !important;
}

.matchbox .blue .player {
    background-color: deepskyblue !important;
}

.matchbox .player {
    display: flex;
    border-color: #161414;
    border-style: solid;
}

.matchbox .player h1 {
    margin: 3vh;
    font-size: 4vh;
}

.matchbox .player img {
    width: 9vh;
    height: 9vh;
}

@media (max-width: 150vh) {
    .matchbox .teams {
        display: block;
    }
    .matchbox .player {
        display: block;
    }
    .matchbox .player-i-container {
        display: flex;
    }
}

#error {
    display: none;
}
       
.loadingscreen {
    display: block;
    text-align: center;
    color: #fcfcfc;
}


.rotated-device-error {
    color: #2e3192;
    border: 2vh #161414;
    display: none;
}