@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anta&display=swap');


:root{
    font-size: 16px;
    /* main colors */
    --main-color: #027382;
    --secondary-color: #ECECEC;
    --nav-button-hover-color: rgb(207, 207, 207);

    --color-1: #E7E2DC;
    --color-2: #C3DFE2;
    --color-3: #ABCED2;
    --color-4: #ABCED2;
    --color-5: #27888E;
    --color-6: #2D5354;

    /* or */
    --color-10: #F3D1B8;
    --color-20: #E0C1AD;
    --color-30: #D7B08F;
    --color-40: #EEE6D1;
    --color-50: #E6E2D6;
    --color-60: #C5C0AA;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    display: flex;
    height: 100%;
    width: 100%;
    background-color: var(--secondary-color);
    background-color: white;
}

.navbar{
    height: 100vh;
    width: 20rem;
    padding-top: 2rem;
    /*padding-bottom: 2rem;*/
    background-color: var(--secondary-color);
    background-color: white;
    position: fixed;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-right: 1px solid black;
    border-right: 1px solid silver;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    /*transition: all 1s ease;*/
}
.navbar-elements{
    display: flex;
    flex-direction: column;
    list-style: none;   
    margin-top: 1rem;
    font-size: 1rem;
    width: 100%;
    height: fit-content;
}
.navbar-elements li{
    /*padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;*/
    padding: 0rem;
    border-top: 1px solid black;

    border-top: 1px solid silver;
    display: flex;
}
#fi{
    border: none;
}

.navbar-elements .searchicon{
    text-decoration: none;
    color: black;
    display: flex;
    align-items: center;
    padding: 1rem;
    padding-left: 5rem;
    width: 100%;
    transition: scale .3s;
    background: transparent;
    border: none;
}
.navbar-elements .searchicon:hover{
    background-color: var(--nav-button-hover-color);
    scale: 1.1;
    border-radius: 0 1rem 1rem 0;
}
.navbar-elements .searchicon img{
    border: 1px solid silver;
}
.navbar-elements .searchicon{
    text-decoration: none;
    color: black;
    display: flex;
    align-items: center;
    padding: 1rem;
    padding-left: 5rem;
    width: 100%;
}
.navbar-elements a{
    text-decoration: none;
    color: black;
    display: flex;
    align-items: center;
    padding: 1rem;
    padding-left: 5rem;
    width: 100%;
    transition: scale .3s;
}
.navbar-elements a:hover{
    background-color: var(--nav-button-hover-color);
    scale: 1.1;
    border-radius: 0 1rem 1rem 0;
}

.navbar-elements a img{
    border: 1px solid silver;
}
.list-text{
    margin-left: 20px;
}
.post-button svg{
    display: none;
}
.post-button{
    color: rgb(255, 255, 255);
    text-decoration: none;
    margin-top: auto;
    width: 12rem;
    height: 3rem;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 2rem;
    background-color: var(--main-color);
    font-size: 2rem;
    cursor: pointer;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: scale .3s;
}
.post-button:hover{
    background-color: var(--color-6);
    scale: 1.02;
}
.logo h1{
    color: var(--main-color);
    font-family: Anta, sans-serif;
    font-size: 2.5rem;
}




.container{
    display: flex;
    padding: 3rem;
    padding: 1rem;
    margin-left: 20rem;
    height: 100%;
    flex-grow: 1;
    background: transparent;
    flex-direction: column;
}


.undo-button{
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: .8rem;
    pointer-events: auto;
}
.phone-header{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 900;
    display: none;
}
.phone-header div{
    position: absolute;
    height: 100%;
    top: 5px;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    z-index: 10;
    gap: 1rem;
}
.phone-header .searchicon{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    z-index: 10;
}
.phone-footer{
    position: fixed;
    display: none;
    bottom: 0;
    width: 100%;
    z-index: 900;
    background-color: white;
}
.phone-footer ul{
    display: flex;
    width: 100%;
    border-top: 1px solid silver;
    align-items: center;
    justify-content: space-between;
}
.phone-footer ul li{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: auto;
    padding-top: .4rem;
    width: 20%;
    height: 100%;
}


/* RESPONSIVE */

@media(max-width: 1200px) {
    .flexbox{
    margin-left: 5rem !important;
    }
    .container{
        margin-left: 5rem;
    }
    .navbar{
        width: 5rem;
        padding: 0;
    }
    .navbar .list-text{
        display: none;
        margin-left: 0;
    }
    .settings-nav .list-text{
        display: flex;
        margin-left: 20px;
    }
    .navbar .post-button{
        width: 3rem;
        height: 3rem;
    }
    .post-button svg{
        display: block;
    }
    .navbar .post-button span{
        display: none;
    }
    .navbar .navbar-elements .searchicon{
        padding: 1rem !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .navbar .navbar-elements a{
        padding: 1rem !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .settings-nav .navbar-elements a {
        padding-left: 3rem !important;
        display: flex;
        align-items: unset;
        justify-content: unset; 
    }
    .navbar .navbar-elements li{
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
    .navbar .logo h1{
        display: none;
    }
    .navbar .logo img{
        display: block !important;
    }
    .navbar .Footer{
        align-items: center;
        padding-left: 0.2rem;
    }
    .navbar .Footer .links ul{
        flex-direction: column;
        gap: 0;
    }
    .navbar .Footer .copyright p{
        text-align: center;
    }    
}

@media(max-width: 478px) {
    .navbar{
        display: none
    }
    .flexbox{
        margin-left: 0 !important;
    }
    .container{
        margin-left: 0;
        padding: 0 !important;
        margin-top: 3rem !important;
    }
    .phone-footer{
        display: flex !important;
        position: fixed;
    }
    .phone-header{
        display: flex !important;
        pointer-events: none;
        align-items: center;
        height: 40px;
        z-index: 2;
    }
}
