@import url('buttons.css');
@import url('cards.css');
@import url('text.css');
@import url('swipe.css');
@import url('flashes.css');

:root {
    --main-bg-color: #ffffff;
    --phone-bg-color: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --btn-hover: rgba(0, 0, 0, 0.02);
    --btn-click: rgba(0, 0, 0, 0.04);
    --border-radius: 15px;
}

/* Prevent mobile zoom on text fields */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="search"],
textarea,
select {
  font-size: max(16px, 1em);
}

.icon {
   /* -webkit-filter: invert(1);
   filter: invert(1); */
   color: white;
}

body {
    display: flex;
    font-family: sans-serif;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    overscroll-behavior: none;
    overflow: hidden;
    background: var(--main-bg-color);
    box-sizing: border-box;
    margin:0;
}

.phone {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    text-align: left;
    box-sizing: border-box;
    background-color: var(--phone-bg-color);
    border-radius: 16px;
    width: 360px;
    height: 800px;
    box-shadow: 0 4px 20px var(--shadow-color);
    padding: 1rem;

}

/*media query for phones */
@media (max-width: 480px) {
    .phone {
        width: 100%;
        height: 100%;
        border-radius: 0;
        box-shadow: none;
    }
}

/* Footer */

.footer-menu {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 10%;

    position: absolute;
    bottom: 0;
    left: 0;

    box-sizing: border-box;
    padding: 0.5rem;

    border-top: 1px solid black;
    background-color: var(--phone-bg-color);
}


/* Menu page */
.logo-txt {
    display: flex;
    font-size: xx-large;
    font-weight: bold;
}

.logo-img {
    display:flex;
    flex: 1;
    height: 30%;
    align-items: center;
    justify-content: center; 
}


/* Library */
.scroll-area {
    border: 1px solid black;
    border-radius: 15px;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem;
    margin-bottom: 1rem;

    /* Hide scrollbar - Firefox */
    scrollbar-width: none;

    /* Hide scrollbar - IE/Edge (old) */
    -ms-overflow-style: none;
}

/* Hide scrollbar - Chrome, Safari */
.scroll-area::-webkit-scrollbar {
    display: none;
}

.horiz-scroll-area {
    border: 1px solid black;
    border-radius: 15px;
    max-width: 100%;
    margin-bottom: 1rem;
    display: flex;
    overflow-y: hidden;
    overflow-x: auto;
    padding: 0.5rem;
}

.lib-toggle {
    /* border-radius: 50px; */
    border: 1px solid black;
}

/* Search */
.search-box {
    border: 1px solid black;
    border-radius: 15px;
    width: 100%;
    margin-top: 1rem;
    display: flex;
    padding: 0.5rem;
}