@font-face {
  font-family: irish;
  src: url(irish.ttf);
}

/*programming for navigation bar.*/
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;

}

nav {
  position: sticky;
  width: 100%;
  height: 75px;
  line-height: 75px;
  padding: 0px 100px;
  background-image: linear-gradient(rgb(24, 99, 6),
      rgb(2, 32, 2));
  z-index: 9000;
}


nav .logo p {
  font-family: irish;
  font-size: 30px;
  float: left;
  color: white;
  letter-spacing: 1.5px;
  cursor: pointer;
}


nav ul {
  float: right;
}

nav li {
  display: inline-block;
  list-style: none;
}

nav li a {
  text-decoration: none;
  font-size: 18px;
  text-transform: uppercase;
  padding: 0px 30px;
  color: white;
}

nav li a:hover {
  color: rgb(236, 135, 40);
  transition: all 0.4s ease 0s;
}

.dropbtn {
  display: none;
}

/*media queries (stolen from Security Site)
/*media queries for the navigation bar*/
@media screen and (max-width: 1170px) {
  nav {
    padding: 0 20px;
    /* Adjust padding for smaller screens */
  }

  nav .logo p {
    font-size: 24px;
    /* Adjust font size for smaller screens */
  }

  nav li a {
    font-size: 14px;
    /* Adjust font size for smaller screens */
  }

}

/* Media query for smaller screens */
@media screen and (max-width: 900px) {
  nav {
    padding: 0 20px;
    /* Adjust padding for smaller screens */
  }

  nav .logo p {
    font-size: 24px;
    /* Adjust font size for smaller screens */
  }

  nav ul {
    display: none;
    /* Hide the navigation links by default */
    position: absolute;
    top: 75px;
    /* Adjust based on the height of the navbar */
    background-color: rgb(0, 114, 41);
    width: 100%;
    text-align: center;
    z-index: 1000;
  }

  nav ul li {
    display: block;
  }

  nav ul li a {
    display: block;
    padding: 20px 0;
    color: white;
  }

  .dropbtn {
    display: inline-block;
    background-color: green;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: solid 5px black;
  }

  .dropdown {
    position: relative;
    display: block;
  }

  .dropdown .dropbtn {
    float: right;
    display: block;
    line-height: 33px;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }

  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }

  .dropdown-content a:hover {
    background-color: #ddd;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown:hover .dropbtn {
    background-color: black;
  }

}

body {
  background: #02312b;
}


/*This is where the main body begins CSS for the header to make it top*/
header {
  position: relative;
  top: 0px;
  text-align: center;
  color: white;
  font-size: 40px;
  height: 350px;
  width: 100%;
  overflow: hidden;
}

header h1 {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  color: blanchedalmond;
}

header img {
  height: auto;
  width: 100%;
  transform: translateY(-50%);
}

/*media query for the header title and image*/
@media screen and (max-width: 425px){
  header h1{
    top:25%;
    left:50%;
    font-size: 50px;
  }
}

/*Blog content*/
.blog1 {
  position: relative;
  top: 90px;
  margin: auto;
  width: 50%;
  color: white;
  align-self: center;
  background-color: blanchedalmond;
  color: navy;
  line-height: 1.6;
}

.blog1 p {
  padding: 10px;
  font-size: 20px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.blog1 a {
  text-decoration: underline;
  color: orangered;
}
@media screen and (max-width: 425px) {
  .blog1 {
    top: 0px;
    width: 100%;
  }
}

.special {
  text-transform: lowercase;
  font-family: irish !important;
}

/*Programming for the footer*/
/* Footer styling */
.footer-container {
  position: relative;
  top: 100px; /* Adjust positioning as needed */
  background-color: rgba(0, 0, 0, 0.582);
  padding: 2rem 0 4rem 0;
}

.footer {
  width: 80%;
  min-height: 30vh; /* Ensure a minimum height for content */
  background-color: rgba(0, 0, 0, 0.952);
  color: white;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 0 auto;
  box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.1); /* Adjust shadow as needed */
}

.footer-heading {
  display: flex;
  flex-direction: column;
  margin-right: 4rem;
}

.footer-heading h2 {
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

.footer-heading a {
  color: white;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer-heading a:hover {
  color: rgb(0, 114, 41); /* Adjust hover color */
  transition: 0.3s ease-out;
}

/* Media queries */
@media screen and (max-width: 1150px) {
  .footer {
      min-height: 55vh; /* Adjust height for smaller screens */
  }
}

@media screen and (max-width: 820px) {
  .footer {
      padding-top: 2rem; /* Adjust top padding for smaller screens */
  }
  
  .footer-heading {
      margin-right: 2rem; /* Adjust margin for smaller screens */
  }
}
