/* Global styles */

*{
    font-family: "Covered By Your Grace", cursive !important;
    font-weight: 400;
    font-style: normal;
    font-size: xx-large;
}
body {
    color: #171a53;
    margin: 0;
    padding: 0;
}

header {
    background-color: #1e2666;
    padding: 10px;
}

h1 {
    text-transform: uppercase !important;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center !important;
    gap: 20px;
}
nav li {
    padding: 0 !important;
}

nav a {
    color: #fad255;
    text-decoration: none;
}

ul, li{
    list-style: none !important;
}

img {
    max-width: 35vw !important;
    min-width: 10vw !important;
    border-radius: 10px !important;
    border-color: white !important;
    border-width: thick !important;
    border-style: solid !important;
}

/* Style the navbar */
#navbar {
  position: sticky;
  top: 0;
  overflow: hidden;
}

/* Navbar links */
#navbar a {
  float: left;
  display: block;
  text-align: center;
  padding: 14px;
  text-decoration: none;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #7db959;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2em;
    margin-top: 20px;
}

.hero p {
    max-width: 600px;
    margin: 10px auto;
}

.hero-img {
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
}

.section {
    padding: 40px 20px;
    text-align: center;
}

.section h2 {
    font-size: 1.8em;
    color: #7db959;
    text-transform: uppercase;
}

.section p, .section ul {
    max-width: 700px;
    margin: auto;
}

.covered-by-your-grace-regular {
  font-family: "Covered By Your Grace", cursive;
  font-weight: 400;
  font-style: normal;
}

/*-----------------------------------*/

/* Style the navigation menu */
.navbar {
  width: 100%;
  background-color: #555;
  overflow: auto;
  position: sticky !important;
  top: 0;
  overflow: hidden;
  background-color: #333;
}

/* Navigation links */
.navbar a {
  float: left;
  padding: 12px;
  color: white;
  text-decoration: none;
  font-size: 17px;
  width: 20%; /* Four equal-width links. If you have two links, use 50%, and 33.33% for three links, etc.. */
  text-align: center; /* If you want the text to be centered */
}

/* Add a background color on mouse-over */
.navbar a:hover {
  background-color: #000;
}

/* Style the current/active link */
.navbar a.active {
  background-color: #1e2665;
}

/* Add responsiveness - on screens less than 500px, make the navigation links appear on top of each other, instead of next to each other */
@media screen and (max-width: 500px) {
  .navbar a {
    float: none;
    display: block;
    width: 100%;
    text-align: left; /* If you want the text to be left-aligned on small screens */
  }
}

/* Smooth scroll effect */
html {
    scroll-behavior: smooth;
}
