body {
    background-color: #fff;
    font-family: 'Cinzel Decorative', cursive;
    color: #736357;
}

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


#bg {
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    background: url('img/background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.content-box {
    /* height: 96vh;*/
}

.clearfloat {
    clear: both;
}


.slide1 img,
.slide2 img,
.slide3 img,
.slide4 img,
.slide5 img,
.slide6 img {
    width: auto;
    height: 95%;
    margin: 0 auto;
    display: block;
    -webkit-box-shadow: 7px 7px 12px -1px rgba(158, 158, 158, 0.44);
    -moz-box-shadow: 7px 7px 12px -1px rgba(158, 158, 158, 0.44);
    box-shadow: 7px 7px 12px -1px rgba(158, 158, 158, 0.44);
}

.slide6 .kapcsolat {
    font-size: 1.1rem;
}

h1,
h2,
h3 {
    font-weight: normal;
    line-height: 1;
    text-align: center;
}

h1 {
    font-size: 4.5rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.5rem;
}

.contact {
    position: absolute;
    z-index: 5;
    text-align: center;
    width: 100%;
    top: 40%;
    transform: translateY(-50%);
}

footer {
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
}

footer a {
    color: #f3a6ac;
    font-size: 0.8rem;
    font-weight: bold;
    text-decoration: none;
}



/* COUNTDOWN
--------------------------------- */

#countdown {
    padding: 1.875rem;
    color: #362f2d;
    margin-bottom: 2.5rem;
    text-align: center;
    /* position: absolute;
    z-index: 5;*/

}

#countdown .date-circle {
    display: inline-block;
    margin: 0 0.25rem;
    border-radius: 100%;
    border: 1px solid #362f2d;
    height: 4.0625rem;
    width: 4.0625rem;
    padding-top: 0.5625rem;
    line-height: 1.2;
}

#nap,
#ora,
#perc,
#mp {
    font-size: 1.3125rem;
}

#countdown h1 {
    color: #fff;
    text-transform: none;
    font-size: 5rem;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.3;
}

#countdown .datum {
    font-size: 1.75rem;
    margin-bottom: 0;
    text-transform: uppercase;
}

#countdown .city {
    text-transform: uppercase;
    font-size: 1.125rem;
    margin-top: 0;
    margin-bottom: 1.875rem;
}


/* SLIDER - CAROUSEL
--------------------------------- */

#carousel {
    overflow: hidden;
    position: relative;
    width: 31.5rem;
    margin: 0.9rem auto;
    height: 100%;
}

#carousel .image {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
}

#carousel-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    top: 0;
}

#carousel ul.slides {
    display: flex;
    white-space: nowrap;
    font-size: 0;
    position: relative;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

#carousel li.slide {
    display: inline-block;
    position: relative;
    width: 100%;
    white-space: initial;
    font-size: initial;
    height: 95vh;
    overflow: hidden;
    flex: none;
}

#carousel li.slide a {
    display: block;
    color: inherit;
}

.carousel-content {
    max-width: 26.5rem;
    box-sizing: content-box;
    padding: 0;
    margin: 0 auto;
    display: block;
    position: relative;
    top: 0;
    height: 100%;

}

#next-slide,
#prev-slide {
    display: block;
    position: absolute;
    width: 3.125rem;
    top: 50vh;
    margin-top: -1.5625rem;
    z-index: 5;
    cursor: pointer;
    border-radius: 50%;
}

#next-slide {
    right: 23.375rem;
}

#prev-slide {
    left: 23.375rem;
}

#next-slide:before {
    position: absolute;
    top: 35%;
    left: -0.375rem;
    margin-top: -0.5rem;
    content: '';
    width: 0;
    height: 0;
    border: solid #f3a6ac;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 7px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

#prev-slide:before {
    position: absolute;
    top: 35%;
    right: -0.375rem;
    margin-top: -0.54rem;
    content: '';
    width: 0;
    height: 0;
    border: solid #f3a6ac;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 7px;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

#navigation {
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
    height: 1.125rem;
    bottom: 0.125rem;
    z-index: 5;
    margin-bottom: 0;
    margin-left: 0;
}

#navigation div {
    display: inline-block;
    width: 12px;
    height: 12px;
    cursor: pointer;
    border-radius: 50%;
    background: #f3a6ac;
    margin: 0 0.625rem;
    border: 3px solid #f3a6ac;
}

.nav-active {
    border: 3px solid #f3a6ac !important;
    background: #fff !important;
}

#carousel ul li:before {
    display: none;
}

