
.slide {
  position: absolute;
  width: 100%;
}

.slide img {
  object-fit: cover;
  width: 100%;
  height: 100vh;
}
.overlay-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    #161616 0%,
    #161616a2 40%,
    #16161657 100%
  );
  z-index: 2;
}

.slide .content {
  bottom: 15%;
  left: 5%;
  position: absolute;
  display: flex;
  z-index: 3;
  border-left: solid 2px;
  padding-left: 6vh;
  
}
.slide .vl {
  border-left: 2px solid var(--font-color);
  height: 23vh;
  margin: 0 5vh;
}

.slide .content h2 {
  font-size: 4rem;
  margin-bottom: 2vh;
  font-family: "Michroma", sans-serif;
}
.slide .content p {
  font-size: 2rem;
  max-width: 60vw;
  font-family: "Nunito", sans-serif;
}
.slide .content .text {
  width: 82.5vw;
  display: flex;
  flex-direction: column;
}
.slide .content .text div {
  display: flex;
  align-items: center;
  position: relative;
  flex-direction: row;
}
.slide .content .text div a {
  display: flex;
  align-items: center;
  color: var(--font-color);
  text-decoration: none;
  font-family: "Michroma", sans-serif;
  border: solid 1px var(--font-color);
  border-radius: 5vh;
  text-align: center;
  padding: 1.5rem;
  position: absolute;
  right: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.slide .content .text div a:hover {
  background-color: var(--font-color);
  color: var(--background-color);
}

@media (max-width: 768px) {
  .slide .content h2 {
    font-size: 2rem;
    margin-bottom: 2vh;
    
  }
  .slide .content p {
    font-size: 1rem;
    max-width: 60vw;
   
  }
  .slide .content .text div {
    display: flex;
     flex-direction: column; 
     align-items:start;
     gap: 1vh;

  }
  .slide .content .text div  a{
    padding: 0.7rem;
    font-size: 0.7rem;
    position: relative;
  }
}