@import url('https://fonts.googleapis.com/css2?family=Kreon:wght@300..700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #45a5b3;
  font-family: "Kreon", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  min-height: 100vh;
}

.website-list .site-name {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: "Kreon", serif;
  color: #cb6937;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 2em;
  color: #ffffff;
  font-weight: 700;
  font-family: "Kreon", serif;
}

h2 {
  font-size: 1.5em;
  color: #ffffff;
  font-weight: 600;
  font-family: "Kreon", serif;
}

h4 {
  font-size: 1em;
  color: #f8eb57;
  font-weight: 500;
  font-family: "Kreon", serif;
}

.menu-bar {
    background-color: #f8eb57;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #184c49 !important;
    text-decoration: none;
    letter-spacing: 1px;
}

.menu-bar ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-bar a {
    color: #184c49 !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.menu-bar a:hover {
    color: #cb6937 !important;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .menu-bar ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

body {
  background-color: #45a5b3;
  font-family: 'Kreon', serif;
  min-height: 100vh;
}

#main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;  /* Reduced from 2rem to 0.8rem */
}

/* Add this to ensure proper spacing between other elements except h1 and p */
.website-list {
  margin-top: 2rem;
}

.website-list {
  width: 100%;
}

.website-list ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
}

.website-list li {
  transition: transform 0.2s ease;
}

.website-list li:hover {
  transform: translateY(-5px);
}

.website-list a {
  display: block;
  height: 100%;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #184c49;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease;
    position: relative;
}

.website-list a i {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: #cb6937;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.website-list a:hover i {
    transform: scale(1.1);
}

.website-list .site-name {
    padding-right: 2.5rem; /* Make room for icon */
}

.website-list a:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-decoration: underline;
}

.website-list .site-name {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: #cb6937;
  margin-bottom: 0.75rem;
}

.website-list .site-description {
  display: block;
  font-size: 0.95rem;
  color: #184c49;
  line-height: 1.5;
}

.box {
  width: 100%;
  max-width: 300px;
  padding: 1rem;
  margin: 1rem 0;
  border: 1px solid #184c49;
  background: #ffffff;
  border-radius: 10px;
}

.text-yellow {
  color: #f8eb57;
}

.text-white {
  color: #ffffff;
}

#footer {
  background-color: #000000;
  padding: 2rem;
  margin-top: 2rem;
  color: #f8eb57;
  width: 100%;
}

@media (max-width: 768px) {
  #main {
    padding: 0 1rem;
  }
  
  .menu-bar ul {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .box {
    max-width: 100%;
  }
}