@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap");
body {
    margin: 0;
    color: white;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
}

#instructions {
    display: none;
}

#results,
body:hover #instructions {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background-color: rgba(20, 20, 20, 0.75);
}

a:visited {
    color: inherit;
}

#results {
    display: none;
    cursor: default;
}

#results .content,
#instructions .content {
    max-width: 300px;
    padding: 50px;
    border-radius: 20px;
}

#score {
    position: absolute;
    color: white;
    font-size: 3em;
    font-weight: bold;
    top: 30px;
    right: 30px;
}

#youtube,
#youtube-card {
    display: none;
    color: black;
}

@media (min-height: 425px) {
    #youtube {
        z-index: 50;
        width: 100px;
        height: 70px;
        position: fixed;
        bottom: 20px;
        transform: scale(0.8);
        transition: transform 0.5s;
    }
    #youtube {
        display: block;
        right: 20px;
        border-radius: 50% / 11%;
    }
    #youtube:hover,
    #youtube:focus {
        transform: scale(0.9);
        color: black;
    }
    #youtube::before {
        content: "";
        display: block;
        position: absolute;
        top: 7.5%;
        left: -6%;
        width: 112%;
        height: 85%;
        border-radius: 9% / 50%;
        background: url(https://cdn.discordapp.com/attachments/829060420559831102/1232994399697371157/BUC_GAMES_LOGO.png?ex=662b7b04&is=662a2984&hm=1372c4ff366b412a9ebefc37266e590417950111357b95301f5e61cb2fd0d018&/);
        background-size: 100% 100%;
    }
    #youtube::after {
        content: "";
        display: block;
        position: absolute;
        top: 20px;
        left: 40px;
        width: 45px;
        height: 30px;
        border: 15px solid transparent;
        box-sizing: border-box;
    }
    #youtube span {
        font-size: 0;
        position: absolute;
        width: 0;
        height: 0;
        overflow: hidden;
    }
    #youtube:hover+#youtube-card {
        z-index: 49;
        display: block;
        position: fixed;
        bottom: 12px;
        width: 300px;
        background-color: rgb(147, 255, 232);
    }
    #youtube:hover+#youtube-card {
        right: 10px;
        padding: 25px 130px 25px 25px;
    }
}