html, body {
    background-color: black;
    height: 100%;
    margin: 0;
}
body {
    -webkit-user-select: none;
    user-select: none;
}
* {
    font-family: Arial, Helvetica, sans-serif;
}
.box {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.butt {
    background-image: radial-gradient(circle, slategray, black);
    display: inline-block;
    font-size: 7vw;
    text-shadow: 3px 3px 3px black;
    padding: 9vmin 25vmin;
    border: 10px solid slategray;
    color: white;
    border-radius: 50px;
    cursor: pointer;
    position: absolute;
    transition: color 0.3s ease-in-out, border 0.2s ease-in-out, transform 0.5s ease;
    z-index: 1;
}
.butt:hover {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url("drivebg.jpg");
    background-position: center;
    background-size: cover;
    color: slategray;
    border: 2px solid rgb(163, 189, 214);
    transform: scale(0.95);
    border-radius: 50px;
    text-align: center;
}
.ryan, #ryanBg {
    display: none;
    opacity: 0;
    position: absolute;
    object-fit: cover;
}
.ryan {
    border-radius: 20px;
    width: 84vmin;
    height: 84vmin;
    box-shadow: 2px 2px 10px black;
}
#ryanBg {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    filter: blur(10px);
    z-index: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
#loading {
    display: block;
    font-size: 5vmax;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    color: burlywood;
    position: relative;
    z-index: 1;
    background-image: url('ryan_dobedrivin.gif');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 30%;
    width: 90%;
    padding: 0;
    border-radius: 40px;
    height: 90%;
    text-align: center;
    text-shadow: 4px 4px 4px black;
    animation: loading 0.7s infinite alternate ease-in-out;
    -webkit-animation: loading 0.7s infinite alternate ease-in-out;
}
#loadingBar {
    display: flex;
    align-items: center;
    position: absolute;
    text-align: center;
    bottom: 5%;
    left: 5%;
    border: 4px double burlywood;
    border-radius: 40px;
    width: 90%;
    overflow: hidden;
    height: 5%;
}
#loadingBarFill {
    display: block;
    transition: width 0.5s linear;
    z-index: -1;
    width: 0%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(212, 201, 185), burlywood);
}
#loadingRatio {
    display: inline-block;
    font-size: 2vmax;
    left: 47%;
    text-align: center;
    position: absolute;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    color: white;
}
.idrive {
    position: absolute;
    color: pink;
    font-family: sans-serif;
    font-size: 7vw;
    font-weight: bold;
    text-shadow: 0 0 10px lightpink;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.397);
    padding: 30vmin;
    animation: fadeinout 1.25s ease-in-out forwards;
}

@keyframes loading {
    from {
        font-size: 6vw; 
    }
    to {
        font-size: 7vw;
    }
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes fadeinout {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
    }
}

@keyframes popout {
    0% {
        transform: scale(0.25);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes popin {
    0% {
        transform: scale(1) ;
        opacity: 1;
    }
    100% {
        transform: scale(0.5) ;
        opacity: 0;
    }
}

@keyframes popoutIntro {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes popinIntro {
    0% {
        transform: scale(1) ;
        opacity: 1;
    }
    100% {
        transform: scale(0) ;
        opacity: 0;
    }
}

@keyframes popoutBG {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.5;
    }
}

@keyframes popinBG {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
    }
}