/* fonts */
@font-face {
	font-family: Yekan;
	src: url('../fonts/yekan/Yekan.eot');
	src: url('../fonts/yekan/Yekan.eot?#iefix') format('../fonts/yekan/yekan-opentype'),
		url('../fonts/yekan/Yekan.woff') format('woff'),
		url('../fonts/yekan/Yekan.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: yekan-regular;
	src: url('../fonts/yekan/yekan-regular.eot');
	src: url('../fonts/yekan/yekan-regular.eot?#iefix') format('../fonts/yekan/yekan-regular-opentype'),
		url('../fonts/yekan/yekan-regular.woff') format('woff'),
		url('../fonts/yekan/yekan-regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: roboto-black;
	src: url('../fonts/roboto/Roboto-Black.ttf') format('truetype');
	font-weight: bolder;
	font-style: normal;
}
@font-face {
	font-family: roboto-medium;
	src: url('../fonts/roboto/Roboto-Medium.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

body {
    margin: 0;
    font-family: 'roboto-medium';
}

#panorama {
    position: absolute;
    width: 100vw;
    height: 100vh;
}

.show {
    display: flex !important;
}

.loading {
    direction: ltr;
    margin: auto;
    font-size: 1.5rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: fit-content;
    height: fit-content;
    /* padding: 1rem; */
    flex-flow: column;
    justify-content: center;
    align-items: center;
    display: none;
}

.loading img {
    position: absolute;
    /* left: 0; */
    /* right: 0; */
    bottom: 0;
    top: 0;
    margin: auto;
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.loading .imgContainer {
    background-color: white;
    border-radius: 1rem;
    width: 220px;
    height: 78px;
    filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.5));
    padding: 1rem;
    display: flex;
    margin-bottom: 0.5rem;
}

.loading.show .imgContainer img:first-child {
    left: 5%;
    height: 60%;
    width: auto;
}

.loading.show .imgContainer img:last-child {
    right: 5%;
    width: auto;
    height: 50%;
    animation: rotate 2s infinite;
}

.loading .textContainer {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 1rem;
    padding: 1rem;
    font-size: 18px;
}

#percentage {
    margin-left: 0.5rem;
}

@keyframes rotate {
    100% {
        transform: rotateZ(360deg);
    }
}