:root {
  --summer-green: #8ED188;
  --simply-purple: #5b509c;
  --deep-blue: #403773;
}

html { 
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'Railroad Gothic CC';
  src: url('/RailroadGothicCC.ttf') format("truetype");
}

body {
  font-family: "Besley*", "Besley", system-ui;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

a {
  color: var(--simply-purple);
  font-family: 'Railroad Gothic CC';
  text-decoration: none;
}

h1 {
  font-size: 35px;
  font-weight: 800;
  line-height: 2.5ch;
  letter-spacing: -1px;
  margin: 0;
}

body > header {
  height: 60px;
  background: var(--summer-green);
  width: -webkit-fill-available;
  width: available;
  width: -moz-available;
  box-sizing: border-box;
  display: flex;
  position: fixed;
  padding-left: 1rem;
  top: 0;
  z-index: 1;
  align-items: center;
  justify-content: space-between;
  padding-right: 1rem;
  img, a:has(img) {
    height: 50px;
  }
  a {
    font-size: 1.25rem;
  }
  nav {
    display: flex;
    gap: 1rem;
  }
}

body > main {
  margin-top: 60px;
  padding: 0.5rem 2rem;
  
  h1 {
    color: var(--deep-blue);
    font-size: 2.5rem;
  }

  h1,h2 {
    text-align: center;
  }
  
  h1, h3, h2 {
    margin: 0;
  }
  
  details {
    padding: 0.5rem;
    padding-left: 1rem;
    background: var(--deep-blue);
    color: white;
    margin-bottom: 0.5rem;
  }
  
  h2 {
    font-family: "Railroad Gothic CC";
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-size: 2rem;
  }
}


#hero {
  background: linear-gradient(90deg, var(--summer-green), var(--summer-green) 50%, #C1EABD);
  height: 600px;
  min-height: 600px;
  width: -webkit-fill-available;
  width: available;
  width: -moz-available;
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  justify-content: space-between;
  z-index: 2;
  position: relative;
  img {
  }
  header {
    width: -webkit-fill-available;
    width: available;
    width: -moz-available;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    padding-top: 0.5rem;
    top: 0;
    z-index: 3;
  }
  main {
    height: available;
    height: -moz-available;
    height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 2rem;
    width: 50%;
    @media (max-width: 950px) {
     padding-left: 1rem;
     width: 100%;
     height: unset; 
     margin-top: 6rem;
     margin-bottom: 2rem;
     align-items: center;
    }
    h1 {
      max-width: 25ch;
      
    }
  }
  
  @media (max-width: 950px) {
   height: auto; 
   justify-content: center;
   gap: 0rem;
  }
}

#platform {
  background: var(--simply-purple);
  width: -webkit-fill-available;
  width: available;
  width: -moz-available;
  color: white;
  padding: 2.5rem 0.5rem;
  align-items: center;
  justify-content: center;
  h1 {
    text-align: center;
    max-width: 35ch;
    margin: 0 auto;
    @media (max-width: 950px) {
     font-size: 1.5rem;
    }
  }
  ul {
    list-style-type: none;
    li {
      margin-top: 2.5rem;
      h2 {
        font-family: 'Railroad Gothic CC';
        color: var(--summer-green);
        font-size: 2.5rem;
        margin: 0;
      }
      p {
        margin: 0;
        margin-top: 0.5rem;
        max-width: 100ch;
      }
    }
  }
}

#about {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

#endorsements {
  padding: 2rem;
  text-align: center;
  background: var(--summer-green);
  div {
    display: flex;
    gap: 0.5rem;
  }
}

button {
  width: fit-content;
  padding: 1rem 4rem;
  border-radius: 100px;
  background: var(--simply-purple);
  color: white;
  border: none;
  font-family: 'Railroad Gothic CC';
  font-size: 1.5rem;
  filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.25));
  cursor: pointer;
  will-change: transform;
  transition: ease-in-out 0.25s;
  
  &:hover {
    transform: translateY(-10px);
  }
  
  &:active {
    filter: none;
    transform: translateY(0px);
  }
}

button.outline {
  background: none;
  border: 3px solid var(--simply-purple);
  color: var(--simply-purple);
  filter: none;
  box-sizing: border-box;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  &:hover {
    background: var(--simply-purple);
    color: white;
    transform: none;
  }
}

#view-full-platform {
  font-size: 1.5rem !important;
  transition: ease-in-out 0.25s;
  &:hover {
    transform: translateX(10px);
  }
}

#carousel {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

#carousel > img {
  max-width: calc(100% / 3);
  object-fit: cover;
  border-right: black 6px solid;
  border-top: black 6px solid;
  border-bottom: black 6px solid;
  box-sizing: border-box;
}
