:root{
    --h1:100px;
    --h2:70px;
    --h3:2em;
    --navlinkfont:23px;
}
html{
    height: 100%;
}
body{  
    margin:0;
    font-family: Tahoma, sans-serif;
    display: grid;
    grid-template-rows: min-content 1fr;
    box-sizing: border-box;
    padding:0;
    line-height: 1.5;
    min-height: 100%;
    width: 100%;
    background-image:url(../images/fo_hatter.webp);      
    background-position: center;
    background-size: cover;       
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
}
/* ----------NAV---------*/
.logo{    
    width:10rem;
    margin-left:4.5rem;
    margin-top:0.7rem;
    margin-bottom: 0.4rem;
    border-radius:50%;
}
.flex{
    display:flex;
    gap: var(--gap, 1.5rem);
}
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: linear-gradient(to right,#c9974d,rgba(255, 255, 255, 0.993));
}
.navbar-links ul{
    margin:0;
    padding:0;
    display:flex;
}
.navbar-links li{
    list-style: none;
}
.navbar-links li a{    
    font-size: 1.5rem;
    text-decoration: none;
    color: #c9974d;
    padding: 1rem;
    display: block;
    font-weight: bold;
    text-shadow: 1px 1px #000000;
}
.navbar-links li::after{
    list-style: none;
    width: 0%;
    content: '';
    height: 2px;
    background: #c9974d;
    display:block;
    margin:auto;
    transition: 0.5s;
}
.navbar-links li:hover::after{
    width: 70%;
}
.toggle-button{
    position:absolute;
    top:2rem;
    right:2rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}
.toggle-button .bar{
    height: 3px;
    width: 100%;
    background-color: #c9974d;
    border-radius: 10px;
}
/* ------------Kezdőlap-----------*/
.title{
    margin-top:35vh;
    margin-bottom: 25vh;
    margin-left:25%;
    margin-right: 25%;        
}
.title h1{  
    line-height: 0;      
    text-shadow: 2px 2px #080401;
    font-size: var(--h1);
    text-align: center;
    font-family: 'Style Script', cursive;        
    color: #c9974d;           
}
.title h3{            
    border-top: 3px solid #1a1a1a; 
    font-size: var(--h3);
    color: #1a1a1a;    
    text-align: center;
}
.main-content{
    margin-left: 15vh;
    margin-right: 15vh;
}
/* ---------------- Galéria ----------------*/
.imageGallery{   
    opacity: 1;
    text-align: center;       
    background-color:#1b1b1b;     
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    border-top: 2px solid #c9974d; 
    border-bottom: 2px solid #c9974d;  
}
.imageGallery h1{
    letter-spacing: 10px;
    font-size: var(--h2);
    font-weight: 600;  
    color: #fff;
    padding-bottom:1.1%;   
    margin-bottom:1.0%; 
    margin-left: 2vh;
    margin-right: 2vh;
    border-bottom: 5px solid #fff;
    border-radius: 10px;           
}

/*--------------Kapcsolat--------------*/
.downloadableFiles{
    margin-top:10vh;
    display:flex;
    justify-content:space-evenly;
    flex-wrap:wrap;
}
.download-btn{
  background-color: #1b1b1b;
  color: white;
  padding: 15px 25px;
  text-decoration: none;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px,
    rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}
.contact{
    position: relative;
    
    padding: 0 100px;
    
}
.contactGoogleLocation{  
    min-height: 70vh;
    display: block;
    text-align: center; 
    margin-top:5%;
}
.bordered-box{
    border-top: 3px solid #c9974d;
    border-bottom: 3px solid #c9974d;
}
.content{    
    text-align: center;
}

