html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    color: #415962;
    font-weight: 300;
    background-color: #FFF;
}

.logo {
    position: absolute;
    height: 160px;
    top: 15px;
    z-index: 5;
}

.top-logo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-left {
    padding-left: 50px;
    text-align: left;
    height: 100px;
    padding-top: 15px;
    line-height: 1;
}

.top-left a:link,
.top-left a:visited,
.top-left a {
    font-size: 20px;
    color: #333;
    text-decoration: none;
    font-weight: 400;
}

.top-left i {
    color: #a48f7b;
    height: 28px;
    width: 28px;
    position: relative;
    top: 6px;
}

.top-right {
    padding-right: 50px;
    text-align: right;
    height: 100px;
    display: flex;
    justify-content: end;
    align-items: center;
}

button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background: #a48f7b;
    font-family: "Montserrat", sans-serif;
    box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    cursor: pointer;
    border: none;
}

button:after {
    content: " ";
    width: 0%;
    height: 100%;
    background: #222;
    position: absolute;
    transition: all 0.4s ease-in-out;
    right: 0;
}

button:hover::after {
    right: auto;
    left: 0;
    width: 100%;
}

button span {
    text-align: center;
    text-decoration: none;
    width: 100%;
    padding: 13px 20px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 20;
    transition: all 0.3s ease-in-out;
}

button:hover span {
    color: #fff;
    animation: scaleUp 0.3s ease-in-out;
}

button.slajd {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background: #fff;
    font-family: "Montserrat", sans-serif;
    box-shadow: 0px 6px 15px 0px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    cursor: pointer;
    border: none;
}

button.slajd span {
    text-align: center;
    text-decoration: none;
    width: 100%;
    padding: 13px 20px;
    color: #a48f7b;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 20;
    transition: all 0.3s ease-in-out;
}

@keyframes scaleUp {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

.padder {
    padding: 0 60px;
}

.slider {
    width: 100%;
    aspect-ratio: 16/9;
    /* Keeps it responsive */
    overflow: hidden;
    border-radius: 8px;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.caption {
    color: #fff;
    background: rgba(164, 143, 123, 0.57);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 60px;
    text-align: center;
    max-width: 90vw;
    font-weight: 500;
    text-shadow: 0 0 15px #806a56;
    font-family: Cormorant;
}

.aboutimg {
    position: relative;
}

.aboutimg::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    height: calc(100% + 2 * 50px);
    width: 70%;
    background-color: #f9f0e7;
    z-index: -1;
}

.onas {
    padding: 90px 0 140px;
    text-align: center;
}

h2 {
    font-family: Cormorant;
    font-size: 50px;
    margin-bottom: 25px;
    color: #a48f7b;    
    line-height: 1;
}

.onas p {
    font-size: 20px;
}

.prekoho {
    padding-left: 60px;
}

.prekoho p {
    font-size: 20px;
}

.kontent {
    padding: 0 60px;
}

.rezervacie {
    padding: 140px 0 0;
    text-align: center;
}

.kontakt {
    padding: 100px 0 50px;
    text-align: center;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    margin-top: 60px;
}

.kontbox {
    text-align: center;
}

.kontbox i {
    color: #a48f7b;
    height: 40px;
    width: 40px;
    position: relative;
    top: 9px;    
}

.kontbox a, .kontbox a:link, .kontbox a:visited {
    font-size: 28px;
    color: #333;
    text-decoration: none;
    font-weight: 300;
}

.footer {
    font-size: 15px;
}

.footer small {
    display: block;
    margin-top: 4px;
}

.offcanvas {
    transition: transform 0.7s ease-in-out;
    background-color: #f9f0e7;
}

.offcanvas-end { width: 330px; }

.mobmenu {
    position: absolute;
    right: 20px;
    top: 32px;
    color: #333;
}

.offbox i {
    width: 40px;
    height: 40px;
    color: #a48f7b;
    display: block;
    margin: 0 auto;
}

.offbox a:link, .offbox a:visited, .offbox a {
    font-size: 20px;
    color: #555;
}

.mobinsta {
    color: #484848;
    margin-top: 40px;
}

@media (max-width: 1200px) {

    .onas { padding: 90px 0 100px; }

    .prekoho { padding-left: 30px; }

}

@media (max-width: 1100px) {

    h2 { font-size: 40px; }

    .onas { padding: 90px 0; }

}

@media (max-width: 992px) {

    .caption { font-size: 50px; } 

    .onas { padding: 90px 0 120px; }

    .prekoho {
        padding-left: 0;
        text-align: center;
        padding-top: 120px;
    }    

    .rezervacie { padding: 60px 0 0; }

}

@media (max-width: 768px) {

    .padder { padding: 0 20px; }

    .top-logo { height: 100px; }  
    
    .caption { font-size: 40px; line-height: 1.1; }

    .kontent { padding: 0 20px; }

    h2 { font-size: 35px; font-weight: bold; }

    .brejk { display: block; }

}

@media (max-width: 576px) {

    .caption {
        font-size: 40px;
        padding: .5rem 1rem;
    }

    .slider {
        width: 100%;
        aspect-ratio: 4/3;
    }

    .onas { padding: 50px 0 90px; }

    .prekoho { padding-top: 100px; }

}

@media (max-width: 450px) {

    .slider {
        width: 100%;
        aspect-ratio: 4/4;
    }

    .caption { font-size: 36px; }    

}
