@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans+Semi+Condensed:wght@500&display=swap');

* {
    padding: 0;
    margin: 0;

    font-family: 'Sofia Sans Semi Condensed', sans-serif;
    font-size: 24px;

    text-decoration: none;
}

.container {
    display: grid;
    grid-template-columns: 17% 83%;
    height: 100vh;
    max-height: 100vh;
}

aside {
    background-color: var(--light-green);
    height: 100vh;
    margin-bottom: 0;
}

.thrid-blocks {
    display: grid;
    grid-template-columns: 33% 34% 33%;
    color: white;
}

.bg-blue {
    background-color: #3278ff;
}

.bg-green {
    background-color: var(--light-green);
}

#main_id {
    padding-top: 0.5rem;
}

ul {
    height: 100%;
}

.last {
    position: absolute;
    bottom: 1rem;
    width: 5rem;
}

#logo {
    width: 100%;
    margin: 0;
    padding: 0;
}

#logo_img {
    max-width: 80%;
    margin: 10%;
}

ul > li {
    list-style-type: none;
    margin-bottom: 0.3rem;
    width: 70%;
    margin-left: 1rem;
    border-radius: 5px;
}

aside > ul > li > a {
    color: var(--black);
    font-size: 18px;
}

ul > li > a > span {
    transition: all 0.3s ease-in-out;
    margin-left: .1rem;
    font-weight: 800;
    font-size: 28px;
}

ul > li > a > span.text:hover {
    margin-left: 0.6rem;
}

.main_block {
    height: 100vh;
}

.main_block > .navbar {
    height: 60px;
    background-color: var(--light);
    display: flex;
    align-items: center;
}

.main_block > .navbar > h1 {
    margin-left: 1rem;
}

@media (min-width: 1565px) {
    .main_block > .navbar > h1 {
        font-size: 30px;
        height: 100%;
        padding-top: 1vh;
    }
}

.workers-list {
    width: calc(100% - 2rem);
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
}

#add-worker-card {
    border-radius: 15px;
    margin: 0 0.5rem;
    margin-bottom: 1rem;
    position: relative;
    text-align: center;
}

.worker-card {
    border-radius: 15px;
    margin: 0 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    text-align: center;
}

.image-container {
    width: 100%;
    height: 320px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.worker-image {
    background-color: blue;
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
    filter: brightness(80%);
    transition: all 0.3s ease-in-out;
}

.worker-image:hover {
    transform: scale(1.2);
}

.content-block {
    overflow-y: scroll;
    max-height: 88vh;
}

.content-block::-webkit-scrollbar {
  display: none;
}

.workers-content-block::-webkit-scrollbar {
  display: none;
}

.worker-notes {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: .5rem;
    padding-bottom: 0.5rem;
    color: var(--light);
    font-weight: 600;
}

table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
    padding: 5px;
}

.centred {
    text-align: center;
}

.blocks {
    margin: 1rem;
    max-height: calc(94vh - 2rem - 2px);
    overflow-y: scroll;
}

.blocks::-webkit-scrollbar {
    display: none;
}

.material-symbols-outlined {
    font-weight: 800;
    vertical-align: text-bottom;
    font-size: 28px;
}

.blocks-little {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
}

.block-little {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.block-little-thrid {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    margin-top: 0rem;
}

.blocks-large {
    display: grid;
    grid-template-columns: 50% 50%;
}

.block-large {
    margin: 0.5rem 0.5rem;
}

.dual-block {
    display: grid;
    grid-template-columns: 50% 50%;
}

.bg-purple {
    background-color: var(--purple);
    color: white;
}

.bg-sea {
    background-color: var(--sea);
    color: white;
}

.bg-gray {
    background-color: var(--gray);
    color: white;
}

.bg-black {
    background-color: var(--black);
    color: white;
}

.card {
    width: 100%;
    border: none;
    border-radius: 15px;
    padding: 10px;
    margin: 0 0.5rem;
}

.card-title {
    margin: 0 1rem;
    margin-bottom: 0.5rem;
}

.card-title > span {
    font-size: 20px;
}

.card-large, .long-card {
    background-color: var(--color-light);
    padding: 1rem;
    border-radius: 15px;
}

.card-large {
    height: calc(100% - 2rem);
}

.card-large .full {
    height: calc(50% - 2rem);
    width: calc(100% - 2rem);
}

.long-card {
    margin: 0 0.5rem;
}

#left-little {
	margin: 0 0.5rem 0 0;
}

#right-little {
    position: relative;
	margin: 0 0 0 0.5rem;
}

.navbar-dual {
	display: grid;
	grid-template-columns: 80% 20%;
}

#drop_user {
	height: 56px;
	color: red;
	border: 2px solid red;
	cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#drop_user:hover {
	color: white;
    background-color: #ff6259;
}

#modal, #dropp-modal {
    display: none;
	transform: translateX(25vw);
	position: fixed;
	z-index: 0;
	height: 50vh;
	width: 50vw;
    top: 25vh;
    transition: 1s;

    text-align: center;

    background: rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8.3px);
    -webkit-backdrop-filter: blur(8.3px);
    border: 2px solid rgba(255, 255, 255, 0.31);

    animation: show 0.6s;
}

.card-body {
    font-size: 40px;
    width: calc(100% - 2rem);
    height: calc(100% - 0.5rem);
    padding: 0 1rem;
}

#popularChartDiv, #wp1 {
    padding: 0;
    width: 100%;
    height: 100%;
}

#diagram-select {
    margin: 0;
    width: 100%;
    padding: 0.1rem 0.4rem;
    font-size: 14px;
}

#diagram-span {
    font-size: 14px;
    height: 1rem;
}

canvas {
    width: 100%;
    height: 100%;
}

