html{
    margin: 0;
    min-height: 100%;
}

body{
    margin: 0;
    min-height: 100vh;
    font-family: 'Pixelify Sans', sans-serif;
}

.welcome{
    grid-template-columns: 1fr;
    display: grid;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(rgb(0, 0, 0), rgb(32, 32, 32), rgb(29, 28, 28), rgb(0, 0, 0));
    width: 100%;
    height: 100vh;
    z-index: 1;
    grid-area: 1 / 1;
}

#title{
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    justify-self: center;
    align-self: top;
    grid-area: 1 / 1;
    align-self: start;
}

#cat-with-eyes{
    position: relative;
    justify-self: end;
    margin-right: 10px;
    grid-area: 1 / 1;
}

.pupil {
    position: absolute;
    width: 25px;
    height: 65px;
    border-radius: 50%;
    background-image: linear-gradient(to top, rgb(17, 17, 17), rgb(0, 0, 0), rgb(0, 0, 0));
    border: thin solid;
}

#sign{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    justify-self: start;
    align-self: center;
    grid-area: 1 / 1;
    margin-left: 40px;
}

#pass-field{
    background: none;
    border: thin solid rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    height: 5vh;
    width: 20vw;
    padding-left: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 1rem;
}

#enter-os{
    background: none;
    border: thin solid rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    height: 7vh;
    width: 10vw;
    color:rgba(255, 255, 255, 0.8);
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 1rem;
    margin-top: 2vh;
}

#enter-os:hover{
    color:rgba(107, 106, 106, 0.8);
    background-color: rgba(0, 0, 0, 0.1);
}

#pass-title{
    position: relative;
    right: 7vw;
    color:rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
}

#pass-note{
    color:rgba(168, 168, 168, 0.8);
    font-size: 0.7rem;
    text-decoration: underline;
}

.os{
    display: grid;
    position: relative;
}


#wallpaper{
    display: grid;
    z-index: 1;
    grid-area: 1 / 1;

}

#cat{
    display: flex;
    grid-area: 1 / 1;
    z-index: 2;
    height: 150px;
    width: 150px;
    justify-self: center;
    align-self: center;
    justify-content: center;
    align-content: center;
    border: solid;
    border-width: 5px;
    border-radius: 1000px;
    padding: 3vh;
    border-color: rgb(24, 24, 24);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
    background-image: linear-gradient(rgb(32, 32, 32), rgb(29, 28, 28), rgb(0, 0, 0));
}

#cat_bg{
    justify-self: center;
    align-self: center;
}

#bg{
    grid-area: 1 / 1;
    z-index: 1;
}

.bar{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center; 
    position: absolute;
    width: 100%;
    height: 8vh;
    backdrop-filter: blur(10px);
    background-color: rgba(116, 116, 116, 0.2);
    z-index: 4;
}

#logout{
    border:rgba(255, 255, 255, 0.8);
    border-radius: 100px;
    height: 35px;
    width: 35px;
    margin: 1vh;
    background-color: rgba(5, 5, 5, 0.3);
    display: flex;
}

#logout:hover{
    background-color: rgba(5, 5, 5, 0.8);
}

#logout-img{
    margin: 1vh;
    align-self: center;
    justify-self: center;
}

#time{
    margin-right: 1.5vh;
    text-decoration: underline;
    color: rgba(255, 255, 255, 0.8);
}

.screen{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start; 
    height: 100vh;
    z-index: 2;
    grid-area: 1/1;
    background-color: transparent;
    padding: 70px;
}

#warning{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: solid;
    height: 55vh;
    width: 50vw;
    background-color: #424242ce;
    z-index: 3;
}

#warningheader{
    padding: 30px;
    cursor: move;
    background-color: #050505ce;
    color: rgba(255, 255, 255, 0.8);
}

#warning-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#warning-buttons{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center flex-end;
}

#warning-text{
    font-size: 2rem;
    height: 20vh;
}

.button{
    height: 10vh;
    width: 15vw;
    position: relative;
    background-color: #2e2e2ece;
    border-color: transparent;
    border-radius: 5px;
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 1.5rem;
}

.button:hover{
    background-color: rgba(5, 5, 5, 0.6);
}

.apps{
    top: 8vh;
    bottom: 0; 
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 15px; 
}

.program{
    background-color: rgba(155, 155, 155, 0.2);
    border-color: transparent;
    border-radius: 10px;
    position: relative;
}

.program:hover{
    background-color: rgba(34, 34, 34, 0.6);
}

.app{
    display: flex;
    flex-direction: column;
    height: 90vh;
    width: 60vw;
    border: solid;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    overflow:auto;
    scrollbar-color: rgb(26, 25, 25) rgba(190, 190, 190, 0.8);
    scrollbar-width: thin;
}

#appheader{
    position: relative;
    padding: 20px;
    cursor: move;
    background-color: #050505ce;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

#headertext{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
}

.app{
    height: 550px;
    width: 1000px;
}

#app-content{
    flex: 1; 
    overflow-y: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
    gap: 15px;
    min-height: 0; 
}

#app-texttitle{
    text-align: center;
    max-width: 70%;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.4;
    margin: 0;
}

#app-maintext{
    text-align: center;
    max-width: 60%;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.4;
    margin: 0;
}

.close{
    font-family: 'Pixelify Sans', sans-serif;
    height: 40px;
    width: 40px;
    font-size: 2rem;
}

#cat-with-eyes-app{
    border-color: transparent;
    background-color: transparent;
}

.chatapp{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

#right_side{
    height: 100%;
    border: solid;
    border-radius: 10px;
    border-color: rgb(26, 25, 25);
    background-color: rgba(34, 33, 33, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.chat-container{
    display: flex;
    height: 100%;
    width: 70%;
    border: solid;
    margin-left: 20px;
    border-radius: 10px;
    border-color: rgb(26, 25, 25);
    background-color: rgba(34, 33, 33, 0.295);
    flex-direction: column;
}

.input-area{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding: 10px;
}

#user-input{
    background: none;
    border: thin solid rgba(255, 255, 255, 0.781);
    border-radius: 10px;
    height: 5vh;
    width: 20vw;
    padding-left: 10px;
    color: black;
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 1rem;
    margin-right: 10px;
}

#send-btn{
    background: none;
    border: thin solid rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 1rem;
}

#send-btn:hover{
    background-color:rgba(0, 0, 0, 0.2); 
}

.messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-message{
    max-width: 70%;
    padding: 8px 12px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    word-wrap: break-word;
}

.bot-message{
    max-width: 70%;
    padding: 8px 12px;
    border-radius: 10px;
    background-color: rgba(29, 29, 29, 0.3);
    word-wrap: break-word;
}
