/* ---------------- MAIN ----------------*/
#hero-section {
    width: 100%;
    height: 100vh;
}

.hero-section-content {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    mix-blend-mode: difference;
}

.hero-title {
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 900;
    font-size: 12rem;
    line-height: 80%;
    margin-bottom: var(--desktop-text-margin);
    margin-left: var(--desktop-padding);
    margin-right: var(--desktop-padding);
    margin-top: 40px;
    text-transform: uppercase;
}
@media (max-width:768px) {
    .hero-title  {
        font-size: 2.5rem;
        line-height: 80%;
        margin-bottom: var(--mobile-text-margin);
        margin-left: var(--mobile-padding);
        margin-right: var(--mobile-padding);
        margin-top: 20px;
    }
}
.roller-container {
    display: inline-block;
    vertical-align: bottom;
    height: 1.2em; 
    overflow: hidden; 
    position: relative;
}
#roller-list div {
    height: 1.2em;
    line-height: 1.2em;
    display: block;
}



.container {
  position: relative;
  opacity: 0;
}
.animate-me {
  color: #ffffff;
  box-sizing: border-box;

  perspective: 500px;
}

#hero-section p {
    font-size: 1rem;
    width: 90%; 
    font-weight: 400;

    margin-bottom: var(--mobile-text-margin);
    margin-left: var(--mobile-padding);
    margin-right: var(--mobile-padding);
}
@media (min-width:768px) {
  #hero-section p {
    font-size: 1rem;
    width: 30%;
    margin-bottom: var(--desktop-text-margin);
    margin-left: var(--desktop-padding);

  }
}



.hero-section-video{
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-section-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.black-gradient{
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}

/* img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
} */


.second-section {
    height: 100vh;
}

.angle-right {
  width: 60px;
  fill: white;
  position: absolute;
  right: var(--desktop-padding);
  top: 40px;
}
@media (max-width:768px) {
  .angle-right {
    width: 35px;
    right: var(--mobile-padding);
    top: 20px;
  }
}


.angle-left{
  width: 60px;
  fill: white;
  position: absolute;
  left: var(--desktop-padding);
  bottom: 40px;
  transform: rotate(180deg);
}
@media (max-width:768px) {
  .angle-left {
    width: 35px;
    left: var(--mobile-padding);
    bottom: 20px;
  }
}

/* ---------------- MAIN MENU ----------------*/
#main-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width : 20rem;
  mix-blend-mode: difference;
  position: absolute;
  right: var(--desktop-padding);
  bottom: 40px;
}
@media (max-width:768px) {
  #main-menu {
    position:static;
    width: 17rem;
    padding-left: var(--mobile-padding);
    bottom: 150px;
  }
}

#main-menu a{
  display: flex;
  flex-direction: row;
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  justify-content: space-between;
  mix-blend-mode: difference;
}

#main-menu a p{
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  font-size: 1.5rem;
  font-weight: 50;
  mix-blend-mode: difference;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.arrow {
  width:25px;
  mix-blend-mode: difference;
  transition: transform 0.3s ease;
}

#main-menu a:hover .arrow {
  transform: rotate(45deg);
}

.line {
  width: 100%;
  height: 1px;
  background-color: white;
  mix-blend-mode: difference;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

#main-menu a:hover + .line {
  transform: scaleX(1);
}

/* ---------------- LOGO ----------------*/

.hero-section-content #logo{
  position: absolute;
  display: flex;
  flex-direction: row;
  font-size: 2rem;
  font-weight: 700;
  left: 50%;
  transform: translate(-50%, -50%);
  bottom: 20px;
  text-decoration: none;
  align-items: end;
  color: white;
  gap: 5px;
  transition: gap 0.8s ease;
}
@media (max-width:768px) {
  .hero-section-content #logo {
    position: static;
    transform: translate(0%, 0%);
    margin-left:var(--mobile-padding);
    margin-right:auto;
    margin-top: var(--mobile-text-margin);
    font-size: 1rem;
  }

}

.hero-section-content #logo span{
  font-size: 2rem;
  font-weight: 100;
  text-decoration: none;
  color: white;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap; 
  transition: max-width 0.8s ease, opacity 0.8s ease;
}

.hero-section-content #logo:hover {
  gap: 25px;
}

.hero-section-content #logo:hover span {
  max-width: 300px; 
  opacity: 1;
}


#logo img{
  height: 40px;
}


/* GSAP Text */

.second-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
}

/* .box {
  display: block;
  width: 50px;
  height: 50px;
}

.green {
    background-color: green;
} */


/* ---------------------- Presentation Jonas---------------------- */
.presentation-section{
  position: relative;
  overflow: hidden; 
}

.presentation-section h2 {
  font-size: 3rem;
  position: absolute;
  line-height: 80%;

  left: var(--mobile-padding);
  bottom: 20px;
  text-transform: uppercase;
  z-index: -1;
  -webkit-text-stroke: 0.5px rgb(255, 255, 255);

}
@media (min-width:768px) {
  .presentation-section h2 {
    font-size: 8rem;
    left: var(--desktop-padding);
    bottom: 40px;
  }
}
.presentation-section .h2-fp {
  font-size: 3rem;
  position: absolute;
  line-height: 0.8;
  line-height: 80%;
  color: transparent;
  -webkit-text-stroke: 0.5px rgb(255, 255, 255);

  left: var(--mobile-padding);
  bottom: 20px;
  text-transform: uppercase;
  z-index: 1;
}
@media (min-width:768px) {
  .presentation-section .h2-fp {
    font-size: 8rem;
    left: var(--desktop-padding);
    bottom: 40px;
  }
}

#symbole-bg-effect {
  position: absolute;
  width : 100%; 
  object-fit: cover;
  transform: translate(-50%, -50%);
  top: 50vh;
  left: 50vw;
  z-index: -6;
  opacity: 0.2;
}

