@import url("responsivity.css");

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: white;
    color: #333;
    line-height: 1.6;
  }

  ::selection {
    background-color: #d2b48c;   
  }
 
  .container {
    width: 90%;
    margin: 0 auto;
  }
  
  /* header */
  header {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
  }
  
  header h1 {
    margin-bottom: 10px;
    font-size: 2rem;
  }
  
  .nav {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
  }
  
  .nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
  }
  
  .nav a:hover {
    color: gray;
  }
  
  /* logo  */
  .logo {
    text-align: center;
    padding: 40px 20px;
    background-image: url("../media/background.jpg"); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  
  .logo img {
    max-width: 300px;
    border-radius: 8px;
  }
  
  .logo blockquote {
    margin-top: 20px;
    font-size: 200%;
    font-style: italic;
    color: white;
  }
  
  /* services */
  .services {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 40px 20px;
    background-color: rgb(230, 230, 230);
  }
  
  .service img {
    width: 60px;
    margin-bottom: 10px;
  }
  
  .service h3 {
    margin-bottom: 10px;
  }
  
  /* weekly-pizzas */
  .weekly-pizzas {
    padding: 40px 20px;
    text-align: center;
  }
  
  .weekly-pizzas h2 {
    margin-bottom: 30px;
    font-size: 180%;
  }
  
  .pizza-table {
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 20px 15px; 
    position: relative;
  }

  .pizza-table tr {
    position: relative;
  }

  .pizza-table td {
    vertical-align: middle;
    text-align: center;
    padding: 0 10px;
  }

  
  .pizza-table img {
    max-width: 180px;
    border-radius: 8px;
  }

  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  

  
  /* about */
  .about {
    background-color: rgb(230, 230, 230);
    padding: 40px 20px;
  }
  
  .about h2 {
    text-align: center;
    font-size: 180%;
    margin-bottom: 30px;
  }
  
  .row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
  }
  
  .about-image img {
    max-width: 400px;
    border-radius: 10px;
  }
  
  .about-text {
    max-width: 600px;
  }
  
  .about-text p {
    margin-bottom: 20px;
  }
  
  .button {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
  }
  
  .button:hover {
    background-color: #555;
  }

  /* linkek */
  a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #333;
    transition: color 0.2s, border-color 0.2s;
  }
  
  /* aside */
  .opening-hours {
    background-color: rgb(230, 230, 230);
    border-left: 4px solid #d2b48c;
    padding: 15px 20px;
    margin: 40px auto;
    width: 80%;
    font-size: 1rem;
    color: #333;
  }

  /* js pizzaZoom */
  .zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .zoomed-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
  }
  

  /* footer */
  footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
  }
  