*{
    list-style: none;
    text-decoration: none;
}

body{
    color:#0b0b0c;
    background-color: #f1efef;
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
}

section{
    max-width: 840px;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.334) 15px 10px 15px;
    border-radius: 1rem;
    font-size: 1em;

    padding: 0.5rem 1rem 1rem 1rem;
    margin: 3rem 1rem;
}

html{
    font-size: 100%;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

main{
    margin: 1rem;
}

b,
strong{
    font-weight: light;
}

a{
    color: inherit;
    font-size: 1.5em;
    text-decoration: none;
    padding-top: 3rem;
    padding-right: 2rem;
}

img{
    width:100%;
    height: auto;

    border-style: none;
    border-radius: 0.25rem;

    margin: 0.5rem 0;
}

h1{
    text-align: center;
    font-size: 1.1em;
    font-weight: lighter;
    line-height: 1;
    padding: 0.5rem 1rem;

    box-sizing: border-box;
    border-radius: 0.5rem;
    background-color: #ce9527;
}

h2{
    background-color: #ce9527;
    text-align: center;
    font-size: 1.1em;
    font-weight: lighter;
    line-height: 1;
}

h3{
    font-size: 01em;
    text-align: center;
    font-weight: bolder;
}

p{
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8em;
    text-align: center;
}

hr{
    border-top: 2.5px dotted;
    width: 100%;
}

.head {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    margin: 0.75rem auto;
}

.distance{
    width: 2rem;
    height: 2rem;
    margin: 0 0.5rem;
}

.kontakt{
    display: grid;
    place-items: center;
}

iframe{
    max-width: 100%;
    border: none;
    border-radius: 5px;
}

.main-logo{
    width: 8rem;
    height: 8rem;
    display: flex;
    margin: 0 auto;
}

.icon{
    width: 2.5rem;
    height: 2.5rem;
    padding: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.udaj{
    display: grid;
    place-items: center;
}

.phone-contact a{
    padding-right: 0;
}

.mail a{
    font-size: 1.5em;
    padding-top: 0;
    padding-right: 0;
    text-decoration: none;
    display: block;
}

button {
    width: 100%;
    
    justify-content: center;
    padding: 0.5rem 2rem;
    margin-top: 2rem;

    font-size: 0.8em;
    font-weight: bold;
    width: 100%;

    text-align: center;
    text-decoration: none;
    color: #0b0b0c;
    background-color: #ce9527;

    backface-visibility: hidden;
    border: 0.3rem solid transparent;
    border-radius: 1px;
}

textarea{
    width: inherit;
    resize:none;
}

.btn{
    border-color: transparent;
    transition: background-color 0.3s ease-in-out;
}
    
.btn:hover {
    background-color: #ecb64b;
}

.input-group{
    position: relative;
    padding: 0.5rem ;
    display: grid;
    place-items: center;
}

.input{
    width: 100%;
    padding: 0.625rem;
    border: none;
    border-radius: 1px;

    font: inherit;
    font-style: bold;
    color: #0b0b0c;
    background-color: transparent;
    outline: 1px solid #0b0b0c;
}  
  
.dropdown{
    width: 102%;
    font-size: 0.8em;
    padding: 0.625rem;
    border: none;

    font: inherit;
    font-style: bold;
    color: #0b0b0c;
    background-color: transparent;
    outline: 1px solid #0b0b0c;
}

.input-label{
    position: absolute;
    font-size: 1em;
    top: 0.5rem;
    left: 0.5rem;
    transform: translate(0.625rem, 0.625rem);
    transition: transform .25s;
}

.input:focus+.input-label,
.input:valid+.input-label{
    transform: 
    translate(0.09rem, -0.625rem) scale(.8);
    padding-inline: 5px;
    font-size: 0.8em;
    background-color: #ffffff;
}

.inupt:is(:focus, :valid){
    outline-color: #ce9527;
}

.reservation table{
    margin-bottom: 1rem;
}

.reservation p{
    margin-bottom: 2rem;
}

input[type=date]:required:invalid::-webkit-datetime-edit {
    color: transparent;
}
input[type=date]:focus::-webkit-datetime-edit {
    color: black !important;
}

@media screen and (min-width: 768px) and (max-width:1023px){

    body{
        margin: 0 ;
        font-size: 0.8em;
    }

    section{
        margin: 5 auto;
        padding: 2rem 3rem 2rem 3rem;
    }

    h3{
        font-size: 1.25em;
        text-align: center;
    }

    h1{
        font-size: 1.5em;
        margin: auto;
        max-width: 450px;
    }

    p{
        font-size: 1em;
        text-align: justify;
    }

    hr{
        margin-top: 1rem;
    }

    .text p{
        margin-top: 0;
    }

    .ilustration{
        display:flex;
        flex-direction: row;
        gap: 1rem;
    }

    .text .ilustration img{
        height: 8rem;
    }

    .ilustration img{
        box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    }

    .mainhead{
        display: flex;
        flex-direction: row;
        text-align: justify;
    }

    .head{
        margin: 0.8rem auto;
    }

    .mainhead1{
        display: flex;
        flex-direction: row-reverse;
        text-align: justify;
    }

    .main-content{
        display: flex;
        flex-direction: row;
        margin: 2rem 0;
    }

    .udaj{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .main-logo{
        width: 8rem;
        height: 8rem;
        display: flex;
        margin: 0 0;
    }

    .icon{
        width: 2rem;
        height: 2rem;
        padding: 1rem;
        margin: 0 0.25rem;
    }

    .phone-contact{
        padding-top: 1rem;
        margin: 0 0;
    }

    .phone-contact p{
        font-size: 0.9em;
        margin-bottom: 0;
        margin-top: 0.25rem;
    }

    .mail p{
        margin-top: 2rem;
        font-size: 0.8em;
    }

    .phone-contact a{
        padding-right: 2rem;
    }

    button {
        width: 100%;
    }

    .dropdown{
        width: 103%;
    }

    .input-label{
        font-size: 1em;
    }

    input[type=date]:required:invalid::-webkit-datetime-edit {
        color: transparent;
    }
    input[type=date]:focus::-webkit-datetime-edit {
        color: black !important;
    }

    .galleryr{
        display:flex;
        flex-direction: row;
        gap: 1rem;
        row-gap: 1rem;
    }

    .galeria .ilustration img{
        width: 49%;
    }

    .ilustration1{
        display:flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .ilustration1 img{
        width: 30%;
    }

    .ilustration2{
        display:flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .ilustration2 img{
        width: 48%;
        vertical-align: middle;
        height: 25rem;
    }

}

@media screen and (min-width: 1024px){

    body{
        margin: 0;
        font-size: 1em;
    }

    section{
        margin: 5rem auto;
        padding: 1rem 3rem 2rem 3rem;
    }

    hr{
        margin-top: 1rem;
    }

    h1{
        font-size: 1.5em;
        margin-left: auto;
        margin-right: auto;
        max-width: 450px;
    }

    h2{
        font-size: 1.25em;
    }

    h3{
        font-size: 1.25em;
        text-align: center;
    }

    p{
        font-size: 1em;
        text-align: justify;
    }

    .ilustration{
        display:flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .text .ilustration img{
        height: 10rem;
    }

    .ilustration img{
        box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
        width: 30%;
    }

    .mainhead{
        display: flex;
        flex-direction: row;
    }

    .mainhead1{
        display: flex;
        flex-direction: row-reverse;
        text-align: justify;
    }
    .head{
        margin: 0.8rem auto;
    }

    .distance{
        width: 2rem;
        height: 2rem;
        margin: 0 0.5rem;
    }

    .main-content{
        display: flex;
        flex-direction: row;
        margin: 2rem 0;
    }

    .udaj{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .main-logo{
        width: 10rem;
        height: 10rem;
        display: flex;
        margin: 0 0;
    }

    .icon{
        width: 3rem;
        height: 3rem;
        padding: 1rem;
        margin: 0 0.25rem;
    }

    .phone-contact{
        padding-top: 1rem;
        margin: 0 0;
    }

    .phone-contact p{
        margin-bottom: 0;
        margin-top: 0.25rem;
    }

    .mail p{
        margin-top: 2rem;
    }

    .phone-contact a{
        padding-right: 2rem;
    }

    .galleryr{
        display:flex;
        flex-direction: row;
    }
    
    .galeria .ilustration img{
        width: 48%;
    }
    
    .ilustration1{
        display:flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .ilustration1 img{
        width: 30%;
    }
    
    .ilustration2{
        display:flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .ilustration2 img{
        width: 49%;
        vertical-align: middle;
        width: 25rem;
    }
}


/* Chaty CSS code*/

table{
    width: 100%;
    text-align: left;
    margin-bottom: 0rem;
}

table img{
    vertical-align: middle;
    border-style: none;

    width: 1.5rem;
    height: 1.5rem;
}

table,tr{
    border: 1px solid #0b0b0c;
    border-collapse: collapse;
}

td, tr{
    font-size: 0.8em;
    padding: 0.5rem;
    line-height: 1.5;
}

@media screen and (min-width: 768px) {

    .chaty-content{
        display: flex;
        flex-direction: row;
    }

    table{
        margin-top: 1rem;
    }

    table img{
        vertical-align: middle;
    
        width: 1.5rem;
        height: 1.5rem;
    }

    td, tr{
        font-size: 1em;
        padding: 0.5rem;
        line-height: 1.5rem;
    }
    
    .chaty .ilustration img{
        width: 49%;
    }
}

/* Footer CSS code*/

.footer{
    width: 100vw;
    background-color: #0b0b0c;
    padding: 1rem auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-container{
    display: flex;
    flex-direction: row;
    margin: 2rem auto;
    gap: 15rem;
}

.footer-content{
    padding: 0 auto;
}

.footer-content h1{
    text-decoration: underline;
    text-align: left;
    font-size: 1.5em;
    margin: 0;
    padding: 0;
    padding-bottom: 2rem;
    background-color: transparent;
    color: #ffffff;
}

.footer-content p{
    color: #ffffff;
    font-size: 1.25em;
    margin: 0.5rem 0;
}


.footer-links img{
    width: 24px;
    height: 24px;
    padding-bottom: 0.5rem;
}

.footer-links a{
    padding: 0;
}

.copyright{
    color: #ffffff;
    display: grid;
    place-items: center;
}

.copyright hr{
    width: 90vw;
    border-top: 1px solid;
    margin: 0 auto;
}

.copyright img{
    width: 12px;
    height: 12px;
    margin: auto 1rem;
}

.copyright-content{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.social{
    display: flex;
    flex-direction: row;
}

.social p{
    font-size: 1em;
    margin: 0.5rem;
    vertical-align: middle;
}


@media screen and (max-width: 767px){
    .footer-container{
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-content h1{
        text-align: center;
    }    

    .social{
        justify-content: center;
    }    

    .dropdown{
        font-size: 0.8em;
        width: 108%;
    }

    .input-label{
        font-size: 0.8em;
    }

    button {
        width: 100%;
    }

    input[type=date]:required:invalid::-webkit-datetime-edit {
        color: transparent;
    }
    input[type=date]:focus::-webkit-datetime-edit {
        color: black !important;
    }
}
