
/* This is the stylesheet for the home page, things like font, color, size, etc */

:root {
  --ubuntu: 'Ubuntu', sans-serif;
}

#track {
  display: flex;
  flex-direction: row;
  position: relative;
  will-change: transform;
}

.carouselWrapper {
  position: absolute;
  left: 0px;
  top: 0px;
  box-sizing: border-box;
  padding: 1rem 0 1rem 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 120px;
}

.sponsorLogo {
  height: 100%;
  transition: transform .5s ease;
}

.sponsorLogo:hover {
  transform: scale(1.05);
}

.heroSection {
  background-color: white;
  background-image: url("https://i.postimg.cc/gcwqSpwZ/IMG-9547.jpg");
  height: 100vh;
  background-repeat: no-repeat; 
  background-position: center; 
  background-size: cover;
  color: white;
  text-align: center;
  display:grid;
  grid-template-rows: .3fr 1fr;
}

.heroSection h1, h2 {
  top: 20vh;
  justify-self: center;
  font-family: var(--ubuntu);
  font-size: clamp(30px, 3vw, 50px);
  margin-top: 0px;

}

#carousel {
  margin-top: 80vh;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  background-color: rgb(255,255,255);
  border: 1px solid black;
  height: 15vh;
  width: 100%;
  position: absolute;
  z-index: 10;
  border-left: none;
  border-right: none;
}

#FRC {
  border-top: solid black 1px;
  border-bottom: solid black 1px;
  padding: 50px 10% 100px 10%;
  text-align: center;
  box-sizing: border-box;
}

#info {
  align-items:center;
  text-align: center;
  gap: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr
}

#description {
  font-weight: 100;
  font-size: clamp(10px, 1.6vw, 30px);
}

#outreach {
  color: white;
  padding: 50px 10% 50px 10%;
  text-align: center;
  justify-content: center;
  background-color: maroon;
  font-family: var(--ubuntu);
}

#canvas {
  color: black;
  font-family: var(--ubuntu);
  margin-top: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  width: 100%;
  box-sizing: border-box;
}

.outreachCard {
  background-color: rgb(255,255,255);
  border-radius: 10px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  transition: box-shadow .5s ease, transform .5s ease;
}

.outreachCard:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.outreachCard * {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.outreachCard img {
  width: 100%;
  height: auto;
  display: block;
}

.no-margin {
  margin: 0;
  padding: 0;
}   