.container{
    width:100%;
    display:flex;
    min-height: 70vh;
    justify-content: center;
    align-items:flex-start;    
}
.contactInfo{
    width: 50%;
    display: flex;
    flex-direction: column;
}
.box{
    position: relative;
    padding: 20px 0;
    align-items: center;
    display: flex;
}
.icon{
    min-width:  60px;
    height: 60px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 22px;
}
.contactText{
    display:flex;
    margin-left: 20px;
    font-size: 16px;
    color: #000000;
    flex-direction: column;
    font-weight: 600;
}
.contactText h3{
    font-weight: 500;
    color:#c9974d
}
.contactForm{
    width:40%;
    padding: 60px 40px;
    background: #fff;
    border-top: 10px solid #c9974d;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px,
    rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    
}
.contactForm h2{
    font-size: 30px;
    color: #333;
    font-weight: 500;

}
.inputBoxNumber{
    position:relative;
    width: 40%;
    margin-top: 10px;
    font-size: 16px;
    margin: 10px 0;
    border:none;    
    outline: none;
    resize: none;
}
.inputBoxNumber input{
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border:none;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
}
.inputBoxNumber span{
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color: #666;
}
.inputBox{
    position:relative;
    width:100%;
    margin-top: 10px;
}
.inputBox input,
.inputBox textarea{
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border:none;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
}
.inputBox span{
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color: #666;
}
.inputBox input:focus ~ span,
.inputBox textarea:valid ~ span,
.inputBox textarea:focus ~ span,
.inputBox input:valid ~ span
{
    color: #c9974d;
    font-size: 12px;
    transform: translateY(-20px);
}
.inputBox input[type="submit"]
{
    height:40px;
    background: #c9974d;
    color: #fff;
    border: none;
    cursor:pointer;
    font-size: 18px;
}
.inputBoxNumber input:focus ~ span,
.inputBoxNumber input:valid ~ span{
    color: #c9974d;
    font-size: 12px;
    transform: translateY(-20px);
}
.reservationInfo{
    text-align: justify;
}
/*---------------EGER----------------*/

.grid-container{  
    padding-left: 5%;
    padding-right: 5%;
    grid-template-rows: 200px; 
    justify-content: center;
    align-items: flex-start;
    display: grid;    
    gap:1.5rem;
    color: #c9974d;       
    background-color: rgba(255, 255, 255, 0.884);
    text-align: justify;    
    border-radius: 10px;
    margin: 7vh 12vh 4vh;
    border: 2px solid #c9974d;  
    line-height: 34px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px,
    rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}
.grid-container p{
    text-align: justify;
    color:#1b1b1b;

    font-size: 20px;    
    letter-spacing: 2px;  
}
.grid-container li{
    color: #1b1b1b;
}
.grid-container img{
    margin:auto;    
    width:100%;    
    max-height: 60vh; 
    object-fit: fill;    
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);   
}
/*---------------HÁZIREND--------------*/

.text{    
    color: #c9974d;       
    text-align: justify;
    line-height: 34px;
    margin: 7vh 12vh 4vh;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px,
                rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    background-color: rgba(255, 255, 255, 0.842); 
    border-radius: 10px;
    border: 2px solid #c9974d;  
}
.text h3{
    margin: 5vh 7rem 40px;
    font-size: 30px;    
    letter-spacing: 4px;   
}
.text h4{
    margin: 1vh 7rem 40px;
    font-size: 24px;
    letter-spacing: 4px;   
    text-decoration: underline; 
}
.text h5{
    margin: 0.7vh 7rem 40px;
    line-height: 2;
    color: #1b1b1b;
    font-size: 21px;
}
.text p{   
    line-height: 1.8; 
    margin: 1vh 7rem 20px;
    font-size: 20px;    
    letter-spacing: 2px; 
    color:#1b1b1b;   
}
.text li {
    color: #1b1b1b;
}
.list{
    line-height: 2;
    letter-spacing: 2px;   
    margin: 1vh 7rem 40px;    
    font-size: 20px;
}

