/* text styling */

body {
  font-family: Arial;
  padding: 20px;
  background-color: #1d1b1b;
  background-size: cover;
  background-position: top center;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.header {
  padding: 20px;
  border: 50px;
  margin: 10px;
  font-size: 30px;
  text-align: center;
  background: rgb(84, 182, 178);
  color: rgb(70, 65, 65);
  max-width: fit-content;
  left: 45%;
  right: 50%;
  position: static;
  top: 0;
  border-radius: 5%;
}

.card {
  background-color: #3f3f3f;
  padding: 25px;
  margin-top: 20px;
  max-width: fit-content;
  height: auto;
  color: rgb(255, 255, 255);
  border-radius: 10px;
}

/* Navbar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2c2c2c;
  padding: 20px 40px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); 
  position: relative;
  top: 30px;
}

.navbar-sub-title {
  font-size: 20px;
  margin: 10px 0;
  color: rgb(252, 210, 0); 
  font-weight: bold; 
}

.navbar-title {
  color: rgb(255, 255, 255);
  font-size: 24px;
  margin: 0;
}

.navbar-button {
  background-color: rgb(23, 31, 30);
  border: none;
  color: rgb(255, 255, 255);
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0 10px;
  width: 200px;
}

.navbar-button:hover {
  background-color: #575757;
  color: #ffdd57;
}

/* Hamburger Menu */
.hamburger-menu {
  font-size: 30px;
  color: rgb(255, 255, 255);
  cursor: pointer;
  display: block; 
}

.navbar-links {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navbar-links.active {
  display: flex;
}

/* Layout styling  */

.image-container {
  text-align: center;
  margin-bottom: 20px;
}

.container-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px;
  padding: 20px;
  justify-items: center; 
}

.container-rows {
  display: grid;
  grid-template-rows: repeat(3, 1fr); 
  gap: 20px;
  padding: 20px;
  justify-items: center;
  width: 60%;
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100vh; 
  padding-top: 50px;
}


.container-blog-post {
  width: 97%;  
  height: auto; 
  background-color: #2b2a2a;
  color: #fff;
  padding: 40px;
  border-radius: 10px;
  line-height: 1.6;
  box-sizing: border-box;
  text-align: left;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
  display: flex;
}

.text-wrapper {
  flex: 0 0 60%;
}


.image-wrapper {
  flex: 0 0 40%; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
}

.image-wrapper img {
  max-width: 300px; 
  height: auto; 
}

.image-wrapper-left {
  max-width: 300px;
  height: auto;
  margin-left: 0; 
  margin-right: auto;  
}

/* Table styling */

.content-table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  min-width: 400px;
  border-radius: 5px 5px 0 0;
  box-shadow: 0px 0px 20px rgba(0, 0, 0 , 0.15);
  overflow: hidden;
}

.content-table thead tr {
  background-color: #456c70;
  color: white;
  text-align: left;
  font-weight: bold;

}

.content-table th,
.content-table td {
  padding: 12px 15px;
}

.content-table tbody tr {
  border-bottom: 1px solid #3b4041;
}

.content-table tbody tr.active-row {
  font-weight: bold;
  color:rgb(86, 166, 138)
}

.content-table tbody tr:nth-of-type(even) {
  background-color: #3e3a3a;
}

.content-table tbody tr:last-of-type {
  border-bottom: 2px solid #456c70;
}

.container-centre {
  display: flex; 
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
  gap: 20px; 
  padding: 20px;
  width: 50%; 
  background-color: #2b2a2a;
  border-radius: 15px;
  margin: 0 auto; 
  text-align: center;
}

.container-centre2 {
  display: flex; 
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
  padding: 20px;
  width: fit-content; 
  height: 50px;
  background-color: #2b2a2a;
  color: antiquewhite;
  border-radius: 15px;
  margin: auto;
  text-align: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
  margin-top: 50px; 
}

.container-centre-three {
  display: flex; 
  flex-direction: column;
  align-items: left; 
  justify-content: left; 
  gap: 20px; 
  padding: 20px;
  color: rgb(196, 196, 196);
  width: 50%; 
  line-height: 18px;
  font-size: 18px;
  background-color: #2b2a2a;
  border-radius: 15px;
  margin: 0 auto; 
  text-align: left;
}

.full-width-container {
  width: 100%;  
  padding: 20px;
  margin-bottom: 20px;
  background-color: #3e3d3d;
  color: #fff; 
  text-align: left; 
}

.container .card {
  background-color: #333;
  color: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 200px; 
  text-align: center; 
}

.container .card:hover {
  background-color: #444;
}

.leftcolumn {
  float: left;
  width: 75%;
}

.rightcolumn {
  float: left;
  width: 25%;
  padding-left: 1px;
}

.footer {
  display: flex;
  justify-content: center; 
  align-items: center;
  background: #000000;
  color: whitesmoke;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  opacity: 0.6;
  margin-top: 0px;
  padding: 0 20px;  
}

.footer-button-container {
  display: flex;
  justify-content: center;
  align-items: center;    
  width: 100%;   
  padding: 0 20px;   
}

.footer-text {
  margin: 0;
  position: absolute;  
  right: 20px; 
}

.row:after {
  content: '';
  display: table;
  clear: both;
}

/* Media queries */

    @media (max-width: 1024px) {
      .container {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .container {
        grid-template-columns: 1fr; 
      }
    }



    @media (min-width: 769px) {
      .navbar-links {
        display: none; 
      }
    }

    @media screen and (max-width: 600px) {
      .leftcolumn,
      .rightcolumn
      .card
      .footer
      .row:after
      .header
      .body {
        width: 100%;
        padding: 0;
      }
    }

    @media (max-width: 768px) {
      .hamburger-menu {
        display: block;
      }
    
      .navbar-links {
        display: none;
        flex-direction: column; 
        width: 100%; 
        position: absolute;
        top: 60px; 
        left: 0;
        background-color: #1d1b1b;
      }
    
      .navbar-links.active {
        display: flex;
      }
    
      .navbar-button {
        width: 100%; 
        text-align: left;
      }
    }

    @media (max-width: 480px) {
      body {
        font-size: 14px; 
        padding: 10px;  
      }
    }

    @media (max-width: 767px) {
      body {
        font-size: 15px;
        padding: 15px;
      }
    }

    @media (max-width: 1024px) {
      body {
        font-size: 16px;
      }
    }

    @media (max-width: 1200px) {
      body {
        font-size: 16px;
      }
    }