/* General Styles */
body {
  font-family: 'Nunito', sans-serif;
  font-weight: 300;
  margin: 0;
  padding: 0;
  background-color: #dfdfdf;
  color: #333;
  letter-spacing: 0.1em;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #66bb6a;
  color: white;
  padding: 15px 20px;
  letter-spacing: .1em;
}

header h1 {
  margin: 0;
  font-size: 1.5em;
}

nav {
  display: flex;
  gap: 15px;
  align-items: center;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Hero Section */
#hero-background-image {
  background-image: url('https://media.istockphoto.com/id/1404349414/photo/world-map-topographic-map-dark-ocean-color.jpg?b=1&s=612x612&w=0&k=20&c=Fwt0oZn1nR5h-v_eh8RGBCUvnRXHgMFxccBp5etCH1I=');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 0;
}
        
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-content {
  flex: 1;
  padding-right: 20px;
  font-size: 20px;
}

.hero-content h2 {
  margin-top: 0;
  color: #4CAF50;
}

.hero-content p {
  line-height: 1.6;
}

.hero-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
    
ul.custom-bullet {
  list-style-type: none;
}
    
ul.custom-bullet li {
  margin-left: 20px;
  position: relative;
  padding-left: 15px;
  padding-bottom: 10px;
}
    
ul.custom-bullet li::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('https://img.icons8.com/?size=100&id=Xg4R2nPgPfPP&format=png&color=000000');
  background-size: cover;
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-80%);
}

/* Features Section */
.features {
  max-width: 1200px;
  margin: 20px auto;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

#features {
  padding-top: 40px;
}

.card-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.card {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
}

.card a {
  color: #4CAF50;
  text-decoration: none;
  display: block;
  margin: 10px 0;
  font-size: 1.2em;
  font-weight: bold;
}

.card a:hover {
  text-decoration: underline;
  color: #3d8b40;
}

.card h3 {
  margin: 0;
  color: inherit;
}

.card img {
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
}

.card p {
  line-height: 1.6;
}

/* Comment Box Styles */
.comment-box {
  background-color: rgba(245, 245, 245, 0.9);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 15px;
  border-top: 1px solid #ddd;
  margin-top: 10px;
}

.comment-box h4 {
  margin-top: 0;
  color: #4CAF50;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

.comment {
  padding: 10px;
  margin-bottom: 10px;
  background-color: white;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comment p {
  margin: 0 0 5px 0;
}
    
.comment small {
  color: #666;
  font-size: 0.8em;
}
    
.delete-comment {
  position: absolute;
  right: 10px;
  top: 10px;
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 3px;
  padding: 2px 5px;
  cursor: pointer;
  font-size: 0.8em;
}
    
.delete-comment:hover {
  background: #cc0000;
}


.comment-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9em;
}

.comment-time {
  color: #666;
  font-size: 0.8em;
}

.comment-body {
  line-height: 1.5;
}

.no-comments {
  color: #666;
  font-style: italic;
  text-align: center;
  padding: 20px;
}

/* Global Comments Section */
#comments-section {
  background-color: rgba(245, 245, 245, 0.9);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-top: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

#comments-section h4 {
  margin-top: 0;
  color: #4CAF50;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

#comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#comment-form textarea {
  width: 98%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
  font-size: 1em;
}

#comment-form button {
  align-self: flex-end;
  padding: 8px 16px;
  background-color: #68be6b;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

#comment-form button:hover {
  background-color: #129117;
}

#comments-list {
  margin-top: 15px;
  max-height: 300px;
  overflow-y: auto;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}


/* Footer Styles */
footer {
  text-align: center;
  padding: 15px 0;
  background-color: #66bb6a;
  color: white;
  margin-top: 20px;
  letter-spacing: .1em;
}
        
.editorial {
  display: block;
  width: 100%;
  height: 100px;
  max-height: 60px;
  margin: 0;
  z-index:2;
  bottom:0;
  position:relative;
  left:0px;
  float:left;
}

.parallax1 > use {
  animation: move-forever1 10s linear infinite;
  &:nth-child(1) {
    animation-delay: -2s;
  }
}

.parallax2 > use {
  animation: move-forever2 8s linear infinite;
  &:nth-child(1) {
    animation-delay: -2s;
  }
}

.parallax3 > use {
  animation: move-forever3 6s linear infinite;
  &:nth-child(1) {
    animation-delay: -2s;
  }
}

.parallax4 > use {
  animation: move-forever4 4s linear infinite;
  &:nth-child(1) {
    animation-delay: -2s;
  }
}

@keyframes move-forever1 {
  0% {
    transform: translate(85px, 0%);
  }
  100% {
    transform: translate(-90px, 0%);
  }
}

@keyframes move-forever2 {
  0% {
    transform: translate(-90px, 0%);
  }
  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes move-forever3 {
  0% {
    transform: translate(85px, 0%);
  }
  100% {
    transform: translate(-90px, 0%);
  }
}

@keyframes move-forever4 {
  0% {
    transform: translate(-90px, 0%);
  }
  100% {
    transform: translate(85px, 0%);
  }
}

#section2{
  padding-top:12px;
}

#logoutBtn {
  padding: 8px 16px;
  background-color: #0d8111;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

#logoutBtn:hover {
  background-color: #285737;
}

#loginBtn {
  padding: 8px 16px;
  background-color: #0d8111;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

#loginBtn:hover {
  background-color: #48b11e;
}