/*--------------FOOTER------------*/
.footer{       
    background-image: linear-gradient(to right,#c9974d,rgba(255, 255, 255, 0.993));
    min-height: 5vh;    
}
.footer-bottom{
    
    text-align: center; 
    color: #1b1b1b;  
    font-size: 17px;
    font-weight: 550;
}
/*----------------------MOBILE-----------------*/
@media(min-width: 35em){
    .navbar-links{        
        --gap: clamp(1.5rem, 5vw, 3rem);
        padding-block: 1rem;
        padding-inline:clamp(3rem, 5vw, 10rem);        
    }        
}
@media(min-width: 60em){
    .grid-container{
        grid-template-columns: 1fr 1fr;               
    }
    .grid-col-span2{    
        grid-column: span 2;   
    }    
}

@media (max-width: 67em) {   
    .navbar-links li:hover::after{
        width: 0%;
    }
    .toggle-button{
        display: flex;
    }
    .navbar-links{
        display: none;
        width: 100%;
    } 
    .navbar{        
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-links ul{
        width: 100%;
        flex-direction: column;
    }
    .navbar-links li{
        text-align: center;
    }
    .navbar-links li a {
        padding: .5rem 1rem;
    }
    .navbar-links.active{
        display: flex;
        padding:0;
        background-color: transparent;      
    }    
    .downloadableFiles{
        margin-top:5vh;
    }
    .download-btn{
        min-width: 50%;
        text-align: center;
        margin-bottom: 3%;
    }   
    .footer-bottom{
        font-size: 12px;
    }      
    
    .logo{        
        width:100px;
        margin-top: 1rem;
        margin-left: 2rem;
    }
                 
    .title h1{                
        font-size: 4em;
    }
    .title h3{
        font-size: 2em;
    }
    
}
@media (max-width:72em){
    
    .contact{
        padding-bottom:50px;
        padding-top:0px;
        padding-right:0px;
        padding-left:0px;

    }
    .googleMapLocation{
       width:100%;
       height:50%;
    }
    .contactGoogleLocation{
        max-height:15vh;
    }
    .container{
        flex-direction:column;
        align-items:center;
        justify-content:center;
    }
    .contactInfo{
        margin-bottom: 40px;
    }
    .contactInfo,
    .contactForm{
        width:75%;
    }
    @supports(backdrop-filter: blur(1rem)){
        .navbar-links{
            background: hsl(0 0% 100% / 0.1);
            backdrop-filter: blur(1rem);            
        }
    }    
    .title{
        margin: 15vh 15%;
    }
    .text{        
        letter-spacing: 0px;
        margin: 0vh 2.5vh 2vh;
    } 
     .grid-container{
        margin: 0vh 0vh 0vh;
        border-radius:0%;
        border:none;
    }   
    .text h3{   
        font-size: 1.5em;     
        letter-spacing: 0px;
        margin-left: 3.5vh;
        margin-right: 3.5vh;
    }
    .text h4{
        letter-spacing: 0px;
        margin-left: 3.5vh;
        margin-right: 3.5vh;
    }
    .text p{
        margin-bottom:10px;
        letter-spacing: 0px;
        margin-left: 3.5vh;
        margin-right: 3.5vh;
    }
    .text h5{
         margin-top:0;
        margin-bottom:0;
        letter-spacing: 0px;
        margin-left: 3.5vh;
        margin-right: 3.5vh;
    }
    .list{
        margin-bottom:10px;
        letter-spacing: 0px;
        margin-left: 3.2vh;
        margin-right: 3.2vh;
    }
    .hazirend-title{
        padding-top: 15vh;
        padding-bottom: 15vh;
    }
    .grid-container p{
        letter-spacing: 0px;    
        line-height:175%;
    }
    
}
@media (max-width:35em){
    .title{
       margin: 20% 5%; 
    }
    .title h1{
        font-size: 2.6em;
        margin-left: 0%;
        margin-right: 0%;
    }
    .title h3{
        font-size: 1.3em
    }    
    .text h3{        
        font-size: 18px;
    }
    .text h4{        
        font-size: 15px;
    }
    .text h5{
        font-size: 15px;
    }
    .text p{
        font-size: 13px;                
    }
    .list{
        font-size: 13px;
    }
    .grid-container p{
        font-size: 13px;
    }
    .grid-container h1{
        font-size: 1em;
        margin-left: 0%;
        margin-right: 0%;
    }
}


       


