@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&family=Roboto:wght@100&display=swap');

:root {
    --transition: all 0.7s ease;
    --salmon: salmon;
    --dark: #292826;
}
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Playfair Display, serif';
}
html {
    scroll-behavior: smooth;
}
body {
    line-height: 1.6;
}

.btn {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    padding: 10px;
    width: 140;
    display: block;
    margin: 15px auto;
    cursor: pointer;
    transition: var(--transition);
}
.btn:hover{
    opacity: 0.85;
}
.flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
h1,h2,h3,h4,h5,h6 {
    padding: 8px 0;
}
img {
    width: 100%;
    display: block;    
}
@media(max-width: 500px){
    body {
        font-size: 14px;
    }
}

/* header*/
.header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)),
    url(img/optimized/photo1_optimized.png) center/cover no-repeat;
    min-height: 100vh;
    color: #fff;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-top span{
    cursor: pointer;
    letter-spacing: 2px;
    transition: var(--transition);
}
.header-top span:hover{
    color: salmon;
}
.header-bottom {
    flex: 1;
    text-align: center;
    width: 80vw;
    margin: 0 auto;
}
.header-bottom h1 {
    padding: 22px 0;
    font-size: 45px;
    /* border-bottom: 1px solid #fff; */
}
.header-bottom h2 {
    opacity: 0.7;
    font-size: 40px;
    margin: 10px auto;
    width: 60vw;
}
.head-btn {
    margin: 20px 0;
    font-size: 20px;
    font-weight: bold;
    border: 3px solid #fff;
    background: transparent;
    padding: 13px 20px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    
}
.head-btn:hover{
    background: transparent;
}
@media(max-width: 500px) {
    .head-btn{
        font-size: 17px;
    }
    .header-bottom h2 {
        font-size: 28px;
    }
    .header-bottom p {
        font-size: 17px;
        margin: 20px auto;
    }
}

.site-name {
    font-size: 1.5rem;
}

/* side nav*/
.sidenav {
    background: var(--dark);
    color: #fff;
    position: fixed;
    top: 0;
    bottom: 0;
    right: -100%;
    width: 300px;
    padding: 20px;
    transition: var(--transition);
    z-index: 10;
}

/*********/
.sidenav.show{
    right: 0;
}
/************/
.cancel-btn{
    position: absolute;
    right: 25px;
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition);
}
.cancel-btn:hover{
    opacity: 0.7;
}
.navbar {
    margin-top: 50px;
    list-style: none;
    padding: 12px;
}
.navbar li a {
    color: #fff;
    text-transform: capitalize;
    text-decoration: none;
    padding: 15px 0;
    display: block;
    border-bottom: 0.5px solid salmon;
    opacity: 0.8;
    letter-spacing: 1.5px;
    transition: var(--transition);
}
.navbar li a:hover {
    padding-left: 12px;
}
@media(max-width: 400px){
    .sidenav{
        width: 100vw;
    }
}

/* title */
.title {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 30px;
    color: var(--salmon);
    border-bottom: 5px solid var(--dark);
    width: 435px;
    margin: 15px 0;
}

.sec-width {
    width: 85vw;
    margin: 0 auto!important;
}

/* about*/
.article {
    margin: 40px 0;
}

.about {
    display:flexbox;
    margin: 30px 0;
}
.about-container {
    padding-left: 20px;
}
.about-container h2 {
    opacity: 0.7;
}
.aboutBalatonfured {
    padding-top: 30px;
}
@media(min-width: 992px){
    .about-container{
        
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-column-gap: 30px;
    }
}

/* rooms */

