*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

@-ms-viewport {
    width:device-width;
}

@media only screen and (max-width: 860px) {
    .main_cta { left: 15% !important; top: 25% !important; }
    .main_cta p { font-size: 4rem !important; }
    .apartment_card__container { margin-top: 69% !important; }
    .logo--guthaus { top: 2rem !important; left: 3rem !important; }
    .logo--guthaus--row, .logo--corwin { bottom: 2rem !important; right: 3rem !important; }
  
}

/*@media only screen and (max-width: 860px) and (orientation: landscape) {
    .main_cta p { display: none; }
    .apartment_card__container { margin-top: 15vh !important; }
}*/

@media only screen and (min-width : 860px) and (max-width : 1200px)  {
    .main_cta { left: 15% !important; top: 25% !important; }
    .main_cta p { font-size: 4rem !important; }
    .apartment_card__container { margin-top: 30vh !important; }
}

@media screen and (max-width: 860px) and (orientation: landscape) {
    /*#lock { display: block !important; }*/
    .lock__container { display: block !important; }
    .lock__logos { display: block !important; }
    .navigation { display: none !important; }
    .tour { display: none !important; }
    .main_cta p { display: none !important; }
    .apartment_card__container { display: none !important; }
}



@font-face {
    font-family: 'Microgramma-Bold';
    src: url(fonts/Microgramma_D_Extended-Bold.otf);
}
@font-face {
    font-family: 'Microgramma-Medium';
    src: url(fonts/Microgramma_D_Extended-Medium.otf);
}
@font-face {
    font-family: 'Eurostile';
    src: url(fonts/Eurostile.ttf);
}
@font-face {
    font-family: 'CircularPro';
    src: url(fonts/CircularPro-Bold.otf);
}
@font-face {
    font-family: 'PoppinsRegular';
    src: url(fonts/Poppins-Regular.ttf);
}
@font-face {
    font-family: 'PoppinsBold';
    src: url(fonts/Poppins-SemiBold.ttf);
}

html {
    min-height:100%;
    height:100%;

    font-size: 62.5%;
}

body {
    box-sizing: border-box;
}

body {
    height: 100%;
    overflow:hidden;
    margin:0;
    padding:0;
    font-family: 'Eurostile', Helvetica, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #191A1A;
    background-color: #fff;
}

p {
    margin: 0;
}

/* SECTIONS */
#home, #vyber, #virtual-tour {
    z-index: 0;
    height: 100%;
    width: 100%;
}
#home {
    display: block;
}
#vyber {
    display: none;
}
#virtual-tour {
    display: none;
}


/* LANDSCAPE LOCK */
.lock__container {
    display: none;
    position: absolute;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    background-color: #fff;
}
.lock__logos {
    display: none;
}
.lock__text {
    font-family: 'PoppinsRegular', Helvetica, sans-serif;
    font-size: 1.4rem;
}
.lock__img {
    margin-top: 2rem;
    height: 6rem; width: 6rem;
}

/* SCENES*/
.tour {
    width:100%;
    height:100%;
    position: absolute;
    top: 0;
    left: 0;
}
#tour-B0507, #tour-B0711, #tour-C1303, #tour-A1404 {
    display: none;
}

/* LOGO */
.logo {
    display: inline-block;
    z-index: 2;
    position: fixed;
}
.logo--guthaus {
    top: 3rem;
    left: 4rem;
}
.logo--guthaus--row, .logo--corwin {
    bottom: 3rem;
    right: 4rem;
}
.logo--guthaus img {
    height: 5rem;
}
.logo--guthaus--row img {
    height: 3rem;
}
.logo--corwin img {
    height: 1.5rem;
}

/* BUTTONS */
.button,
.button:visited {
    display: block;
    background-color: rgba(255, 255, 255, 0.9);
    color: #191A1A;
    font-size: 1.4rem;
    text-align: center;
    text-decoration: none;
    font-family: 'Microgramma-Bold', Helvetica, sans-serif;
    transition: all .2s ease-out;
}
.button:hover,
.button:focus,
.button:active {
    color: #191A1A;
    background-color: #fff;
    opacity: 1;
}

.button__round {
    border-radius: 3rem;
    padding: .9rem;
}

.button__enter {
    position: relative;
    height: 17.5rem; width: 17.5rem;
}
.button__enter:hover {
    opacity: 1;
    cursor: pointer;
}
.button__enter:hover img {
    transition: all .3s ease-out;
    transform: scale(1.1);
}
.button__enter__text {
    text-transform: uppercase;
    font-size: 1.4rem;
    color: #191A1A;
    margin: 0;
    text-align: center;
    font-family: 'Microgramma-Bold', Helvetica, sans-serif;
    line-height: 1.2;
}

