body {
  background-color: #000033;
  color: white;
  font-family: 'Roboto', 'Oswald';
  font-size: 16px;
  
}

header h1 {
  text-align: center;
  font-size: 45px;
  color:white;
}

header p {
  text-align: center;
  font-size: 20px;
  margin-top: -15px;
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 10px;
}

nav a:hover {
  background-color: #000066;
  color: #fff;
  text-decoration: underline;
}

main {
  text-align: center;
  padding: 20px;
}

footer {
  text-align: center;
  padding: 10px;
  margin-top: 50px;
}

header {
  background-color: #000066;
  padding: 20px;
}

#blog-posts {
  display: block;
  justify-content: center;
  align-items: center;
  width: 550px; 
}

.blog-post {
    margin-bottom: 60px;
}

.blog-post a {
    text-decoration: none;
    color: inherit;
	align-items: center;
}

.blog-post img {
	align-items: center;
    width: 100%;
    height: 305px;
    margin-right: 10px;
	
}

.blog-post h2 {
	text-align: left;
	font-size: 25px;   
}

#input {
  display: flex;
  flex-direction: column;
}

form {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

input[type="text"],
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 3px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  resize: vertical;
  margin-bottom: 20px;
}

textarea {
  height: 150px;
}

input[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #28b02f;
}

#delete-btn {
  background-color: #b14646;
  position: relative;
  padding: 10px 20px;
  margin-top: 20px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  width: 100px;
}

#delete-btn:hover {
  background-color: #ff0000;
}

#confirm-delete {
  background-color: rgb(255, 255, 255);
  width: 500px;
  height: 200px;
  position: relative;
  top: -300px;
  left: 100px;
  border-style: solid;
  border-color: #ff0000;
  border-radius: 10px;
  border-width: 5px;
  display: none;
}

#confirm-delete-text {
  color: #000000;
  margin-left: 10px;
  font-size: 20px;
}

#delete-options {
  width: 100%;
  height: 60px;
  position: relative;
  top: 40px;
  display: flex;
  justify-content: center;
}

#yes-option {
  height: 100%;
  width: 115px;
  border-radius: 5px;
  background-color: #b14646;
  display: flex;
  font-size: 25px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#yes-option:hover {
  background-color: #ff0000;
}

#no-option {
  height: 100%;
  width: 115px;
  background-color: #000000;
  margin-left: 100px;
  border-radius: 5px;
  background-color: #4CAF50;
  display: flex;
  font-size: 25px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#no-option:hover {
  background-color: #08800e;
}


#load-more {
  
  display: inline-block;
  outline: 0;
  text-align: center;
  cursor: pointer;
  padding: 5px 10px;
  border: 0;
  color: #fff;
  font-size: 17.5px;
  border: 2px solid transparent;
  border-color: #ffffff;
  color: #ffffff;
  background: transparent;
  font-weight: 800;
  line-height: 30px;
  transition: background,color .1s ease-in-out;
  margin-bottom: 20px;
}

#load-more:hover {
  background-color: #ffffff;
  color: #000000;
}

#about-text {
  width: 50%;
  font-size: 20px;
  text-align: left;
}

#contact-div {
  text-align: center;
  font-size: 30px;
}

#banner {
  background-image: url('images\\banner.jpg');
  background-size: contain;
  background-repeat: repeat;
  background-position: center;
  background-blend-mode: darken;
}

#contact-info {
  font-size: 25px;
}

a {
  color: #007bff; /* Link color (blue in this example) */
  text-decoration: none; /* Remove default underline */
  transition: color 0.2s; /* Smooth transition for link color change */
}

/* Style for the <a> tag when hovered */
a:hover {
  color: #ff7f50; /* Change link color on hover (coral in this example) */
}

