*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

@-ms-viewport {
    width:device-width;
}

@font-face {
    font-family: 'Montserrat-Regular';
    src: url(fonts/Dia-Regular.otf);
}
@font-face {
    font-family: 'Montserrat-Bold';
    src: url(fonts/Dia-Bold.otf);
}
@font-face {
    font-family: 'Microgramma';
    src: url(fonts/Microgramma_D_Extended-Medium.otf);
}

html {
    font-size: 62.5%;
    background-color: #000;
}

body {
    box-sizing: border-box;
}

body {
    overflow:hidden;
    margin:0;
    padding:0;
    font-family: 'Montserrat-Regular', Helvetica, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: #222;
    background-color: #000;
    width: 100vw;
    height: 100vh;
    /*min-width:100vw;
    min-height:100vh;*/
}

section {
    width:100%;
    height:100%;
    /*min-width:100%;
    min-height:100%;*/
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    z-index: 1;
    display: block;
    background-color: #000;
}

p {
    margin: 0;
}

a {
    text-decoration: none !important;
}

a:hover {
    color: #000;
}

.hidden {
    display: none;
}

.btn {
    background-color: #FFC10E;
    border-radius: 22px;
    font-size: 16px;
    padding: 8px 16px;
    color: #000;
}

.btn, .action-btn {
    cursor: pointer;
}

.action-btn > img {
    width: 24px;
    height: 24px;
}

.bg-black {
    background: #000;
}

.action-btn.active {
    background-color: #FFC10E;    
}

.action-btn.active > img {
    filter: invert(1);
}

.dialog[data-id='map'] {
    width: 56rem;
    height: 31rem;
    //aspect-ratio: 960/553;
    background-image: url('../img/map.jpg');
    background-size: cover;
}

.dialog {
    width: 29rem;
    bottom: 78px; 
    left: 15px;
}

#mapContainer {
    z-index: 99999;
}

.mobile-only {
    display: none;
}
.desktop-only {
    display: block;
}
@media(max-width: 768px) {
    .mobile-only {
        display: block;
    }
    .desktop-only {
        display: none;
    }
    .dialog[data-id='map'] {
        max-width: calc(100vw - 30px);
    }
}

/* SECTIONS */
#home, #vyber, #virtual-tour {
    z-index: 0;
    height: 100%;
    width: 100%;
}

#pano {
    width: 100vw;
    height: 100vh;
    z-index: 0;
}

#vyber {
    background-color: #fff;
    background-image: linear-gradient(#fff, #EDEDED);
}

/* LOGO */
.link__logo {
    text-decoration: none;
}

.logo--developer img {
    height: 5rem;
}
.logo--project img {
    height: 5rem;
}

/* BUTTONS */
.button--primary {
    background-color: #000;
    color: #fff;
    border: none;
    text-transform: unset;
    transition: all .2s ease-out;
    font-family: "Montserrat-Medium", sans-serif;
    line-height: 1.2;
    cursor: pointer;
    font-size: 1.6rem;
    border-radius: 2.5rem;
    position: relative;
    z-index: 2;
    width: 20rem; height: 5rem;
    text-align: center;
    padding: 0 2rem;
}
.button--primary:hover,
.button--primary:focus,
.button--primary:active {
    color: #fff;
    background-color: #333;
}

.button--primary span,
.button__rounded span {
    display: inline-block;
}

.button--primary span {
    height: 3.2rem; width: 3.2rem;
}

.button__rounded span {
    height: 3.2rem; width: 3.2rem;
}

.button--primary object,
.button__rounded object {
    position: relative;
    z-index: -1;
}

.button--secondary {
    background-color: #000;
    color: #fff;
}
.button--secondary:hover,
.button--secondary:focus,
.button--secondary:active {
    background-color: #303030;
    color: #fff;
}


.button__rounded {
    background-color: #000;
    color: #fff;
    padding: 1rem;
    border-radius: 100%;
    width: 5rem; height: 5rem;
}

.button__rounded:hover,
.button__rounded:focus,
.button__rounded:active {
    background-color: #333; color: #fff;
}


