html{
    scroll-behavior:smooth;
}

body {
    
    font-family: "Helvetica Neue", 'Roboto',Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #000; 
    font-family: 'Roboto+Slab';
    font-weight: bold; 
}

h1 {
    font-size: 2.5em; 
}

h2 {
    font-size: 2em; 
}

p{
    color: #000; 
    font-family:'Roboto+Slab';
    font-weight: 600;

}

ul {
    margin: 0;
    list-style-type: none;
    padding: 0;
}

/* HEADER */
header {
    align-items: center; /* Center the contents vertically */
    background-color: beige;
    display: flex;
    height: 150px;
    justify-content: center; /* Center the contents horizontally */
    padding: 20px;
    text-align: center;
}

header a {
    color: #FF8C00;
    margin-top: 0px;
    text-decoration: none;
    text-transform: uppercase;
}

header a:hover{
    text-decoration: underline;
}

header .logo{
    margin-right:20px;
    max-width:300px;
    height:auto;
}

/*SEARCH*/
.search-form {
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: center; /* Center the search form horizontally */
}

.search-form input {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
}

.search-form button {
    background-color: #FF8C00;
    border-radius: 4px;
    border: none;
    color: white;
    cursor: pointer;
    margin-left: 10px; /* Space between input and button */
    margin-right:15px;
    padding: 8px 12px;
}

.search-form button:hover {
    background-color: #ff7500; 
}

/*Navigation*/
nav{
    margin-left:auto;
    flex:1;
}

nav ul {
    margin: 0;
    list-style-type: none;
    padding: 0;
}

nav li {
    display: inline-block;
    margin-right: 40px;
}

nav li:last-child {
    margin-right: 0; /* Remove the margin for the last item */
}


/*ANIMATIONS*/
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 2s ease-in-out;
}

/* EVENTS*/
.Events {
    background-color: beige;
    border: 2px solid black; 
    border-radius: 10px;
    height:250px;
    /*opacity:0.6;*/
    padding: 40px 20px;
    text-align: center;
}

.Events .Events-content {
    max-width: 800px;
    margin: 0 auto;
}

.Events p {
    font-size: 1.2em;
    text-decoration: none;
}

.All-Events {
    background-color: beige;
    border: 2px solid black; 
    border-radius: 10px;
    height:350px;
    /*opacity:0.6;*/
    padding: 40px 20px;
    text-align: center;
}

.All-Events .All-Events-Content {
    max-width: 800px;
    margin: 0 auto;
}

.All-Eventsents p {
    font-size: 1.2em;
    text-decoration: none;
}

/*The contact us section*/
.contact-us {
    display: flex;
    padding: 20px 10px;
    align-items: center;
  }
  
  .contact-left {
    width: 650px;
    height: 550px;
  }
  
  .contact-left input {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #000;
    border-radius: 5px;
    background-color: #f5f5dc;
  }
  
  textarea {
    width: 100%;
    height: 150px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #000;
    border-radius: 5px;
    background-color: #f5f5dc;
    resize: none;
  }
  
  .contact-right {
    width: 550px;
    height: 350px;
  
    border: 4px solid #ff8c00;
    border-radius: 5px;
    background-color: #f5f5dc;
    margin: 20px 25px 20px;
    padding: 20px 10px 10px;
    font-size: 30px;
  }
  
  /*styling the buttons*/
  .button {
    --bg: #ff8c00;
    --hover-bg: #000;
    --hover-text: #000;
    color: #fff;
    cursor: pointer;
    border: 1px solid var(--bg);
    border-radius: 4px;
    padding: 0.8em 2em;
    background: var(--bg);
    transition: 0.2s;
    margin: 40px;
  }
  
  .button:hover {
    color: var(--hover-text);
    transform: translate(-0.25rem, -0.25rem);
    background: var(--bg);
    box-shadow: 0.25rem 0.25rem var(--hover-bg);
  }
  
  .button:active {
    transform: translate(0);
    box-shadow: none;
  }
  
  /*footer section*/
  .footer-section {
    display: flex;
    padding: 20px 10px;
    align-items: center;
  }
  
  .footer-left img {
    width: 350px;
    height: 300px;
  }
  
  /*styling the link element*/
  .footer-right a {
    font-weight: bold;
    font-size: 25px;
    display: inline-block;
  }
  
  .footer-right a {
    height: 35px;
    width: auto;
    min-width: 20px;
    align-items: center;
    justify-content: space-around;
    margin: 20px;
  }
  
  .footer-right a {
    position: relative;
    text-decoration: none;
    font-family: sans-serif;
    color: #f7a540;
    letter-spacing: 0.5px;
    padding: 0 10px;
  }
  
  .footer-right a::after {
    content: "";
    position: absolute;
    background-color: #116611;
    height: 5px;
    width: 0;
    left: 0;
    bottom: -10px;
    transition: 0.3s;
  }
  
  .footer-right a:hover {
    color: #e98203;
  }
  
  .footer-right a:hover:after {
    width: 100%;
  }
  .footer-right ul {
    list-style: none;
  }
  
  /* BACKGROUND*/
    .background{
        background-image: url("/Board_Game_Cafe_Website/public/assets/images/game.png");
        background-size:cover;
        background-position: center;
        background-repeat: no-repeat;
}