.button__back {
    margin: 0;
}


/* ENTER OR CHOOSE APARTMENT */
.choose__container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(calc(-50% - .5px));
    width: 100%;
    z-index: 1;
}
.choose__container a {
    text-decoration: none;
}

/* VIDEO BACKGROUND */
.fullscreen__background {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}
.fullscreen__background__video {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

/* VYBER BYTU */
.bg_white {
    background: #fff;
    z-index: 0;
}
.homepage_background {
    width: 100vw;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.homepage_background-top {
    top: -15vh;
}
.homepage_background-bottom {
    bottom: -15vh;
}
.main_cta {
    display: inline-block;
    position: absolute;
    left: 33%;
    top: 35vh;
    transform: translateY(calc(-50% - .5px));
}
.main_cta p {
    font-family: 'CircularPro', Helvetica, sans-serif;
    font-size: 6rem;
    color: #191A1A;
    line-height: 1;
}

/* APARTMENT CARDS */
.apartment_card__container {
    margin-top: 45vh;
}
.apartment_card {
    background-color: #fff;
    text-align: center;
    padding: 2.5rem;
    z-index: 1;
    min-width: 20rem;
    max-width: 22rem;
    min-height: 30rem;
    max-height: 32rem;
    margin: 0 auto;
    transition: .3s all ease-out;
}
.apartment_card:hover {
    cursor: pointer;
    background-color: #f6f6f6;
    color: #191A1A;
}
.apartment_card:hover .apartment_card__room_count,
.apartment_card:hover .apartment_card__apartment_number {
    color: #191A1A;
}
.apartment_card__floorplan {
    max-height: 18rem;
}
.apartment_card__room_count {
    margin-top: 2rem;
    font-family: 'CircularPro', sans-serif;
    color: #CCC;
    font-size: 1.8rem;
    transition: .3s all ease-out;
}
.apartment_card__apartment_number {
    font-family: 'CircularPro', sans-serif;
    color: #CCC;
    font-size: 2.2rem;
    transition: .3s all ease-out;
}

/* NAVIGATION BAR */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 1.5rem 3rem;
    z-index: 3;
}
.navigation__nav {
    width: 100%;
}
.navigation__list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.navigation__list li a {
    text-decoration: none;
}

.navigation__info, .navigation__apartment {
    font-family: 'PoppinsRegular', Helvetica, sans-serif;
    font-size: 1.6rem;
}
.navigation__back a, .navigation__info a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #191A1A;
    transition: all .3s ease-out;
}
.navigation__info a {
    padding: 1.15rem;
    margin-left: 2rem;
    opacity: 0.5;
}
.navigation__apartment {
    padding: 1.15rem;
}

#blok_id, #byt_id {
    float: right;
    display: block;
    text-align: center;
    text-decoration: none;
    color: #191A1A;
    opacity: 0.4;
    margin-top: 0;
    margin-bottom: 0;
}
#byt_id {
    font-family: 'PoppinsBold', Helvetica, sans-serif;
    margin-left: .5rem;
    opacity: 1;
}

/* DEVELOPED BY GRANDPANO */
.developed,
.developed:focus {
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    opacity: .7;
    font-family: 'Eurostile', Helvetica, sans-serif;
    font-size: 1.2rem;
    letter-spacing: .2rem;
    transition: all .2s ease-out;
}
.developed:hover {
    color: #fff;
    opacity: 1;
    text-decoration: none;
}


/* NAVIGATION */
.navigation__top, .navigation__bottom {
    z-index: 99;
    position: fixed;
    width: 100%;
    padding: 2rem 3rem;
}
.navigation__bottom {
    padding-top: 0;
    padding: 0 3rem;
    padding-bottom: 2.5rem;
}

.navigation__top {
    top: 0;
    background-color: #fff;
}
.navigation__bottom {
    bottom: 0;
}

.navigation__transparent {
    background-color: transparent;
}

.top_left,
.top_center,
.top_right {
    height: 5rem;
}

.bottom_left,
.bottom_center,
.bottom_right {
    height: 5rem;
}

.top_center {
    position: fixed;
    top: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-transform: translateZ(-50) scale(1.0, 1.0);
}

.bottom_center {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-transform: translateZ(-50) scale(1.0, 1.0);
}
