/* Copyright 2024 - arongeo */

@font-face {
    font-family: comicSans;
    src: url("comic.ttf");
}

@font-face {
    font-family: Arvo;
    src: url("Arvo.ttf");
}

#heheing_link_p {
    font-size: 1em;
    /* Again, what did you expect from hehe.ing */
    font-family: comicSans;
    text-align: center;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: 0px;
    margin-top: 2px;
    margin-bottom: 10px;
    color: white;
}

#heheing_link {
    text-decoration: none;
    transition: all 0.2s;
}

#heheing_link:hover {
    text-decoration: underline wavy;
    text-decoration-line: underline wavy;
    text-underline-offset: 3px;
}

#site_description {
    font-size: 1em;
    font-family: Arvo;
    text-align: center;
    margin-top: 0px;
    padding-top: 5px;
    margin-bottom: 10px;
}

input {
    border: none;
    width: 75%;
    border-bottom: 5px solid rgb(0, 0, 0, 0.5);
    font-size: 48px;
    text-align: center;
    transition: border 0.3s;
    margin-bottom: 15px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: none;
}

input:focus {
    outline: none;
}

#guess_field {
    background-color: white;
    width: 50vw;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 150px;
    box-shadow: 10px 10px 10px;

    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@media only screen and (min-width: 900px) {
    #win_trophy {
        width: 30%;
        height: 30%;
    }

    #guess_field {
        background-color: white;
        width: 50vw;
        height: 50vh;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 150px;

        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .rgbval {
        width: 30%;
        display: flex;
        align-items: center;
        flex-direction: column;
    }
}

@media only screen and (max-width: 900px) {
    #win_trophy {
        width: 70%;
        height: 30%;
    }

    #guess_field {
        background-color: white;
        width: 60vw;
        height: 70vh;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        
    }

    .rgbval {
        width: 80%;
        display: flex;
        align-items: center;
        flex-direction: column;
    }
}

.rgbval svg {
    transform: rotate(180deg);
    transition: all 0.3s;
}

#win_modal_bg {
    transition: 0.5s all;
    position: absolute;
    display: none;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

#win_modal_window {
    font-family: Arvo;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    width: 50vw;
    height: 75vh;
    border-radius: 25px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#win_trophy {
    margin-bottom: 10px;
}

.win_p {
    margin: 5px 0;
}

.win_h3 {
    margin: 0 10px;
}

#restart_btn {
    font-size: 1.2em;
    width: 50%;
    height: 10%;
    border-radius: 50px;
    border: none;
    transition: 0.2s all;
}

#restart_btn:hover {
    -webkit-filter: invert(1);
    filter: invert(1);
    cursor: pointer;
}