#carousel ul li {
    padding-left: 0;
}

/* RESPONSIVE */


/* iPad Pro 12.9 Landscape */
/*@media only screen and (min-width: 1366px) and (max-width: 1366px) and (min-height: 1024px) and (max-height: 1024px) {*/
@media only screen and (min-width: 1366px) and (min-height: 768px) and (orientation: landscape) {

    .content-box {
        height: 100%;
    }


    #carousel {
        width: 49rem;
        height: 100%;
    }

    .carousel-content {
        max-width: 43.3rem;
    }

    #carousel li.slide {
        height: 96vh;
    }

    #next-slide {
        right: 18rem;
    }

    #prev-slide {
        left: 18rem;
    }

}


/* Big screen */
@media only screen and (min-width: 1370px) {

    .content-box {
        height: 98vh;
    }

    #carousel {
        width: 42rem;
    }

    #carousel li.slide {
        height: 95vh;
    }

    .carousel-content {
        max-width: 39.25rem;
        height: 100%;
    }

    #next-slide {
        right: 35.6rem;
    }

    #prev-slide {
        left: 35.6rem;
    }

    .slide1 img,
    .slide2 img,
    .slide3 img,
    .slide4 img,
    .slide5 img,
    .slide6 img {
        height: 98%;
    }

    #navigation {
        bottom: 0.9rem;
    }

}

/* iPad Pro 9.7 Landscape */
@media only screen and (min-width: 1024px) and (max-width: 1365px) {

    .content-box {
        height: 100%;
    }

    #carousel {
        width: 55%;
    }

    .carousel-content {
        max-width: 32.5rem;
    }

    #next-slide {
        right: 12rem;
    }

    #prev-slide {
        left: 12rem;
    }


}

@media only screen and (max-width: 1280px) {

    #carousel {
        width: 82%;
    }

    .carousel-content {
        max-width: 39.5rem;
    }
}

@media only screen and (max-width: 1024px) {
    .carousel-content {
        max-width: 30.5rem;
    }
}


/* iPad Pro 9.7 Portrait */
/*@media only screen and (min-width: 1366px) and (min-height: 1024px) and (orientation: portrait) {*/
@media only screen and (min-width: 768px) and (orientation: portrait) {

    #countdown .date-circle {
        height: 4rem;
        width: 4rem;
    }

    #nap,
    #ora,
    #perc,
    #mp {
        font-size: 1.4rem;
    }

    .smalltext {
        font-size: 0.9rem;
    }


    #carousel {
        width: 45.5rem;
    }

    .carousel-content {
        max-width: 43.5rem;
        height: 100%;
    }

    #navigation {
        bottom: 0.5rem;
    }

    #navigation div {
        width: 17px;
        height: 17px;
    }

    #prev-slide {
        left: -0.6rem;
    }

    #next-slide {
        right: -0.6rem;
    }

    #next-slide,
    #prev-slide {
        top: 47vh;
        border-width: 0 8px 8px 0;
    }
}

/* iPad Pro 12.9 Portrait */
/*@media only screen and (min-width: 1366px) and (min-height: 1024px) and (orientation: portrait) {*/
@media only screen and (min-width: 1024px) and (orientation: portrait) {


    #countdown .date-circle {
        height: 6rem;
        width: 6rem;
    }

    #nap,
    #ora,
    #perc,
    #mp {
        font-size: 2.3rem;
    }

    .smalltext {
        font-size: 1.5rem;
    }

    #carousel {
        width: 94%;
    }

    .carousel-content {
        max-width: 58rem;
        height: 100%;
    }

    #navigation {
        bottom: 0.5rem;
    }

    #navigation div {
        width: 25px;
        height: 25px;
    }

    #prev-slide {
        left: 0rem;
    }

    #next-slide {
        right: 0rem;
    }

    #next-slide,
    #prev-slide {
        top: 47vh;
        border-width: 0 8px 8px 0;
    }
}



/* Large smartphones Landscape - 
Top iPhone and Android phones 420×800
Xiaomi Redmi Note 9 Pro 393 x 873
Mid-range iPhone and Android phones II. 375×800,
iPhone 11 414x896 */
@media only screen and (max-width: 896px) and (orientation: landscape) {


    #next-slide {
        right: 6.8rem;
    }

    #prev-slide {
        left: 6.8rem;
    }

    #next-slide,
    #prev-slide {
        top: 58vh;
        position: fixed;
    }

    #carousel {
        width: 33.5rem;
    }

    #navigation {
        bottom: 0.4rem;
    }
}


