/* styles and team.css */

/* Centering the image */
body {
    /* background: rgb(4, 97, 35); */  
    background: url('../media/texture.jpg') repeat;
    color:black;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    margin: 5px;
    border: 20px;
    overflow-x: hidden; /* Prevent horizontal overflow */
  }
  
  /* HEADER */
  
  header {
    /* background-color: rgb(4, 97, 35); */
    /* background: url("../media/overlay.png") center center no-repeat; */
    overflow: hidden; /* Clear floats */
  }
  
  button {
    position: relative;
    background-color: #4CAF50;
    outline-color: transparent;
    border-radius: 10px;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition: background-color 0.4s;
    box-shadow: 0px 0px 2px 2px rgb(0, 0, 0);
  }
  
  button:hover {
    background-color: #FFA500;
    box-shadow: 5px 5px 10px #0f0f0f, -5px -5px 10px #0f0f0f;
    transform: translateY(-5px);
  }
  
  button::before {
    content: "";
    background: url("../media/overlay.png") center center no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    pointer-events: none; /* Allow button clicks */
  }
  
  
  header .mobile {
    display: none;
  }
  
  header .logo a {
    background-image: url("../media/logo-1W.png");
    background-size: 300px;
    background-repeat: no-repeat;
    display: inline-block;
    height: 100px;
    width: 300px;
  }
  
  nav ul {
    margin: 20;
    padding: 0;
    list-style-type: none;
    text-align: center;
  }
  
  nav li {
    display: inline-block;
    margin-right: 20px;
  }
  
  /* RESPONSIVE RULES */
  
  @media screen and (max-width: 715px) {
    header {
      height: auto;
      background-position: 0 -30px;
    }
  
    header .mobile,
    header .desktop {
      display: block;
      text-align: center;
    }
  
    header .desktop {
      display: none;
    }
  
    nav ul {
      text-align: center;
    }
  
    nav li {
      display: block;
      margin: 10px 0;
    }
  
    header .logo a {
      margin-bottom: 10px; /* Adjust the margin for logo in mobile view */
    }
  }
  
  @media screen and (min-width: 716px) {
    header .mobile {
      display: none;
    }
  
    header .desktop {
      display: inline-block;
    }
  }
  
  @media screen and (max-width: 500px) {
    header {
      height: 300px;
      background-position: 0 -0px;
    }
  }
  
  /* FEATURES */
  
  .features {
    background: url('../media/texture.jpg') repeat;
    color: whitesmoke;
    padding: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .features figure {
    margin: auto;
    padding: 5px;
    text-align: center;
    text-transform: uppercase;
    width: 200px;
  }
  
  .features figure img {
    border: 1px solid white;
    border-radius: 50%;
    box-shadow: gray 0 0 10px;
    width: 200px;
  }
  
  .flex-container {
    display: flex;
    flex-direction: row;
  }
  
  /* FOOTER */
  
  body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal overflow */
    /* overflow-y: hidden;*/
  }
  
  footer {
    background: linear-gradient(to right, #4CAF50, #FFA500);
    padding: 20px;
    
    }
  
  .footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .footer-content p {
    margin: 0;
  }
  
  .footer-content a img {
    width: 10%;
    height: 50px;
    
  }
  
  .footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .footer-content p {
    margin: 0;
  }
  
  /* Reduce the width of the image by 50% */
  .footer-content img {
    width: 7%;
    max-width: 30%; /* Ensure it doesn't exceed its container's width */
  }

img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 15px; /* Rounded edges */
}


