/*Responzivita*/

@media (min-width: 1400px) {
    #navigation .rowNavigation a{
        font-size: 1.2rem;
    }

    #navigation .rowNavigation .navbar .navbar-nav{
        margin-left: 60%;
    }

    #homePage .backgroundPhoto{
        transform: translate(50%, -30vh);
    }

    #aboutPage .rowAboutPage .aboutPhoto{
        transform: translate(145%, -75vh);
    }

    #aboutPage .rowAboutPage .loader-col{
        padding-left: 20rem;
    }
}

@media (max-width: 1400px) {
    #homePage .backgroundPhoto{
        transform: translate(50%, -30vh);
    }
}

@media (max-width: 1199px) {
    .name{
        font-size: 3.8rem !important;
    }

    .description{
        font-size: 1.8rem !important;
    }
}

/* Tablety a menšie notebooky - menu sa skladá do hamburgeru */
@media (max-width: 991.98px) {
    #navigation .rowNavigation .navbar .navbar-nav{
        margin-left: 0;
        margin-top: 1rem;
    }

    #navigation .rowNavigation .navbar-collapse{
        background-color: rgba(20, 20, 20, 0.98);
        padding: 1rem 1.5rem;
        border-radius: 8px;
    }

    #navigation .rowNavigation .navbar .navbar-nav .nav-link{
        padding: 0.6rem 0;
        font-size: 1.3rem;
    }

    #homePage .backgroundPhoto{
        width: 60%;
        transform: translate(30%, -25vh);
    }

    #aboutPage .rowAboutPage .aboutPhoto{
        position: relative;
        display: block;
        width: 45%;
        max-width: 260px;
        height: auto;
        margin: 1.5rem 0 0 0;
        transform: none;
        opacity: 1;
        z-index: 1;
        border-radius: 12px;
    }

    #aboutPage .rowAboutPage .loader-col,
    #servicesPage .rowServicesPage .loader-col{
        padding-left: 2rem;
    }

    /* Galéria a služby prejdú z 4 na 2 stĺpce - potrebujú medzeru medzi riadkami */
    #galleryPage .rowGalleryPageAlbums .col-12,
    #servicesPage .rowServicesPageServices .col-12{
        margin-bottom: 1.5rem;
    }
}

/* Tablety na výšku a väčšie mobily */
@media (max-width: 767.98px) {
    .name{
        font-size: 2.4rem !important;
        width: 100% !important;
    }

    .description{
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        width: 100% !important;
    }

    .positionName{
        font-size: 1.8rem !important;
    }

    /* Zoznam stránok v bočnom ukazovateli je len dekoratívny a duplicitný
       s hlavnou navigáciou hore, preto ho na mobile skryjeme */
    .positionInfo{
        display: none !important;
    }

    .loader{
        width: 40% !important;
        margin-bottom: 0;
    }

    #homePage .rowHomePage{
        margin-top: 1.5rem !important;
    }

    #aboutPage .rowAboutPage,
    #galleryPage .rowGalleryPage,
    #servicesPage .rowServicesPage,
    #contactPage .rowContactPage{
        margin-top: 3rem;
    }

    /* Na mobile má ukazovateľ pozície (/ 02, / 04...) vždy vizuálne
       predchádzať textovému stĺpcu, bez ohľadu na poradie v HTML */
    #aboutPage .rowAboutPage .loader-col,
    #servicesPage .rowServicesPage .loader-col{
        padding-left: 0;
        margin-top: 0;
        margin-bottom: 2rem;
        order: -1;
    }

    #homePage .backgroundPhoto{
        position: relative;
        display: block;
        width: 85%;
        max-width: 320px;
        height: auto;
        margin: 0 auto 2rem auto;
        transform: none;
        opacity: 1;
        z-index: 1;
        border-radius: 12px;
    }

    #aboutPage .rowAboutPage .aboutPhoto{
        position: relative;
        display: block;
        width: 70%;
        max-width: 280px;
        height: auto;
        margin: 2rem auto 0 auto;
        transform: none;
        opacity: 1;
        z-index: 1;
        border-radius: 12px;
    }

    #homePage .infoButton{
        display: block;
        width: 100%;
        min-width: 0;
        float: none;
        text-align: center;
    }

    #homePage .btnReserve{
        margin-left: 0;
    }

    #galleryPage .rowGalleryPageAlbums .col-12{
        margin-bottom: 1rem;
    }

    #servicesPage .rowServicesPageServices .col-12{
        margin-bottom: 2rem;
    }

    #contactPage .rowContactPage .contactElement img{
        width: 1.4rem;
        height: 1.4rem;
        margin-right: 0.5rem;
        vertical-align: middle;
        object-fit: contain;
    }

    footer{
        margin-top: 5rem;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    footer .rowFooterPage .name{
        font-size: 1.4rem;
        margin-top: 1.5rem;
    }
}

/* Malé mobily */
@media (max-width: 575.98px) {
    .name{
        font-size: 2rem !important;
    }

    .description{
        font-size: 1rem !important;
    }

    #navigation .rowNavigation .navbar-brand img{
        transform: scale(2.4);
    }

    #homePage .infoButton{
        font-size: 1.3rem;
        padding: 0.8rem;
    }
}

/* Veľmi malé mobily */
@media (max-width: 400px) {
    .name{
        font-size: 1.7rem !important;
    }

    .positionName{
        font-size: 1.5rem !important;
    }

    #navigation .rowNavigation .navbar-brand img{
        transform: scale(2);
    }
}