/* VIDEO BACKGROUND */
.fullscreen__background {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}
.fullscreen__background__video {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

/* VYBER BYTU */
.container--select {
    width: 100%;
}

.main_cta {
    margin-bottom: 4rem;
}
.main_cta h1 {
    font-family: 'Montserrat-Bold', Helvetica, sans-serif;
    font-size: 5rem;
    color: #000;
    line-height: 1;
}
.text--small {
    font-size: 1.6rem;
}


/* APARTMENT CARDS */
.apartment_card {
    background-color: #fff;
    box-shadow: none;
    border-radius: 1.5rem;

    /*max-width: 32rem;*/
}

.apartment_card__info--top {
    font-family: 'Montserrat-Bold', sans-serif;
    color: #000;
    font-size: 3.2rem;
}
.apartment_card__info--description {
    font-family: 'Montserrat-Regular', sans-serif;
    color: #000;
    font-size: 1.6rem;
    opacity: .5;
}
.apartment_card__info--bottom {
    font-family: 'Montserrat-Regular', sans-serif;
    color: #000;
    font-size: 1.2rem;
    opacity: .5;
    text-transform: uppercase;
    letter-spacing: .25rem;
}


/* NAVIGATION */
.navigation__top {
    z-index: 99;
    position: fixed;
    width: 100%;
    padding: 2rem 3rem;
    top: 0;
    background: #fff;
}

.navigation__bottom {
    z-index: 9999;
    position: fixed;
    width: 100%;
    bottom: 0;
    padding: 3rem 4rem;
    padding-top: 0;
}

.navigation__transparent {
    background-color: transparent;
}

.top_left,
.top_center,
.top_right {
    height: 5rem;
}

.bottom_left,
.bottom_center,
.bottom_right {
    /*height: 3rem;*/
}

.top_center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-transform: translateZ(-50) scale(1.0, 1.0);
}

.bottom_center {
    z-index: 99;
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-transform: translateZ(-50) scale(1.0, 1.0);
}

/* NAVIGATION BAR */
#navigation__list--right, #navigation__list--left {
    font-family: 'Montserrat-Regular', Helvetica, sans-serif;
    font-size: 1.3rem;
    display: block;
    text-align: center;
    text-decoration: none;
    color: #000;
    margin-left: .5rem;
}
#navigation__list--right {
    font-family: 'Montserrat-Bold', Helvetica, sans-serif;
}
#navigation__list--left {
    opacity: .5;
}

.navbar {
   padding: 1.5rem;
   z-index: 999;
   position: fixed;
   top: 0;
   width: 100%;
   -webkit-box-shadow: 0px 3px 12px 0px rgb(0 0 0 / 14%);
}

.navigation_div {
    padding: 1.5rem;
}
.navigation_link {
    color: #585858;
    font-family: 'Montserrat-Bold', Helvetica, sans-serif;
    transition: all .2s ease-out;
    text-transform: uppercase;
    font-size: 1.3rem;
}
.navigation_link:hover,
.navigation_link:active,
.navigation_link:focus {
    color: #8bc34a;
}
.navigation_link--active {
    color: #8bc34a;
}

/* DEVELOPED BY GRANDPANO */
.developed__container {
    position: absolute;
    left: 50%;
    bottom: 3rem;
    transform: translateX(-50%);
}
.developed,
.developed:focus {
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    opacity: .7;
    font-family: 'Microgramma', Helvetica, sans-serif;
    font-size: 1.2rem;
    letter-spacing: .2rem;
    transition: all .2s ease-out;
}
.developed:hover {
    color: #fff;
    opacity: 1;
    text-decoration: none;
}

/* DARKEN */
.darken {
    position: absolute;
    top: 0;
    width: 100%;
    bottom: 0;
    z-index: 1;
    background: #222;
    opacity: .5;
}

/* RESPONSIVE */
@media only screen and (min-width: 1200px) and (max-width: 1600px) {

}

@media only screen and (min-width: 1600px) and (max-width: 1920px) {

}

@media only screen and (max-width: 960px) {
    .main_cta { margin-bottom: 2rem !important; }
    .main_cta h1 { font-size: 3rem !important; } 
    .main_cta h2 { font-size: 2rem !important; }
    .text--small { font-size: 1.2rem !important; }
    .apartment_card--floorplan { max-height: 20rem;}
    .navigation__top, .navigation__bottom { padding: 1.5rem 2rem; }
    .developed { font-size: 1rem !important; }
    
    .logo--project img { height: 4rem; }

}

@media screen and (max-width: 960px) and (min-aspect-ratio: 3/2) and (orientation: landscape) {
    .lock__container { display: none }
    .navigation__top { background-color: transparent; }
    /*.top_right { display: none;}*/
    .top_center {display: none;}
    .apartment_card--floorplan { display: none;}
    .background--div { display: none; }
    #button-furnishing { display: none;}
    #button-info { display: none;}
    .button--interested, .button--interested--small { display: none;}
    .button--navigation, .button--navigation--small { display: none;}
    .button--meeting, .button--meeting--small { display: none;}
    #pano { position: absolute; left: 50%; top: 0; transform: translateX(-50%); }
    .navigation__card {display: none;}
    #modal-info, #modal-form, #modal-meeting { display: none; }

    .logo--project--top { top: 3rem; right: 2rem; }

    .navigation__list { display: none; }
}