.rooms {
    margin: 40px 0;
}
.room {
    margin: 45px 0;
    padding-bottom: 25px;
    background: var(--dark);
    color: #fff;
}
.room-text {
    padding: 5px 28px;
}
.room-text h3 {
    font-size: 24px;
}
.room-text ul {
    list-style-type: none;
    margin: 15px 0;
}
.room-text ul li {
    padding: 7px 0;
}
.room-text ul li i {
    color: var(--salmon);
    margin-right: 10px;
}
.room-text p {
    margin-bottom: 30px;
}
.rate {
    opacity: 0.8;
    margin-left: 25px;
}
.rate span {
    font-size: 30px;
    font-weight: 900;
    color: var(--salmon)
}
.room-image {
    overflow: hidden;
}
.room-image img {
    transition: var(--transition);
}
.room-image:hover img {
    transform: scale(1.1);
}
.room-text a {
    padding-top: 5px;
}
@media(min-width: 980px){
    .rooms-container{
        display: flex;
        flex-wrap: wrap;
    }
    .room {
        flex: 0 0 calc(50% - 20px);
        margin: 10px;
    }
}
@media(min-width: 1370px) {
    .rooms-container{
        flex-direction: column;
    }
    .room {
        display: flex;
        padding-bottom: 0;
        margin: 5px 0;
    }
    .room-image{
        flex: 1;
    }
    .room-image img {
        height: 100%;
    }
    .room-text {
        flex: 1;
    }
    .room:nth-child(even){
        flex-direction: row-reverse;
    }
}
.customers {
    margin-top: 40px;
    padding: 40px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("img/optimized/fixhatter_optimized.jpeg") center/cover no-repeat fixed;
}
.customer {
    background: #fff;
    padding: 35px;
    text-align: center;
    margin: 24px 0;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.75);
    cursor: pointer;
    transition: var(--transition);
}
.rating {
    margin: 10px 0;
    color: yellow;
}
.customer h3 {
    font-size: 25px;    
}
.customer p{
    opacity: 0.7;
    line-height: 1.8;
    width: 60%;
    margin: 0 auto;
}
.customer img {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    margin: 25px auto;
}
.customer span {
    font-weight: 700;
    opacity: 0.7;
}
.customer:hover {
    transform: translateY(-18px);
}
@media(min-width: 992px){
    .customer-container{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 30px;
    } 
}
@media(min-width: 1370px){
    .customer-container{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    } 
}
@media(max-width: 500px){
    .customer p{
        width: 100%;
        height: 100%;
    }
}

/* footer */
.footer {
    background: var(--dark);
    color: #fff;
    text-align: center;
}
.footer-container {
    width: 85vw;
    margin: 0 auto;
    padding: 30px 0;
}
.footer-container h4, .footer-container a, .footer-container span {
    opacity: 0.8;
}
.footer a, footer-btn {
    display: block;
    color: #fff;
    text-decoration: none;
}
.social-icons {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 15px 0;
}
.social-icons li {
    margin: 0 10px;
    width: 50px;
    height: 50px;
    background: #2e2e2e;
    border-radius: 50%;
    transition: var(--transition);
    cursor: pointer;
}
.social-icons li:hover{
    background: #fff;
    color: #2e2e2e;
}
.contact-item span{
    display: block;
}

.designed {
    justify-content: center;
    text-align: center;
}
@media(min-width: 900px){
    .footer-container{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }
}
@media(min-width: 1170px){
    .footer {
        text-align: left;
    }
    .footer-container{
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-container div:nth-child(1) p{
        padding-right: 20px;
    }
    .contact-item{
        display: grid;
        grid-template-columns: 10% 90%;
        margin-bottom: 15px;
        align-items: center;
    }
}

/* carousel */
.carousel-container {
    width: 70%;
    margin: auto;
    /* border: 5px solid black; */
    overflow: hidden;
    position: relative;
	margin-bottom: 100px;	
	margin-top: 100px;
}
.w3-display-container {
	height: auto;
	width: auto;
}
/* 
.carousel-slide {
    display: flex;
    width: 100%;
    height: 80%;
	width: 80%;
} */
.w3-container {
	width: auto;
	height: auto;
}
.w3-container img {
	width: 100%;
	height: 100%;
}
@media(max-width: 900px){
    .w3-container img {
        width: 100%;
        height: 100%;
        display: flex;
    }
}
@media(max-width:1170px){
    .w3-container img {
        width: 100%;
        height: 100%;
    }
}
.slideshow {
    margin-top: 40px;
    padding: 40px 0;
}
#prevBtn {
    position: absolute;
    top: 50%;
    z-index: 10;
    left: 5%;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
#nextBtn {
    position: absolute;
    top: 50%;
    z-index: 10;
    right: 5%;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
/* end of carousel */

.showModal {
    position: fixed;
    background: transparent;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
}




    


