@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;600;700&display=swap');

body{
    font-family: 'Roboto Mono', monospace;
    display: flex;
    justify-content: center;
    overflow-y: scroll;
    box-sizing: border-box;
}

h1, p{
    font-weight: 500;
}

p > span{
    font-weight: 400;
    font-size: 2.2em;
}

#container{
    width: 65vw;
    margin-top: 1.5em;
    display: flex; 
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
}

#input-container{
    margin-bottom: 50px;
}

#input-container > * > *{
    font-family: monospace;
    font-weight: 700;
}

p#title-logo{
    font-size: 1.5em;
    font-weight: bold;
}

input{
    padding: 10px;
    border: 5px solid black;
    border-radius: 0;
    transition: background-color 0.2s ease-in-out;
    border-radius: 0.3rem;
}

input:focus{
    background-color: gold;
}

button#generate{
    padding: 10px 12vw;
    border: 5px solid black;
    background-color: white;
    transition: all 0.2s ease-in-out;
    border-radius: 0.3rem;
    cursor: pointer;
    font-size: 1.2em;
}

.fa-list-check:before,
.fa-tasks:before {
    font-size: 0.7em;
}

button#generate:hover{
    box-shadow: 5px 5px gold;
    transform: translateY(-2px);
}

button#generate:focus{
    box-shadow: 5px 5px gold;
}

div#heading{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 2em;
}

div#input-generate-container{
    display: flex;
    justify-content: center;
}

#inputText{
    margin-right: 10px;
}

div#errMsgBox{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    border-radius: 5px;
    padding: 0 10px;
    visibility: hidden;
}

#errMsg{
    font-size: 0.8rem;
}

#errCloseButton{
    margin-left: 20px;
    background-color: #ff9090;
    border-radius: 15%;
    padding: 6px 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


/* accordian container */
.accordian-item{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 1.5em;
}


/* accordian head css */
.accordian-item-head{
    display: flex;
    justify-content: center;
    position: relative;
    cursor: pointer;
    /* background-color: #59F44B; */
}

