:root{
    --clr-border: rgba(0, 0, 0, 0.125);
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: Roboto,Helvetica Neue,sans-serif;
}

header{
    width: 100vw;
    border-bottom: 1px solid var(--clr-border);
}
header .wrapper{
    padding: 10px 100px;
    display: grid;
    grid-template-columns: 50% 50%;
}
header .wrapper .left, header .wrapper .right{
    display: flex;
    align-items: center;
    gap: 20px;
}
header .wrapper .left{
    justify-content: start;
}
header .wrapper .left .item img{
    width: 100px;
}
header .wrapper .left .item h1{
    font-size: 12px;
}
header .wrapper .left .logo{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
header .wrapper .left .item p{
    font-size: 13px;
}
header .wrapper .right{
    justify-content: end;
}
header .wrapper .right .user{
    display: flex;
    align-items: center;
    gap: 5px;
}
header .wrapper .right .user img{
    width: 20px;
    cursor: pointer;
}
header .wrapper .right .user p{
    font-size: 12px;
    cursor: pointer;
}
header .wrapper .right .user-unlogged button{
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid var(--clr-brand-black);
    color: #000;
    background-color: transparent;
    transition: all 200ms ease;
    cursor: pointer;
}
header .wrapper .right .user-unlogged button:hover{
    background-color: var(--clr-brand-black);
    color: #fff;
}

/* LOADING SCREEN */

#loadingScreenContainer{
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 9999999999999;
    display: grid;
	place-items: center;
}
.bar{
    position: absolute;
    bottom: 10%;
    display: flex;
    justify-content: center;
}
.bar-item{
    width: 400px;
    height: 30px;
    background-color: transparent;
    border: 1px solid #fad900;
    border-radius: 12px;
    position: relative;
}
.bar-item-sec{
    position: absolute;
    top: 0;
    left: 0;
    height: 28px;
    background-color: #fad900;
    border-radius: 12px;
    transition: all 200ms ease;
}
.pl {
	display: block;
	width: 6.25em;
	height: 6.25em;
}
.pl__ring, .pl__ball {
	animation: ring 2s ease-out infinite;
}
.pl__ball {
	animation-name: ball;
}

/* Dark theme  */
@media (prefers-color-scheme: dark) {
	:root {
		--loading-bg: hsl(var(--hue),10%,10%);
		--loading-fg: hsl(var(--hue),10%,90%);
	}
}

/* Animation */
@keyframes ring {
	from {
		stroke-dasharray: 0 257 0 0 1 0 0 258;
	}
	25% {
		stroke-dasharray: 0 0 0 0 257 0 258 0;
	}
	50%, to {
		stroke-dasharray: 0 0 0 0 0 515 0 0;
	}
}
@keyframes ball {
	from, 50% {
		animation-timing-function: ease-in;
		stroke-dashoffset: 1;
	}
	64% {
		animation-timing-function: ease-in;
		stroke-dashoffset: -109;
	}
	78% {
		animation-timing-function: ease-in;
		stroke-dashoffset: -145;
	}
	92% {
		animation-timing-function: ease-in;
		stroke-dashoffset: -157;
	}
	57%, 71%, 85%, 99%, to {
		animation-timing-function: ease-out;
		stroke-dashoffset: -163;
	}
}

.name-popup-container{
    position: absolute;
    right: 7%;
    top: 60px;
    z-index: 99999999999999999999999999999;
    box-shadow: 0px 3px 8px #000;
}
.name-popup-container .wrapper{
    width: 215px;
    /* height: 300px; */
    background-color: white;
}
.name-popup-container .wrapper .top-container{
    padding: 14px 17px;
    padding-right: none;
    border: none;
}
.name-popup-container .wrapper .top-container h2{
    font-family: var(--font-book);
    color: #C5C5C5;
    font-size: 14px;
}
.name-popup-container .wrapper .top-container p{
    font-family: var(--font-book);
    color: var(--clr-text);
    font-size: 12px;
}
.name-popup-container .wrapper .container{
    border-top: 2px solid var(--clr-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 17px;
    cursor: pointer;
}
.name-popup-container .wrapper .container p{
    float: left;
    font-family: var(--font-book);
    font-size: 12px;
    color: var(--clr-text);
}
.name-popup-container .wrapper .container img{
    float: right;
    width: 25px;
}
.hidden{
    display: none;
}

main{
    padding-bottom: 10%;
}
footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ECECEC;
    z-index: 9999;
}
footer .wrapper{
    padding: 10px 0;
}
footer .wrapper .top{
    display: grid;
    grid-template-columns: 50% 50%;
}
footer .wrapper .top .item{
    text-align: center;
}
footer .wrapper .bottom{
    text-align: center;
}
footer .wrapper p, footer .wrapper a{
    font-size: 11px;
}
footer .wrapper h4{
    font-size: 14px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}