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

body {
    font-family: 'Arial Narrow', Arial, Helvetica, sans-serif;
    background-color: #9381ff;
    color: #494546;
    line-height: 1.6;
}

.container {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #9381ff;
    /* padding: 20px; */
    /* height: 90vh; */
    background-image: url(imgs/montrealnoise.png);
    background-position: center -350px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-attachment: fixed;
}

.construction{
    background-color: #9381ff;
    padding: 20px;
    height: 40vh;
    background-image: url(imgs/montrealnoise.png);
    background-position: center -350px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-attachment: fixed;
}


.scroll-container {
  width: 100%;
  overflow:hidden;
  white-space: nowrap;
  background: #baff29;
  max-width: 100%;
  margin: 0px;
  padding: 0%;
  border-top: 2px solid #494546;
  border-bottom: 2px solid #494546;
}

.titlecard {
    flex: 0 0 auto;
    height: auto;
    width: auto;
    background: baff29;
    display: flex;
    align-items: center;
    justify-content: center;
    color:#494546;
    font-family: 'Arial Narrow', Arial, sans-serif;
    font-size: 6rem;
    margin: 0 0px;
}

.scroll-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}


@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


header h1 {
    font-size: 12rem;
    text-align: center;
    font-family:'Arial Narrow', Arial, sans-serif;
}

header p {
    font-size: 1.2rem;
    color: #494546;
    font-weight: bold;
    text-align: center;
    padding: 0;
    margin-top: -60px;
    
}


nav {
    background-color: #9381ff;
    border-bottom: 2px solid #baff29;
    padding: 0 20px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    max-width: 950px;
    margin: 0 4vw;
    
}

nav ul li a {
    display: block;
    padding: 14px 20px;
    color: #494546;
    text-decoration: none;
    font-family: 'Arial Narrow', Arial, sans-serif;
    font-size: 0.95rem;
}

nav ul li a:hover {
    background-color: #baff29;
    color: 494546;
}

nav ul li a.active {
    background-color: #baff29;
    color: #494546;
    font-weight: bold;
}


