@font-face {
    font-family: Westmeath;
    src: url(../Fonts/Westmeath.ttf) format("truetype");
}

body{
    margin: 0;
    overflow: hidden;
}

.Background{
    height: 100vh;
    width: 100vw;
    background-image: url(BackgroundL.png);
    background-size: cover;
    background-color: rgb(248, 255, 185);
    overflow: hidden;
}
.TREX{
    margin-top: 15vh;
    height: min(89vh,800px);
    margin-left: -34vw;
}

.Character{
    height: min(28vh,250px);
    position: absolute;
    bottom: 7vh;
    overflow: hidden;
    visibility: visible;
}

.Block{
    width: 70px;
    height: 110px;    
    background-image: url(Log.png);
    background-size: cover;
    position: relative;
    margin-top: -72vh;

}

.Score{
    font-family: Westmeath;
    font-size: clamp(18px,1.6vw,30px);
    color: wheat;
    margin-left: 20px;
    margin-top: 10px;
    position: absolute;
    background-color: rgb(0, 21, 41);
    padding: 12px;
    border-radius: 20px;
    overflow: hidden;
}

.Box{
    width: 100vw;
    height: 100vh;
    background-color:rgb(31, 31, 31);
    position: absolute;
    visibility: hidden;
    overflow: hidden;
}

.AfterG{
    margin-top: 20px;
    margin-left: 200px;
}

.NotSupported{
    width: 55vw;
    height: auto;
    background-color: rgb(254, 219, 138);
    padding: 0.5rem;
    border-radius: 1rem;
    color: rgb(210, 85, 29);
    font-family: Westmeath;
    font-weight: 100;
    font-style: oblique;
    text-align: center;
    line-height: 1.5;
    font-size: 0.6rem;
    position: absolute;
    top: 20vh;
    display: none;
    left: 50vw;
    transform: translate(-50%,-50%);
}

.RunText{
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(254, 219, 138);
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    color: rgb(210, 85, 29);
    font-family: Westmeath;
    line-height: 0;
    font-weight: 100;
    font-style: oblique;
    text-align: center;
    font-size: 1rem;
    position: absolute;
    top: 10vh;
    left: 50vw;
    transform: translate(-50%,-50%);
    opacity: 26%;
}

.NotSupportedClick{
    font-size: 1rem;
    text-decoration: none;
    color: rgb(210, 85, 29);
}

@media (max-width:800px){

    .TREX{
        height: 58vh;
        position: absolute;
        top: 22vh;
        left: -80vw;
    }

    .Character{
        height: 25vh;
        position: absolute;
        bottom: 10vh;
        left: 50vw;
        overflow: hidden;
        visibility: visible;
    }

    .NotSupported{
        display: block;
    }

    .RunText{
        display: none;
    }

}

.Home{
    width: 100px;
    height: 50px;
    border-radius: 50px;
    top : 2%;
    right : 2%;
    position: absolute;
    background-color: black;
    font-family: Westmeath;
    color: wheat;
    font-size: 30px;
}