/* Typography imported from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

/* Styling Variables */
:root {
  --accent-color: #555;
  --body-typeface: "Space Mono", sans-serif;
  --heading-typeface: "Space Grotesk", sans-serif;
  --gradient: linear-gradient(45deg, #f17c58, #e94584, #24aadb, #27dbb1, #ffdc18, #ff3706);
}

body {
  font-family: var(--body-typeface);
  color: white;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Making all images responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Typography */

h1 {
  font-size: 5rem;
  font-family: var(--heading-typeface);
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-transform: lowercase;
}

h2 {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
  line-height: 1.2;
  font-weight: 400;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  font-weight: 400;
  color: rgb(218, 219, 194);
}

p {
  color: #588013;
  font-size: 1.2rem;
}

.hero-headline {
  color: white;
}

/* Hyperlink Styles */
a {
  text-decoration: none;
  color: white;
}
a:hover {
  color: rgb(197, 197, 197);
}

p {
  margin-bottom: auto;
}

/* Work Page Layout */

/* Hero */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-image: url(assets/moss.jpg);
}

@keyframes bg-animation {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 100%;
  }
}

.hero-top {
  margin-top: 2rem;
}

.pictures1-wrapper {
  border: solid 2px red;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-right: 5rem;
}

.hero-headline-wrapper {
  border: solid 2px red;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  justify-content: flext-start;
  padding-top: 2rem;
  text-align: center;
  width: 40%;
}

.main {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  background-size: cover;
  background-image: url(assets/grass2.jpg);
}

.box-wrapper {
  border: solid 2px red;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  width: 23%;
}

.box {
  border: solid 2px red;
  padding: 15px;
  margin-bottom: 120px;
  background-color: white;
}

.pictures3-wrapper {
  border: solid 2px red;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
}

footer {
  width: 100%;
  padding: 1rem;
  text-align: center;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ===========================================================
   IDEA Web Ring Banner Styles
   --------------------------------------
   Styles for the inline “Previous | IDEA Web Ring | Next” 
   navigation links (web ring). 

   - Use with <nav class="webring" data-members="/webring-members-coding-club.json" data-hub="/"> container
   - Links: .webring-previous, .webring-next, .webring-hub
   - Divider between links: .divider
   =========================================================== */

.webring {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem; /* space between items */
  background: linear-gradient(135deg, #6a5af9, #f95a8a);
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.15);
  justify-content: center;
  margin-bottom: 1rem;
}

/* Individual links */
.webring-previous,
.webring-next,
.webring-hub {
  color: white;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  transition: background 0.3s;
}

.webring-previous:hover,
.webring-next:hover,
.webring-hub:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Divider between links */
.divider {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}