main {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

h1 {
    font-family:'Arial Narrow', Arial, sans-serif;
    font-size: 8rem;
    color: #494546;
    margin-bottom: 0px;
    font-weight:100;
    line-height: 100%;
}

h2 {
    font-family: 'Arial Narrow', Arial, sans-serif;
    font-size: 4rem;
    color: #494546;
    margin-bottom: 12px;
    font-weight:100;
    line-height: 100%;
}

h3 {
    font-family: 'Arial Narrow', Arial, sans-serif;
    font-size: 1.2rem;
    color: #494546;
    margin-bottom: 8px;
}

p {
    font-family: Helvetica, sans-serif;
    margin-bottom: 14px;
    padding-right: 20%;
    font-size: 1rem;
    color: #494546;
}

.hero-box {
    background-color: #baff29;
    border-color:#494546;
    border: solid 2px;
    padding: 200px 0px 00px 30px;
    margin: 0px 0px 40px 0px;
    display: inline-block;
}

.hero-box h2 {
    padding-right: 40%;
    margin-bottom: 30px;
    font-size: 3rem;
    color: #494546;
}

.hero-box p {
    font-size: 1rem;
    color: #494546;
}

/* buttonsssssssssss */


.btn {
    display: inline-block;
    background-color: #494546;
    color: #eee;
    padding: 15px 15px;
    text-decoration: none;
    font-size: .9rem;
    margin-right: 8px;
    font-family: 'arial narrow', Arial, Helvetica, sans-serif;
    position: absolute;
    border: 2px solid #494546;
    z-index: 1000;
}

.btn:hover {
    background-color: #9381ff;
}

.btn-outline {
    background-color: #494546;
    color: #eee;
    margin: auto;
}

.btn-outline:hover {
    background-color: #9381ff;
}

.section {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}


/* about !!!!!!!!!! */
.about {
    background-color: #baff29;
    border: 2px solid #494546;
    padding: 200px 30px 0px 40px;
    margin-top: 30px;
    margin-bottom: -10px;
}

.about h2 {
    font-family: 'Arial Narrow', Arial, sans-serif;
}

.about p {
    font-size: .9rem;
    line-height: 1.75;
}

/* READ MORE THINGY */

/* Hide the actual checkbox */
.read-more-state {
  display: none;
}

/* Initially hide the extra content */
.read-more-target {
  opacity: 0;
  max-height: 0;
  font-size: 0;
  transition: .5s ease;
  cursor: default;
}

/* Reveal content when checkbox is checked */
.read-more-state:checked ~ .read-more-wrap .read-more-target {
  opacity: 1;
  max-height: 999em;
}

/* Set button text using pseudo-elements */
.read-more-state ~ .read-more-trigger:before {
  content: 'Read more';
}

.read-more-state:checked ~ .read-more-trigger:before {
  content: 'Read less';
}

/* Style the button */
.read-more-trigger {
  cursor: pointer;
  /* display: inline-block; */
  padding: 10px 22px;
  color: #eee;
  background-color: #494546;
  font-family: 'Arial Narrow', Arial, sans-serif;
  border: 2px solid #494546;
  position: absolute;
}

.read-more-trigger:hover {
    background-color:#9381ff;
}


/* CARDS AND BUTTONS */

.scroll-container2 {
  width: 100%;
  overflow:hidden;
  white-space: nowrap;
  background: #baff29;
  /* display: flex; */
  /* justify-content: space-around; */
  margin: 0%;
  padding: 0%;
}

.txtcard {
    flex: 0 0 auto;
    height: auto;
    width: auto;
    background: #baff29;
    display: flex;
    align-items: center;
    justify-content: center;
    color:#494546;
    font-family: 'Arial Narrow', Arial, sans-serif;
    font-size: 2rem;
    margin: 0 0px;
}

.scroll-track2 {
    display: flex;
    width: max-content;
    animation: scroll2 30s linear infinite;
}


@keyframes scroll2 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.btncard {
    flex: 0 0 auto;
    height:auto;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #9381ff;
}

.card-row {
    display: flex;
    flex-direction:row;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.card {
    flex: 0 0 0 0;
    background-color: #494546;
    border: 2px solid #494546;
    padding: 0;
    text-decoration: none;
    color: #494546;
    max-width: 40%;
}

.card:hover {
    background-color: #9381ff;
}

.card:hover h3 {
    color:#494546
}

.card:hover p {
    color:#494546
}

.card p {
    font-size: 0.88rem;
    color: #baff29;
    margin: 10px;
    padding: 30px 0px 0px 0px;
}


/* the storyyyyyy */

.timeline {
    list-style: none;
    background-color: #baff29;
    border: 2px solid #494546;
}

.timeline li {
    padding: 150px 20px 0px 24px;
    border-bottom: 2px solid #494546;
    position: relative;
}


.timeline .year {
    font-size: 0.78rem;
    font-weight: bold;
    color: #494546;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.timeline p {
    font-size: 0.92rem;
    color: #494546;
    margin-bottom: 8px;
}

.badge {
    display: inline-block;
    font-size: 0.72rem;
    padding: 2px 9px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: 'Arial Narrow', Arial, sans-serif;
    border:2px solid #494546;
    position:absolute
}

.badge-closed  { 
    background-color: #494546; 
    color: #baff29; 
}

.badge-progress { 
    background-color: #9381ff; 
    color: #494546; 
    width: auto;
    padding: 2px -9px;

}

.badge-victory { 
    background-color: #9381ff; 
    color: #494546; 
    width: 150px;
    padding: 2px 0px;

}

.badge-crisis  { 
    background-color: #494546; 
    color: #9381ff; 
}


/* sourcesszzzzzz */

.sources {
    background-color: #baff29;
    padding: 20px;
    border: #494546 solid 2px;
}

.source-list li {
    padding: 16px 0;
    border-bottom: 2px solid #494546;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.source-num {
    font-size: 1.4rem;
    font-weight: bold;
    color: #494546;
    min-width: 32px;
    line-height: 1.2;
}

.source-title {
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: #494546;
}

.source-meta {
    font-size: 0.82rem;
    color: #494546;
    line-height: 1.5;
}

.source-meta a {
    color: #9381ff;
}

.source-meta a:hover {
    text-decoration: underline;
}


/* feet */

footer {
    background-color: #9381ff;
    color: #494546;

}

footer p {
    color: #494546;
    text-align: center;
    padding: 30px 0px;
    margin: 30px 0 0 0;
    font-size: 0.8rem;
    font-family: 'Arial Narrow', Arial, sans-serif;
}