.circle-emoji {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: -23%;
    right: 6.2%;
    border: 0.18rem solid black;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.emoji-menu {
    /* width: fit-content; */
    /* height: fit-content; */
    background: white;
    position: absolute;
    z-index: 4;
    border: 0.18rem solid black;
    font-size: 1.5rem;
    left: 90%;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 10px;
    max-height: 240px;
    /* overflow-y: scroll; */
    overflow-x: hidden;
}

.emoji-menu>div {
    margin: 5px 0;
    background-color: rgb(176, 218, 255);
    min-width: 40px;
    min-height: 40px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.emoji-menu>div:hover {
    background-color: #4b6af4;
}

.emoji-menu>div>span {
    display: inline-block;
    position: absolute;
    left: 115%;
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.7px;
}

/* .emoji-menu>div:hover>span {
    display: block;
} */


.item-head-display{
    width: 59vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #DFFFF4;
    padding: 0 2vw;
    border-radius: 0.3rem;
    border: 0.18rem solid black;
}

.circle{
    height: 25px;
    width: 25px;
    background-color: #59F44B;
    border-radius: 0.3rem;
    display: inline-block;
}

.item-head-toggle{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 10px;
    width: 5vw;
}

.item-head-toggle > p{
    margin-top: 0;
}


/* toggle switch */
.item-head-arrow{
    font-size: 3em;
    transition: transform 0.2s ease-in-out;
}

/* accordian body css */
.accordian-item-body{
    display: flex;
    justify-content: space-between;
    margin-top: 1em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    /* background-color: #59F44B; */
}

.accordian-body-display{
    display: flex;
    justify-content: space-between;
    width: 63vw;
}

.item-body-stopwatch{
    display: flex;
    flex-direction: column;
    /* padding-left: 2vw; */
}

.item-body-stopwatch > span.display{
    font-size: 4.2em;
    border-radius: 0.3rem;
    width: fit-content;
}

.stopwatch-buttons{
    margin-top: 1.5em;
    display: flex;
    justify-content: space-between;
}

.stopwatch-buttons > button{
    border: black solid 0.18rem;
    background-color: white;
    font-size: 1.2em;
    font-weight: 700;
    padding: 6px 5px;
    width: 49%;
    /* width: 5.5em; */
    cursor: pointer;
}

.stopwatch-buttons > button.playPauseButton{
    display: block;
    background-color: #59F44B;
    border-radius: 0.3rem;
    transition: all 0.2s ease-in;
}

.stopwatch-buttons > button.resetButton{
    background-color: #F4ED4B;
    border-radius: 0.3rem;
    transition: all 0.2s ease-in;
}

.stopwatch-buttons > button:hover{
    transform: translateY(-3px);
    box-shadow: 1.5px 2px black;
}

.delete{
    width: 5vw;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 1.5vh;
}

.delete-icon{
    font-size: 1.9em;
    color: #FF4646;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delete-icon:hover{
    transform: scale(1.1);
}

/* side logo fixed thingy */
.side-logo{
    width: 50px;
    height: 50px;
    background-color: #4b6af4;
    position: fixed;
    right: 0;
    bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px 0 0 5px;
    transition: width 0.2s ease-out;
}

.side-logo p{
    display: none;
    text-align: center;
    color: white;
}

.side-logo:hover p{
    display: block;
    font-size: 1.2rem;
    margin-left: 10px;
}

.side-logo:hover{
    width: 110px;
}

.side-logo:hover .fa-house{
    margin-left: 2px;
    color: white;
}

.fa-house{
    font-size: 1.4em;
    color: #F4D54B;
}

/* scrollbar */
/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #4b6af4;
}

@media (max-width: 1200px) and (min-width: 992px) {
    .item-body-stopwatch > span.display{
        font-size: 3.8em;
    }

    .stopwatch-buttons > button{
        width: 7em;
        margin-right: 2vw;
    }

    .item-head-display > h1{
        font-size: 1.6em;
    }

    .item-head-display > p > span{
        font-size: 2em;
    }

    .item-head-toggle > p{
        font-size: 14px;
    }
    
    .item-head-arrow{
        font-size: 2.6em;
        transition: transform 0.2s ease-in-out;
    }
}

@media (max-width: 992px){
    .item-body-stopwatch > span.display{
        font-size: 3.2em;
    }

    .stopwatch-buttons > button{
        width: 5.8em;
        margin-right: 2vw;
    }

    .item-head-display > h1{
        font-size: 1.6em;
    }

    .item-head-display > p{
        font-size: 12px;
    }

    .item-head-display > p > span{
        font-size: 2em;
    }

    .item-head-toggle > p{
        font-size: 12px;
    }
    
    .item-head-arrow{
        font-size: 2.6em;
        transition: transform 0.2s ease-in-out;
    }

    .circle{
        height: 20px;
        width: 20px;
    }

    .delete-icon{
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    #heading{
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    #heading #title-logo{
        font-size: 2em;
    }

    #input-generate-container{
        display: flex;
        flex-direction: column;
    }

    #input-generate-container > *{
        margin-bottom: 0.5em;
    }
    
    #inputText{
        margin: 10px 0;
    }

    button#generate{
        padding: 10px 20vw;
    }

    .item-head-display{
        width: 50vw;
        flex-direction: column;
    }

    .item-head-display > h1{
        font-size: 2.2em;
        margin: 10px;
    }

    .item-head-display > p{
        font-size: 14px;
        margin-top: 0px;
    }

    .item-head-display > p > span{
        font-size: 2em;
    }

    .circle{
        height: 16px;
        width: 16px;
    }

    .accordian-item-body{
        flex-direction: column;
        align-items: center;
    }

    .accordian-body-display{
        justify-content: center;
        width: 54vw;
    } 


    .item-head-toggle{
        display: none;
    }

    .delete{
        margin-top: 5vh;
    }

    .item-body-textarea{
        display: none;
    }
}


@media (max-width: 576px) {
    button#generate {
        padding: 10px 0;
        width: 82vw;
    }

    .item-head-display{
        width: 80vw;
    }
    
    .accordian-body-display{
        width: 70vw;
    }
    
    .delete-icon{
        font-size: 1.6em;
    }

}

/* Extra class added later */
.unselectable {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* date on side */
#dateOnSide {
    position: fixed;
    top: 50%;
    left: 42px;
    font-weight: 500;
    transform: translate(-50%, -50%);
    writing-mode: vertical-rl;
    text-orientation: upright;
}

#dateOnSide span:first-child {
    font-weight: 800;
    font-size: 1.1em;
}

@media (max-width: 576px) {
    #dateOnSide {
        display: none;
    }
}