@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
*{
  margin: 0;
  padding: 0; 
  box-sizing: border-box;
  font-family: "Inter", serif;;
}
#p1{
  display: flex;
  flex-direction: column;
  height: 100vh;
  color: white; 
}
section #nav_bar{
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  background-color: black;
  z-index: 6;
}
a {
  text-decoration: none;
}
.logo{
  color: rgb(255, 255, 255);
  width: 50%;
  height: 75px;
  display: flex;  
  align-items: center;
  justify-content: left; 
}
#logoimg{
  margin-bottom: 30px;
margin-left: 50px;
margin-top: 30px;
align-items: center;
width: 25%;
display: flex;
padding-left: 20px;
}

.menuButton {
  width: 50%;
  height: 75px;
  display: flex; 
  align-items: end;
  justify-content: space-around;
  margin-bottom: 9px;
}
.menuButton button{
  font-size: 18px;
  margin-bottom: 12px; 

}

.btn {
color: white;
  background-color: transparent;
  width: 100px;
  height: 30px;
  border-style: none;
  cursor: pointer;
  transition:  transform 200ms ease-in-out;
}
.btn:hover{
  margin: 10px;
  transform: scale(1.1);
  border-bottom: 1px solid #109010;
}

#hr1{
margin: 7px;
}
#trem{
    width: 100%;
    height: 100vh;
    flex-direction: column;
}
#t1{
  margin-top: 20vh;
    margin-bottom: 20px;
    margin-left: 10%;
    font-size: 36px;
}
#t2{
    width: 45%;
    margin-top: 10px;
    margin-left: 10%;
    font-size: 27px;
}
#bg{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -5;
}
#p1::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, black, transparent);
  z-index: -4;
  pointer-events: none;
}
#p3{
    width: 100%;
    height: 100vh;
    display: flex;
    background: linear-gradient(to left, rgba(0, 0, 0, 1),  rgba(0, 0, 0, 0.3)), url(../img/estacao.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    text-align: right;
    flex-direction: column;
    padding: 20px;
    color: white; 
  }
  #t3{
    margin-top: 20vh;
      margin-bottom: 20px;
      margin-right: 10%;
      font-size: 36px;
  }
  #t4{
      width: 45%;
      margin-top: 10px;
      margin-left: 45%;
      font-size: 27px;
  }
#p2 {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: black;
  padding: 20px;
  color: white;
  text-align: center;
}

#p2 a{
  position: relative;
}
#t5 {
  margin-top: 2vh;
  font-size: 36px;
  width: 80%;
  font-weight: bold;
}


#cardcontainer {
  display: flex;
  justify-content: space-around;
  align-items: end;
  gap: 20px;
  width: 90%;
  height: 75%;
  margin: 15px 0;
  position: relative;
  z-index: 5;
}

#t6 {

  padding: 15px 30px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #047a00;
  text-decoration: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}
#t6:hover {
  background-color: rgba(255, 255, 255, 0.8);
  color: #109010;
}

@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@700&display=swap");

:root {
  --brand-color: hsl(120, 86%, 23%);
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);
  --font-title: "Montserrat", sans-serif;
  --font-text: "Lato", sans-serif;
}





h2 {
  font-size: 2.25rem;
  font-family: var(--font-title);
  color: var(--white);
  line-height: 1.1;
}

p {
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white);
}

#cardcontainer{
  display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    position: relative;
    left: 50px;
    z-index: 5;
}
.flow > * + * {
  margin-top: var(--flow-space, 1em);
}

.card {
  display: grid;
  place-items: center;
  width: 80vw;
  max-width: 21.875rem;
  height: 28.125rem;
  overflow: hidden;
  border-radius: 0.625rem;
  box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}

.card > * {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.card__background {
  object-fit: cover;
  max-width: 100%;
  height: 100%;
}

.card__content {
  --flow-space: 0.9375rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: flex-end;
  height: 55%;
  padding: 12% 1.25rem 1.875rem;
  background: linear-gradient(
    180deg,
    hsla(0, 0%, 0%, 0) 0%,
    hsla(0, 0%, 0%, 0.3) 10%,
    hsl(0, 0%, 0%) 100%
  );
}

.card__content--container {
  --flow-space: 1.25rem;
}

.card__title {
  position: relative;
  width: fit-content;
  width: -moz-fit-content;
}

.card__title::after {
  content: "";
  position: absolute;
  height: 0.3125rem;
  width: calc(100% + 1.25rem);
  bottom: calc((1.25rem - 0.5rem) * -1);
  left: -1.25rem;
  background-color: var(--brand-color);
}

@media (any-hover: hover) and (any-pointer: fine) {
  .card__content {
    transform: translateY(62%);
    transition: transform 500ms ease-out;
    transition-delay: 500ms;
  }

  .card__title::after {
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 1000ms ease-in, transform 500ms ease-out;
    transition-delay: 500ms;
    transform-origin: right;
  }

  .card__background {
    transition: transform 500ms ease-in;
  }

  .card__content--container > :not(.card__title),
  .card__button {
    opacity: 0;
    transition: transform 500ms ease-out, opacity 500ms ease-out;
  }

  .card:hover,
  .card:focus-within {
    transform: scale(1.05);
    transition: transform 500ms ease-in;
  }

  .card:hover .card__content,
  .card:focus-within .card__content {
    transform: translateY(0);
    transition: transform 500ms ease-in;
  }

  .card:focus-within .card__content {
    transition-duration: 0ms;
  }

  .card:hover .card__background,
  .card:focus-within .card__background {
    transform: scale(1.3);
  }

  .card:hover .card__content--container > :not(.card__title),
  .card:hover .card__button,
  .card:focus-within .card__content--container > :not(.card__title),
  .card:focus-within .card__button {
    opacity: 1;
    transition: opacity 500ms ease-in;
    transition-delay: 1000ms;
  }

  .card:hover .card__title::after,
  .card:focus-within .card__title::after {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
    transition: opacity 500ms ease-in, transform 500ms ease-in;
    transition-delay: 500ms;
  }
}

.botao-container {
  display: flex;
  justify-content: center;
  margin: 5vh 0;
}

.botao-mapa {
  padding: 2vh 4vw; 
  background-color: #047a00; 
  color: white;
  text-decoration: none;
  font-size: 2.5vh; 
  border-radius: 1.5vh; 
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.botao-mapa:hover {
  background-color: #032f02;
  transform: scale(1.1); 
}