@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}


nav {
    background: #2286B8;
    height: 80px;
    width: 100%;
    z-index: 1000;
}

label.logo img {
    vertical-align: middle;
    height: 50px;
    width: auto;
    margin: 15px;
}

nav ul {
    float: right;
    margin-right: 20px;
}

nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 10px;
}

nav ul li a {
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav ul li a:hover {
    background: #18638A;
}

.checkbtn {
    font-size: 22px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 30px;
    cursor: pointer;
    display: none;
  }
  
  #check {
    display: none;
  }


  .hero-section {
    background-image: url('./images/louvre.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .hero-section .overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 40px;
    text-align: center;
    border-radius: 8px;
  }
  
  .hero-section h1 {
    font-size: 3rem;
    margin-bottom: 10px;
  }
  
  .hero-section p {
    font-size: 1.2rem;
    margin: 0;
  }
  

  section {
    margin: 40px 0;
    padding: 20px 0;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  section:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .intro-section p,
  .history-section p,
  .culture-section p {
    margin-bottom: 20px;
  }
  

  .separator {
    text-align: center;
    margin: 30px 0;
  }
  
  .separator hr {
    width: 50%;
    border: none;
    border-top: 2px solid #ccc;
    margin: 0 auto;
  }
  


  .hoverable {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
  
  .hoverable:hover {
    background: #fff;
    color: #222;
  }
  



@media (max-width: 890px) {
    .checkbtn {
      display: block;
    }

    label.logo {
      font-size: 22px;
    }
    nav {
      width: 100vw;
      z-index: 2;
    }
    nav ul {
      position: fixed;
      width: 100%;
      height: 100vh;
      background: #2c3e50;
      top: 80px;
      left: -100%;
      text-align: center;
      transition: all .5s;
      z-index: 10000;
    }
  
    nav ul li {
      display: block;
      margin: 50px 0;
      line-height: 30px;
    }
  
    nav ul li a {
      font-size: 20px;
    }
  
  
  
    #check:checked~ul {
      left: 0;
    }

    .hero-section h1 {
        font-size: 2rem;
      }
    
      .hero-section p {
        font-size: 1rem;
      }
    
      section h2 {
        font-size: 1.8rem;
      }
    
      p {
        padding: 0 10px;
      }
    
      .separator hr {
        width: 70%;
      }
  }