@import url('https://fonts.googleapis.com/css2?family=Cutive+Mono&display=swap');

:root{
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.settingsButton{
    aspect-ratio: 1/1;
    width: 5%;
    z-index: 2;
    position: relative;

    @media only screen and (orientation: portrait) {
        &{
            width: 15%;
        }
    }

    svg{
        position: relative;
        bottom: 100%;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    input{
        background: transparent;
        border: none;
        font-size:0;
        position: relative;
        width: 100%;
        height: 100%;
        z-index: 2;
    }
}

.panel{
    z-index: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.watch{
    display: flex;
    font-size: 12dvw;
    font-family: "Cutive mono";
    font-weight: bold;
    flex-direction: row;
    flex-shrink: 3;

    @media only screen and (orientation: portrait){
        &{
            flex-direction: column;
            gap: 2px;
            justify-content: center;
            font-size: 20dvw;

            .spacer{
                display: none;
            }
        }
    }

}

.settings{
    z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.75);

    .settingsContent{
        position: relative;
        background-color: white;
        border-radius: 50px;
        width: 30%;
        height: 30%;
        top: 30%;
        left: 30%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 10%;
        align-items: center;

        @media only screen and (orientation: portrait){
            &{
                width: 90%;
                left: 5%;
            }
        }

        #timeShiftInput{
            height: 15%;
            width: 90%;
        }   

        #submitButton{
            height: 15%;
            width: 90%;
        }
    }
}

.myAlertPanel{
    display: flex;
    flex-direction: column-reverse;
    position: absolute;
    width: 15%;
    height: 95%;
    right: 3%;
    top: 2.5%;
    gap: 10px;
    font-size: 20px;

    @media only screen and (orientation: portrait) {
        &{
            width: 94%;
        }
    }

    .myAlert{
        width: 100%;
        border-radius: 10px;
        text-align: center;
    }
}