@font-face {
    font-family: 'poppins';
    src: url(./assets/fonts/poppins-regular-webfont.woff2),
        url(./assets/fonts/poppins-regular-webfont.woff);
    font-weight: 400;
}

@font-face {
    font-family: 'poppins';
    src: url(./assets/fonts/poppins-medium-webfont.woff2),
        url(./assets/fonts/poppins-medium-webfont.woff);
    font-weight: 500;
}

:root {
    --colorAlpha: #E2E7E2;
    --colorBeta: #F19F6F;
    --colorSnow: #ffffff;
}

* {
    margin: 0px;
    padding: 0px;
}

body {
    background-color: var(--colorAlpha);
    font-family: 'poppins';
    font-size: 14px;
}

.favIcon img {
    width: 100%;
}

.s--icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
    width: 35px;
}

.s--icon img:hover {
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    background-color: var(--colorAlpha);
}

.s--icon svg,
.s--icon img {
    height: 100%;
    width: 100%;
}

.su--icon img {
    height: 25px;
    width: 25px;
}

.container {
    display: grid;
    grid-template-columns: 150px 450px 800px;
    grid-template-rows: 100px 1fr;
    padding: 50px;
    margin-right: 200px;
    gap: 50px;
}

.sideNav {
    display: grid;
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    grid-template-rows: 200px 1fr;
    background-color: var(--colorSnow);
    padding: 50px 20px;
    border-radius: 20px;
    justify-items: center;
}

.navLinks {
    display: grid;
    align-content: start;
    gap: 50px;
}

.s--header {
    display: grid;
    grid-column: 2 / 4;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    padding-top: 30px;
}

.header--title {
    display: grid;
    letter-spacing: 1.4px;
}

.header--title a {
    color: red;
    text-decoration: none;
}

.header--title a:hover {
    color: var(--colorBeta);
}

.user--panel {
    display: grid;
    align-items: center;
    justify-content: end;
    gap: 10px;
    grid-template-columns: auto auto auto auto;
}

.s--user {
    width: 40px;
    height: 40px;
}

.s--user img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    pointer-events: none;
}

.su--icon img {
    cursor: pointer;
}

.activeBoard {
    display: grid;
}

.activeCard {
    display: grid;
    justify-items: center;
    padding: 50px;
    gap: 30px;
    text-align: center;
    border-radius: 20px;
    background-color: var(--colorSnow);
    box-shadow: 2px 4px 16px gray;
    position: relative;
    z-index: 2;
}

.activity--data p {
    padding-top: 10px;
}

.new--entry {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    border-radius: 50%;
    top: -40px;
    right: -40px;
    width: 50px;
    height: 50px;
    padding: 50px;
    cursor: pointer;
    font-weight: 400;
    font-size: 3.5rem;
    border: none;
    user-select: none;
    color: var(--colorSnow);
    background-color: var(--colorBeta);
    transition: background-color .4s;
}

.new--entry:hover {
    filter: brightness(1.1);
}

.new--entry:active {
    background-color: rgb(23 23 16);
}

.userCard {
    width: 150px;
    height: 150px;
}

.userCard img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    pointer-events: none;
}

.reading--hours h3 {
    font-size: 2rem;
}

.activity--data {
    display: grid;
    justify-items: center;
}

.book--data {
    display: flex;
    margin-top: 20px;
    gap: 50px;
}

.book--data h3 {
    font-size: 1.5rem;
}

.book--rack {
    box-sizing: border-box;
    display: grid;
    grid-auto-rows: 180px;
    gap: 20px;
    height: 650px;
    width: 800px;
    margin-left: 100px;
    padding-right: 50px;
    padding-bottom: 20px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.book--rack:hover {
    height: 650px;
    overflow: auto;
}

.book--rack>p {
    font-size: 1.2rem;
    margin-right: 10px;
    padding: 10%;
    border-bottom-color: #F19F6F;
    color: red;
}

.book--log {
    display: grid;
    grid-template-columns: auto 1fr;
    align-content: center;
    gap: 20px;
    width: 600px;
    position: relative;
    border-radius: 20px;
    padding: 10px 50px;
    margin-left: 10px;
    background-color: var(--colorSnow);

}

.book--log:hover {
    box-shadow: -1px 6px 9px grey
}

.book--log>svg {
    fill: var(--colorBeta);
    height: 150px;
    width: 120px;
}

.delete--log {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 30px;
    top: 35px;
    right: -25px;
    padding: 10px;
    border-radius: 50%;
    background-color: rgb(255, 0, 0);
    cursor: pointer;
}

.delete--log:active {
    filter: brightness(0.9);
}

.delete--log>svg {
    height: 30px;
    fill: #ffffff;
}

.book--details {
    display: grid;
    position: relative;
    gap: 10px;
    padding: 20px 0px;
}

h2.book--title {
    font-weight: 500;
    line-height: 1.7rem;
}

.book--author::before {
    content: 'Author: ';
    font-weight: bold;
}

.book--pages::after {
    content: ' Pages';
}

.book--status>svg {
    height: 30px;
    fill: #ffffff;
}

.book--status {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 30px;
    bottom: 35px;
    right: -25px;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;

}

.book--status:active {
    filter: brightness(1.1);
}

#entry--form {
    height: 270px;
}

form {
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-radius: 20px;
    margin-top: 20px;
    background-color: var(--colorBeta);
}

form>label {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    color: var(--colorSnow);
    font-weight: 500px;
}

form input,
form select {
    font-size: 1rem;
    border-radius: 15px;
    padding: 15px;
    border-color: transparent;
    background-color: var(--colorSnow);
    color: #000000;
}

form input:focus {
    outline: none !important;
    border: 2px solid #000000;
    box-shadow: 0 0 5px var(--colorAlpha);
}

form select:focus {
    outline: none !important;
    filter: brightness(.9);
    box-shadow: 0 0 5px var(--colorAlpha);
}

.sh--entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.sh--entry label {
    font-weight: 500;
    color: #fff;
}

.sh--entry input[type='number'] {
    width: 50px;
}

form button {
    flex: 1;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 16px;
    background-color: #000000;
    color: var(--colorSnow);
    padding: 15px;
}

form button:hover {
    background-color: #2d2929;
    cursor: pointer;
}

form button:active {
    background-color: #000000;
}

.slide--in {
    position: relative;
    z-index: 1;
    -webkit-animation: linear;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: .2s;
}

@-webkit-keyframes slideIn {
    0% {
        bottom: 300px;
    }

    100% {
        bottom: 5px;
    }
}

.slide--out {
    position: relative;
    z-index: 1;
    -webkit-animation: linear;
    -webkit-animation-name: slideOut;
    -webkit-animation-duration: .4s;
}

@-webkit-keyframes slideOut {
    0% {
        bottom: 5px;
    }

    100% {
        bottom: 300px;
    }
}

.animate--out {
    position: relative;
    -webkit-animation: linear;
    -webkit-animation-name: run;
    -webkit-animation-duration: 1s;
}

@-webkit-keyframes run {
    0% {
        right: 10%;
    }

    100% {
        left: calc(100vw - 40%);
    }
}