@keyframes show {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#modal-els {
	margin-top: 15%;
}

.choice {
	margin: 1rem;
	padding: 0.5rem 2rem;
	border: none;
	border-radius: 5px;
	cursor: pointer;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

.yes {
    color: red;
    font-weight: 1000;
    outline: 2px solid red;
}

.yes:hover {
    color: white;
    background-color: #ff6259;
}

.no {
    color: var(--sea);
    font-weight: 1000;
    outline: 2px solid var(--sea);
}

.no:hover {
    color: white;
    background-color: rgb(61, 169, 61);
}

.add-container span {
	margin-top: 30%;
	color: white;
	font-size: 100px;
}

.label_for_warn {
	margin-bottom: 0.3rem;
}

#add-warn-button {
	padding: 0.2rem 1rem;
	border-radius: 10px;
	width: 30%;
	cursor: pointer;
	background-color: var(--light-green);
	border: 2px solid var(--sea);
	color: white;
}

.forma {
	text-align: center;
}

#events {
    padding: 0.5rem 0;
    max-height: 30vh;
    width: 100%;
    overflow-y: scroll;
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: start;
    justify-items: stretch;
}

#events::-webkit-scrollbar {
    display: none;
}

.home-event {
    text-align: center;
    background-color: #00ce55;
    padding: 0.3rem;
    margin: 0.3rem;
    border-radius: 7px;
    color: whitesmoke;
}

.home-event:hover {
    outline: 3px solid #2cac60;
}

.home-event > .name {
    width: 100%;
    display: block;
}

.home-event > .time {
    width: 100%;
    display: block;
    font-size: 0.6rem;
}

.home-event > .sender {
    width: 100%;
    display: block;
    font-size: 0.6rem;
}

strong {
    font-size: 20px;
}

#str1 {
    font-size: 15px;
}

.last-event {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    text-align: center;
    background-color: var(--sea);
    color: white;
    border-radius: 10px;
}

.last-event > a, .last-event > a:hover {
    color: white;
    padding: 0.3rem 0.5rem;
}

#games_popular {
    width: 100%;
}

.my_table {
	margin-top: 1rem;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid grey;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

.my_table tr td:last-of-type {
    white-space: normal;
}

.my_table tr:first-of-type th:first-of-type {
    border-top-left-radius: 10px;
}

.my_table tr:first-of-type th:last-of-type {
    border-top-right-radius: 10px;
}

.my_table tr:last-of-type td:first-of-type {
    border-bottom-left-radius: 10px;
}

.my_table tr:last-of-type td:last-of-type {
    border-bottom-right-radius: 10px;
}

.bg-warning {
    margin-top: 0.2rem;
    background-color: #F7D060;
    outline: 4px solid indianred;
}

#error_title {
    font-weight: bold;
    color: indianred;
    font-size: 40px;
}

.title_ {
    margin: 1rem;
}

.workers-content {
    height: calc(100vh - 60px - 1rem);
    max-height: calc(100vh - 60px - 1rem);
    overflow-y: scroll;
}

.workers-content::-webkit-scrollbar {
    display: none;
}

#home-datepicker {
    width: 100%;
    border: none;
    outline: none;
    text-align: center;
    background-color: inherit;
    cursor: pointer;
}

#home-datepicker-name {
    width: 100%;
    text-align: center;
}

#main-today-reservations {
    height: 30vh;
    max-height: 30vh;
    overflow-y: scroll;
}

#main-today-reservations::-webkit-scrollbar {
    display: none;
}

.bold-right {
    text-align: right;
    font-weight: bold;
}

.hover-background:hover {
    background-color: #a3ffc6;
    cursor: pointer;
}

.birthdays {
    margin: 0.5rem;
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    width: calc(100% - 1rem);
}

.user-birthday {
    background-color: #fda085;
    border-radius: 15px;
    margin-right: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    color: whitesmoke;
    position: relative;
    font-weight: 500;
    animation: birthday-bg 3s alternate infinite;
}

@keyframes birthday-bg {
    93.75%   {
        background-image: linear-gradient(120deg, #fda085 0%, #fda085 100%);
    }
    94.86%  {
        background-image: linear-gradient(120deg, #fda085 0%, #fda085 75%, #f6d365 100%);
    }
    95.97%  {
        background-image: linear-gradient(120deg, #fda085 0%, #fda085 50%, #f6d365 100%);
    }
    97% {
        background-image: linear-gradient(120deg, #fda085 0%, #fda085 25%, #f6d365 75%, #fda085 100%);
    }
    98.16% {
        background-image: linear-gradient(120deg, #fda085 0%, #f6d365 0%, #f6d365 50%, #fda085 75%);
    }
    100% {
        background-image: linear-gradient(120deg, #fda085 25%, #fda085 100%);
    }
    98.16% {
        background-image: linear-gradient(-120deg, #fda085 0%, #f6d365 0%, #f6d365 50%, #fda085 75%);
    }
    97% {
        background-image: linear-gradient(-120deg, #fda085 0%, #fda085 25%, #f6d365 75%, #fda085 100%);
    }
    95.97%  {
        background-image: linear-gradient(-120deg, #fda085 0%, #fda085 50%, #f6d365 100%);
    }
    94.86%  {
        background-image: linear-gradient(-120deg, #fda085 0%, #fda085 75%, #f6d365 100%);
    }
    93.75%   {
        background-image: linear-gradient(-120deg, #fda085 0%, #fda085 100%);
    }
}

.bt_img {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 50px;
    height: 50px;
}

.packets {
    margin: 0.5rem 0;
    margin-bottom: 1rem;
    padding: 0 1rem;
    width: calc(100% - 2rem);
}

.packets-list {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
}

.packet-info {
    margin: 0.3rem;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    color: whitesmoke;
}

