/* #FF5757 */
:root {
    --background-color: #d7d7d7;
    --topFrame-background-color: linear-gradient(90deg, #D90B31, #00d1cd); /* Corrected here */
    --text-color: black;
    --button-background: #FFFFFF;
    --button-shadow: 0 0 5px gray;
    --footer-background: white;
}

.dark-mode {
    --background-color: #313030;
    --topFrame-background-color: linear-gradient(90deg, #D90B31, #00d1cd); /* Corrected here */
    --text-color: white;
    --button-background: #3a3a3a;
    --button-shadow: 0 0 5px black;
    --footer-background: #3a3a3a;
}

@font-face {
    font-family: 'CustomFont';
    src: url('static/fonts/tittle.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    background-color: var(--background-color);
    font-family:'CustomFont', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: var(--text-color);
}

#title {
    font-size: 35px;
    font-weight: bold;
    font-style: Times;
    color: whitesmoke;
    margin: 0;
    padding: 0;
    text-align: center;
    flex-grow: 1;
}

#menuButton,#false_div{
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    margin:0px;
}

#menuButton{
    margin-left: 10px;
    margin-right: auto;
}

#false_div{
    margin-right: 10px;
    margin-left: auto;
}

.icon{
    width: 30px;
    height: 30px;
    background-color: transparent;
}

#topFrame {
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    height: 50px;
    width: 100%;
    background: var(--topFrame-background-color);
    box-shadow: 0 0 5px var(--button-shadow);
    margin: 0;
    margin-bottom: 20px;
}

#buttonsContainer{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap:20px;
    overflow-y: auto;
    height: 100%;
    padding: 0;
    margin:0;
    padding-top: 20px;
    padding-bottom: 20px;
    justify-content: center;
    background-color: var(--background-color);
}

#topFrame.blur, #buttonsContainer.blur {
    filter: blur(5px);
}

body.no-scroll, #topFrame.no-scroll, #buttonsContainer.no-scroll {
    overflow: hidden;
}

.modeButton{
    width: 182px;
    height: 180px;
    border-radius: 20%;
    filter: drop-shadow(12px 8px 10px var(--button-shadow));
    background-color: var(--button-background);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-width: 5px;
    overflow: hidden;
    cursor: pointer;
}

.buttonIcon{
    width: 80%;
    height: 80%;
    margin:0;
    
}

.buttonText{
    margin:0;
    text-align: center;
    font-size: 20px;
    z-index: 1;
}

#footer{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 100%;
    background-color: white;
    box-shadow: 0 0 5px gray;
    margin:0;
    margin-top: 20px;
    margin-bottom: 0px;
}

#footerText{
    margin:0;
}

#overlay{
    position: fixed;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background-color: #009292;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    transition: left 0.3s;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-items: center;
}

#overlay.open {
    left: 0;
}

#overlay header{
    width:100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    color: white;
    height:50px;
    box-shadow: 0px 2px 10px var(--button-shadow);
}

#overlay #closeButton{
    background-color: transparent;
    border:none;
    width:50px;
    height:50px;
    cursor: pointer;
    padding:0;
}

#overlay #closeButton img{
    width: 100%;
    height: 100%;
    background-color: transparent;

}

#profileDetails{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    margin-top: 50px;
}

#profilePic{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 5px solid whitesmoke;
}

#paitientName{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-wrap: space;
    text-align: center;
    color:whitesmoke;
}

.overlayButton{
    width: 90%;
    margin:20px;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: white;
    box-shadow: 0px 2px 10px var(--button-shadow);
    cursor: pointer;
    margin-bottom: 20px;
    gap:20px;
}

.overlayButton .handText{
    font-size: 16px;
    font-weight: bold;

}