* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
    scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}

*::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
body, p, a, h1, h2 {
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-style: normal;
      scroll-behavior: smooth;
}

#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  background-color: #000E3C; /* semi-transparent */
  color: white;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 20px;
    border-bottom: solid 1.5px #ffffff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  flex-direction: column;
}

#welcome {
    background-image: url('cover.png');
    background-color: #000E3C;
    background-size: cover;
    background-position: center;
    width: 100%;
    color: #ffffff;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
}

#about {
    background-color: #ffffff;
    color: #000000;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
}

.welcomeItalics {
    font-weight: 600;
    font-style: italic !important;
}

p.titleText {
    max-width: 500px;
    font-size: 3em;
}

p.aboutTitleText {
    max-width: 500px;
    font-size: 3em;
}


html, body {
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
  font-family: 'EB Garamond', serif;
}

#container {
    scroll-snap-type: y mandatory;
    overflow-y: auto;
    height: 100vh; }

#councillorPortfolio {
    padding-top: 80px;
    margin: auto;
    align-content: center;
    align-items: center;
    justify-content: center;
    justify-items: center;
    display: flex;
}

.section {
  scroll-snap-align: start;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 3s ease-out forwards;
}

.section:nth-child(2) {
  animation-delay: 0.5s;
}
.section:nth-child(3) {
  animation-delay: 0.6s;
}
/* Add more delays as needed */

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Optional slide-in effect */
.slide-up {
  animation: slideUp 1s ease-out forwards;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fixed header */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  background-color: #000E3C;
  color: white;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 30px;
  border-bottom: 1.5px solid white;
}

.scroll-down {
  position: absolute;
  bottom: 20px;
  font-size: 40rem;
  color: white;
  text-decoration: none;
  animation: bounce 2s infinite;
  z-index: 10;
}

.scroll-down-reg {
  position: absolute;
  bottom: 20px;
  font-size: 40rem;
  color: #CF9C36;
  text-decoration: none;
  animation: bounce 2s infinite;
  z-index: 10;
}

.material-icons {
    font-size: 2.5rem !important;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(8px);
  }
  60% {
    transform: translateY(4px);
  }
}
#container {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}

#container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

h1.about {
    font-size: 3em;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-color: #CF9C36;
    padding-bottom: 0.3em;
}

p {
    font-size: 1.3em;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 20px;
}

.card {
  flex: 0 0 auto;
  width: 200px;
  background: white;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
}

.card img {
  width: 150px;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
}

.carousel-btn {
  background: #000E3C;
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

#roster {
    height: 100vh;
}

h1.aboutCouncillor {
    color: #000000;
    text-align: center;
    font-size: 2.5em;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-color: #CF9C36;
    padding-bottom: 0.3em;
}
h3.aboutCouncillor {
    color: #000000;
    text-align: center;
    font-size: 1.2em;
    font-weight: 800;
}
p.aboutCouncillor {
    color: #000000;
    text-align: center;
    font-size: 1.2em;
    font-weight: 400;
    max-width: 500px;
}
h4.aboutCouncillor.email{
    color: #CF9C36;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 0.1em;
    text-decoration-color: #CF9C36;
    padding-bottom: 0.3em;
}
h4.aboutCouncillor.phone{
    color: #000000;
    text-align: center;
}

img.coldenElementary {
  width: 20rem;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}

img.councillorprofile {
    width: 250px;
    height: 300px;
    object-fit: cover;
  margin-left: auto;
  margin-right: auto;
  align-content: center;
  align-items: center;
  justify-content: center;
  justify-items: center;
  display: flex;
}