html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'PT Sans', sans-serif;
}

:root {
    --main-color: rgb(54, 52, 201);
    --main-color-bright: rgb(117, 115, 255);
    --font-main-color: rgb(8, 5, 170);
    --font-color-bright: rgb(216, 216, 216);
    --font-color-bright-hover: rgb(190, 190, 190);
    --background-area: rgb(235, 237, 252);
    --transition-time: 150ms;
    --border-radius: 10px;
}

.d-none {
    display: none !important;
}

.d-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.font-color-main {
    color: var(--font-main-color);
}

.section {
    height: 100vh;
    position: absolute;
    bottom: 0;
    left: 200px;
    right: 0px;
}

.far {
    z-index: 5;
    cursor: pointer;
}

/* ------Navigation navbar---------------------- */

.nav {
    background-color: var(--main-color);
    width: 200px;
    height: 100vh;
    position: fixed;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    z-index: 10;
}

.links {
    display: flex;
    flex-direction: column;
}

.links a {
    color: var(--font-color-bright);
    font-size: 30px;
    padding: 13px 25px 13px 15px;
    margin: 3px 0px 3px 0px;
    white-space: nowrap;
    text-decoration: none;
    text-align: right;
    position: relative;
    right: -15px;
    border-radius: 10px 0px 0px 10px;
    transition: color var(--transition-time) ease-in-out, background-color var(--transition-time) ease-in-out, right var(--transition-time) ease-in-out, bottom var(--transition-time) ease-in-out, border-bottom var(--transition-time) ease-in-out, border-left var(--transition-time) ease-in-out;
}

.links a:hover {
    background-color: white;
    color: rgb(88, 88, 88);
    right: -7px;
}

.active {
    background-color: white !important;
    color: black !important;
    right: -7px !important;
}

.nav-profile-pic {
    height: 90px;
    border: 2px solid rgb(128, 128, 128, .8);
    border-radius: 50%;
}

.logged-user {
    color: var(--font-color-bright);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

/*-------------Input alert-----------------------*/

.input-alert-container {
    position: absolute;
    inset: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-alert {
    color: white;
    background-color: var(--main-color-bright);
    font-size: 30px;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0px 0px 10px rgb(36, 36, 36, 0.8);
    animation: zoomIn 230ms ease-in-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.4);
    }
    to {
        transform: scale(1);
    }
}

/* Responsive Navbar */

@media(max-width: 1000px) {
    .section {
        left: 150px;
    }
    .nav {
        width: 150px;
    }
    .links a {
        font-size: 22px;
        right: -12px;
    }
    .nav-profile-pic {
        height: 70px;
    }
    .nav-logo img {
        height: 60px;
    }
}

@media(max-width: 700px) {
    .section {
        left: 80px;
    }
    .nav {
        width: 80px;
    }
    .link-text {
        display: none;
    }
    .links a {
        font-size: 30px;
        padding: 10px 30px 10px 10px;
        right: -12px;
    }
    .links a:hover {
        right: -8px;
    }
    .active {
        right: -8px !important;
    }
    .nav-profile-pic {
        height: 50px;
    }
    .logged-user {
        font-size: 13px;
    }
    .nav-logo img {
        height: 50px;
    }
    .far {
        width: 35px;
        display: flex;
        justify-content: center;
    }
}

@media(max-width: 550px) {
    .section {
        height: inherit !important;
        left: 0px;
        top: 0;
        bottom: 100px;
    }
    .nav {
        background-color: var(--main-color);
        width: 100vw;
        height: 95px;
        position: fixed;
        bottom: 0;
        flex-direction: row;
    }
    .nav-logo {
        margin: 0px 7px 0px 26px;
    }
    .links {
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
    }
    .links a {
        font-size: 40px;
        border-radius: 0px 0px 10px 10px;
        padding: 25px 15px 15px 15px;
        right: 0;
        top: -12px;
    }
    .links a:hover {
        right: 0;
        top: -9px;
    }
    .active {
        right: 0 !important;
        top: -9px !important;
    }
    .logged-user {
        display: none;
    }
    .link-text {
        display: none;
    }
}