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

/* Basic Website Styles */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

header {
  background-color: #140356;
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
  color: rgba(0, 225, 255, 0.57);
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: rgba(0, 225, 255, 0.57);
  text-decoration: none;
  transition: color 0.3s;
}

nav a:hover {
  color: #3498db;
}

main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

h1, h2, h3 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 1rem;
}
dt {
    font-weight: bold;
    margin-top: 1rem;
}

p {
    font: Times New Roman, serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

footer {
   background-color: #140356;
  color: #fff;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 2rem;
  margin-top: 3rem;
}

button {
  background-color: #3498db;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #2980b9;
}

/* Recipe section styles */
.recipe {
  background-color: #fff;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.recipe-photo{
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  float: left;
}
#external-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* About page folder-style design */
.folder-page {
  padding: 2rem 1rem 4rem;
}

.folder-container {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  padding-top: 4rem;
  border: 1px solid #c8a25e;
  border-radius: 0 0 18px 18px;
  background: #f6e1a2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.folder-tab {
  position: absolute;
  top: 0;
  left: 3rem;
  width: 220px;
  height: 4rem;
  background: #f7d87d;
  border: 1px solid #c8a25e;
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #4d2d00;
  text-transform: uppercase;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.folder-body {
  padding: 2.5rem 2rem 2rem;
  background: linear-gradient(180deg, #fffdf4 0%, #f7eedb 100%);
  border-radius: 0 0 16px 16px;
  min-height: 360px;
}

.folder-body h1,
.folder-body h2 {
  color: #4a3920;
}

.folder-body h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.folder-body p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #3c3225;
}

.folder-section {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(76, 57, 24, 0.24);
}

.folder-section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.gallery-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.gallery-links a,
.gallery-button {
  display: inline-block;
  background-color: #140356;
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  transition: background-color 0.3s, transform 0.3s;
  font-weight: 600;
}

.gallery-links a:hover,
.gallery-button:hover {
  background-color: #3498db;
  transform: translateY(-2px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.gallery-card {
  background-color: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(32, 40, 81, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.gallery-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.gallery-card h3 {
  margin: 1rem 1rem 0.5rem;
  color: #140356;
}

.gallery-card p {
  margin: 0 1rem 1rem;
  color: #4a3920;
  flex-grow: 1;
}

.gallery-button {
  margin: 0 1rem 1.25rem;
  text-align: center;
}

.gallery-section {
  margin-top: 2rem;
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  border: 1px solid rgba(76, 57, 24, 0.15);
}

.gallery-section h2 {
  text-align: left;
  margin-bottom: 1rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.photo-grid img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  min-height: 160px;
}

/* Video Styles */
.recipe-video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  float: left;
}

#external-video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.video-grid video {
  flex: 1 1 300px;
  min-width: 240px;
  max-width: 100%;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #000;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}

@media (max-width: 640px) {
  .folder-container {
    padding-top: 3.5rem;
  }

  .folder-tab {
    left: 1rem;
    width: calc(100% - 2rem);
  }

  .folder-body {
    padding: 2rem 1.25rem;
  }

  .photo-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.gg-yinyang {
  box-sizing: border-box;
  position: relative;
  display: block;
  /* ^ this is only to contain the icon as box is applied on all icons */

  width: 20px;
  height: 20px;
  border: 2px solid;
  border-radius: 22px
}
.gg-yinyang::after,
.gg-yinyang::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 10px;
  top: 4px
}
.gg-yinyang::before {
  border: 2px solid;
  left: 0
}
.gg-yinyang::after {
  border: 2px solid transparent;
  right: 0;
  box-shadow:
    inset 0 0 0 4px,
    0 -3px 0 1px,
    -2px -4px 0 1px,
    -8px -5px 0 -1px,
    -11px -3px 0 -2px,
    -12px -1px 0 -3px,
    -6px -6px 0 -1px
}