code {
  font-size: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-left: 100px;
}
/* Media query for screens up to 768px (typical mobile devices) */
@media (max-width: 768px) {
  header h1 {
    font-size: 26px; /* Reduce font size for better fit */
  }

  header p {
    text-align: center;
    font-size: 16px;
    margin-top: -15px;
  }

  #about-text {
  width: 85%;
  font-size: 20px;
  text-align: left;
  }

  code {
  font-size: 10px;
  margin-left: 0px;
}

  nav {
    display: block; /* Convert the navigation to a vertical layout */
    position: relative;
    left: -35px;
  }

  nav a {
    display: block; /* Ensure each navigation link takes full width */
    padding: 10px 0; /* Add vertical padding to separate links */
    text-align: center; /* Center the navigation links */
    padding-left: 25px;
  }

  nav a:hover {
    background-color: #000066;
    color: #fff;
    text-decoration: underline;
    padding-left: 25px;
  }
  

  nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
  }
  

  #blog-posts {
    padding: 10px; /* Reduce padding for better mobile layout */
    max-width: 350px; /* Allow main content to occupy full width */
    width: 100%;
  }

  .blog-post img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 250px; /* Set the desired height for the image */
  }

  h2 {
    font-size: 30px; /* Reduce heading font size for better fit */
  }
}

#img-cm {
  width: 75px;
  height: 75px;
  padding: 10px;
}

#blog-post-cm {
  display: flex;
  margin: 10px;
  width: 1250px;
  height: 100px;
  align-items: center;
  border: solid;
  border-width: 1px;
  border-radius: 5px;
  border-color: gray;
  position: relative;
  left: -450px;

}

#tite-text-cm {
  text-align: left;
  font-size: 20px;
  font-weight: lighter;
}

#date-cm {
  color: gray;
  font-size: 20px;
  text-align: left;
}

#icons-cm {
  display: flex;
  position: absolute;
  right: 0;
}

#icon-cm {
  width: 50px;
  height: 50px;
  padding-right: 10px;
}

#cm-btns {
  display: flex;
  position: relative;
  left: 37px;
  bottom: 15px;
}

#new-post-btn {
  background-color: #4CAF50;
  display: flex;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  width: 110px;
  height: 20px;
  align-items: center;
  justify-content: center;
}

#visit-website-btn {
  background-color: #4CAF50;
  display: flex;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  width: 135px;
  height: 20px;
  position: relative;
  align-items: center;
  justify-content: center;
  position: relative;
  left: 25px;
}

#new-post-btn:hover {
  background-color: #28b02f;
}

#visit-website-btn:hover {
  background-color: #28b02f;
}

#new-post-icon {
  width: 25px;
  margin-right: 15px;
}

#leave-icon {
  width: 25px;
  margin-right: 15px;
}

#date {
  font-style: italic; 
  color: gray;
  position: relative;
  top: 15px
}

img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 400px;
}

h2 {
  font-size: 40px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 20px;
}

#blog-page {
  display: flex;
  
}

#blog-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

#blog {
  width: 750px;
  display: flex;
  flex-direction: column;
  align-items: left;
  text-align: left;
  justify-content: center;
}

#blog p {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.5px;
  margin-top: -2px;
}

#blog-posts a {
  cursor: pointer;
}

/* Media query for screens up to 768px (typical mobile devices) */
@media (max-width: 768px) {
  header h1 {
    font-size: 26px; /* Reduce font size for better fit */
  }

  header p {
    text-align: center;
    font-size: 16px;
    margin-top: -15px;
  }
  
  nav {
    display: block; /* Convert the navigation to a vertical layout */
    position: relative;
    left: -35px;
  }

  nav ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap; /* Allow nav items to wrap to new lines */
    justify-content: center;
    padding: 0;
    margin: 0;
  }

  nav a {
    display: block; /* Ensure each navigation link takes full width */
    padding: 10px 0; /* Add vertical padding to separate links */
    text-align: center; /* Center the navigation links */
    padding-left: 50px;
    min-width: 120px; /* Optional: set a minimum width for nav items */
    box-sizing: border-box;
  }

  nav a:hover {
    background-color: #000066;
    color: #fff;
    text-decoration: underline;
    padding-left: 25px;
  }

  main {
    padding: 10px; /* Reduce padding for better mobile layout */
    max-width: 350px; /* Allow main content to occupy full width */
    width: 100%;
  }

  img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
  }

  h2 {
    font-size: 30px; /* Reduce heading font size for better fit */
  }
}