/* Ipad portrait */
@media only screen and (max-width: 768px) {

    #carousel {
        width: 93%;
    }

    .carousel-content {
        max-width: 39.5rem;
    }

    #next-slide {
        right: 0;
    }

    #prev-slide {
        left: 0;
    }

}


/* iPhone 6/7/8 Plus Landscape */
@media only screen and (max-width: 736px) and (orientation: landscape) {
    #prev-slide {
        left: 1rem;
    }

    #next-slide {
        right: 1rem;
    }

    #next-slide,
    #prev-slide {
        top: 60vh;
    }

    #navigation {
        bottom: 0.6rem;
    }

}

/* MOBILE PHONES */

/* new iPhone 6/7/8 Plus Landscape */
@media only screen and (max-height: 420px) {

    .content-box,
    #carousel,
    #carousel li.slide {
        height: auto;
    }

    .slide1 img,
    .slide2 img,
    .slide3 img,
    .slide4 img,
    .slide5 img,
    .slide6 img {
        width: 100%;
    }

    #bg {
        bottom: unset;
    }

}

@media only screen and (max-width: 690px) {

    body {
        margin: 0;
    }

    #prev-slide {
        left: -1.5rem;
    }

    #next-slide {
        right: -1.5rem;
    }

    #carousel {
        width: 95%;
    }


    .carousel-content {
        max-width: 95%;
        top: 50%;
        transform: translateY(-50%);
        height: auto;
    }

    .slide1 img,
    .slide2 img,
    .slide3 img,
    .slide4 img,
    .slide5 img,
    .slide6 img {
        width: 100%;
        height: auto;
        -webkit-box-shadow: 4px 4px 6px -1px rgb(158 158 158 / 44%);
        -moz-box-shadow: 4px 4px 6px -1px rgba(158, 158, 158, 0.44);
        box-shadow: 4px 4px 6px -1px rgb(158 158 158 / 44%);
    }

}


/* new iPhone 6/7/8 Plus Portrait */
@media only screen and (max-width: 428px) {

    #carousel {
        width: 97%;
    }

    #countdown .date-circle {
        margin: 0 0.1rem;
        width: 3.5rem;
        height: 3.5rem;
    }

    #nap,
    #ora,
    #perc,
    #mp {
        font-size: 1.2rem;
    }

    .smalltext {
        font-size: 0.8rem;
    }

    .carousel-content {
        max-width: 98%;
        top: 50%;
        transform: translateY(-50%);
        height: auto;
    }

    .slide1 img,
    .slide2 img,
    .slide3 img,
    .slide4 img,
    .slide5 img,
    .slide6 img {
        width: 100%;
        height: auto;
    }

    #carousel-wrap,
    #carousel ul.slides,
    #carousel li.slide,
    .carousel-content {
        /*height: 100%;*/
    }

    #next-slide,
    #prev-slide {
        width: 2rem;
    }

    #next-slide {
        right: 0rem;
    }

    #prev-slide {
        left: 0rem;
    }

    #navigation {
        margin-left: 0rem;

    }

    .contact {
        top: 44%;
    }

}

@media only screen and (max-width: 420px) {

    #carousel {
        width: 97%;
    }

   /* .carousel-content {
        max-width: 24.5rem;
    }*/


    .contact {
        top: 45%;
    }


}

@media only screen and (max-width: 414px) {

    #carousel {
        width: 25.5rem;
    }


@media only screen and (max-width: 393px) {

    #carousel {
        width: 24.1rem;
    }

   .carousel-content {
        max-width: 96%;
    }
}


@media only screen and (max-width: 375px) {

    #carousel {
        width: 22.4rem;
    }

 /*   .carousel-content {
        max-width: 21.5rem;
    }*/


    #countdown .date-circle {
        margin: 0 0.2rem;
        width: 3rem;
        height: 3rem;
        line-height: 1.1;
    }

    #nap,
    #ora,
    #perc,
    #mp {
        font-size: 1.1rem;
    }

    .smalltext {
        font-size: 0.7rem;
    }

    #countdown {
        margin-bottom: 0.5rem;
    }

    #navigation {
        bottom: 0.4rem;
    }

}


@media only screen and (max-width: 360px) {
    #carousel {
        width: 22rem;
    }

    .carousel-content {
        max-width: 94%;
    }
}

@media only screen and (max-width: 320px) {
    #carousel {
        width: 19rem;
    }

    /*.carousel-content {
        max-width: 19.5rem;
    }*/
}
